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

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

public class DummyNodePortId
extends java.lang.Object

The Id for a port of the collapsed state of a group node.


Constructor Summary
DummyNodePortId(Port masterPort)
          Initializes a dummy port id for the provided master port for its collapsed state.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Port getMasterPort()
          The master port instance that is represented a dummy.
 int hashCode()
           
 boolean isAtDummy()
          Whether the port is at a dummy node.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyNodePortId

public DummyNodePortId(Port masterPort)
Initializes a dummy port id for the provided master port for its collapsed state.

Parameters:
masterPort - The port in the master graph this dummy node will represent
Method Detail

getMasterPort

public Port getMasterPort()
The master port instance that is represented a dummy.


isAtDummy

public boolean isAtDummy()
Whether the port is at a dummy node.

Typically this will yield true because only ports at collapsed nodes are dummy node ports.


equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()


Copyright © 2000-2013 yWorks GmbH. All rights reserved