Package | com.yworks.yfiles.layout.tree |
Class | public class AbstractRotatableNodePlacer_RootAlignment |
Inheritance | AbstractRotatableNodePlacer_RootAlignment YObject Object |
See also
Property | Defined By | ||
---|---|---|---|
ALL : Vector.<Object> [static] [read-only] | AbstractRotatableNodePlacer_RootAlignment | ||
CENTER : AbstractRotatableNodePlacer_RootAlignment [static] [read-only] | AbstractRotatableNodePlacer_RootAlignment | ||
CENTER_OVER_CHILDREN : AbstractRotatableNodePlacer_RootAlignment [static] [read-only] | AbstractRotatableNodePlacer_RootAlignment | ||
CRITICAL_EDGE : AbstractRotatableNodePlacer_RootAlignment [static] [read-only] | AbstractRotatableNodePlacer_RootAlignment | ||
LEADING : AbstractRotatableNodePlacer_RootAlignment [static] [read-only] | AbstractRotatableNodePlacer_RootAlignment | ||
LEFT : AbstractRotatableNodePlacer_RootAlignment [static] [read-only] | AbstractRotatableNodePlacer_RootAlignment | ||
MEDIAN : AbstractRotatableNodePlacer_RootAlignment [static] [read-only] | AbstractRotatableNodePlacer_RootAlignment | ||
RIGHT : AbstractRotatableNodePlacer_RootAlignment [static] [read-only] | AbstractRotatableNodePlacer_RootAlignment | ||
TRAILING : AbstractRotatableNodePlacer_RootAlignment [static] [read-only] | AbstractRotatableNodePlacer_RootAlignment |
Method | Defined By | ||
---|---|---|---|
AbstractRotatableNodePlacer_RootAlignment(init:Boolean = true) | AbstractRotatableNodePlacer_RootAlignment | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | AbstractRotatableNodePlacer_RootAlignment | ||
hashCode():int | YObject |
Method | Defined By | ||
---|---|---|---|
[static]
Calculates the bounds of a list of shapes. | AbstractRotatableNodePlacer_RootAlignment | ||
AbstractRotatableNodePlacer_RootAlignment | |||
placeParentHorizontal(rootShape:SubtreeShapeRotated, shapes:List, shapeBounds:Rectangle2D, spacing:Number):void
This method moves the rootShape to the right position relative to the children's shapes. | AbstractRotatableNodePlacer_RootAlignment |
ALL | property |
ALL:Vector.<Object>
[read-only] public static function get ALL():Vector.<Object>
CENTER | property |
CENTER:AbstractRotatableNodePlacer_RootAlignment
[read-only] public static function get CENTER():AbstractRotatableNodePlacer_RootAlignment
CENTER_OVER_CHILDREN | property |
CENTER_OVER_CHILDREN:AbstractRotatableNodePlacer_RootAlignment
[read-only] public static function get CENTER_OVER_CHILDREN():AbstractRotatableNodePlacer_RootAlignment
CRITICAL_EDGE | property |
CRITICAL_EDGE:AbstractRotatableNodePlacer_RootAlignment
[read-only] public static function get CRITICAL_EDGE():AbstractRotatableNodePlacer_RootAlignment
LEADING | property |
LEADING:AbstractRotatableNodePlacer_RootAlignment
[read-only] public static function get LEADING():AbstractRotatableNodePlacer_RootAlignment
LEFT | property |
LEFT:AbstractRotatableNodePlacer_RootAlignment
[read-only] public static function get LEFT():AbstractRotatableNodePlacer_RootAlignment
MEDIAN | property |
MEDIAN:AbstractRotatableNodePlacer_RootAlignment
[read-only] public static function get MEDIAN():AbstractRotatableNodePlacer_RootAlignment
RIGHT | property |
RIGHT:AbstractRotatableNodePlacer_RootAlignment
[read-only] public static function get RIGHT():AbstractRotatableNodePlacer_RootAlignment
TRAILING | property |
TRAILING:AbstractRotatableNodePlacer_RootAlignment
[read-only] public static function get TRAILING():AbstractRotatableNodePlacer_RootAlignment
AbstractRotatableNodePlacer_RootAlignment | () | Constructor |
public function AbstractRotatableNodePlacer_RootAlignment(init:Boolean = true)
init:Boolean (default = true )
|
getBounds | () | method |
protected static function getBounds(shapes:List):Rectangle2D
Calculates the bounds of a list of shapes.
Parameters
shapes:List — the list of shapes the bounds shall be calculated of.
|
Rectangle2D — the bounds around all shapes in the list.
|
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initAbstractRotatableNodePlacer_RootAlignment | () | method |
protected final function initAbstractRotatableNodePlacer_RootAlignment():void
placeParentHorizontal | () | method |
protected function placeParentHorizontal(rootShape:SubtreeShapeRotated, shapes:List, shapeBounds:Rectangle2D, spacing:Number):void
This method moves the rootShape to the right position relative to the children's shapes. The movement should only be done on the X-axis (horizontally).
Parameters
rootShape:SubtreeShapeRotated — the shape of the root node that is moved
| |
shapes:List — list of shapes of the children nodes
| |
shapeBounds:Rectangle2D — accumulated shapes of all children's shapes
| |
spacing:Number — the spacing that should be used.
|