com.yworks.yfiles.server.graphml.support
Class GraphRoundtripSupportBase.RoundtripGraphMLLayoutGraphIOHandler.LocalViewModeConfigurator

java.lang.Object
  extended byy.layout.AbstractLayoutStage
      extended bycom.yworks.yfiles.server.graphml.folding.FoldingLayoutStage
          extended bycom.yworks.yfiles.server.graphml.support.GraphRoundtripSupportBase.RoundtripGraphMLLayoutGraphIOHandler.LocalViewModeConfigurator
All Implemented Interfaces:
Layouter, LayoutStage
Enclosing class:
GraphRoundtripSupportBase.RoundtripGraphMLLayoutGraphIOHandler

public static class GraphRoundtripSupportBase.RoundtripGraphMLLayoutGraphIOHandler.LocalViewModeConfigurator
extends FoldingLayoutStage


Field Summary
 
Fields inherited from class com.yworks.yfiles.server.graphml.folding.FoldingLayoutStage
DUMMY_EDGE_MODE_EXCLUDE, DUMMY_EDGE_MODE_MERGE, DUMMY_EDGE_MODE_SEPARATE
 
Fields inherited from interface y.layout.Layouter
EDGE_ID_DPKEY, NODE_ID_DPKEY, SELECTED_EDGES, SELECTED_NODES
 
Constructor Summary
GraphRoundtripSupportBase.RoundtripGraphMLLayoutGraphIOHandler.LocalViewModeConfigurator()
           
 
Method Summary
protected  void applyEdgeViewState(LayoutGraph graph, Edge dummyEdge, EdgeViewState edgeViewState)
           
protected  void applyNodeViewState(LayoutGraph graph, Node node, NodeViewState nodeViewState)
           
protected  void handleCollapsedNode(LayoutGraph graph, Node parentNode)
          hide children and edges of a hidden node (also: create dummy edge), hide the node
 void prepare(LayoutGraph graph, Node root)
           
 void restore(LayoutGraph graph)
           
 
Methods inherited from class com.yworks.yfiles.server.graphml.folding.FoldingLayoutStage
applyEdgeLabelLayouts, applyLabelLayouts, applyNodeLabelLayouts, canLayout, commitEdgeLabelLayout, commitNodeLabelLayout, copyEdgeLabel, copyNodeLabel, createDummyEdge, createDummyEdgeCore, doLayout, getDummyEdgeMode, isRecursive, setDummyEdgeMode, setRecursive
 
Methods inherited from class y.layout.AbstractLayoutStage
canLayoutCore, doLayoutCore, getCoreLayouter, setCoreLayouter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphRoundtripSupportBase.RoundtripGraphMLLayoutGraphIOHandler.LocalViewModeConfigurator

public GraphRoundtripSupportBase.RoundtripGraphMLLayoutGraphIOHandler.LocalViewModeConfigurator()
Method Detail

prepare

public void prepare(LayoutGraph graph,
                    Node root)
Overrides:
prepare in class FoldingLayoutStage

handleCollapsedNode

protected void handleCollapsedNode(LayoutGraph graph,
                                   Node parentNode)
Description copied from class: FoldingLayoutStage
hide children and edges of a hidden node (also: create dummy edge), hide the node

Overrides:
handleCollapsedNode in class FoldingLayoutStage

applyEdgeViewState

protected void applyEdgeViewState(LayoutGraph graph,
                                  Edge dummyEdge,
                                  EdgeViewState edgeViewState)
Overrides:
applyEdgeViewState in class FoldingLayoutStage

applyNodeViewState

protected void applyNodeViewState(LayoutGraph graph,
                                  Node node,
                                  NodeViewState nodeViewState)
Overrides:
applyNodeViewState in class FoldingLayoutStage

restore

public void restore(LayoutGraph graph)
Overrides:
restore in class FoldingLayoutStage


Copyright © 2000-2013 yWorks GmbH. All rights reserved