Packagecom.yworks.yfiles.layout
Classpublic class LabelLayoutImpl
InheritanceLabelLayoutImpl Inheritance YObject Inheritance Object
Implements LabelLayout
Subclasses EdgeLabelLayoutImpl, NodeLabelLayoutImpl

This class is a default implementation of the LabelLayout interface.



Public Properties
 PropertyDefined By
  box : YRectangle
Specifies the bounding box of the label.
LabelLayoutImpl
  modelParameter : Object
Specifies the label model parameter that describes the position of this label.
LabelLayoutImpl
  orientedBox : YOrientedRectangle
LabelLayoutImpl
Public Methods
 MethodDefined By
  
LabelLayoutImpl(init:Boolean = true)
LabelLayoutImpl
 Inherited
equals(o:Object):Boolean
YObject
  
getClass():Class
[override]
LabelLayoutImpl
 Inherited
hashCode():int
YObject
  
[static]
LabelLayoutImpl
Protected Methods
 MethodDefined By
  
LabelLayoutImpl
Property Detail
boxproperty
box:YRectangle

Specifies the bounding box of the label.


Implementation
    public function get box():YRectangle
    public function set box(value:YRectangle):void
modelParameterproperty 
modelParameter:Object

Specifies the label model parameter that describes the position of this label.


Implementation
    public function get modelParameter():Object
    public function set modelParameter(value:Object):void
orientedBoxproperty 
orientedBox:YOrientedRectangle


Implementation
    public function get orientedBox():YOrientedRectangle
    public function set orientedBox(value:YOrientedRectangle):void
Constructor Detail
LabelLayoutImpl()Constructor
public function LabelLayoutImpl(init:Boolean = true)



Parameters
init:Boolean (default = true)
Method Detail
getClass()method
override public function getClass():Class

Returns
Class
initLabelLayoutImpl()method 
protected final function initLabelLayoutImpl():void

newLabelLayoutImpl()method 
public static function newLabelLayoutImpl():LabelLayoutImpl

Returns
LabelLayoutImpl