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

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

public class EdgeViewState
extends java.lang.Object

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

The style, labels, bends and ports of a dummy edge may differ from the visual appearance of the master edge.

See Also:
DummyEdgeId, FoldingSupport.getEdgeViewState(y.base.Graph, DummyEdgeId), FoldedLayoutGraph.getEdgeViewState(DummyEdgeId)

Constructor Summary
EdgeViewState()
           
 
Method Summary
 YList getBends()
          A list of Bend instances that define the geometric shape of the dummy edge.
 YList getLabels()
          A list of Label instances that define the labels associated with the dummy edge.
 Port getSourcePort()
          A Port instance that defines the source port location of the dummy edge.
 IEdgeStyle getStyle()
          The style that defines the visual appearance of the dummy edge.
 Port getTargetPort()
          A Port instance that defines the target port location of the dummy edge.
 void setSourcePort(Port sourcePort)
          A Port instance that defines the source port location of the dummy edge.
 void setStyle(IEdgeStyle style)
          The style that defines the visual appearance of the dummy edge.
 void setTargetPort(Port targetPort)
          A Port instance that defines the target port location of the dummy edge.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeViewState

public EdgeViewState()
Method Detail

getLabels

public YList getLabels()
A list of Label instances that define the labels associated with the dummy edge.

See Also:
Label

getStyle

public IEdgeStyle getStyle()
The style that defines the visual appearance of the dummy edge.


setStyle

public void setStyle(IEdgeStyle style)
The style that defines the visual appearance of the dummy edge.


getBends

public YList getBends()
A list of Bend instances that define the geometric shape of the dummy edge.

See Also:
Bend

getSourcePort

public Port getSourcePort()
A Port instance that defines the source port location of the dummy edge.


setSourcePort

public void setSourcePort(Port sourcePort)
A Port instance that defines the source port location of the dummy edge.


getTargetPort

public Port getTargetPort()
A Port instance that defines the target port location of the dummy edge.


setTargetPort

public void setTargetPort(Port targetPort)
A Port instance that defines the target port location of the dummy edge.



Copyright © 2000-2007 yWorks GmbH. All rights reserved