uk.ac.ucl.cs.emofocl.jmibrowser
Class JMITreeCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
uk.ac.ucl.cs.emofocl.jmibrowser.JMITreeCellEditor
- All Implemented Interfaces:
- Serializable, CellEditor, TreeCellEditor, ExtObjectListener
public class JMITreeCellEditor
- extends AbstractCellEditor
- implements TreeCellEditor, ExtObjectListener
A cell editor that knows how to parse strings, integers and doubles.
- Author:
- jwskene
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMITreeCellEditor
public JMITreeCellEditor()
isCellEditable
public boolean isCellEditable(EventObject anEvent)
- A cell is editable if its user object (model element) corresponds to a
feature.
- Specified by:
isCellEditable
in interface CellEditor
- Overrides:
isCellEditable
in class AbstractCellEditor
- See Also:
CellEditor.isCellEditable(java.util.EventObject)
getTreeCellEditorComponent
public Component getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
- Specified by:
getTreeCellEditorComponent
in interface TreeCellEditor
- See Also:
TreeCellEditor.getTreeCellEditorComponent(javax.swing.JTree, java.lang.Object, boolean, boolean, boolean, int)
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing
in interface CellEditor
- Overrides:
stopCellEditing
in class AbstractCellEditor
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface CellEditor
propertyValueAdded
public void propertyValueAdded(ExtObjectEvent eOE)
- Specified by:
propertyValueAdded
in interface ExtObjectListener
propertyValueRemoved
public void propertyValueRemoved(ExtObjectEvent eOE)
- Specified by:
propertyValueRemoved
in interface ExtObjectListener
propertyValueChanged
public void propertyValueChanged(ExtObjectEvent eOE)
- Specified by:
propertyValueChanged
in interface ExtObjectListener