org.zaval.awt.gdp.event
Class DgnControllerEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.zaval.util.event.EvObject
|
+--org.zaval.awt.gdp.event.DgnControllerEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class DgnControllerEvent
- extends EvObject
This class represents designer controller event.
- See Also:
- Serialized Form
Field Summary |
static int |
DGN_FINISHED
The designer controller deactivation event type. |
static int |
DGN_STARTED
The designer controller activation event type. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
DgnControllerEvent(java.awt.Component src,
int id)
Constructs the event object with the specified source component, and the event id. |
Method Summary |
protected boolean |
checkID(int id)
The method returns true if the specified id is valid for the event,
otherwise returns false . |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DGN_STARTED
public static final int DGN_STARTED
-
The designer controller activation event type.
DGN_FINISHED
public static final int DGN_FINISHED
-
The designer controller deactivation event type.
DgnControllerEvent
public DgnControllerEvent(java.awt.Component src,
int id)
-
Constructs the event object with the specified source component, and the event id.
- Parameters:
src
- the component where the event originated.id
- the specified event id.
checkID
protected boolean checkID(int id)
-
The method returns
true
if the specified id is valid for the event,
otherwise returns false
. The method is called with the event constructor
to test if the event id is valid and if the event is not valid the IllegalArgumentException
will be thrown.
- Overrides:
checkID
in class EvObject
- Parameters:
id
- the specified id.
Copyright © Zaval Creative Engineering Group, 2000-2005
http://www.zaval.org