net.xoetrope.optional.data.sql
Class DatabaseFieldModel
java.lang.Object
net.xoetrope.xui.data.XModel
net.xoetrope.xui.data.table.XFieldModel
net.xoetrope.optional.data.sql.DatabaseFieldModel
public class DatabaseFieldModel
- extends XFieldModel
Provides a model for table field. The field will have no children.
As a Java object the fields and rows indices are zero based in contrast to
the JDBC indexing setup.
The class is not intended to be used directly except in rare circumstances,
instead most access will be via the model and bindings or via the
DatabaseTableModel class
Copyright (c) Xoetrope Ltd. 2001-2003
$Revision: 2.2 $
License: see license.txt
| Methods inherited from class net.xoetrope.xui.data.table.XFieldModel |
append, append, get, get, getAttribName, getAttribute, getAttribValue, getAttribValueAsDouble, getAttribValueAsDouble, getAttribValueAsInt, getAttribValueAsString, getFieldIndex, getId, getTable, getTagName, getValue, getValueAsDouble, getValueAsInt, getValueAsString, hashCode, remove, set, set, setAttribValue, setAttribValue, setCellReference, toString |
| Methods inherited from class net.xoetrope.xui.data.XModel |
addModelListener, clear, fireModelUpdated, get, getNumAttributes, getNumChildren, getParent, hasAutoId, hasAutoId, prefixOutputPath, removeChildren, reset, resetAttributes, setId, setNumAttributes, setNumChildren, setParent, setTagName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
DatabaseFieldModel
public DatabaseFieldModel()
- Create a new field model node
DatabaseFieldModel
public DatabaseFieldModel(DatabaseTableModel table,
int row,
int field)
- Create a new field model node
- Parameters:
table - the table modelrow - the row indexfield - the field index