com.yworks.yfiles.server.graphml.flexio
Class ZOrderOutputHandler

java.lang.Object
  extended byy.io.graphml.output.AbstractOutputHandler
      extended bycom.yworks.yfiles.server.graphml.flexio.ZOrderOutputHandler
All Implemented Interfaces:
java.util.EventListener, OutputHandler, OutputHandlerProvider

public class ZOrderOutputHandler
extends AbstractOutputHandler

Output handler that writes the z-order of graph elements.


Constructor Summary
ZOrderOutputHandler()
          Create a new output handler using scope KeyScope.ALL, type KeyType.INT and name 'zOrder'.
 
Method Summary
protected  java.lang.Object getValue(GraphMLWriteContext context, java.lang.Object key)
           
protected  void writeValueCore(GraphMLWriteContext context, java.lang.Object data)
           
 
Methods inherited from class y.io.graphml.output.AbstractOutputHandler
addNameToKeyDefinition, addScopeToKeyDefinition, addTypeToKeyDefinition, addUriToKeyDefinition, getDataTagAttributes, getDefaultValue, getKeyDefinitionAttributes, getPrecedence, getScope, getValidScopes, hasDefaultValueAssigned, isDefaultValue, isValidScope, isWriteKeyDefault, onQueryOutputHandler, setDefaultValue, setDefaultValueAssigned, setPrecedence, setScope, setValidScopes, setWriteKeyDefault, writeKeyDefinitionContent, writeValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZOrderOutputHandler

public ZOrderOutputHandler()
Create a new output handler using scope KeyScope.ALL, type KeyType.INT and name 'zOrder'.

new Integer(0) is used as default value.

Method Detail

writeValueCore

protected void writeValueCore(GraphMLWriteContext context,
                              java.lang.Object data)
                       throws GraphMLWriteException
Throws:
GraphMLWriteException

getValue

protected java.lang.Object getValue(GraphMLWriteContext context,
                                    java.lang.Object key)
                             throws GraphMLWriteException
Throws:
GraphMLWriteException


Copyright © 2000-2013 yWorks GmbH. All rights reserved