- 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 TThis 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 Constructor Description ActionTableCellEditor(TableCellEditor pEditor)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(ActionEvent pEvent)voidaddCellEditorListener(CellEditorListener pListener)voidcancelCellEditing()protected abstract voideditCell(JTable pTable, Object pPartialValue, int pRow, int pColumn)ObjectgetCellEditorValue()ComponentgetTableCellEditorComponent(JTable pTable, Object pValue, boolean pIsSelected, int pRow, int pColumn)booleanisCellEditable(EventObject pEvent)voidremoveCellEditorListener(CellEditorListener pListener)booleanshouldSelectCell(EventObject pEvent)booleanstopCellEditing()
-
-
-
Constructor Detail
-
ActionTableCellEditor
public ActionTableCellEditor(TableCellEditor pEditor)
-
-
Method Detail
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable pTable, Object pValue, boolean pIsSelected, int pRow, int pColumn)
- Specified by:
getTableCellEditorComponentin interfaceTableCellEditor
-
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValuein interfaceCellEditor
-
isCellEditable
public boolean isCellEditable(EventObject pEvent)
- Specified by:
isCellEditablein interfaceCellEditor
-
shouldSelectCell
public boolean shouldSelectCell(EventObject pEvent)
- Specified by:
shouldSelectCellin interfaceCellEditor
-
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditingin interfaceCellEditor
-
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditingin interfaceCellEditor
-
addCellEditorListener
public void addCellEditorListener(CellEditorListener pListener)
- Specified by:
addCellEditorListenerin interfaceCellEditor
-
removeCellEditorListener
public void removeCellEditorListener(CellEditorListener pListener)
- Specified by:
removeCellEditorListenerin interfaceCellEditor
-
actionPerformed
public final void actionPerformed(ActionEvent pEvent)
- Specified by:
actionPerformedin interfaceActionListener
-
-