Methods Summary |
---|
public void | cancelCellEditing()Forwards the message from the CellEditor to
the delegate .
delegate.cancelCellEditing();
|
public java.lang.Object | getCellEditorValue()Forwards the message from the CellEditor to
the delegate .
return delegate.getCellEditorValue();
|
public int | getClickCountToStart()Returns the number of clicks needed to start editing.
return clickCountToStart;
|
public java.awt.Component | getComponent()Returns a reference to the editor component.
return editorComponent;
|
public java.awt.Component | getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)Implements the TableCellEditor interface.
delegate.setValue(value);
return editorComponent;
|
public java.awt.Component | getTreeCellEditorComponent(javax.swing.JTree tree, java.lang.Object value, boolean isSelected, boolean expanded, boolean leaf, int row)Implements the TreeCellEditor interface.
String stringValue = tree.convertValueToText(value, isSelected,
expanded, leaf, row, false);
delegate.setValue(stringValue);
return editorComponent;
|
public boolean | isCellEditable(java.util.EventObject anEvent)Forwards the message from the CellEditor to
the delegate .
return delegate.isCellEditable(anEvent);
|
public void | setClickCountToStart(int count)Specifies the number of clicks needed to start editing.
clickCountToStart = count;
|
public boolean | shouldSelectCell(java.util.EventObject anEvent)Forwards the message from the CellEditor to
the delegate .
return delegate.shouldSelectCell(anEvent);
|
public boolean | stopCellEditing()Forwards the message from the CellEditor to
the delegate .
return delegate.stopCellEditing();
|