com.ca.directory.jxplorer.viewer.tableviewer
Class AbstractCellEditor
java.lang.Object
|
+--com.ca.directory.jxplorer.viewer.tableviewer.AbstractCellEditor
- All Implemented Interfaces:
- javax.swing.CellEditor, javax.swing.table.TableCellEditor
- Direct Known Subclasses:
- AttributeValueCellEditor
- public abstract class AbstractCellEditor
- extends java.lang.Object
- implements javax.swing.table.TableCellEditor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.table.TableCellEditor |
getTableCellEditorComponent |
listenerList
protected javax.swing.event.EventListenerList listenerList
value
protected java.lang.Object value
changeEvent
protected javax.swing.event.ChangeEvent changeEvent
clickCountToStart
protected int clickCountToStart
AbstractCellEditor
public AbstractCellEditor()
addCellEditorListener
public void addCellEditorListener(javax.swing.event.CellEditorListener l)
- Specified by:
addCellEditorListener in interface javax.swing.CellEditor
removeCellEditorListener
public void removeCellEditorListener(javax.swing.event.CellEditorListener l)
- Specified by:
removeCellEditorListener in interface javax.swing.CellEditor
fireEditingStopped
protected void fireEditingStopped()
fireEditingCanceled
protected void fireEditingCanceled()
getCellEditorValue
public java.lang.Object getCellEditorValue()
- Specified by:
getCellEditorValue in interface javax.swing.CellEditor
setCellEditorValue
public void setCellEditorValue(java.lang.Object value)
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.
isCellEditable
public boolean isCellEditable(java.util.EventObject anEvent)
- Specified by:
isCellEditable in interface javax.swing.CellEditor
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing in interface javax.swing.CellEditor
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditing in interface javax.swing.CellEditor
shouldSelectCell
public boolean shouldSelectCell(java.util.EventObject anEvent)
- Specified by:
shouldSelectCell in interface javax.swing.CellEditor