|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ListView.ItemRenderer
List item renderer interface.
Method Summary | |
---|---|
void |
render(Object item,
int index,
ListView listView,
boolean selected,
boolean checked,
boolean highlighted,
boolean disabled)
Prepares the renderer for layout or paint. |
Methods inherited from interface org.apache.pivot.wtk.Renderer |
---|
getStyles |
Methods inherited from interface org.apache.pivot.wtk.ConstrainedVisual |
---|
getBaseline, getPreferredHeight, getPreferredSize, getPreferredWidth, setSize |
Methods inherited from interface org.apache.pivot.wtk.Visual |
---|
getBaseline, getHeight, getWidth, paint |
Method Detail |
---|
void render(Object item, int index, ListView listView, boolean selected, boolean checked, boolean highlighted, boolean disabled)
item
- The item to render, or null if called to calculate preferred
height for skins that assume a fixed renderer height.index
- The index of the item being rendered, or -1 if item
is null.listView
- The list view that contains the item.selected
- If true, the item is selected.
the item.checked
- If true, the item is checked.highlighted
- If true, the item is highlighted.disabled
- If true, the item is disabled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |