public interface ItsNatListCellEditor
extends javax.swing.CellEditor
ItsNatComponentManager.createDefaultItsNatListCellEditor(ItsNatComponent)
,
ItsNatList.getItsNatListCellEditor()
Modifier and Type | Method and Description |
---|---|
ItsNatComponent |
getListCellEditorComponent(ItsNatList list,
int index,
java.lang.Object value,
boolean isSelected,
org.w3c.dom.Element cellContentElem)
Returns the component used to edit in place the list item value.
|
ItsNatComponent getListCellEditorComponent(ItsNatList list, int index, java.lang.Object value, boolean isSelected, org.w3c.dom.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 © 2007 Innowhere Software Services S.L. All Rights Reserved.