qnx.fuse.ui.layouts.gridLayout.GridRowData

GridRowData

Properties | Methods | Constants


Packageqnx.fuse.ui.layouts.gridLayout
Classpublic final class GridRowData
InheritanceGridRowData Inheritance Object

Contains row-specific configuration information for RowLayout.

Class information:
BlackBerry 10 Version:   10.0.0

See also

GridData



Public Properties

 PropertyDefined By
  grow : int
Determines how the column will grow during a resize.
GridRowData
  preferredSize : Number
Gets or sets the preferred size of the control.
GridRowData
  shrink : int
Determines how the column will shrink during a resize.
GridRowData

Public Methods

 MethodDefined By
  
Creates a GridRowData instance.
GridRowData
  
setOptions(oldOptions:int, optionsToTest:int, overrideState:int):int
[static] Indicates that the GridRowData should return the given SizeOptions, based on the value of overrideState.
GridRowData

Public Constants

 ConstantDefined By
  FORCE_OFF : int = 0
[static] Set to override a boolean to the false state.
GridRowData
  FORCE_ON : int = 1
[static] Set to override a boolean to the true state.
GridRowData
  USE_DEFAULT : int = 2
[static] Specify to use the default value for a boolean.
GridRowData

Property Detail

grow


public var grow:int

Determines how the column will grow during a resize. Set to one of the following values:

  • GridRowData.FORCE_ON indicates that the column will grow larger than its preferred size when possible.
  • GridRowData.FORCE_OFF indicates that the column will never grow larger than its preferred size.
  • GridRowData.USE_DEFAULT indicates that the column will grow if and only if it contains at least one growing control.

preferredSize


preferredSize:Number

Gets or sets the preferred size of the control.


Implementation

public function get preferredSize():Number
public function set preferredSize(value:Number):void

shrink


public var shrink:int

Determines how the column will shrink during a resize. Set to one of the following values:

  • GridRowData.FORCE_ON indicates that the column will shrink smaller than its preferred size when possible.
  • GridRowData.FORCE_OFF indicates that the column will never shrink smaller than its preferred size.
  • GridRowData.USE_DEFAULT indicates that the column will shrink if and only if it contains at least one shrinking control.

Constructor Detail

GridRowData()


public function GridRowData()

Creates a GridRowData instance.

Method Detail

setOptions()


public static function setOptions(oldOptions:int, optionsToTest:int, overrideState:int):int

Indicates that the GridRowData should return the given SizeOptions, based on the value of overrideState.

Parameters

oldOptions:int — A bitwise combination of constants from SizeOptions to be returned from getSizeOptions.
optionsToTest:int — A bitwise combination of constants from SizeOptions to be tested.
overrideState:int — The override state, one of GridRowData.FORCE_ON, GridRowData.FORCE_OFF, or GridRowData.FORCE_DEFAULT.

Returns

int

Constant Detail

FORCE_OFF


public static const FORCE_OFF:int = 0

Set to override a boolean to the false state.

FORCE_ON


public static const FORCE_ON:int = 1

Set to override a boolean to the true state.

USE_DEFAULT


public static const USE_DEFAULT:int = 2

Specify to use the default value for a boolean.





comments powered by Disqus