com.yworks.yfiles.server.graphml.flexio.data
Class NodeScaledPortLocationModel

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.flexio.data.NodeScaledPortLocationModel
All Implemented Interfaces:
IPortLocationModel

public class NodeScaledPortLocationModel
extends java.lang.Object
implements IPortLocationModel

Data object that models a yFiles FLEX IPortLocationModel that dynamically determines the port location based on the node's layout.


Constructor Summary
NodeScaledPortLocationModel()
           
 
Method Summary
 IPortLocationModelParameter createScaledParameter(YPoint relativeOffsets)
          Creates a parameter that uses the given relative offsets.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeScaledPortLocationModel

public NodeScaledPortLocationModel()
Method Detail

createScaledParameter

public IPortLocationModelParameter createScaledParameter(YPoint relativeOffsets)
Creates a parameter that uses the given relative offsets. The offsets will be scaled by the node layout's size and added to the node center to determine the port location.

Parameters:
relativeOffsets - The relative offsets.
Returns:
A new parameter that matches the specification.


Copyright © 2000-2007 yWorks GmbH. All rights reserved