|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject y.io.graphml.output.WriteEvent
public class WriteEvent
This is the event argument that is used by the WriteEventListener
interface
that can be queried from the GraphMLWriteContext.getWriteEvents()
property.
This class holds a reference to the getContext()
and the
getItem()
that is currently being written.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
WriteEvent(java.lang.Object source,
GraphMLWriteContext context,
java.lang.Object item)
Initializes a new instance of the WriteEvent class. |
Method Summary | |
---|---|
GraphMLWriteContext |
getContext()
Gets the context that is being used for writing. |
java.lang.Object |
getItem()
Gets the item that is currently being written or null if nothing is applicable. |
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 WriteEvent(java.lang.Object source, GraphMLWriteContext context, java.lang.Object item)
WriteEvent
class.
source
- The source where the event was raised.context
- The context to assign to getContext()
.item
- The item to assign to getItem()
.Method Detail |
---|
public GraphMLWriteContext getContext()
public java.lang.Object getItem()
null
if nothing is applicable.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |