org.extremecomponents.table.model
Class TableModel

java.lang.Object
  extended byorg.extremecomponents.table.model.TableModel
Direct Known Subclasses:
TreeModel

public class TableModel
extends java.lang.Object

Build up a Model that represents the table. This is the main reference point to all objects that are needed to build the table display up.

Author:
Jeff Johnston

Constructor Summary
TableModel(javax.servlet.jsp.PageContext pageContext)
           
 
Method Summary
 void destroy()
           
 Cell getCachedCell(java.lang.Class classDefinition)
          A simple implementation of a cache so that do not have to keep loading up the same eXtremeTable
 ColumnMetaData getColumnMetaData()
           
 ExportHandler getExportHandler()
           
 FilterHandler getFilterHandler()
           
 FormHandler getFormHandler()
           
 javax.servlet.jsp.PageContext getPageContext()
           
 PageHandler getPageHandler()
           
 TableProperties getProperties()
           
 ParameterRegistry getRegistry()
           
 SortHandler getSortHandler()
           
 Table getTable()
           
 java.util.List getTableCollection()
           
 java.lang.String getTableKey()
           
 TableSection getTableSection()
           
 ViewHandler getViewHandler()
           
 java.util.List init()
          Do all the filtering and sorting and return the rows of the table that need to be displayed.
 void setTable(Table table)
           
 void setTableCollection(java.lang.Object tableCollection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableModel

public TableModel(javax.servlet.jsp.PageContext pageContext)
Method Detail

getPageContext

public javax.servlet.jsp.PageContext getPageContext()

setTable

public void setTable(Table table)

getTable

public Table getTable()

getTableKey

public java.lang.String getTableKey()

getSortHandler

public SortHandler getSortHandler()

getFilterHandler

public FilterHandler getFilterHandler()

getPageHandler

public PageHandler getPageHandler()

getFormHandler

public FormHandler getFormHandler()

getViewHandler

public ViewHandler getViewHandler()

getExportHandler

public ExportHandler getExportHandler()

getTableSection

public TableSection getTableSection()

getColumnMetaData

public ColumnMetaData getColumnMetaData()

getProperties

public TableProperties getProperties()

getRegistry

public ParameterRegistry getRegistry()

getTableCollection

public java.util.List getTableCollection()

setTableCollection

public void setTableCollection(java.lang.Object tableCollection)
                        throws java.lang.Exception
Throws:
java.lang.Exception

getCachedCell

public Cell getCachedCell(java.lang.Class classDefinition)
A simple implementation of a cache so that do not have to keep loading up the same eXtremeTable


init

public java.util.List init()
                    throws java.lang.Exception
Do all the filtering and sorting and return the rows of the table that need to be displayed.

Throws:
java.lang.Exception

destroy

public void destroy()


Copyright © 2004 sourceforge. All Rights Reserved.