|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject java.awt.AWTEvent com.jidesoft.dashboard.GadgetEvent
public class GadgetEvent
An AWTEvent
that adds support for Gadget
objects as the event source.
Gadget
,
GadgetListener
,
Serialized FormField Summary | |
---|---|
static int |
GADGET_ADDED
This event is delivered when the Gadget is first added to GadgetManager. |
static int |
GADGET_COMPONENT_CREATED
This event is delivered when gadget component is created by the gadget when Gadget.createGadgetComponent() is called. |
static int |
GADGET_COMPONENT_DISPOSED
This event is delivered when gadget component is disposed by the gadget when Gadget.disposeGadgetComponent(GadgetComponent) is called. |
static int |
GADGET_COMPONENT_HIDDEN
This event is delivered when gadget component is hidden from the Dashboard |
static int |
GADGET_COMPONENT_MAXIMIZED
This event is delivered when gadget component is disposed by the gadget when Gadget.disposeGadgetComponent(GadgetComponent) is called. |
static int |
GADGET_COMPONENT_RESIZED
This event is delivered when gadget component is disposed by the gadget when Gadget.disposeGadgetComponent(GadgetComponent) is called. |
static int |
GADGET_COMPONENT_RESTORED
This event is delivered when gadget component is disposed by the gadget when Gadget.disposeGadgetComponent(GadgetComponent) is called. |
static int |
GADGET_COMPONENT_SHOWN
This event is delivered when gadget component is shown on a Dashboard |
static int |
GADGET_FIRST
The first number in the range of IDs used for Gadget events. |
static int |
GADGET_LAST
The last number in the range of IDs used for Gadget events. |
static int |
GADGET_REMOVED
This event is delivered when the Gadget is removed from GadgetManager. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
GadgetEvent(Gadget source,
int id)
Constructs an GadgetEvent object. |
|
GadgetEvent(Object source,
int id,
GadgetComponent gadgetComponent)
|
Method Summary | |
---|---|
Gadget |
getGadget()
Returns the originator of the event. |
GadgetComponent |
getGadgetComponent()
|
String |
paramString()
Returns a parameter string identifying this event. |
Methods inherited from class java.awt.AWTEvent |
---|
consume, getID, isConsumed, setSource, toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int GADGET_FIRST
Gadget
events.
public static final int GADGET_LAST
Gadget
events.
public static final int GADGET_ADDED
Gadget
is first added to GadgetManager.
public static final int GADGET_REMOVED
Gadget
is removed from GadgetManager.
public static final int GADGET_COMPONENT_SHOWN
Dashboard
public static final int GADGET_COMPONENT_HIDDEN
Dashboard
public static final int GADGET_COMPONENT_CREATED
Gadget.createGadgetComponent()
is called.
public static final int GADGET_COMPONENT_DISPOSED
Gadget.disposeGadgetComponent(GadgetComponent)
is called.
public static final int GADGET_COMPONENT_MAXIMIZED
Gadget.disposeGadgetComponent(GadgetComponent)
is called.
public static final int GADGET_COMPONENT_RESTORED
Gadget.disposeGadgetComponent(GadgetComponent)
is called.
public static final int GADGET_COMPONENT_RESIZED
Gadget.disposeGadgetComponent(GadgetComponent)
is called.
Constructor Detail |
---|
public GadgetEvent(Gadget source, int id)
GadgetEvent
object.
source
- the Gadget
object that originated the eventid
- an integer indicating the type of eventpublic GadgetEvent(Object source, int id, GadgetComponent gadgetComponent)
Method Detail |
---|
public String paramString()
paramString
in class AWTEvent
public Gadget getGadget()
Gadget
object that originated the eventpublic GadgetComponent getGadgetComponent()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |