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

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.folding.markup.Port
      extended bycom.yworks.yfiles.server.graphml.folding.PortViewState
All Implemented Interfaces:
Port

public class PortViewState
extends Port

Data object that describes the visual appearance of a dummy node port (the port of the collapsed state of a group node) in a folded graph.

The style and offset of a dummy node port may differ from the visual appearance of the master port.

See Also:
DummyNodePortId, FoldingSupport.getPortViewState(y.base.Graph, DummyNodePortId), FoldedLayoutGraph.getPortViewState(DummyNodePortId)

Constructor Summary
PortViewState(Port masterPort, NodeViewState owner)
          Creates a new instance using the style and offset of the passed masterPort and the passed owner.
 
Method Summary
 Port getMasterPort()
          Returns the master port of the expanded node this port view state belongs to.
 
Methods inherited from class com.yworks.yfiles.server.graphml.folding.markup.Port
getAbsoluteLocation, getLocationModelParameter, getOffset, getOwner, getOwnerLayout, getOwnerLayout, getStyle, getTag, getZOrder, setAbsoluteLocation, setLocationModelParameter, setOffset, setOwner, setStyle, setTag, setZOrder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortViewState

public PortViewState(Port masterPort,
                     NodeViewState owner)
Creates a new instance using the style and offset of the passed masterPort and the passed owner.

Parameters:
masterPort - The master port a view state shall be created for.
owner - The view state of the master port's owner this port view state belongs to.
Method Detail

getMasterPort

public Port getMasterPort()
Returns the master port of the expanded node this port view state belongs to.

Returns:
The master port of the expanded node this port view state belongs to.


Copyright © 2000-2013 yWorks GmbH. All rights reserved