Package rma.swing.treeTable
Class PathCellEditor
java.lang.Object
rma.swing.treeTable.PathCellEditor
- All Implemented Interfaces:
CellEditor,TableCellEditor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected TableCellEditorprotected Map<TreeNode,TableCellEditor> protected TableCellEditor -
Constructor Summary
ConstructorsModifierConstructorDescriptionPathCellEditor(TableCellEditor tce, org.jdesktop.swingx.JXTreeTable treeTable) PathCellEditor(org.jdesktop.swingx.JXTreeTable treeTable) Constructs a PathCellEditor.protectedPathCellEditor(RmaJTextField field, org.jdesktop.swingx.JXTreeTable treeTable) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(TreeNode node, TableCellEditor cellEditor) voidvoidgetCellEditor(int row) intgetTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) booleanisCellEditable(EventObject anEvent) voidvoidsetClickCountToStart(int clickCount) booleanshouldSelectCell(EventObject anEvent) boolean
-
Field Details
-
_editors
-
_editor
-
defaultEditor
-
_clickCountToStart
protected int _clickCountToStart
-
-
Constructor Details
-
PathCellEditor
-
PathCellEditor
public PathCellEditor(org.jdesktop.swingx.JXTreeTable treeTable) Constructs a PathCellEditor. create default editor- See Also:
-
PathCellEditor
-
-
Method Details
-
add
- Parameters:
node- table rowcellEditor- table cell editor
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) - Specified by:
getTableCellEditorComponentin interfaceTableCellEditor
-
setClickCountToStart
public void setClickCountToStart(int clickCount) -
getCellEditorValue
- Specified by:
getCellEditorValuein interfaceCellEditor
-
stopCellEditing
public boolean stopCellEditing()- Specified by:
stopCellEditingin interfaceCellEditor
-
cancelCellEditing
public void cancelCellEditing()- Specified by:
cancelCellEditingin interfaceCellEditor
-
isCellEditable
- Specified by:
isCellEditablein interfaceCellEditor
-
addCellEditorListener
- Specified by:
addCellEditorListenerin interfaceCellEditor
-
removeCellEditorListener
- Specified by:
removeCellEditorListenerin interfaceCellEditor
-
shouldSelectCell
- Specified by:
shouldSelectCellin interfaceCellEditor
-
getCellEditor
-
getCellEditorTable
-
getNumberRowEditors
public int getNumberRowEditors()- Returns:
-