|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.cellview.client.CellBrowser.Builder<T>
T
- the type of data in the root nodepublic static class CellBrowser.Builder<T>
Builder object to create CellBrowser.
Constructor Summary | |
---|---|
CellBrowser.Builder(TreeViewModel viewModel,
T rootValue)
Construct a new CellBrowser.Builder . |
Method Summary | |
---|---|
CellBrowser |
build()
Creates a new CellBrowser . |
CellBrowser.Builder<T> |
loadingIndicator(Widget widget)
Set the widget to display when the data is loading. |
CellBrowser.Builder<T> |
pagerFactory(CellBrowser.PagerFactory factory)
Set the pager factory used to create pagers for each CellList . |
CellBrowser.Builder<T> |
pageSize(int pageSize)
Set the pager size for each CellList . |
CellBrowser.Builder<T> |
resources(CellBrowser.Resources resources)
Set resources used for images. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CellBrowser.Builder(TreeViewModel viewModel, T rootValue)
CellBrowser.Builder
.
viewModel
- the TreeViewModel
that backs the treerootValue
- the hidden root value of the treeMethod Detail |
---|
public CellBrowser build()
CellBrowser
.
CellBrowser
public CellBrowser.Builder<T> loadingIndicator(Widget widget)
widget
- the loading indicator
public CellBrowser.Builder<T> pagerFactory(CellBrowser.PagerFactory factory)
CellList
.
Defaults to PageSizePagerFactory
if not set.
Can be set to null if no pager should be used. You should also set pageSize
big enough to hold all your data then.
factory
- the pager factory
public CellBrowser.Builder<T> pageSize(int pageSize)
CellList
.
pageSize
- the page size
public CellBrowser.Builder<T> resources(CellBrowser.Resources resources)
resources
- the CellBrowser.Resources
used for images
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |