|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.xui.data.XModel
net.xoetrope.xui.data.XBaseModel
net.xoetrope.xui.data.table.XTableModel
public abstract class XTableModel
An interface describing the extended methods support by table models.
| Field Summary |
|---|
| Fields inherited from class net.xoetrope.xui.data.XBaseModel |
|---|
addByDefault, appendByDefault, attributeNames, attributeValues, ID_ATTRIBUTE, NUM_FIXED_ATTRIBUTE, VALUE_ATTRIBUTE, values |
| Fields inherited from class net.xoetrope.xui.data.XModel |
|---|
parentModel, tagName |
| Constructor Summary | |
|---|---|
XTableModel()
|
|
| Method Summary | |
|---|---|
abstract java.lang.String |
getAttribValueAsString(int i)
Get an attribute as a String object |
abstract java.lang.String |
getFieldValue(int colIdx)
Provides iterative access to the table values. |
abstract java.lang.String |
getFieldValue(int rowIdx,
int colIdx)
Provides random access to the table values. |
abstract void |
retrieve()
Get the table data. |
abstract void |
setFieldValue(int rowIdx,
int colIdx,
java.lang.String newValue)
Set a field value |
abstract void |
setFieldValue(int colIdx,
java.lang.String newValue)
Set a field value |
abstract void |
sync()
Syncs the model with the service response is the xtable has been changed or if the node has timed out. |
| Methods inherited from class net.xoetrope.xui.data.XBaseModel |
|---|
append, append, get, get, get, getAddByDefault, getAppendByDefault, getAttribFromPath, getAttribName, getAttribute, getAttribValue, getAttribValueAsDouble, getAttribValueAsDouble, getAttribValueAsInt, getBaseFromPath, getChildExists, getId, getModel, getNumAttributes, getNumChildren, getValueAsDouble, getValueAsInt, getValueAsString, hasAutoId, hasAutoId, hashCode, insertChildAt, remove, removeAttributes, removeChild, removeChild, removeChildren, set, set, setAddByDefault, setAppendByDefault, setAttribValue, setAttribValue, setId, setNumAttributes, setNumChildren, swapNodes |
| Methods inherited from class net.xoetrope.xui.data.XModel |
|---|
addModelListener, clear, fireModelUpdated, getParent, getTagName, prefixOutputPath, reset, resetAttributes, setParent, setTagName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XTableModel()
| Method Detail |
|---|
public abstract java.lang.String getAttribValueAsString(int i)
getAttribValueAsString in class XBaseModeli - The index of the attributeValues array whose value we want
public abstract java.lang.String getFieldValue(int colIdx)
colIdx - the column of field index
public abstract java.lang.String getFieldValue(int rowIdx,
int colIdx)
rowIdx - the row indexcolIdx - the column of field index
public abstract void setFieldValue(int colIdx,
java.lang.String newValue)
colIdx - the field index, zero basednewValue - the new field value
public abstract void setFieldValue(int rowIdx,
int colIdx,
java.lang.String newValue)
rowIdx - the row index, zero basedcolIdx - the field index, zero basednewValue - the new field valuepublic abstract void retrieve()
public abstract void sync()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||