at.spardat.xma.mdl.table
Class TableBaseWM
java.lang.Object
at.spardat.xma.mdl.WModel
at.spardat.xma.mdl.table.TableBaseWM
- All Implemented Interfaces:
- Descriptive, Synchronization, Transactional
- Direct Known Subclasses:
- TableWM
- public abstract class TableBaseWM
- extends WModel
Abstract base class for table widget models.
|
Field Summary |
protected int |
columnCount_
Number of columns in the table |
protected boolean |
isAtServer_
Indicates that this instance is created at the server side. |
| Fields inherited from class at.spardat.xma.mdl.WModel |
S_NULL |
|
Constructor Summary |
TableBaseWM(short id,
Page pm,
int numCols,
boolean isAtServer)
Constructor |
|
Method Summary |
int |
getColumnCount()
Returns the number of columns in this table. |
protected Page |
getPage()
Returns the page this widget model belongs to. |
| Methods inherited from class at.spardat.xma.mdl.WModel |
changed, cleanUpAfterServerEvent, clear, commit, describe, equalsCS, estimateMemory, getId, handle, randomlyChange, rollback, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
columnCount_
protected int columnCount_
- Number of columns in the table
isAtServer_
protected boolean isAtServer_
- Indicates that this instance is created at the server side.
TableBaseWM
public TableBaseWM(short id,
Page pm,
int numCols,
boolean isAtServer)
- Constructor
- Parameters:
id - uniquely identifies the model within its pagepm - the enclosing page model this widget model belongs to.numCols - number of columns this table model has
getColumnCount
public int getColumnCount()
- Returns the number of columns in this table.
getPage
protected Page getPage()
- Returns the page this widget model belongs to.