|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Command | |
---|---|
com.sun.dtv.lwuit | Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT. |
com.sun.dtv.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.dtv.lwuit |
---|
Methods in com.sun.dtv.lwuit that return Command | |
---|---|
Command |
Form.getBackCommand()
Indicates the command that is defined as the back command out of this form. |
Command |
Form.getClearCommand()
Indicates the command that is defined as the clear command in this form. |
Command |
Form.getCommand(int index)
Returns the command occupying the given index. |
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 |
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,
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. |
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[] 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)
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. |
Command |
Dialog.showDialog()
Shows a modal dialog and returns the command pressed within the modal dialog. |
protected Command |
Form.showMenuDialog(Dialog menu)
If a menu is implemented as a dialog, this method allows to override dialog display in order to customize the dialog menu in various ways |
Command |
Dialog.showPacked(String position,
boolean modal)
Convenience method to show a dialog sized to match its content. |
Methods in com.sun.dtv.lwuit with parameters of type Command | |
---|---|
void |
Form.addCommand(Command cmd)
Adds a command to the menu bar softkeys. |
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.removeCommand(Command cmd)
Removes the command from the menu bar softkeys. |
void |
Form.setBackCommand(Command backCommand)
Indicates the command that is defined as the back command out of this form. |
void |
Form.setClearCommand(Command clearCommand)
Indicates the command that is defined as the clear command in this form. |
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. |
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. |
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. |
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[] 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)
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 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,
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. |
Constructors in com.sun.dtv.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.dtv.lwuit.events |
---|
Methods in com.sun.dtv.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.3 18-Nov-2009 |
||||||||
PREV NEXT | FRAMES NO FRAMES |