public interface ItsNatTreeCellEditor extends CellEditor
ItsNatComponentManager.createDefaultItsNatTreeCellEditor(ItsNatComponent),
ItsNatTree.getItsNatTreeCellEditor()| Modifier and Type | Method and Description |
|---|---|
ItsNatComponent |
getTreeCellEditorComponent(ItsNatTree tree,
int row,
Object value,
boolean isSelected,
boolean isExpanded,
boolean isLeaf,
Element labelElem)
Returns the component used to edit in place the tree node value.
|
addCellEditorListener, cancelCellEditing, getCellEditorValue, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingItsNatComponent getTreeCellEditorComponent(ItsNatTree tree, int row, Object value, boolean isSelected, boolean isExpanded, boolean isLeaf, Element labelElem)
Default implementation uses a ItsNatHTMLInputText (text not formatted version) to edit
the tree node value.
Default implementation ignores isSelected parameter.
tree - the tree component, may be used to provide contextual information. Default implementation ignores it.row - the tree node row (seeing the tree as a list).value - the value to edit (initial value).isSelected - true if the tree node is selected.isExpanded - true if the tree node is expanded.isLeaf - true if the tree node is a leaf.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).ItsNatTree.setItsNatTreeCellEditor(ItsNatTreeCellEditor)Copyright © Innowhere Software, Jose Maria Arranz Santamaria.