|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.grid.AbstractNode
com.jidesoft.grid.AbstractRow
com.jidesoft.grid.IndexReferenceRow
public class IndexReferenceRow
An implementation of ReferenceRow which refers to a row using the row index.
| Field Summary |
|---|
| Fields inherited from class com.jidesoft.grid.AbstractNode |
|---|
_parent, PROPERTY_PARENT |
| Fields inherited from interface com.jidesoft.grid.Node |
|---|
PROPERTY_ADJUSTING |
| Fields inherited from interface com.jidesoft.grid.Cacheable |
|---|
INVALID_VALUE |
| Constructor Summary | |
|---|---|
IndexReferenceRow(DefaultGroupTableModel groupTableModel,
TableModel tableModel,
int rowIndex)
|
|
IndexReferenceRow(TableModel tableModel,
int rowIndex)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
int |
getActualColumnIndex(int columnIndex)
|
Object |
getCachedValue()
Gets the cached value. |
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. |
int |
getRowIndex()
|
TableModel |
getTableModel()
|
TreeTableModel |
getTreeTableModel()
|
Object |
getValueAt(int columnIndex)
Gets the value for cell at columnIndex |
int |
hashCode()
|
void |
invalidateCache()
Invalidates the cache. |
void |
invalidateCache(Object key)
Invalidates the cached value which matches the key. |
boolean |
isCacheValid()
Checks if the cache is valid. |
boolean |
isCellEditable(int columnIndex)
Returns true if the cell at columnIndex is editable. |
void |
setCachedValue(Object value)
Sets the cached value. |
void |
setRowIndex(int rowIndex)
|
void |
setValueAt(Object value,
int columnIndex)
Sets the value in the cell at columnIndex. |
| Methods inherited from class com.jidesoft.grid.AbstractRow |
|---|
cellUpdated, rowUpdated |
| 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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.jidesoft.grid.Row |
|---|
cellUpdated, rowUpdated |
| Methods inherited from interface com.jidesoft.grid.Node |
|---|
getLevel, getNextSibling, getParent, getPreviousSibling, setParent |
| Constructor Detail |
|---|
public IndexReferenceRow(TableModel tableModel,
int rowIndex)
public IndexReferenceRow(DefaultGroupTableModel groupTableModel,
TableModel tableModel,
int rowIndex)
| Method Detail |
|---|
public int getActualColumnIndex(int columnIndex)
public Object getValueAt(int columnIndex)
RowcolumnIndex
getValueAt in interface RowcolumnIndex - the column whose value to be queried
public int getRowIndex()
public void setRowIndex(int rowIndex)
public TreeTableModel getTreeTableModel()
getTreeTableModel in interface GroupRowpublic TableModel getTableModel()
public ConverterContext getConverterContextAt(int columnIndex)
RowcolumnIndex.
getConverterContextAt in interface RowgetConverterContextAt in class AbstractRowcolumnIndex - the column index
public EditorContext getEditorContextAt(int columnIndex)
RowcolumnIndex.
getEditorContextAt in interface RowgetEditorContextAt in class AbstractRowcolumnIndex - the column index
public Class getCellClassAt(int columnIndex)
RowcolumnIndex.
getCellClassAt in interface RowgetCellClassAt in class AbstractRowcolumnIndex - the column index
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Object getCachedValue()
Cacheable
getCachedValue in interface Cacheablepublic void setCachedValue(Object value)
Cacheable
setCachedValue in interface Cacheablevalue - the new cached value.public boolean isCacheValid()
CacheableCacheable.invalidateCache() will make this method return false.
isCacheValid in interface Cacheablepublic void invalidateCache()
CacheableCacheable.INVALID_VALUE.
invalidateCache in interface Cacheablepublic void invalidateCache(Object key)
CacheableCacheable.INVALID_VALUE if
current cached value matches the key.
invalidateCache in interface Cacheablekey - the keypublic boolean isCellEditable(int columnIndex)
RowcolumnIndex is editable. Otherwise, setValueAt on the cell
will not change the value of that cell.
isCellEditable in interface RowisCellEditable in class AbstractRowcolumnIndex - the column whose value to be queried
Row.setValueAt(java.lang.Object, int)
public void setValueAt(Object value,
int columnIndex)
RowcolumnIndex.
setValueAt in interface RowsetValueAt in class AbstractRowvalue - the new valuecolumnIndex - the column whose value is to be changedRow.getValueAt(int),
Row.isCellEditable(int)
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||