Home » openjdk-7 » javax » swing » tree » [javadoc | source]
javax.swing.tree
public interface: TreeCellEditor [javadoc | source]

All Implemented Interfaces:
    CellEditor

All Known Implementing Classes:
    NumberEditor, SynthTreeCellEditor, BooleanEditor, DefaultTreeCellEditor, GenericEditor, JComponentCellEditor, DefaultCellEditor

Adds to CellEditor the extensions necessary to configure an editor in a tree.
Method from javax.swing.tree.TreeCellEditor Summary:
getTreeCellEditorComponent
Method from javax.swing.tree.TreeCellEditor Detail:
 public Component getTreeCellEditorComponent(JTree tree,
    Object value,
    boolean isSelected,
    boolean expanded,
    boolean leaf,
    int row)
    Sets an initial value for the editor. This will cause the editor to stopEditing and lose any partially edited value if the editor is editing when this method is called.

    Returns the component that should be added to the client's Component hierarchy. Once installed in the client's hierarchy this component will then be able to draw and receive user input.