org.apache.myfaces.trinidaddemo.table
Class DynamicModel

java.lang.Object
  extended by javax.faces.model.DataModel
      extended by org.apache.myfaces.trinidaddemo.table.DynamicModel
All Implemented Interfaces:
Serializable, Iterable

public class DynamicModel
extends javax.faces.model.DataModel
implements Serializable

See Also:
Serialized Form

Constructor Summary
DynamicModel()
           
 
Method Summary
 int getActualRowCount()
           
 int getBlockSize()
           
 int getRowCount()
           
 Object getRowData()
           
 int getRowIndex()
           
 Object getWrappedData()
           
 boolean isRowAvailable()
           
 void setActualRowCount(int count)
           
 void setBlockSize(int blockSize)
           
 void setRowCount(int count)
           
 void setRowIndex(int index)
           
 void setWrappedData(Object obj)
           
 
Methods inherited from class javax.faces.model.DataModel
addDataModelListener, getDataModelListeners, iterator, removeDataModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicModel

public DynamicModel()
Method Detail

getRowCount

public int getRowCount()
Specified by:
getRowCount in class javax.faces.model.DataModel

setRowCount

public void setRowCount(int count)

getActualRowCount

public int getActualRowCount()

setActualRowCount

public void setActualRowCount(int count)

getBlockSize

public int getBlockSize()

setBlockSize

public void setBlockSize(int blockSize)

isRowAvailable

public boolean isRowAvailable()
Specified by:
isRowAvailable in class javax.faces.model.DataModel

getRowData

public Object getRowData()
Specified by:
getRowData in class javax.faces.model.DataModel

getRowIndex

public int getRowIndex()
Specified by:
getRowIndex in class javax.faces.model.DataModel

setRowIndex

public void setRowIndex(int index)
Specified by:
setRowIndex in class javax.faces.model.DataModel

getWrappedData

public Object getWrappedData()
Specified by:
getWrappedData in class javax.faces.model.DataModel

setWrappedData

public void setWrappedData(Object obj)
Specified by:
setWrappedData in class javax.faces.model.DataModel


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.