|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.openbp.jaspira.event.JaspiraEvent
org.openbp.jaspira.plugins.statusbar.StatusBarComponentEvent
public class StatusBarComponentEvent
Event used to control the statusbar and its components.
| Field Summary | |
|---|---|
static int |
ADD
Adds a component to the statusbar |
static int |
REMOVE
Removes a Component from the statusbar |
static int |
REPLACE
updates/replaces a component in the statusbar |
| Fields inherited from class org.openbp.jaspira.event.JaspiraEvent |
|---|
CONSUMED, HANDELED, STACKABLE, TYPE_BOTTOM_UP, TYPE_DIRECT, TYPE_FLOOD, TYPE_GLOBAL, UNCONSUMABLE |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
StatusBarComponentEvent(Plugin plugin,
java.awt.Component oldComponent,
java.awt.Component newComponent)
Constructor for REPLACE operations. |
|
StatusBarComponentEvent(Plugin plugin,
int operation,
java.awt.Component comp)
Constructor for ADD or REMOVE operations. |
|
| Method Summary | |
|---|---|
java.awt.Component |
getNewComponent()
Gets the the new Component. |
java.awt.Component |
getOldComponent()
Gets the the old Component. |
int |
getOperation()
Gets the type of operation to perform. |
| Methods inherited from class org.openbp.jaspira.event.JaspiraEvent |
|---|
brand, getBrand, getEventGroup, getEventName, getFlags, getLevel, getObject, getOriginalEvent, getSourcePlugin, getTargetClassName, getTargetPluginId, getType, isConsumed, isStackable, isUnconsumable, setObject, setTargetClassName, setTargetPluginId, toString, updateFlags, updateFlags |
| 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 ADD
public static final int REMOVE
public static final int REPLACE
| Constructor Detail |
|---|
public StatusBarComponentEvent(Plugin plugin,
int operation,
java.awt.Component comp)
ADD or REMOVE operations.
plugin - Source pluginoperation - Type of operation to performcomp - Component to add or remve
public StatusBarComponentEvent(Plugin plugin,
java.awt.Component oldComponent,
java.awt.Component newComponent)
REPLACE operations.
plugin - Source pluginoldComponent - Component to replacenewComponent - New component| Method Detail |
|---|
public int getOperation()
public java.awt.Component getNewComponent()
public java.awt.Component getOldComponent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||