java.lang.Object
com.iamsoft.util.ui.swing.ActionTableCellEditor
- All Implemented Interfaces:
ActionListener,EventListener,CellEditor,TableCellEditor
- Direct Known Subclasses:
StringActionTableCellEditor
public abstract class ActionTableCellEditor
extends Object
implements TableCellEditor, ActionListener
MySwing: Advanced Swing Utilites
Copyright (C) 2005 Santhosh Kumar T
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidactionPerformed(ActionEvent pEvent) voidaddCellEditorListener(CellEditorListener pListener) voidprotected abstract voidgetTableCellEditorComponent(JTable pTable, Object pValue, boolean pIsSelected, int pRow, int pColumn) booleanisCellEditable(EventObject pEvent) voidremoveCellEditorListener(CellEditorListener pListener) booleanshouldSelectCell(EventObject pEvent) boolean
-
Constructor Details
-
ActionTableCellEditor
-
-
Method Details
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable pTable, Object pValue, boolean pIsSelected, int pRow, int pColumn) - Specified by:
getTableCellEditorComponentin interfaceTableCellEditor
-
getCellEditorValue
- Specified by:
getCellEditorValuein interfaceCellEditor
-
isCellEditable
- Specified by:
isCellEditablein interfaceCellEditor
-
shouldSelectCell
- Specified by:
shouldSelectCellin interfaceCellEditor
-
stopCellEditing
public boolean stopCellEditing()- Specified by:
stopCellEditingin interfaceCellEditor
-
cancelCellEditing
public void cancelCellEditing()- Specified by:
cancelCellEditingin interfaceCellEditor
-
addCellEditorListener
- Specified by:
addCellEditorListenerin interfaceCellEditor
-
removeCellEditorListener
- Specified by:
removeCellEditorListenerin interfaceCellEditor
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
editCell
-