|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Command | |
com.sun.lwuit | Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT. |
com.sun.lwuit.events | Observable pattern event listeners in the spirit of AWT 1.1's event dispatching architecture, all events are dispatched on the EDT (Event Dispatch Thread). |
Uses of Command in com.sun.lwuit |
Methods in com.sun.lwuit that return Command | |
Command |
Dialog.show(int top,
int bottom,
int left,
int right,
boolean includeTitle)
This method shows the form as a modal alert allowing us to produce a behavior of an alert/dialog box. |
Command |
Dialog.show(int top,
int bottom,
int left,
int right,
boolean includeTitle,
boolean modal)
This method shows the form as a modal alert allowing us to produce a behavior of an alert/dialog box. |
static Command |
Dialog.show(String title,
String text,
Command[] cmds,
int type,
Image icon,
long timeout)
Shows a modal prompt dialog with the given title and text. |
static Command |
Dialog.show(String title,
String text,
Command defaultCommand,
Command[] cmds,
int type,
Image icon,
long timeout)
Shows a modal prompt dialog with the given title and text. |
static Command |
Dialog.show(String title,
String text,
Command[] cmds,
int type,
Image icon,
long timeout,
Transition transition)
Shows a modal prompt dialog with the given title and text. |
static Command |
Dialog.show(String title,
String text,
Command defaultCommand,
Command[] cmds,
int type,
Image icon,
long timeout,
Transition transition)
Shows a modal prompt dialog with the given title and text. |
static Command |
Dialog.show(String title,
Component body,
Command[] cmds)
Shows a modal dialog with the given component as its "body" placed in the center. |
static Command |
Dialog.show(String title,
Component body,
Command[] cmds,
int type,
Image icon)
Shows a modal dialog with the given component as its "body" placed in the center. |
static Command |
Dialog.show(String title,
Component body,
Command[] cmds,
int type,
Image icon,
long timeout)
Shows a modal dialog with the given component as its "body" placed in the center. |
static Command |
Dialog.show(String title,
Component body,
Command[] cmds,
int type,
Image icon,
long timeout,
Transition transition)
Shows a modal dialog with the given component as its "body" placed in the center. |
static Command |
Dialog.show(String title,
Component body,
Command defaultCommand,
Command[] cmds,
int type,
Image icon,
long timeout,
Transition transition)
Shows a modal dialog with the given component as its "body" placed in the center. |
Command |
Dialog.showDialog()
Shows a modal dialog and returns the command pressed within the modal dialog. |
Command |
Form.getDefaultCommand()
Default command is invoked when a user presses fire, this functionality works well in some situations but might collide with elements such as navigation and combo boxes. |
Command |
Form.getClearCommand()
Indicates the command that is defined as the clear command in this form. |
Command |
Form.getBackCommand()
Indicates the command that is defined as the back command out of this form. |
Command |
Form.getCommand(int index)
Returns the command occupying the given index. |
protected Command |
Form.showMenuDialog(Dialog menu)
A menu is implemented as a dialog, this method allows you to override dialog display in order to customize the dialog menu in various ways. |
protected Command |
TextField.installCommands(Command clear,
Command t9)
Installs the clear and t9 commands onto the parent form, this method can be overriden to provide device specific placement for these commands. |
Methods in com.sun.lwuit with parameters of type Command | |
static Command |
Dialog.show(String title,
String text,
Command[] cmds,
int type,
Image icon,
long timeout)
Shows a modal prompt dialog with the given title and text. |
static Command |
Dialog.show(String title,
String text,
Command defaultCommand,
Command[] cmds,
int type,
Image icon,
long timeout)
Shows a modal prompt dialog with the given title and text. |
static Command |
Dialog.show(String title,
String text,
Command[] cmds,
int type,
Image icon,
long timeout,
Transition transition)
Shows a modal prompt dialog with the given title and text. |
static Command |
Dialog.show(String title,
String text,
Command defaultCommand,
Command[] cmds,
int type,
Image icon,
long timeout,
Transition transition)
Shows a modal prompt dialog with the given title and text. |
static Command |
Dialog.show(String title,
Component body,
Command[] cmds)
Shows a modal dialog with the given component as its "body" placed in the center. |
static Command |
Dialog.show(String title,
Component body,
Command[] cmds,
int type,
Image icon)
Shows a modal dialog with the given component as its "body" placed in the center. |
static Command |
Dialog.show(String title,
Component body,
Command[] cmds,
int type,
Image icon,
long timeout)
Shows a modal dialog with the given component as its "body" placed in the center. |
static Command |
Dialog.show(String title,
Component body,
Command[] cmds,
int type,
Image icon,
long timeout,
Transition transition)
Shows a modal dialog with the given component as its "body" placed in the center. |
static Command |
Dialog.show(String title,
Component body,
Command defaultCommand,
Command[] cmds,
int type,
Image icon,
long timeout,
Transition transition)
Shows a modal dialog with the given component as its "body" placed in the center. |
protected void |
Dialog.actionCommand(Command cmd)
Invoked to allow subclasses of form to handle a command from one point rather than implementing many command instances. |
void |
Form.setDefaultCommand(Command defaultCommand)
Default command is invoked when a user presses fire, this functionality works well in some situations but might collide with elements such as navigation and combo boxes. |
void |
Form.setClearCommand(Command clearCommand)
Indicates the command that is defined as the clear command in this form. |
void |
Form.setBackCommand(Command backCommand)
Indicates the command that is defined as the back command out of this form. |
protected void |
Form.actionCommand(Command cmd)
Invoked to allow subclasses of form to handle a command from one point rather than implementing many command instances. |
void |
Form.addCommand(Command cmd,
int offset)
Adds a command to the menu bar softkeys or into the menu dialog, this version of add allows us to place a command in an arbitrary location. |
void |
Form.addCommand(Command cmd)
Adds a command to the menu bar softkeys. |
void |
Form.removeCommand(Command cmd)
Removes the command from the menu bar softkeys. |
protected Command |
TextField.installCommands(Command clear,
Command t9)
Installs the clear and t9 commands onto the parent form, this method can be overriden to provide device specific placement for these commands. |
protected void |
TextField.removeCommands(Command clear,
Command t9,
Command originalClear)
Removes the clear and t9 commands from the parent form, this method can be overriden to provide device specific placement for these commands. |
Constructors in com.sun.lwuit with parameters of type Command | |
Button(Command cmd)
Allows binding a command to a button for ease of use. |
Uses of Command in com.sun.lwuit.events |
Methods in com.sun.lwuit.events that return Command | |
Command |
ActionEvent.getCommand()
If this event was sent as a result of a command action this method returns that command. |
|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |