org.extremecomponents.tree.model
Class TreeModel
java.lang.Object
org.extremecomponents.table.model.TableModel
org.extremecomponents.tree.model.TreeModel
- public class TreeModel
- extends TableModel
org.extremecomponents.tree.model.TreeModel.java -
- Author:
- Paul Horn
Constructor Summary |
TreeModel(javax.servlet.jsp.PageContext pageContext)
|
Methods inherited from class org.extremecomponents.table.model.TableModel |
destroy, getCachedCell, getColumnMetaData, getExportHandler, getFormHandler, getPageContext, getPageHandler, getProperties, getRegistry, getTable, getTableKey, setTable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeModel
public TreeModel(javax.servlet.jsp.PageContext pageContext)
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.
- Overrides:
init
in class TableModel
- Throws:
java.lang.Exception
getTableCollection
public java.util.List getTableCollection()
- Overrides:
getTableCollection
in class TableModel
- Returns:
- tableCollection
setTableCollection
public void setTableCollection(java.lang.Object tableCollection)
throws java.lang.Exception
- Overrides:
setTableCollection
in class TableModel
- Parameters:
tableCollection
-
- Throws:
java.lang.Exception
getFilterHandler
public FilterHandler getFilterHandler()
- Overrides:
getFilterHandler
in class TableModel
- Returns:
- Returns the filterHandler.
setFilterHandler
public void setFilterHandler(FilterHandler filterHandler)
- Parameters:
filterHandler
- The filterHandler to set.
getSortHandler
public SortHandler getSortHandler()
- Overrides:
getSortHandler
in class TableModel
- Returns:
- Returns the sortHandler.
setSortHandler
public void setSortHandler(SortHandler sortHandler)
- Parameters:
sortHandler
- The sortHandler to set.
getTableSection
public TableSection getTableSection()
- Overrides:
getTableSection
in class TableModel
- Returns:
- Returns the tableSection.
setTableSection
public void setTableSection(TableSection tableSection)
- Parameters:
tableSection
- The tableSection to set.
getViewHandler
public ViewHandler getViewHandler()
- Overrides:
getViewHandler
in class TableModel
- Returns:
- Returns the viewHandler.
setViewHandler
public void setViewHandler(ViewHandler viewHandler)
- Parameters:
viewHandler
- The viewHandler to set.
getTreeProperties
public TreeProperties getTreeProperties()
- Returns:
getParentAttribute
public java.lang.String getParentAttribute()
- Returns:
- Returns the parentAttribute.
setParentAttribute
public void setParentAttribute(java.lang.String parentAttribute)
- Parameters:
parentAttribute
- The parentAttribute to set.
setProperties
public void setProperties(TreeProperties properties)
- Parameters:
properties
- The properties to set.
getOpenNodes
public java.util.Map getOpenNodes()
- Returns:
- Returns the openNodes.
setOpenNodes
public void setOpenNodes(java.util.Map openNodes)
- Parameters:
openNodes
- The openNodes to set.
getIdentifier
public java.lang.String getIdentifier()
- Returns:
- Returns the identifier.
setIdentifier
public void setIdentifier(java.lang.String identifier)
- Parameters:
identifier
- The identifier to set.
getExtendedValue
public java.lang.String getExtendedValue()
- Returns:
setExtendedValue
public void setExtendedValue(java.lang.String string)
- Parameters:
string
-
Copyright © 2004 sourceforge. All Rights Reserved.