Class LayerTreeCellEditor
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.LayerTreeCellEditor
-
- All Implemented Interfaces:
CellEditor
,TreeCellEditor
public class LayerTreeCellEditor extends Object implements TreeCellEditor
Implements a tree cell editor for the Layer tree.
-
-
Constructor Summary
Constructors Constructor Description LayerTreeCellEditor(JTree tree)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCellEditorListener(CellEditorListener l)
void
cancelCellEditing()
Object
getCellEditorValue()
Component
getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
boolean
isCellEditable(EventObject anEvent)
void
removeCellEditorListener(CellEditorListener l)
boolean
shouldSelectCell(EventObject anEvent)
boolean
stopCellEditing()
-
-
-
Constructor Detail
-
LayerTreeCellEditor
public LayerTreeCellEditor(JTree tree)
-
-
Method Detail
-
getTreeCellEditorComponent
public Component getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
- Specified by:
getTreeCellEditorComponent
in interfaceTreeCellEditor
-
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interfaceCellEditor
-
isCellEditable
public boolean isCellEditable(EventObject anEvent)
- Specified by:
isCellEditable
in interfaceCellEditor
-
shouldSelectCell
public boolean shouldSelectCell(EventObject anEvent)
- Specified by:
shouldSelectCell
in interfaceCellEditor
-
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing
in interfaceCellEditor
-
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditing
in interfaceCellEditor
-
addCellEditorListener
public void addCellEditorListener(CellEditorListener l)
- Specified by:
addCellEditorListener
in interfaceCellEditor
-
removeCellEditorListener
public void removeCellEditorListener(CellEditorListener l)
- Specified by:
removeCellEditorListener
in interfaceCellEditor
-
-