|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.yworks.yfiles.server.graphml.flexio.ResolveReferenceEvent
Event object the represents the invocation state of the various callbacks in class
DefaultReferenceResolver
Field Summary |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ResolveReferenceEvent(java.lang.Object source,
GraphMLParseContext context,
java.lang.String refid)
Create a resolve reference event object. |
Method Summary | |
GraphMLParseContext |
getContext()
Returns the current parse context. |
java.lang.String |
getRefid()
Returns the refid of the shared element that is to be resolved. |
java.lang.Object |
getValue()
Returns the shared instance, if the reference was successfully resolved. |
boolean |
isHandled()
Whether the reference was successfully resolved. |
void |
setValue(java.lang.Object value)
Set the successfully resolved shared instance. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ResolveReferenceEvent(java.lang.Object source, GraphMLParseContext context, java.lang.String refid)
source
- The event source.context
- The current parse context.refid
- The refid of the shared element that is to be resolved.Method Detail |
public boolean isHandled()
public GraphMLParseContext getContext()
public java.lang.Object getValue()
public java.lang.String getRefid()
public void setValue(java.lang.Object value)
After this method has been called, isHandled()
will yield true
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |