|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.widget.core.client.ListViewCustomAppearance<M>
public abstract class ListViewCustomAppearance<M>
| Constructor Summary | |
|---|---|
ListViewCustomAppearance(java.lang.String itemSelector)
|
|
ListViewCustomAppearance(java.lang.String itemSelector,
java.lang.String overStyle,
java.lang.String selStyle)
|
|
| 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. |
abstract void |
renderItem(SafeHtmlBuilder builder,
SafeHtml content)
Renders a single item. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListViewCustomAppearance(java.lang.String itemSelector)
public ListViewCustomAppearance(java.lang.String itemSelector,
java.lang.String overStyle,
java.lang.String selStyle)
| Method Detail |
|---|
public Element findCellParent(XElement item)
ListView.ListViewAppearance
findCellParent in interface ListView.ListViewAppearance<M>item - the cell whose parent is to be returned
public Element findElement(XElement child)
ListView.ListViewAppearance
findElement in interface ListView.ListViewAppearance<M>child - the element or any child element
public java.util.List<Element> findElements(XElement parent)
ListView.ListViewAppearance
findElements in interface ListView.ListViewAppearance<M>parent - the parent element
public void onOver(XElement item,
boolean over)
ListView.ListViewAppearance
onOver in interface ListView.ListViewAppearance<M>item - the item affected by the cursorover - true if the cursor is over the item
public void onSelect(XElement item,
boolean select)
ListView.ListViewAppearance
onSelect in interface ListView.ListViewAppearance<M>item - the item affected by the selectselect - true if the item is selectedpublic void render(SafeHtmlBuilder builder)
ListView.ListViewAppearance
render in interface ListView.ListViewAppearance<M>builder - the builderpublic void renderEnd(SafeHtmlBuilder builder)
ListView.ListViewAppearance
renderEnd in interface ListView.ListViewAppearance<M>builder - the builder
public abstract void renderItem(SafeHtmlBuilder builder,
SafeHtml content)
ListView.ListViewAppearance
renderItem in interface ListView.ListViewAppearance<M>builder - the buildercontent - the item content
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||