public abstract class ListViewCustomAppearance<M> extends Object implements ListView.ListViewAppearance<M>
| Constructor and Description |
|---|
ListViewCustomAppearance(String itemSelector) |
ListViewCustomAppearance(String itemSelector,
String overStyle,
String selStyle) |
| Modifier and Type | Method and Description |
|---|---|
Element |
findCellParent(XElement item) |
Element |
findElement(XElement child) |
List<Element> |
findElements(XElement parent) |
void |
onOver(XElement item,
boolean over) |
void |
onSelect(XElement item,
boolean select) |
void |
render(SafeHtmlBuilder builder)
Renders the container.
|
void |
renderEnd(SafeHtmlBuilder builder)
Optionally renders extra markup at the end of the the list.
|
abstract void |
renderItem(SafeHtmlBuilder builder,
SafeHtml content)
Renders a single item.
|
public ListViewCustomAppearance(String itemSelector)
public Element findCellParent(XElement item)
findCellParent in interface ListView.ListViewAppearance<M>public Element findElement(XElement child)
findElement in interface ListView.ListViewAppearance<M>public List<Element> findElements(XElement parent)
findElements in interface ListView.ListViewAppearance<M>public void onOver(XElement item, boolean over)
onOver in interface ListView.ListViewAppearance<M>public void onSelect(XElement item, boolean select)
onSelect in interface ListView.ListViewAppearance<M>public void render(SafeHtmlBuilder builder)
ListView.ListViewAppearancerender in interface ListView.ListViewAppearance<M>builder - the builderpublic void renderEnd(SafeHtmlBuilder builder)
ListView.ListViewAppearancerenderEnd in interface ListView.ListViewAppearance<M>builder - the builderpublic abstract void renderItem(SafeHtmlBuilder builder, SafeHtml content)
ListView.ListViewAppearancerenderItem in interface ListView.ListViewAppearance<M>builder - the buildercontent - the item contentCopyright © 2012. All Rights Reserved.