public interface ItsNatListCellEditor extends CellEditor
ItsNatComponentManager.createDefaultItsNatListCellEditor(ItsNatComponent),
ItsNatList.getItsNatListCellEditor()| Modifier and Type | Method and Description |
|---|---|
ItsNatComponent |
getListCellEditorComponent(ItsNatList list,
int index,
Object value,
boolean isSelected,
Element cellContentElem)
Returns the component used to edit in place the list item value.
|
addCellEditorListener, cancelCellEditing, getCellEditorValue, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingItsNatComponent getListCellEditorComponent(ItsNatList list, int index, Object value, boolean isSelected, Element cellContentElem)
Default implementation uses a ItsNatHTMLInputText (text not formatted version) to edit
the list item value.
Default implementation ignores isSelected parameter.
list - the list component, may be used to provide contextual information. Default implementation ignores it.index - the list item index.value - the value to edit (initial value).isSelected - true if the cell is selected.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).ItsNatList.setItsNatListCellEditor(ItsNatListCellEditor)Copyright © Innowhere Software, Jose Maria Arranz Santamaria.