| Package | com.yworks.graph.model.portLocation |
| Interface | public interface IPortLocationModelParameter extends ICloneable |
| Implementors | DynamicAnchoredParameter |
IPortModel instances.
A parameter encapsulates a certain state that can be interpreted by its
model to calculate a IPort.location given an IPort instance.
| Property | Defined By | ||
|---|---|---|---|
| model : IPortLocationModel [read-only]
Gets the model that can be used to query the location of a port given
this parameter and a port instance. | IPortLocationModelParameter | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | clone():Object
Creates a clone of this instance. | ICloneable | |
Determines whether this parameter can be used for a given port instance.
Some parameters cannot be used with all types of ports. | IPortLocationModelParameter | ||
| model | property |
model:IPortLocationModel [read-only] Gets the model that can be used to query the location of a port given this parameter and a port instance.
public function get model():IPortLocationModel| supports | () | method |
public function supports(port:IPort):Boolean
Determines whether this parameter can be used for a given port instance.
Some parameters cannot be used with all types of ports. E.g. they can only
be used with ports that belong to INode instances.
Parameters
port:IPort — The port this parameter should be associated with.
|
Boolean — Whether this parameter instance can be used for the given port.
|