Package | com.yworks.yfiles.layout.grid |
Class | public class RowDescriptor |
Inheritance | RowDescriptor YObject Object |
Implements | Comparable |
See also
Property | Defined By | ||
---|---|---|---|
bottomInset : Number
Specifies the bottom row insets where no element will lie in the resulting drawing. | RowDescriptor | ||
computedHeight : Number
Used to set the computed height of the row after the layout has been calculated. | RowDescriptor | ||
computedPosition : Number
Used to set the computed position (smaller y-coordinate) of the row after the layout has been calculated. | RowDescriptor | ||
index : int [read-only]
Returns the index of the row within the partition grid. | RowDescriptor | ||
indexFixed : Boolean
Getter:
Returns whether the index of this row is fixed or whether the algorithm should try to find the best possible position. | RowDescriptor | ||
minimumHeight : Number
Getter:
Returns the minimum row height. | RowDescriptor | ||
originalHeight : Number
Specifies the original height of the row. | RowDescriptor | ||
originalPosition : Number
Specifies the original position (smaller y-coordinate) of the row. | RowDescriptor | ||
tightness : Number
Getter:
Returns the tightness factor of the row. | RowDescriptor | ||
topInset : Number
Specifies the top row insets where no element will lie in the resulting drawing. | RowDescriptor |
Method | Defined By | ||
---|---|---|---|
RowDescriptor(init:Boolean = true) | RowDescriptor | ||
compareTo(o:Object):int | RowDescriptor | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | RowDescriptor | ||
hashCode():int | YObject |
bottomInset | property |
bottomInset:Number
Specifies the bottom row insets where no element will lie in the resulting drawing.
The default is 0.0d
.
public function get bottomInset():Number
public function set bottomInset(value:Number):void
IllegalArgumentException — if bottomInset is negative
|
computedHeight | property |
computedHeight:Number
Used to set the computed height of the row after the layout has been calculated.
public function get computedHeight():Number
public function set computedHeight(value:Number):void
computedPosition | property |
computedPosition:Number
Used to set the computed position (smaller y-coordinate) of the row after the layout has been calculated.
public function get computedPosition():Number
public function set computedPosition(value:Number):void
index | property |
index:int
[read-only] Returns the index of the row within the partition grid.
public function get index():int
indexFixed | property |
indexFixed:Boolean
Getter:
Returns whether the index of this row is fixed or whether the algorithm should try to find the best possible position.
The default is true
For all rows where this property is set to true
, the relative ordering given by the indices is preserved. The remaining rows may be resorted so that the overall edge lengths are minimized.
By default, this feature is enabled.
public function get indexFixed():Boolean
public function set indexFixed(value:Boolean):void
minimumHeight | property |
minimumHeight:Number
Getter:
Returns the minimum row height.
The default is 0.0d
.
public function get minimumHeight():Number
public function set minimumHeight(value:Number):void
IllegalArgumentException — if minimumHeight is negative
|
originalHeight | property |
originalHeight:Number
Specifies the original height of the row.
public function get originalHeight():Number
public function set originalHeight(value:Number):void
originalPosition | property |
originalPosition:Number
Specifies the original position (smaller y-coordinate) of the row.
public function get originalPosition():Number
public function set originalPosition(value:Number):void
tightness | property |
tightness:Number
Getter:
Returns the tightness factor of the row.
The default is 0.0d
.
0.0d
will disable compression of the row. A value of 1.0d
will try to force the column to be of its minimum height (minimumHeight).
public function get tightness():Number
public function set tightness(value:Number):void
IllegalArgumentException — if tightness is out of the valid range
|
See also
topInset | property |
topInset:Number
Specifies the top row insets where no element will lie in the resulting drawing.
The default is 0.0d
.
public function get topInset():Number
public function set topInset(value:Number):void
IllegalArgumentException — if topInset is negative
|
RowDescriptor | () | Constructor |
public function RowDescriptor(init:Boolean = true)
init:Boolean (default = true )
|
compareTo | () | method |
public function compareTo(o:Object):int
Parameters
o:Object |
int |
getClass | () | method |
override public function getClass():Class
ReturnsClass |