public interface ItsNatTableCellEditor
extends javax.swing.CellEditor
ItsNatComponentManager.createDefaultItsNatTableCellEditor(ItsNatComponent)
,
ItsNatTable.getItsNatTableCellEditor()
Modifier and Type | Method and Description |
---|---|
ItsNatComponent |
getTableCellEditorComponent(ItsNatTable table,
int row,
int column,
java.lang.Object value,
boolean isSelected,
org.w3c.dom.Element cellContentElem)
Returns the component used to edit in place the table cell value.
|
ItsNatComponent getTableCellEditorComponent(ItsNatTable table, int row, int column, java.lang.Object value, boolean isSelected, org.w3c.dom.Element cellContentElem)
Default implementation uses a ItsNatHTMLInputText
(text not formatted version) to edit
the table cell value.
Default implementation ignores isSelected
parameter.
table
- the table component, may be used to provide contextual information. Default implementation ignores it.row
- the cell row.column
- the cell column.value
- the value to edit (initial value).isSelected
- true if the cell is selected.cellContentElem
- the table cell content element to render the value into. Is a hint, if provided should be obtained by calling table.getItsNatTableUI().getCellContentElement(row,column)
.ItsNatTable.setItsNatTableCellEditor(ItsNatTableCellEditor)
Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.