All Packages Class Hierarchy This Package Previous Next Index
Class guinea.ui.event.ControlEvent
java.lang.Object
|
+----java.util.EventObject
|
+----guinea.ui.event.UIEvent
|
+----guinea.ui.event.ControlEvent
- public class ControlEvent
- extends UIEvent
A subject UI control event.
- See Also:
- ControlListener
Variable Index
- ·
argument
- A argument for the command.
- ·
command
- The command of this control event.
Constructor Index
- ·
ControlEvent(Object, String)
- Constructs an CommandEvent object with the specified source
object.
- ·
ControlEvent(Object, String, String)
- Constructs an CommandEvent object with the specified source
object.
- ·
ControlEvent(Object, String, String, Object)
- Constructs an CommandEvent object with the specified source object.
Method Index
- ·
getArgument()
- Get the argument from this event.
- ·
getCommand()
- Get the control command from this event.
Variables
·
command
protected String command
- The command of this control event.
·
argument
protected Object argument
- A argument for the command.
Constructors
·
ControlEvent
public ControlEvent(Object source,
String name,
String command,
Object argument)
- Constructs an CommandEvent object with the specified source object.
- Parameters:
- source - The object where the event originated.
- name - The name of the event source object.
- command - The command string for this control event.
- argument - Argument object for this event.
·
ControlEvent
public ControlEvent(Object source,
String name,
String command)
- Constructs an CommandEvent object with the specified source
object. The argument is null.
- Parameters:
- source - The object where the event originated.
- name - The name of the event source object.
- command - The command string for this control event.
·
ControlEvent
public ControlEvent(Object source,
String name)
- Constructs an CommandEvent object with the specified source
object. The command and argument are null.
- Parameters:
- source - The object where the event originated.
- name - The name of the event source object.
Methods
·
getCommand
public String getCommand()
- Get the control command from this event.
- Returns:
- The command of this event.
·
getArgument
public Object getArgument()
- Get the argument from this event.
- Returns:
- The argument for the command.
All Packages Class Hierarchy This Package Previous Next Index