| org.itsnat.comp.ItsNatTreeCellEditor
All known Subclasses: org.itsnat.impl.comp.html.editor.ItsNatHTMLTreeCellEditorDefaultImpl, org.itsnat.feashow.features.components.trees.TreeTableItemEditor,
getTreeCellEditorComponent | public ItsNatComponent getTreeCellEditorComponent(ItsNatTree tree, int row, Object value, boolean isSelected, boolean isExpanded, boolean isLeaf, Element labelElem)(Code) | | Returns the component used to edit in place the tree node value.
Default implementation uses a
org.itsnat.comp.html.ItsNatHTMLInputText (text not formatted version) to edit
the tree node value.
Default implementation ignores isSelected parameter.
Parameters: tree - the tree component, may be used to provide contextual information. Default implementation ignores it. Parameters: row - the tree node row (seeing the tree as a list). Parameters: value - the value to edit (initial value). Parameters: isSelected - true if the tree node is selected. Parameters: isExpanded - true if the tree node is expanded. Parameters: isLeaf - true if the tree node is a leaf. Parameters: labelElem - the tree node label element to render the value into. Is a hint, if provided should be obtained by calling tree.getItsNatTreeUI().getLabelElementFromRow(row) . the component used to edit in place the tree node value. Current implementation of trees does nothing with this component and may be null (is not mandatory to use a single component as an editor). See Also: ItsNatTree.setItsNatTreeCellEditor(ItsNatTreeCellEditor) |
|
|