|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
M - the model typepublic static interface ListView.ListViewAppearance<M>
The appearance of a list view.
| Method Summary | |
|---|---|
Element |
findCellParent(XElement item)
Returns the cell's parent element if it exists. |
Element |
findElement(XElement child)
Returns the matching element. |
java.util.List<Element> |
findElements(XElement parent)
Returns the child elements. |
void |
onOver(XElement item,
boolean over)
Handles a cursor over event. |
void |
onSelect(XElement item,
boolean select)
Handles a select event. |
void |
render(SafeHtmlBuilder builder)
Renders the container. |
void |
renderEnd(SafeHtmlBuilder builder)
Optionally renders extra markup at the end of the the list. |
void |
renderItem(SafeHtmlBuilder builder,
SafeHtml content)
Renders a single item. |
| Method Detail |
|---|
Element findCellParent(XElement item)
item - the cell whose parent is to be returned
Element findElement(XElement child)
child - the element or any child element
java.util.List<Element> findElements(XElement parent)
parent - the parent element
void onOver(XElement item,
boolean over)
item - the item affected by the cursorover - true if the cursor is over the item
void onSelect(XElement item,
boolean select)
item - the item affected by the selectselect - true if the item is selectedvoid render(SafeHtmlBuilder builder)
builder - the buildervoid renderEnd(SafeHtmlBuilder builder)
builder - the builder
void renderItem(SafeHtmlBuilder builder,
SafeHtml content)
builder - the buildercontent - the item content
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||