ElegantJ Trees Java API Specification v1.1

com.elegantj.awt.tree
Interface AWTTreeCellEditor

All Known Implementing Classes:
ButtonAWTTreeCellEditor, CheckboxAWTTreeCellEditor, ChoiceAWTTreeCellEditor, DefaultAWTTreeCellEditor, LabelAWTTreeCellEditor, TextAreaAWTTreeCellEditor

public interface AWTTreeCellEditor

AWTTreeCellEditor provides the interface for the cell editor for the AWTTree any component which is implemented with AWTTreeCellEditor will be set as a cell editor for the AWTTree


Method Summary
 java.awt.Component getAWTTreeCellEditorComponent(AWTTree tree, java.lang.Object value, boolean isSelected, boolean expanded, boolean leaf, AWTTreeNode node)
          Returns the component for the AWTTree as a cell editor
 java.lang.Object getTreeCellEditorValue()
          Returns the value of the cell editor
 void setTreeCellEditorValue(java.lang.Object value)
          Sets the value for the editor
 

Method Detail

getAWTTreeCellEditorComponent

public java.awt.Component getAWTTreeCellEditorComponent(AWTTree tree,
                                                        java.lang.Object value,
                                                        boolean isSelected,
                                                        boolean expanded,
                                                        boolean leaf,
                                                        AWTTreeNode node)
Returns the component for the AWTTree as a cell editor

Parameters:
tree - The AWTTree
expanded - wheather the node is expanded or not
leaf - wheather node is leaf or not
node - The AWTTreeNode
Returns:
The cell editor for the AWTTree

setTreeCellEditorValue

public void setTreeCellEditorValue(java.lang.Object value)
Sets the value for the editor

Parameters:
value - The value

getTreeCellEditorValue

public java.lang.Object getTreeCellEditorValue()
Returns the value of the cell editor

Returns:
The value of the cell editor

ElegantJ Trees Java API Specification v1.1

Submit a bug or feature

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjbeans.com
All Rights Reserved.