Package rma.swing.treeTable
Class PathCellEditor
java.lang.Object
rma.swing.treeTable.PathCellEditor
- All Implemented Interfaces:
CellEditor
,TableCellEditor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected TableCellEditor
protected Map<TreeNode,
TableCellEditor> protected TableCellEditor
-
Constructor Summary
ConstructorsModifierConstructorDescriptionPathCellEditor
(TableCellEditor tce, org.jdesktop.swingx.JXTreeTable treeTable) PathCellEditor
(org.jdesktop.swingx.JXTreeTable treeTable) Constructs a PathCellEditor.protected
PathCellEditor
(RmaJTextField field, org.jdesktop.swingx.JXTreeTable treeTable) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(TreeNode node, TableCellEditor cellEditor) void
void
getCellEditor
(int row) int
getTableCellEditorComponent
(JTable table, Object value, boolean isSelected, int row, int column) boolean
isCellEditable
(EventObject anEvent) void
void
setClickCountToStart
(int clickCount) boolean
shouldSelectCell
(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:
getTableCellEditorComponent
in interfaceTableCellEditor
-
setClickCountToStart
public void setClickCountToStart(int clickCount) -
getCellEditorValue
- Specified by:
getCellEditorValue
in interfaceCellEditor
-
stopCellEditing
public boolean stopCellEditing()- Specified by:
stopCellEditing
in interfaceCellEditor
-
cancelCellEditing
public void cancelCellEditing()- Specified by:
cancelCellEditing
in interfaceCellEditor
-
isCellEditable
- Specified by:
isCellEditable
in interfaceCellEditor
-
addCellEditorListener
- Specified by:
addCellEditorListener
in interfaceCellEditor
-
removeCellEditorListener
- Specified by:
removeCellEditorListener
in interfaceCellEditor
-
shouldSelectCell
- Specified by:
shouldSelectCell
in interfaceCellEditor
-
getCellEditor
-
getCellEditorTable
-
getNumberRowEditors
public int getNumberRowEditors()- Returns:
-