| Package | com.yworks.graph.model.portLocation |
| Class | public class DynamicAnchoredParameter |
| Inheritance | DynamicAnchoredParameter Object |
| Implements | IPortLocationModelParameter |
IPortLocationModelParameter that used the passed IPoint object to describe
the location of an IPort in combination with an AnchoredPortLocationModel.
See also
| Property | Defined By | ||
|---|---|---|---|
| location : IPoint [read-only]
Returns the IPoint object passed on construction. | DynamicAnchoredParameter | ||
| 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. | DynamicAnchoredParameter | ||
| Method | Defined By | ||
|---|---|---|---|
DynamicAnchoredParameter(model:AnchoredPortLocationModel, location:IPoint) | DynamicAnchoredParameter | ||
clone():Object
Returns this instance. | DynamicAnchoredParameter | ||
Determines whether this parameter can be used for a given port instance.
Some parameters cannot be used with all types of ports. | DynamicAnchoredParameter | ||
| location | property |
location:IPoint [read-only]
Returns the IPoint object passed on construction.
public function get location():IPoint| 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| DynamicAnchoredParameter | () | Constructor |
public function DynamicAnchoredParameter(model:AnchoredPortLocationModel, location:IPoint)model:AnchoredPortLocationModel | |
location:IPoint |
| clone | () | method |
public function clone():ObjectReturns this instance.
ReturnsObject |
| 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.
|