org.sakaiproject.tool.assessment.ui.bean.questionpool
Class QuestionPoolDataModel

java.lang.Object
  extended byjavax.faces.model.DataModel
      extended byorg.sakaiproject.tool.assessment.ui.bean.questionpool.QuestionPoolDataModel

public class QuestionPoolDataModel
extends DataModel

This Data Model contains the tree. $Id: QuestionPoolDataModel.java 1502 2005-09-01 23:02:39Z esmiley@stanford.edu $


Constructor Summary
QuestionPoolDataModel(Tree tree, DataModel model)
          Creates a new QuestionPoolDatModel object.
 
Method Summary
 void addDataModelListener(DataModelListener listener)
           
 DataModelListener[] getDataModelListeners()
           
 int getRowCount()
           
 Object getRowData()
           
 int getRowIndex()
           
 Object getWrappedData()
           
 boolean isRowAvailable()
           
 void removeDataModelListener(DataModelListener listener)
           
 void setRowIndex(int rowIndex)
           
 void setWrappedData(Object data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionPoolDataModel

public QuestionPoolDataModel(Tree tree,
                             DataModel model)
Creates a new QuestionPoolDatModel object.

Method Detail

getRowData

public Object getRowData()

isRowAvailable

public boolean isRowAvailable()

getRowCount

public int getRowCount()

getRowIndex

public int getRowIndex()

setRowIndex

public void setRowIndex(int rowIndex)

getWrappedData

public Object getWrappedData()

setWrappedData

public void setWrappedData(Object data)

addDataModelListener

public void addDataModelListener(DataModelListener listener)

getDataModelListeners

public DataModelListener[] getDataModelListeners()

removeDataModelListener

public void removeDataModelListener(DataModelListener listener)