|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.io.graphml.output.AbstractOutputHandler
y.io.graphml.layout.NodeLayoutOutputHandler
public class NodeLayoutOutputHandler
Output handler for node layout information in GraphML.
![]() |
![]() |
| Constructor Summary | |
|---|---|
NodeLayoutOutputHandler()
|
|
| Method Summary | |
|---|---|
java.util.Collection |
getKeyDefinitionAttributes()
Adds the key definition for node layout information. |
protected java.lang.Object |
getValue(GraphMLWriteContext context,
java.lang.Object key)
Retrieves the NodeLayout instances associated to the specified
key node. |
protected void |
writeValueCore(GraphMLWriteContext context,
java.lang.Object data)
Calls context.serialize(data) for NodeLayout data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeLayoutOutputHandler()
| Method Detail |
|---|
public java.util.Collection getKeyDefinitionAttributes()
Graph2DGraphMLHandler
generated GraphML, yfiles.type="nodegraphics" is used.
getKeyDefinitionAttributes in interface OutputHandlergetKeyDefinitionAttributes in class AbstractOutputHandlerAbstractOutputHandler.addNameToKeyDefinition(String),
AbstractOutputHandler.addScopeToKeyDefinition(y.io.graphml.KeyScope),
AbstractOutputHandler.addTypeToKeyDefinition(y.io.graphml.KeyType),
AbstractOutputHandler.addUriToKeyDefinition(String)
protected void writeValueCore(GraphMLWriteContext context,
java.lang.Object data)
throws GraphMLWriteException
context.serialize(data) for NodeLayout data.
writeValueCore in class AbstractOutputHandlercontext - The current serialization context.data - The NodeLayout instance to serialize.
GraphMLWriteException - if a problem occurs during serialization.
protected java.lang.Object getValue(GraphMLWriteContext context,
java.lang.Object key)
NodeLayout instances associated to the specified
key node.
getValue in class AbstractOutputHandlercontext - The current serialization context.key - The Node instance that is serialized.
NodeLayout instances associated to the specified
key node.
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||