|
||||||||||
| 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.gui.interaction.BreakoutEvent
public class BreakoutEvent
The event is sent if a break out menu has to be shown and a provider is needed. Any event receiver that feels responsible for the given break out key should set the provider accordingly.
| Field Summary |
|---|
| 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 | |
|---|---|
BreakoutEvent(Plugin source,
int key)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getKey()
Returns the key that was pressed. |
BreakoutProvider |
getProvider()
Returns the provider. |
void |
setProvider(BreakoutProvider bop)
Sets the provider. |
| 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 |
| Constructor Detail |
|---|
public BreakoutEvent(Plugin source,
int key)
source - Source plugin of the eventkey - Key that was pressed to initiate the break out mode| Method Detail |
|---|
public int getKey()
public void setProvider(BreakoutProvider bop)
bop - Provider that is suitable of the given keypublic BreakoutProvider getProvider()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||