wt.clients.widgets
Class JCSMTableCellEditor
java.lang.Object
wt.clients.widgets.JCSMTableCellEditor
- All Implemented Interfaces:
- CellEditor, Serializable, TableCellEditor
- Direct Known Subclasses:
- FuncEquivCriteriaCellEditor
- public class JCSMTableCellEditor
- extends Object
- implements TableCellEditor, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listenerList
protected EventListenerList listenerList
- Event listeners
changeEvent
protected transient ChangeEvent changeEvent
editorComponent
protected JComponent editorComponent
clickCountToStart
protected int clickCountToStart
JCSMTableCellEditor
public JCSMTableCellEditor(JComponent jcsmcomponent)
getComponent
public Component getComponent()
- Returns the a reference to the editor component.
- Returns:
- the editor Component
setClickCountToStart
public void setClickCountToStart(int count)
- Specifies the number of clicks needed to start editing.
- Parameters:
count
- an int specifying the number of clicks needed to start editing- See Also:
getClickCountToStart()
getClickCountToStart
public int getClickCountToStart()
- ClickCountToStart controls the number of clicks required to start
editing.
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface CellEditor
isCellEditable
public boolean isCellEditable(EventObject anEvent)
- Specified by:
isCellEditable
in interface CellEditor
shouldSelectCell
public boolean shouldSelectCell(EventObject anEvent)
- Specified by:
shouldSelectCell
in interface CellEditor
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing
in interface CellEditor
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditing
in interface CellEditor
addCellEditorListener
public void addCellEditorListener(CellEditorListener l)
- Specified by:
addCellEditorListener
in interface CellEditor
removeCellEditorListener
public void removeCellEditorListener(CellEditorListener l)
- Specified by:
removeCellEditorListener
in interface CellEditor
fireEditingStopped
protected void fireEditingStopped()
fireEditingCanceled
protected void fireEditingCanceled()
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent
in interface TableCellEditor