|
|||||||||
| Home >> All >> com >> barteo >> [ emulator overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.barteo.emulator
Class CommandManager

java.lang.Objectcom.barteo.emulator.CommandManager
- public class CommandManager
- extends java.lang.Object
| Nested Class Summary | |
(package private) static class |
CommandManager.CommandManagerListener
|
| Field Summary | |
(package private) static javax.microedition.lcdui.Command |
BACK_COMMAND
|
(package private) static javax.microedition.lcdui.List |
commandList
|
(package private) static javax.microedition.lcdui.CommandListener |
commandManagerListener
|
(package private) static CommandManager |
instance
|
(package private) static javax.microedition.lcdui.Command |
MENU_COMMAND
|
(package private) static java.util.Vector |
menuCommands
|
(package private) static javax.microedition.lcdui.Displayable |
previous
|
(package private) static javax.microedition.lcdui.Command |
SELECT_COMMAND
|
| Constructor Summary | |
CommandManager()
|
|
| Method Summary | |
void |
commandAction(javax.microedition.lcdui.Command cmd)
|
static CommandManager |
getInstance()
|
void |
updateCommands(java.util.Vector commands)
Updates the commands on the soft buttons. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
instance
static CommandManager instance
MENU_COMMAND
static final javax.microedition.lcdui.Command MENU_COMMAND
BACK_COMMAND
static final javax.microedition.lcdui.Command BACK_COMMAND
SELECT_COMMAND
static final javax.microedition.lcdui.Command SELECT_COMMAND
commandList
static final javax.microedition.lcdui.List commandList
commandManagerListener
static javax.microedition.lcdui.CommandListener commandManagerListener
previous
static javax.microedition.lcdui.Displayable previous
menuCommands
static java.util.Vector menuCommands
| Constructor Detail |
CommandManager
public CommandManager()
| Method Detail |
getInstance
public static CommandManager getInstance()
commandAction
public void commandAction(javax.microedition.lcdui.Command cmd)
updateCommands
public void updateCommands(java.util.Vector commands)
- Updates the commands on the soft buttons.
Requires that the command vector passed in is in priority order.
A menu is created if there are more commands than the number of soft
buttons. The function of one of the soft buttons will be to display the
menu. The commands with the highest priorities are mapped to the soft
buttons, while the rest will appear in the menu.
|
|||||||||
| Home >> All >> com >> barteo >> [ emulator overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.barteo.emulator.CommandManager