|
jMobileCore toolkit | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jmobilecore.ui.core.Component
com.jmobilecore.ui.core.Label
com.jmobilecore.ui.core.List
com.jmobilecore.ui.TimeZoneList
public class TimeZoneList
The TimeZoneList
component presents the user with a scrolling list of timezones.
List
,
TimeZone
Field Summary |
---|
Fields inherited from class com.jmobilecore.ui.core.List |
---|
eventListener, items, leftKey, listScreen, rightKey, selected, title |
Fields inherited from class com.jmobilecore.ui.core.Label |
---|
text |
Fields inherited from class com.jmobilecore.ui.core.Component |
---|
alignment, background, CENTER, focusable, focusedBackground, focusedForeground, font, foreground, height, isCompletelyVisible, isFocused, isVisible, LEFT, parentScreen, RIGHT, screenY, valid, width |
Constructor Summary | |
---|---|
TimeZoneList(java.lang.String label)
Creates a new timezone scrolling list. |
Method Summary | |
---|---|
java.lang.String |
getTimeZoneID()
Gets currently selected timezone id Timezone id belongs to TimeZone.getAvailableIDs() |
void |
paint(javax.microedition.lcdui.Graphics g)
Paints the PropertyLabel to the screen. |
boolean |
setTimeZoneID(java.lang.String tzID)
Selects timezone by timezone id Timezone id should be one of TimeZone.getAvailableIDs() |
Methods inherited from class com.jmobilecore.ui.core.List |
---|
add, add, add, add, createListScreen, deselect, destructor, getComponent, getItem, getItemCount, getSelectedComponent, getSelectedIndex, getSelectedItem, isIndexSelected, keyPressed, remove, remove, removeAll, replaceItem, select, setListScreen, setListScreen |
Methods inherited from class com.jmobilecore.ui.core.Label |
---|
createTitleLabel, getText, setText |
Methods inherited from class com.jmobilecore.ui.core.Component |
---|
getBackground, getFont, getForeground, getHeight, getWidth, invalidate, isFocusOwner, keyReleased, keyRepeated, paintBackground, pointerDragged, pointerPressed, pointerReleased, prepareForeground, releaseFocus, requestFocus, setFont, setHeight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeZoneList(java.lang.String label)
Method Detail |
---|
public java.lang.String getTimeZoneID()
TimeZone.getAvailableIDs()
public void paint(javax.microedition.lcdui.Graphics g)
PropertyLabel
to the screen.
paint
in class Label
g
- The Graphics object to render to.public boolean setTimeZoneID(java.lang.String tzID)
TimeZone.getAvailableIDs()
tzID
- The timezone id
|
jMobileCore toolkit | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |