|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ItsNatListCellEditor
Used to specify how a list item value is edited in place.
ItsNatComponentManager.createDefaultItsNatListCellEditor(ItsNatComponent),
ItsNatList.getItsNatListCellEditor()| Method Summary | |
|---|---|
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. |
| Methods inherited from interface javax.swing.CellEditor |
|---|
addCellEditorListener, cancelCellEditing, getCellEditorValue, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||