Package | com.yworks.yfiles.layout |
Class | public class EdgeLabelCandidate |
Inheritance | EdgeLabelCandidate LabelCandidate YObject Object |
Subclasses | ExtendedEdgeLabelCandidate |
Method | Defined By | ||
---|---|---|---|
EdgeLabelCandidate(orientedBox:YOrientedRectangle, param:Object, owner:EdgeLabelLayout, init:Boolean = true)
Returns a new instance of EdgeLabelCandidate. | EdgeLabelCandidate | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | EdgeLabelCandidate | ||
hashCode():int | YObject | ||
newEdgeLabelCandidate1(orientedBox:YOrientedRectangle, param:Object, owner:EdgeLabelLayout):EdgeLabelCandidate [static]
Returns a new instance of EdgeLabelCandidate. | EdgeLabelCandidate | ||
newEdgeLabelCandidate2(orientedBox:YOrientedRectangle, param:Object, owner:EdgeLabelLayout, _internal:Boolean):EdgeLabelCandidate [static]
Returns a new instance of EdgeLabelCandidate. | EdgeLabelCandidate | ||
newEdgeLabelCandidate3(pos:YPoint, size:YDimension, param:Object, owner:EdgeLabelLayout):EdgeLabelCandidate [static]
Returns a new instance of LabelCandidate. | EdgeLabelCandidate | ||
newEdgeLabelCandidate4(pos:YPoint, size:YDimension, param:Object, owner:EdgeLabelLayout, _internal:Boolean):EdgeLabelCandidate [static]
Returns a new instance of EdgeLabelCandidate. | EdgeLabelCandidate | ||
[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 | ||
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. | EdgeLabelCandidate | ||
initEdgeLabelCandidate2(orientedBox:YOrientedRectangle, param:Object, owner:EdgeLabelLayout, _internal:Boolean):void
Initializes this object. | EdgeLabelCandidate | ||
Initializes this object. | EdgeLabelCandidate | ||
initEdgeLabelCandidate4(pos:YPoint, size:YDimension, param:Object, owner:EdgeLabelLayout, _internal:Boolean):void
Initializes this object. | EdgeLabelCandidate | ||
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 |
EdgeLabelCandidate | () | Constructor |
public function EdgeLabelCandidate(orientedBox:YOrientedRectangle, param:Object, owner:EdgeLabelLayout, init:Boolean = true)
Returns a new instance of EdgeLabelCandidate.
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:EdgeLabelLayout — the label associated to the candidate.
| |
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 |
initEdgeLabelCandidate1 | () | method |
protected final function initEdgeLabelCandidate1(orientedBox:YOrientedRectangle, param:Object, owner:EdgeLabelLayout):void
Initializes this object. See the documentation of the corresponding factory method newEdgeLabelCandidate1()
for details.
Parameters
orientedBox:YOrientedRectangle | |
param:Object | |
owner:EdgeLabelLayout |
See also
initEdgeLabelCandidate2 | () | method |
protected final function initEdgeLabelCandidate2(orientedBox:YOrientedRectangle, param:Object, owner:EdgeLabelLayout, _internal:Boolean):void
Initializes this object. See the documentation of the corresponding factory method newEdgeLabelCandidate2()
for details.
Parameters
orientedBox:YOrientedRectangle | |
param:Object | |
owner:EdgeLabelLayout | |
_internal:Boolean |
See also
initEdgeLabelCandidate3 | () | method |
protected final function initEdgeLabelCandidate3(pos:YPoint, size:YDimension, param:Object, owner:EdgeLabelLayout):void
Initializes this object. See the documentation of the corresponding factory method newEdgeLabelCandidate3()
for details.
Parameters
pos:YPoint | |
size:YDimension | |
param:Object | |
owner:EdgeLabelLayout |
See also
initEdgeLabelCandidate4 | () | method |
protected final function initEdgeLabelCandidate4(pos:YPoint, size:YDimension, param:Object, owner:EdgeLabelLayout, _internal:Boolean):void
Initializes this object. See the documentation of the corresponding factory method newEdgeLabelCandidate4()
for details.
Parameters
pos:YPoint | |
size:YDimension | |
param:Object | |
owner:EdgeLabelLayout | |
_internal:Boolean |
See also
newEdgeLabelCandidate1 | () | method |
public static function newEdgeLabelCandidate1(orientedBox:YOrientedRectangle, param:Object, owner:EdgeLabelLayout):EdgeLabelCandidate
Returns a new instance of EdgeLabelCandidate.
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:EdgeLabelLayout — the label associated to the candidate.
|
EdgeLabelCandidate |
newEdgeLabelCandidate2 | () | method |
public static function newEdgeLabelCandidate2(orientedBox:YOrientedRectangle, param:Object, owner:EdgeLabelLayout, _internal:Boolean):EdgeLabelCandidate
Returns a new instance of EdgeLabelCandidate.
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:EdgeLabelLayout — the label associated to the candidate.
| |
_internal:Boolean — flag whether the candidate is allowed to overlap the layout of the associated edge.
|
EdgeLabelCandidate |
newEdgeLabelCandidate3 | () | method |
public static function newEdgeLabelCandidate3(pos:YPoint, size:YDimension, param:Object, owner:EdgeLabelLayout):EdgeLabelCandidate
Returns a new instance of LabelCandidate.
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:EdgeLabelLayout — the label associated to the candidate.
|
EdgeLabelCandidate |
newEdgeLabelCandidate4 | () | method |
public static function newEdgeLabelCandidate4(pos:YPoint, size:YDimension, param:Object, owner:EdgeLabelLayout, _internal:Boolean):EdgeLabelCandidate
Returns a new instance of EdgeLabelCandidate.
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:EdgeLabelLayout — the label associated to the candidate.
| |
_internal:Boolean — flag whether the candidate is allowed to overlap the layout of the associated edge.
|
EdgeLabelCandidate |