|
jMobileCore toolkit | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListComponent
The interface ListComponent is required for all list-related components. In this respect, the class ListComponent is analogous to the abstract superclass Component for jMobileCore components.
Method Summary | |
---|---|
java.lang.Object |
getAction()
Get the object representing the list component's action |
javax.microedition.lcdui.Font |
getFont()
Get the list component's font |
int |
getShortcut()
Get the key code shortcut for this list component |
java.lang.String |
getText()
Get textual representation of the ListComponent |
void |
setAction(java.lang.Object action)
Sets the object as list component's action |
void |
setFont(javax.microedition.lcdui.Font font)
Sets the font of this list component. |
void |
setShortcut(int shortcut)
Sets the key code shortcut for this list component |
void |
setText(java.lang.String text)
Sets the textual representation of the ListComponent |
Method Detail |
---|
java.lang.Object getAction()
javax.microedition.lcdui.Font getFont()
int getShortcut()
java.lang.String getText()
ListComponent
void setAction(java.lang.Object action)
action
- the object - new action valuevoid setFont(javax.microedition.lcdui.Font font)
font
- the font to become this list component's font;void setShortcut(int shortcut)
shortcut
- the keycode - new shortcut valuevoid setText(java.lang.String text)
ListComponent
text
- the new textual representation of the component
|
jMobileCore toolkit | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |