|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.microedition.lcdui.Displayable
|
+--javax.microedition.lcdui.Screen
|
+--javax.microedition.lcdui.List
|
+--st.ShowtimeList
A list of showtimes.
| Fields inherited from class javax.microedition.lcdui.List |
SELECT_COMMAND |
| Fields inherited from interface javax.microedition.lcdui.Choice |
EXCLUSIVE, IMPLICIT, MULTIPLE |
| Constructor Summary | |
ShowtimeList()
|
|
| Method Summary | |
void |
addShowtime(int id,
java.lang.String showtime)
Add the given showtime to the list, corresponding to the given ID. |
int |
getShowID()
Return the ID of the selected show. |
java.lang.String |
getShowtime()
Return the time of the selected show. |
void |
init(int size)
Initialize this list to contain the given number of items. |
| Methods inherited from class javax.microedition.lcdui.List |
append, delete, getImage, getSelectedFlags, getSelectedIndex, getString, insert, isSelected, set, setSelectedFlags, setSelectedIndex, size |
| Methods inherited from class javax.microedition.lcdui.Screen |
getTicker, getTitle, setTicker, setTitle |
| Methods inherited from class javax.microedition.lcdui.Displayable |
addCommand, isShown, removeCommand, setCommandListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ShowtimeList()
| Method Detail |
public void init(int size)
the - size of this list.
public void addShowtime(int id,
java.lang.String showtime)
the - ID of the showtime to add.the - time of the show to add.public int getShowID()
public java.lang.String getShowtime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||