Package | com.yworks.yfiles.layout |
Class | public class NodeLabelCandidate |
Inheritance | NodeLabelCandidate LabelCandidate YObject Object |
Subclasses | ExtendedNodeLabelCandidate |
Method | Defined By | ||
---|---|---|---|
NodeLabelCandidate(orientedBox:YOrientedRectangle, param:Object, owner:NodeLabelLayout, _internal:Boolean, init:Boolean = true)
Returns a new instance of NodeLabelCandidate. | NodeLabelCandidate | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | NodeLabelCandidate | ||
hashCode():int | YObject | ||
[static]
Returns a new instance of LabelCandidate. | LabelCandidate | ||
newLabelCandidate2(labelBox:YOrientedRectangle, param:Object, owner:LabelLayout, _internal:Boolean):LabelCandidate [static]
Returns a new instance of LabelCandidate. | LabelCandidate | ||
[static]
Returns a new instance of LabelCandidate. | LabelCandidate | ||
newLabelCandidate4(pos:YPoint, size:YDimension, param:Object, owner:LabelLayout, _internal:Boolean):LabelCandidate [static]
Returns a new instance of LabelCandidate. | LabelCandidate | ||
newNodeLabelCandidate1(orientedBox:YOrientedRectangle, param:Object, owner:NodeLabelLayout, _internal:Boolean):NodeLabelCandidate [static]
Returns a new instance of NodeLabelCandidate. | NodeLabelCandidate | ||
newNodeLabelCandidate2(pos:YPoint, size:YDimension, param:Object, owner:NodeLabelLayout):NodeLabelCandidate [static]
Returns a new instance of NodeLabelCandidate. | NodeLabelCandidate | ||
newNodeLabelCandidate3(pos:YPoint, size:YDimension, param:Object, owner:NodeLabelLayout, _internal:Boolean):NodeLabelCandidate [static]
Returns a new instance of NodeLabelCandidate. | NodeLabelCandidate | ||
propagate():void
Sets the model parameters of the owner of this label candidate to the model parameters of this candidate box. | LabelCandidate | ||
toString():String | LabelCandidate |
Method | Defined By | ||
---|---|---|---|
Initializes this object. | LabelCandidate | ||
initLabelCandidate2(labelBox:YOrientedRectangle, param:Object, owner:LabelLayout, _internal:Boolean):void
Initializes this object. | LabelCandidate | ||
Initializes this object. | LabelCandidate | ||
initLabelCandidate4(pos:YPoint, size:YDimension, param:Object, owner:LabelLayout, _internal:Boolean):void
Initializes this object. | LabelCandidate | ||
initNodeLabelCandidate1(orientedBox:YOrientedRectangle, param:Object, owner:NodeLabelLayout, _internal:Boolean):void
Initializes this object. | NodeLabelCandidate | ||
Initializes this object. | NodeLabelCandidate | ||
initNodeLabelCandidate3(pos:YPoint, size:YDimension, param:Object, owner:NodeLabelLayout, _internal:Boolean):void
Initializes this object. | NodeLabelCandidate |
NodeLabelCandidate | () | Constructor |
public function NodeLabelCandidate(orientedBox:YOrientedRectangle, param:Object, owner:NodeLabelLayout, _internal:Boolean, init:Boolean = true)
Returns a new instance of NodeLabelCandidate.
ParametersorientedBox:YOrientedRectangle — the box that specifies the candidate's size and position.
| |
param:Object — the parameters of the labeling model associated with this candidate.
| |
owner:NodeLabelLayout — the label associated to the candidate.
| |
_internal:Boolean — flag whether the candidate is inside the node, or outside.
| |
init:Boolean (default = true ) — An internally used switch to help handle proper instance initialization in inheritance chains where classes can have multiple constructor-like factory methods.
This parameter can safely be ignored/omitted when calling the constructor.
|
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initNodeLabelCandidate1 | () | method |
protected final function initNodeLabelCandidate1(orientedBox:YOrientedRectangle, param:Object, owner:NodeLabelLayout, _internal:Boolean):void
Initializes this object. See the documentation of the corresponding factory method newNodeLabelCandidate1()
for details.
Parameters
orientedBox:YOrientedRectangle | |
param:Object | |
owner:NodeLabelLayout | |
_internal:Boolean |
See also
initNodeLabelCandidate2 | () | method |
protected final function initNodeLabelCandidate2(pos:YPoint, size:YDimension, param:Object, owner:NodeLabelLayout):void
Initializes this object. See the documentation of the corresponding factory method newNodeLabelCandidate2()
for details.
Parameters
pos:YPoint | |
size:YDimension | |
param:Object | |
owner:NodeLabelLayout |
See also
initNodeLabelCandidate3 | () | method |
protected final function initNodeLabelCandidate3(pos:YPoint, size:YDimension, param:Object, owner:NodeLabelLayout, _internal:Boolean):void
Initializes this object. See the documentation of the corresponding factory method newNodeLabelCandidate3()
for details.
Parameters
pos:YPoint | |
size:YDimension | |
param:Object | |
owner:NodeLabelLayout | |
_internal:Boolean |
See also
newNodeLabelCandidate1 | () | method |
public static function newNodeLabelCandidate1(orientedBox:YOrientedRectangle, param:Object, owner:NodeLabelLayout, _internal:Boolean):NodeLabelCandidate
Returns a new instance of NodeLabelCandidate.
Parameters
orientedBox:YOrientedRectangle — the box that specifies the candidate's size and position.
| |
param:Object — the parameters of the labeling model associated with this candidate.
| |
owner:NodeLabelLayout — the label associated to the candidate.
| |
_internal:Boolean — flag whether the candidate is inside the node, or outside.
|
NodeLabelCandidate |
newNodeLabelCandidate2 | () | method |
public static function newNodeLabelCandidate2(pos:YPoint, size:YDimension, param:Object, owner:NodeLabelLayout):NodeLabelCandidate
Returns a new instance of NodeLabelCandidate.
Parameters
pos:YPoint — the location of the upper left corner of the candidate.
| |
size:YDimension — the size of the candidate.
| |
param:Object — the parameters of the labeling model associated with this candidate.
| |
owner:NodeLabelLayout — the label associated to the candidate.
|
NodeLabelCandidate |
newNodeLabelCandidate3 | () | method |
public static function newNodeLabelCandidate3(pos:YPoint, size:YDimension, param:Object, owner:NodeLabelLayout, _internal:Boolean):NodeLabelCandidate
Returns a new instance of NodeLabelCandidate.
Parameters
pos:YPoint — the location of the upper left corner of the candidate.
| |
size:YDimension — the size of the candidate.
| |
param:Object — the parameters of the labeling model associated with this candidate.
| |
owner:NodeLabelLayout — the label associated to the candidate.
| |
_internal:Boolean — flag whether the candidate is inside the node, or outside.
|
NodeLabelCandidate |