|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.grid.AbstractNode com.jidesoft.grid.AbstractRow
public abstract class AbstractRow
An abstract row implements. It implements two methods in Row
to achieve a read-only Row.
Field Summary |
---|
Fields inherited from class com.jidesoft.grid.AbstractNode |
---|
_parent, PROPERTY_PARENT |
Fields inherited from interface com.jidesoft.grid.Node |
---|
PROPERTY_ADJUSTING |
Constructor Summary | |
---|---|
AbstractRow()
|
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 . |
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 class com.jidesoft.grid.AbstractNode |
---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getLevel, getNextSibling, getParent, getPreviousSibling, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jidesoft.grid.Row |
---|
getValueAt |
Methods inherited from interface com.jidesoft.grid.Node |
---|
getLevel, getNextSibling, getParent, getPreviousSibling, setParent |
Constructor Detail |
---|
public AbstractRow()
Method Detail |
---|
public boolean isCellEditable(int columnIndex)
Row
columnIndex
is editable. Otherwise, setValueAt
on the cell
will not change the value of that cell.
isCellEditable
in interface Row
columnIndex
- the column whose value to be queried
Row.setValueAt(java.lang.Object, int)
public ConverterContext getConverterContextAt(int columnIndex)
Row
columnIndex
.
getConverterContextAt
in interface Row
columnIndex
- the column index
public EditorContext getEditorContextAt(int columnIndex)
Row
columnIndex
.
getEditorContextAt
in interface Row
columnIndex
- the column index
public Class<?> getCellClassAt(int columnIndex)
Row
columnIndex
.
getCellClassAt
in interface Row
columnIndex
- the column index
public void setValueAt(Object value, int columnIndex)
Row
columnIndex
.
setValueAt
in interface Row
value
- the new valuecolumnIndex
- the column whose value is to be changedRow.getValueAt(int)
,
Row.isCellEditable(int)
public void cellUpdated(int columnIndex)
Row
cellUpdated
in interface Row
columnIndex
- the column index the column index.public void rowUpdated()
Row
Row.cellUpdated(int)
instead.
rowUpdated
in interface Row
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |