java.lang.Object | ||||
↳ | com.google.gwt.user.client.ui.UIObject | |||
↳ | com.google.gwt.user.client.ui.Widget | |||
↳ | com.google.gwt.user.cellview.client.AbstractHasData<T> | |||
↳ | com.google.gwt.user.cellview.client.CellList<T> |
A single column list of cells.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CellList.Resources | A ClientBundle that provides images for this widget. | ||||||||||
CellList.Style | Styles used by this widget. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.UIObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new
CellList . | |||||||||||
Construct a new
CellList with the specified CellList.Resources . | |||||||||||
Construct a new
CellList with the specified key provider . | |||||||||||
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the message that is displayed when there is no data.
| |||||||||||
Get the
Element for the specified index. | |||||||||||
Set the message to display when there is no data.
| |||||||||||
Set the value updater to use when cells modify items.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check whether or not the cells in the view depend on the selection state.
| |||||||||||
This method is deprecated.
use
addCellPreviewHandler(com.google.gwt.view.client.CellPreviewEvent.Handler)
instead
| |||||||||||
Fire an event to the cell.
| |||||||||||
Return the cell used to render each item.
| |||||||||||
Get the parent element that wraps the cell from the list item.
| |||||||||||
Return the element that holds the rendered cells.
| |||||||||||
Get the element that has keyboard selection.
| |||||||||||
Check if keyboard navigation is being suppressed, such as when the user is
editing a cell.
| |||||||||||
Called when the widget is blurred.
| |||||||||||
Called after
onBrowserEvent(Event) completes. | |||||||||||
Called when the widget is focused.
| |||||||||||
Render all row values into the specified
SafeHtmlBuilder . | |||||||||||
Reset focus on the currently focused cell.
| |||||||||||
Update an element to reflect its keyboard selected state.
| |||||||||||
This method is deprecated.
this method is never called by AbstractHasData, render the
selected styles in
renderRowValues(SafeHtmlBuilder, List, int, SelectionModel)
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.cellview.client.AbstractHasData
| |||||||||||
From class
com.google.gwt.user.client.ui.Widget
| |||||||||||
From class
com.google.gwt.user.client.ui.UIObject
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface com.google.gwt.event.logical.shared.HasAttachHandlers | |||||||||||
From interface com.google.gwt.event.shared.HasHandlers | |||||||||||
From interface
com.google.gwt.user.cellview.client.HasKeyboardPagingPolicy
| |||||||||||
From interface
com.google.gwt.user.cellview.client.HasKeyboardSelectionPolicy
| |||||||||||
From interface
com.google.gwt.user.client.EventListener
| |||||||||||
From interface
com.google.gwt.user.client.ui.Focusable
| |||||||||||
From interface
com.google.gwt.user.client.ui.IsWidget
| |||||||||||
From interface
com.google.gwt.view.client.HasCellPreviewHandlers
| |||||||||||
From interface
com.google.gwt.view.client.HasData
| |||||||||||
From interface
com.google.gwt.view.client.HasKeyProvider
| |||||||||||
From interface
com.google.gwt.view.client.HasRows
|
Construct a new CellList
.
cell | the cell used to render each item |
---|
Construct a new CellList
with the specified CellList.Resources
.
cell | the cell used to render each item |
---|---|
resources | the resources used for this widget |
Construct a new CellList
with the specified key provider
.
cell | the cell used to render each item |
---|---|
keyProvider | an instance of ProvidesKey |
Construct a new CellList
with the specified CellList.Resources
and key provider
.
cell | the cell used to render each item |
---|---|
resources | the resources used for this widget |
keyProvider | an instance of ProvidesKey |
Get the message that is displayed when there is no data.
Get the Element
for the specified index. If the element has not
been created, null is returned.
indexOnPage | the index on the page |
---|
IndexOutOfBoundsException | if the index is outside of the current page |
---|
Set the message to display when there is no data.
html | the message to display when there are no results |
---|
Set the value updater to use when cells modify items.
valueUpdater | the ValueUpdater
|
---|
Check whether or not the cells in the view depend on the selection state.
This method is deprecated.
use
addCellPreviewHandler(com.google.gwt.view.client.CellPreviewEvent.Handler)
instead
Called when a user action triggers selection.
event | the event that triggered selection |
---|---|
value | the value that was selected |
indexOnPage | the index of the value on the page |
Fire an event to the cell.
context | the Cell.Context of the cell |
---|---|
event | the event that was fired |
parent | the parent of the cell |
value | the value of the cell |
Get the parent element that wraps the cell from the list item. Override this method if you add structure to the element.
item | the row element that wraps the list item |
---|
Return the element that holds the rendered cells.
Element
Get the element that has keyboard selection.
Check if keyboard navigation is being suppressed, such as when the user is editing a cell.
Called when the widget is blurred.
Called after onBrowserEvent(Event)
completes.
event | the event that was fired |
---|
Called when the widget is focused.
Render all row values into the specified SafeHtmlBuilder
.
sb | the SafeHtmlBuilder to render into |
---|---|
values | the row values |
start | the absolute start index of the values |
selectionModel | the SelectionModel
|
Reset focus on the currently focused cell.
Update an element to reflect its keyboard selected state.
index | the index of the element |
---|---|
selected | true if selected, false if not |
stealFocus | true if the row should steal focus, false if not |
This method is deprecated.
this method is never called by AbstractHasData, render the
selected styles in
renderRowValues(SafeHtmlBuilder, List, int, SelectionModel)
Update an element to reflect its selected state.
elem | the element to update |
---|---|
selected | true if selected, false if not |