| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PortLocationModel
Determines the position of NodePort instances.
 Port location models can be used to describe the location of ports,
 respecting their associated PortLocationModelParameter.
 Typically, a port location model is used as a factory for port location model
 parameters that can be associated with different port instances, e.g. using
 the NodePort.setModelParameter(PortLocationModelParameter) method.
 Port location model instances are designed to be shared by multiple model parameters,
 which themselves can be shared by multiple port instances.
| Method Summary | |
|---|---|
|  PortLocationModelParameter | createParameter(NodeRealizer owner,
                YPoint location)Creates a parameter for a port at the given node realizer that tries to match the specified location in absolute world coordinates. | 
|  YPoint | getLocation(NodePort port,
            PortLocationModelParameter parameter)Determines the location of the port for the given parameter. | 
| Method Detail | 
|---|
YPoint getLocation(NodePort port,
                   PortLocationModelParameter parameter)
port - The port to determine the location for.parameter - The parameter to use.
PortLocationModelParameter createParameter(NodeRealizer owner,
                                           YPoint location)
owner - The realizer that will own the port for which the parameter
 has to be created.location - The location in the world coordinate system that should be
 matched as best as possible.
NodePort at the given NodeRealizer.| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||