|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.microedition.lcdui.Item
javax.microedition.lcdui.CustomItem
de.enough.polish.ui.FakeCustomItem
de.enough.polish.ui.FakeContainerCustomItem
de.enough.polish.ui.ListItem
public class ListItem
Provides a list of items that can be used within a Form.
The list item behaves like a normal J2ME Polish container, so you can specify view-types, columns, colspans, etc.
Copyright (c) Enough Software 2005 - 2008
history
16-Feb-2005 - rob creation
| Field Summary |
|---|
| Fields inherited from class de.enough.polish.ui.FakeContainerCustomItem |
|---|
allowCycling, autoFocusEnabled, autoFocusIndex, availableHeight, containerView, enableScrolling, focusedIndex, focusedItem, focusedStyleFirst, focusedStyleLast, isExpandItems, itemsList, itemStyle, lastPointerPressY, plainStyle, SCROLL_DEFAULT, SCROLL_SMOOTH, scrollSmooth, targetYOffset, yOffset |
| Fields inherited from class javax.microedition.lcdui.CustomItem |
|---|
KEY_PRESS, KEY_RELEASE, KEY_REPEAT, NONE, POINTER_DRAG, POINTER_PRESS, POINTER_RELEASE, TRAVERSE_HORIZONTAL, TRAVERSE_VERTICAL |
| Constructor Summary | |
|---|---|
ListItem(java.lang.String label)
Creates a new list item. |
|
ListItem(java.lang.String label,
Style style)
Creates a new list item. |
|
| Method Summary | |
|---|---|
void |
append(javax.microedition.lcdui.Item item)
Adds the specified item to this list. |
void |
append(Item item)
Adds the specified item to this list. |
void |
insert(int position,
javax.microedition.lcdui.Item item)
Inserts the specified item into this list. |
void |
insert(int position,
Item item)
Inserts the specified item into this list. |
void |
insert(int position,
Item item,
Style itemStyle)
Inserts the specified item into this list and provides it with a style. |
boolean |
remove(javax.microedition.lcdui.Item item)
Removes the specified item from this list. |
void |
removeAll()
Clears this list. |
javax.microedition.lcdui.Item |
removeItem(int index)
Removes the specified item from this list. |
| Methods inherited from class javax.microedition.lcdui.CustomItem |
|---|
getGameAction, getInteractionModes, invalidate, keyPressed, keyReleased, keyRepeated, pointerDragged, pointerPressed, pointerReleased, repaint, repaint, sizeChanged, traverse, traverseOut |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ListItem(java.lang.String label)
label - the label of this item
public ListItem(java.lang.String label,
Style style)
label - the label of this itemstyle - the style| Method Detail |
|---|
public void append(javax.microedition.lcdui.Item item)
item - the item that should be added
public void insert(int position,
javax.microedition.lcdui.Item item)
position - the position into which the item should be inserteditem - the item that should be addedpublic boolean remove(javax.microedition.lcdui.Item item)
item - the item that should be removed
public javax.microedition.lcdui.Item removeItem(int index)
index - the index of the item that should be removed
public void append(Item item)
item - the item that should be added
public void insert(int position,
Item item)
position - the position into which the item should be inserteditem - the item that should be added
public void insert(int position,
Item item,
Style itemStyle)
position - the position into which the item should be inserteditem - the item that should be addeditemStyle - the stylepublic void removeAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||