org.richfaces.datatablescroller
Class DataTableScrollerBean
java.lang.Object
org.richfaces.datatablescroller.DataTableScrollerBean
public class DataTableScrollerBean
- extends java.lang.Object
- Author:
- Nick Belaevski - nbelaevski@exadel.com
created 02.03.2007
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataTableScrollerBean
public DataTableScrollerBean()
getAllCars
public java.util.List<DemoInventoryItem> getAllCars()
getTenRandomCars
public java.util.List<DemoInventoryItem> getTenRandomCars()
genRand
public int genRand()
createCar
public java.util.List<DemoInventoryItem> createCar(java.lang.String make,
java.lang.String model,
int count)
rand
public static int rand(int lo,
int hi)
randomstring
public static java.lang.String randomstring(int lo,
int hi)
getSelection
public org.richfaces.model.selection.SimpleSelection getSelection()
setSelection
public void setSelection(org.richfaces.model.selection.SimpleSelection selection)
takeSelection
public java.lang.String takeSelection()
getSelectedCars
public java.util.ArrayList<DemoInventoryItem> getSelectedCars()
setSelectedCars
public void setSelectedCars(java.util.ArrayList<DemoInventoryItem> selectedCars)
getTable
public org.richfaces.component.UIScrollableDataTable getTable()
setTable
public void setTable(org.richfaces.component.UIScrollableDataTable table)
initColumnsHeaders
public void initColumnsHeaders()
getModel
public java.util.ArrayList<DemoInventoryItem[]> getModel()
getColumns
public java.util.ArrayList<Facet> getColumns()
getScrollerPage
public int getScrollerPage()
setScrollerPage
public void setScrollerPage(int scrollerPage)
getOrder
public org.richfaces.model.SortOrder getOrder()
setOrder
public void setOrder(org.richfaces.model.SortOrder order)
Copyright © 2009. All Rights Reserved.