JIDE 3.5.15

com.jidesoft.grid
Interface Row

All Superinterfaces:
Node
All Known Subinterfaces:
ExpandableRow, GanttEntry<T>, GroupRow, MutableGanttEntry<T>, ReferenceRow, SubEntryGanttEntry<T>
All Known Implementing Classes:
AbstractExpandableRow, AbstractGroupRow, AbstractRow, BeanProperty, ChildBeanProperty, DefaultExpandableRow, DefaultGanttEntry, DefaultGroupRow, DefaultProperty, DefaultWrappedRow, IndexReferenceRow, Property, RootExpandableRow, TableUtils.ColumnSelectionRow

public interface Row
extends Node

Row is an interface to represent a row in a table.


Field Summary
 
Fields inherited from interface com.jidesoft.grid.Node
PROPERTY_ADJUSTING
 
Method Summary
 void cellUpdated(int columnIndex)
          Notifies the cell at the specified column is updated.
 Class<?> getCellClassAt(int columnIndex)
          Gets the type for the cell at columnIndex.
 ConverterContext getConverterContextAt(int columnIndex)
          Gets the converter context for the cell at columnIndex.
 EditorContext getEditorContextAt(int columnIndex)
          Gets the editor context for the cell at columnIndex.
 Object getValueAt(int columnIndex)
          Gets the value for cell at columnIndex
 boolean isCellEditable(int columnIndex)
          Returns true if the cell at columnIndex is editable.
 void rowUpdated()
          Notifies the row is updated.
 void setValueAt(Object value, int columnIndex)
          Sets the value in the cell at columnIndex.
 
Methods inherited from interface com.jidesoft.grid.Node
getLevel, getNextSibling, getParent, getPreviousSibling, setParent
 

Method Detail

isCellEditable

boolean isCellEditable(int columnIndex)
Returns true if the cell at columnIndex is editable. Otherwise, setValueAt on the cell will not change the value of that cell.

Parameters:
columnIndex - the column whose value to be queried
Returns:
true if the cell is editable
See Also:
setValueAt(java.lang.Object, int)

getValueAt

Object getValueAt(int columnIndex)
Gets the value for cell at columnIndex

Parameters:
columnIndex - the column whose value to be queried
Returns:
the value at the specified cell.

setValueAt

void setValueAt(Object value,
                int columnIndex)
Sets the value in the cell at columnIndex.

Parameters:
value - the new value
columnIndex - the column whose value is to be changed
See Also:
getValueAt(int), isCellEditable(int)

getConverterContextAt

ConverterContext getConverterContextAt(int columnIndex)
Gets the converter context for the cell at columnIndex.

Parameters:
columnIndex - the column index
Returns:
the converter context for the specified cell.

getEditorContextAt

EditorContext getEditorContextAt(int columnIndex)
Gets the editor context for the cell at columnIndex.

Parameters:
columnIndex - the column index
Returns:
the editor context for the specified cell.

getCellClassAt

Class<?> getCellClassAt(int columnIndex)
Gets the type for the cell at columnIndex.

Parameters:
columnIndex - the column index
Returns:
the type for the specified cell.

cellUpdated

void cellUpdated(int columnIndex)
Notifies the cell at the specified column is updated.

Parameters:
columnIndex - the column index the column index.

rowUpdated

void rowUpdated()
Notifies the row is updated. You can call this method if any of the cells are changed. But if you know exactly which cell is changed, you should use cellUpdated(int) instead.


JIDE 3.5.15