All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class guinea.ui.event.SubjectUIEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----guinea.ui.event.UIEvent
                   |
                   +----guinea.ui.event.ControlEvent
                           |
                           +----guinea.ui.event.SubjectUIEvent

public class SubjectUIEvent
extends ControlEvent
A subject UI event.

See Also:
SubjectUIListener

Variable Index

· id
ID number for this event.
· ID_ITEM_ABORT
ID number of 'abort' type event.
· ID_ITEM_DONE
ID number of 'done' type event.
· ID_ITEM_GOTO
ID number of 'goto' type event.
· ID_ITEM_NEXT
ID number of 'next' type event.
· ID_ITEM_PAUSE
ID number of 'pause' type event.
· ID_ITEM_PREV
ID number of 'previous' type event.

Constructor Index

· SubjectUIEvent(Object, String)
Constructs an CommandEvent object with the specified source object.
· SubjectUIEvent(Object, String, String)
Constructs an CommandEvent object with the specified source object.
· SubjectUIEvent(Object, String, String, Object, int)
Constructs an CommandEvent object with the specified source object.

Method Index

· getID()
Get the ID number of this event type.

Variables

· id
 protected int id
ID number for this event.

· ID_ITEM_DONE
 public static final int ID_ITEM_DONE
ID number of 'done' type event.

· ID_ITEM_NEXT
 public static final int ID_ITEM_NEXT
ID number of 'next' type event.

· ID_ITEM_PREV
 public static final int ID_ITEM_PREV
ID number of 'previous' type event.

· ID_ITEM_GOTO
 public static final int ID_ITEM_GOTO
ID number of 'goto' type event.

· ID_ITEM_PAUSE
 public static final int ID_ITEM_PAUSE
ID number of 'pause' type event.

· ID_ITEM_ABORT
 public static final int ID_ITEM_ABORT
ID number of 'abort' type event.

Constructors

· SubjectUIEvent
 public SubjectUIEvent(Object source,
                       String name,
                       String command,
                       Object argument,
                       int id)
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.
id - The type of event.
· SubjectUIEvent
 public SubjectUIEvent(Object source,
                       String name,
                       String command)
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.
id - The type of event.
command - The command string for this control event.
· SubjectUIEvent
 public SubjectUIEvent(Object source,
                       String name)
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.

Methods

· getID
 public int getID()
Get the ID number of this event type.

Returns:
Type ID of this event.

All Packages  Class Hierarchy  This Package  Previous  Next  Index