qnx.fuse.ui.layouts.stackLayout.StackData

StackData

Properties | Methods


Packageqnx.fuse.ui.layouts.stackLayout
Classpublic final class StackData
InheritanceStackData Inheritance LayoutData Inheritance Object

Stores the per-control configuration information for StackLayout.

Class information:
BlackBerry 10 Version:   10.0.0

See also

StackLayout



Public Properties

 PropertyDefined By
 InheritedexpandHeight : Number = 0
Expands the preferred height of the control by the given number of pixels.
LayoutData
 InheritedexpandWidth : Number = 0
Expands the preferred width of the control by the given number of pixels.
LayoutData
 InheritedhAlign : String
Indicates the horizontal alignment of the control.
LayoutData
 InheritedmarginBottom : Number
Indicates the amount of blank space that appears between the bottom of the control and the outside of its cell.
LayoutData
 InheritedmarginLeft : Number
Indicates the amount of blank space that appears between the left side of the control and the outside of its cell.
LayoutData
 InheritedmarginRight : Number
Indicates the amount of blank space that appears between the right side of the control and the outside of its cell.
LayoutData
 InheritedmarginTop : Number
Indicates the amount of blank space that appears between the top of the control and the outside of its cell.
LayoutData
 InheritedpreferredHeight : Number = Infinity
Overridden preferred height of the control, or DefaultSize if the control should be asked for its preferred height.
LayoutData
 InheritedpreferredWidth : Number = Infinity
Overridden preferred width of the control, or DefaultSize if the control should be asked for its preferred width.
LayoutData
 InheritedvAlign : String
Indicates the vertical alignment of the control.
LayoutData

Public Methods

 MethodDefined By
  
Creates a duplicate StackData instance.
StackData
 Inherited
computePositionWithinCell(element:ILayoutElement, cellBounds:Rectangle):Rectangle
Computes the position of the control within the cell.
LayoutData
 Inherited
getPreferredSize(element:ILayoutElement, cellWidthConstraint:Number, cellHeightConstraint:Number):Point
Computes the preferred size of the cell given one or both known dimensions of the cell.
LayoutData

Method Detail

clone()


public function clone():StackData

Creates a duplicate StackData instance.

Returns

StackData — A duplcate, populated StackData instance.




comments powered by Disqus