|
||||||||||
| 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.guiclient.event.ModelEvent
public class ModelEvent
Jaspira event containing all model relevant information.
| Field Summary | |
|---|---|
int |
eventFlag
Curren event flag |
Model |
model
Modified / Current model |
static int |
NEW_MODEL
New model selected flag |
static int |
NONE
None event flag |
ItemTypeDescriptor[] |
supportedItemTypes
Supported item types by the model |
Model |
unmodifiedModel
Unmodified model |
static int |
UPDATE
Update event flag |
| 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 | |
|---|---|
ModelEvent(Plugin source,
java.lang.String eventName)
Constructor. |
|
| Method Summary | |
|---|---|
void |
setNewModelInfo(Model model,
ItemTypeDescriptor[] supportedItemTypes)
Set the event to a set new model to the browser event. |
void |
setUpdateInfo(Model original,
Model modified)
Set the event to a update item event. |
| 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 NONE
public static final int UPDATE
public static final int NEW_MODEL
public int eventFlag
public Model unmodifiedModel
public Model model
public ItemTypeDescriptor[] supportedItemTypes
| Constructor Detail |
|---|
public ModelEvent(Plugin source,
java.lang.String eventName)
source - The events source objecteventName - The name of the event| Method Detail |
|---|
public void setNewModelInfo(Model model,
ItemTypeDescriptor[] supportedItemTypes)
model - The model which is selectedsupportedItemTypes - The supported item types by that model
public void setUpdateInfo(Model original,
Model modified)
original - The unmodified modelmodified - The modified model
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||