M
- the model typepublic static interface ListView.ListViewAppearance<M>
Modifier and Type | Method and Description |
---|---|
Element |
findCellParent(XElement item)
Returns the cell's parent element if it exists.
|
Element |
findElement(XElement child)
Returns the matching element.
|
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.
|
Element findCellParent(XElement item)
item
- the cell whose parent is to be returnedElement findElement(XElement child)
child
- the element or any child elementList<Element> findElements(XElement parent)
parent
- the parent elementvoid onOver(XElement item, boolean over)
item
- the item affected by the cursorover
- true if the cursor is over the itemvoid 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 buildervoid renderItem(SafeHtmlBuilder builder, SafeHtml content)
builder
- the buildercontent
- the item contentCopyright © 2015. All rights reserved.