at.spardat.xma.mdl.table
Class TableBaseWM

java.lang.Object
  extended byat.spardat.xma.mdl.WModel
      extended byat.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
 
Methods inherited from interface at.spardat.xma.mdl.Synchronization
externalize, internalize
 

Field Detail

columnCount_

protected int columnCount_
Number of columns in the table


isAtServer_

protected boolean isAtServer_
Indicates that this instance is created at the server side.

Constructor Detail

TableBaseWM

public TableBaseWM(short id,
                   Page pm,
                   int numCols,
                   boolean isAtServer)
Constructor

Parameters:
id - uniquely identifies the model within its page
pm - the enclosing page model this widget model belongs to.
numCols - number of columns this table model has
Method Detail

getColumnCount

public int getColumnCount()
Returns the number of columns in this table.


getPage

protected Page getPage()
Returns the page this widget model belongs to.