com.yworks.yfiles.server.graphml.folding
Class NodeViewState

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.folding.NodeViewState

public class NodeViewState
extends java.lang.Object

Data object that describes the visual appearance of a dummy node in a folded graph.

The style, labels, and layout of a dummy node may differ from the visual appearance of the expanded node.

See Also:
DummyNodeId, FoldingSupport.getNodeViewState(y.base.Graph, com.yworks.yfiles.server.graphml.folding.DummyNodeId), FoldedLayoutGraph.getNodeViewState(com.yworks.yfiles.server.graphml.folding.DummyNodeId)

Constructor Summary
NodeViewState()
           
 
Method Summary
 java.util.List getLabels()
          A list of Label instances that define the labels of the collapsed node.
 YRectangle getLayout()
          The layout of the collapsed node.
 INodeStyle getStyle()
          The style that defines the visual appearance of the dummy node.
 void setLayout(YRectangle layout)
          The layout of the collapsed node.
 void setStyle(INodeStyle style)
          The style that defines the visual appearance of the dummy node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeViewState

public NodeViewState()
Method Detail

getStyle

public INodeStyle getStyle()
The style that defines the visual appearance of the dummy node.


setStyle

public void setStyle(INodeStyle style)
The style that defines the visual appearance of the dummy node.


getLabels

public java.util.List getLabels()
A list of Label instances that define the labels of the collapsed node.


getLayout

public YRectangle getLayout()
The layout of the collapsed node.


setLayout

public void setLayout(YRectangle layout)
The layout of the collapsed node.



Copyright © 2000-2007 yWorks GmbH. All rights reserved