|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--brf.j2me.dynaworks.ui.ListItem
A ListItem represents an item in a list structure.
| Field Summary | |
private int |
image
Image number in an image list of the tree |
private java.lang.String |
text
label of the item |
int |
userData
data associated with the node. |
| Constructor Summary | |
ListItem(java.lang.String t,
int img)
Creates a ListItem. |
|
| Method Summary | |
int |
getImage()
get the image id of this node. |
java.lang.String |
getText()
get the next of this node. |
void |
setImage(int img)
sets the image number. |
void |
setText(java.lang.String t)
sets the item text. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private java.lang.String text
private int image
public int userData
| Constructor Detail |
public ListItem(java.lang.String t,
int img)
t - the textinr - the image number in the image list| Method Detail |
public void setText(java.lang.String t)
t - the text.public java.lang.String getText()
public void setImage(int img)
img - the image number.public int getImage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||