Package | com.yworks.yfiles.layout.grid |
Class | public class ColumnDescriptor |
Inheritance | ColumnDescriptor YObject Object |
Implements | Comparable |
See also
Property | Defined By | ||
---|---|---|---|
computedPosition : Number
Used to set the computed position (smaller x-coordinate) of the column after the layout has been calculated. | ColumnDescriptor | ||
computedWidth : Number
Used to set the computed width of the column after the layout has been calculated. | ColumnDescriptor | ||
index : int [read-only]
Returns the index of the column within the partition grid. | ColumnDescriptor | ||
indexFixed : Boolean
Getter:
Returns whether the index of this column is fixed or whether the algorithm should try to find the best possible position. | ColumnDescriptor | ||
leftInset : Number
Specifies the left column insets where no element will lie in the resulting drawing. | ColumnDescriptor | ||
minimumWidth : Number
Getter:
Returns the minimum column width. | ColumnDescriptor | ||
originalPosition : Number
Specifies the original position (smaller x-coordinate) of the column. | ColumnDescriptor | ||
originalWidth : Number
Specifies the original width of the column. | ColumnDescriptor | ||
rightInset : Number
Specifies the right column insets where no element will lie in the resulting drawing. | ColumnDescriptor | ||
tightness : Number
Getter:
Returns the tightness factor of the column. | ColumnDescriptor |
Method | Defined By | ||
---|---|---|---|
ColumnDescriptor(init:Boolean = true) | ColumnDescriptor | ||
compareTo(o:Object):int | ColumnDescriptor | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | ColumnDescriptor | ||
hashCode():int | YObject |
computedPosition | property |
computedPosition:Number
Used to set the computed position (smaller x-coordinate) of the column after the layout has been calculated.
public function get computedPosition():Number
public function set computedPosition(value:Number):void
computedWidth | property |
computedWidth:Number
Used to set the computed width of the column after the layout has been calculated.
public function get computedWidth():Number
public function set computedWidth(value:Number):void
index | property |
index:int
[read-only] Returns the index of the column within the partition grid.
public function get index():int
indexFixed | property |
indexFixed:Boolean
Getter:
Returns whether the index of this column is fixed or whether the algorithm should try to find the best possible position.
The default is true
For all columns where this property is set to true
, the relative ordering given by the indices is preserved. The remaining columns 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
leftInset | property |
leftInset:Number
Specifies the left column insets where no element will lie in the resulting drawing.
The default is 0.0d
.
public function get leftInset():Number
public function set leftInset(value:Number):void
IllegalArgumentException — if leftInset is negative
|
minimumWidth | property |
minimumWidth:Number
Getter:
Returns the minimum column width.
The default is 0.0d
.
public function get minimumWidth():Number
public function set minimumWidth(value:Number):void
IllegalArgumentException — if minimumWidth is negative
|
originalPosition | property |
originalPosition:Number
Specifies the original position (smaller x-coordinate) of the column.
public function get originalPosition():Number
public function set originalPosition(value:Number):void
originalWidth | property |
originalWidth:Number
Specifies the original width of the column.
public function get originalWidth():Number
public function set originalWidth(value:Number):void
rightInset | property |
rightInset:Number
Specifies the right column insets where no element will lie in the resulting drawing.
The default is 0.0d
.
public function get rightInset():Number
public function set rightInset(value:Number):void
IllegalArgumentException — if rightInset is negative
|
tightness | property |
tightness:Number
Getter:
Returns the tightness factor of the column.
The default is 0.0d
.
0.0d
will disable compression of the column. A value of 1.0d
will try to force the column to be of its minimum width (minimumWidth).
public function get tightness():Number
public function set tightness(value:Number):void
IllegalArgumentException — if tightness is out of the valid range
|
See also
ColumnDescriptor | () | Constructor |
public function ColumnDescriptor(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 |