public class DefaultDataTreeCellEditor extends Object implements TreeCellEditor, OpenDialog
| Modifier and Type | Field and Description |
|---|---|
protected int |
clickCount |
protected DataComponent |
currentEditor |
protected DateDataField |
dateField |
static boolean |
DEBUG_RENDERER |
protected RealDataField |
doubleField |
protected OTreeNode |
editingNode |
protected TreePath |
editingNodePath |
protected IntegerDataField |
integerField |
protected Vector |
listeners |
protected EntityReferenceLocator |
locator |
protected Frame |
parentFrame |
protected ResourceBundle |
resources |
protected TextDataField |
textField |
protected JTree |
tree |
protected Object |
value |
| Constructor and Description |
|---|
DefaultDataTreeCellEditor(EntityReferenceLocator locator) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCellEditorListener(CellEditorListener l) |
void |
cancelCellEditing() |
protected void |
fireEditingCanceled() |
protected void |
fireEditingStopped() |
Object |
getCellEditorValue() |
Component |
getTreeCellEditorComponent(JTree tree,
Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row) |
boolean |
isCellEditable(EventObject anEvent) |
void |
removeCellEditorListener(CellEditorListener l) |
void |
setParentFrame(Frame parentFrame)
This method is called from Form for each component that implements this
interface.
|
boolean |
shouldSelectCell(EventObject e) |
boolean |
stopCellEditing() |
public static boolean DEBUG_RENDERER
protected DateDataField dateField
protected IntegerDataField integerField
protected RealDataField doubleField
protected TextDataField textField
protected DataComponent currentEditor
protected int clickCount
protected Vector listeners
protected Object value
protected OTreeNode editingNode
protected JTree tree
protected TreePath editingNodePath
protected EntityReferenceLocator locator
protected Frame parentFrame
protected ResourceBundle resources
public DefaultDataTreeCellEditor(EntityReferenceLocator locator) throws IllegalArgumentException
IllegalArgumentExceptionpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorpublic boolean isCellEditable(EventObject anEvent)
isCellEditable in interface CellEditorpublic boolean shouldSelectCell(EventObject e)
shouldSelectCell in interface CellEditorpublic boolean stopCellEditing()
stopCellEditing in interface CellEditorpublic void cancelCellEditing()
cancelCellEditing in interface CellEditorpublic void addCellEditorListener(CellEditorListener l)
addCellEditorListener in interface CellEditorpublic void removeCellEditorListener(CellEditorListener l)
removeCellEditorListener in interface CellEditorprotected void fireEditingStopped()
protected void fireEditingCanceled()
public Component getTreeCellEditorComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row)
getTreeCellEditorComponent in interface TreeCellEditorpublic void setParentFrame(Frame parentFrame)
OpenDialogsetParentFrame in interface OpenDialogparentFrame - the frameCopyright © 2016 Imatia Innovation S.L.. All rights reserved.