All Packages Class Hierarchy This Package Previous Next Index
Class com.bulletproof.gui.GUIEvent
java.lang.Object
|
+----com.bulletproof.gui.GUIEvent
- public class GUIEvent
- extends Object
The root event class for all GUI events.
The event masks defined in this class are needed ONLY by
component subclasses which are using Component.enableEvents()
to select for event types not selected by registered listeners.
If a listener is registered on a component, the appropriate event
mask is already set internally by the component.
-
GUIEvent(Object, int)
- Constructs an GUIEvent object with the specified source object and type.
-
getID()
- Returns the event type.
-
getSource()
- Returns the source oibject of the event.
GUIEvent
public GUIEvent(Object source,
int id)
- Constructs an GUIEvent object with the specified source object and type.
- Parameters:
- source - the object where the event originated
getSource
public Object getSource()
- Returns the source oibject of the event.
getID
public int getID()
- Returns the event type.
All Packages Class Hierarchy This Package Previous Next Index