|
||||||||||
| 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.OpenEvent
public class OpenEvent
This event is used if an object is to be opened in its associated editor.
| 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 | |
|---|---|
OpenEvent(Plugin source,
java.lang.String eventName,
java.lang.Object o)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getAssociationProperty()
Gets the association property (as alternative to a MIME type). |
java.lang.String[] |
getMimeTypes()
Gets the mIME type(s) of the object. |
java.lang.Object |
getUnderlyingObject()
Gets the underlying object. |
boolean |
isCreate()
Gets the flag if a new instance of the object should be create if it is not existend. |
boolean |
isReadonly()
Gets the flag if the object should be opened in read only mode. |
void |
setAssociationProperty(int associationProperty)
Sets the association property (as alternative to a MIME type). |
void |
setCreate(boolean create)
Sets the flag if a new instance of the object should be create if it is not existend. |
void |
setMimeTypes(java.lang.String[] mimeTypes)
Sets the mIME type(s) of the object. |
void |
setReadonly(boolean readonly)
Sets the flag if the object should be opened in read only mode. |
void |
setUnderlyingObject(java.lang.Object underlyingObject)
Sets the underlying object. |
| 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 OpenEvent(Plugin source,
java.lang.String eventName,
java.lang.Object o)
source - Source of the eventeventName - Name of the evento - Object that shall be opened (i.e. FileName)| Method Detail |
|---|
public boolean isReadonly()
public void setReadonly(boolean readonly)
public boolean isCreate()
public void setCreate(boolean create)
public java.lang.Object getUnderlyingObject()
public void setUnderlyingObject(java.lang.Object underlyingObject)
public java.lang.String[] getMimeTypes()
public void setMimeTypes(java.lang.String[] mimeTypes)
public int getAssociationProperty()
public void setAssociationProperty(int associationProperty)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||