- 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 void
actionPerformed(ActionEvent pEvent)
void
addCellEditorListener(CellEditorListener pListener)
void
cancelCellEditing()
protected abstract void
editCell(JTable pTable, Object pPartialValue, int pRow, int pColumn)
Object
getCellEditorValue()
Component
getTableCellEditorComponent(JTable pTable, Object pValue, boolean pIsSelected, int pRow, int pColumn)
boolean
isCellEditable(EventObject pEvent)
void
removeCellEditorListener(CellEditorListener pListener)
boolean
shouldSelectCell(EventObject pEvent)
boolean
stopCellEditing()
-
-
-
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:
getTableCellEditorComponent
in interfaceTableCellEditor
-
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interfaceCellEditor
-
isCellEditable
public boolean isCellEditable(EventObject pEvent)
- Specified by:
isCellEditable
in interfaceCellEditor
-
shouldSelectCell
public boolean shouldSelectCell(EventObject pEvent)
- Specified by:
shouldSelectCell
in interfaceCellEditor
-
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing
in interfaceCellEditor
-
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditing
in interfaceCellEditor
-
addCellEditorListener
public void addCellEditorListener(CellEditorListener pListener)
- Specified by:
addCellEditorListener
in interfaceCellEditor
-
removeCellEditorListener
public void removeCellEditorListener(CellEditorListener pListener)
- Specified by:
removeCellEditorListener
in interfaceCellEditor
-
actionPerformed
public final void actionPerformed(ActionEvent pEvent)
- Specified by:
actionPerformed
in interfaceActionListener
-
-