| org.itsnat.comp.ItsNatListCellEditor
All known Subclasses: org.itsnat.impl.comp.html.editor.ItsNatHTMLListCellEditorDefaultImpl,
getListCellEditorComponent | public ItsNatComponent getListCellEditorComponent(ItsNatList list, int index, Object value, boolean isSelected, Element cellContentElem)(Code) | | Returns the component used to edit in place the list item value.
Default implementation uses a
org.itsnat.comp.html.ItsNatHTMLInputText (text not formatted version) to edit
the list item value.
Default implementation ignores isSelected parameter.
Parameters: list - the list component, may be used to provide contextual information. Default implementation ignores it. Parameters: index - the list item index. Parameters: value - the value to edit (initial value). Parameters: isSelected - true if the cell is selected. Parameters: cellContentElem - the list item content element to render the value into. Is a hint, if provided should be obtained by calling list.getItsNatListUI().getContentElementAt(index) . the component used to edit in place the list item value. Current implementation of lists does nothing with this component and may be null (is not mandatory to use a single component as an editor). See Also: ItsNatList.setItsNatListCellEditor(ItsNatListCellEditor) |
|
|