|
|
|||||
| Package com.dassault_systemes.catweb.base.catlet.command |
Class CommandEvent
|
| Class Hierarchy |
java.lang.Object
|
+-java.util.EventObject
|
+-com.dassault_systemes.catweb.base.catlet.command.CommandEvent
| Class Location |
| Class Description |
public class CommandEvent
The command selection event
| Field Summary |
| public static final int | ONESHOT
|
| public static final int | PERMANENT
|
| public static final int | SELECTED
|
| public static final int | UNSELECTED
|
| Constructor Summary |
| CommandEvent(Object source, Command command, int state, int mode)
Event generated when a command is selected for activation |
| CommandEvent(Object source, Command command, int state)
Event generated when a command is selected for activation. |
| Method Summary |
| public Command | getCommand()
Returns the command for which this event was generated |
| public int | getMode()
Returns the mode with which the command has been selected |
| public int | getState()
Returns the state of the object which generated this event |
| Field Detail |
public static final int ONESHOT
public static final int PERMANENT
public static final int SELECTED
public static final int UNSELECTED
| Constructor Detail |
CommandEvent(Object source, Command command, int state, int mode)
Event generated when a command is selected for activation
CommandEvent(Object source, Command command, int state)
Event generated when a command is selected for activation.
Command mode is permanent
| Method Detail |
public Command getCommand()
Returns the command for which this event was generated
public int getMode()
Returns the mode with which the command has been selected
public int getState()
Returns the state of the object which generated this event