qnx.fuse.ui.core.SizeOptions

SizeOptions

Constants


Packageqnx.fuse.ui.core
Classpublic final class SizeOptions
InheritanceSizeOptions Inheritance Object

The SizeOptions class contains size constraint flags that are used by the layout classes to position and resize components.

Class information:
BlackBerry 10 Version:   10.0.0

See also

layouts



Public Constants

 ConstantDefined By
  GROW_BOTH : int
[static] Flag returned by ILayoutElement to indicate that the control may grow larget than its preferred width and height.
SizeOptions
  GROW_HORIZONTAL : int = 0x001
[static] Flag returned by ILayoutElement to indicate that the control may grow larger than its preferred width.
SizeOptions
  GROW_VERTICAL : int = 0x002
[static] Flag returned by ILayoutElement to indicate that the control may grow larger than its preferred height.
SizeOptions
  NONE : int = 0
[static] Constant indicating that the control is not resizable in any direction.
SizeOptions
  RESIZE_BOTH : int
[static] Flag returned by ILayoutElement to indicate that the control may compress and grow horizonally and vertically.
SizeOptions
  RESIZE_HORIZONTAL : int
[static] Flag returned by ILayoutElement to indicate that the control may compress and grow horizonally.
SizeOptions
  RESIZE_VERTICAL : int
[static] Flag returned by ILayoutElement to indicate that the control may compress and grow vertically.
SizeOptions
  SHRINK_BOTH : int
[static] Flag returned by ILayoutElement to indicate that the control may be compressed smaller than its preferred width and height.
SizeOptions
  SHRINK_HORIZONTAL : int = 0x004
[static] Flag returned by ILayoutElement to indicate that the control may be compressed smaller than its preferred width.
SizeOptions
  SHRINK_VERTICAL : int = 0x008
[static] Flag returned by ILayoutElement to indicate that the control may be compressed smaller than its preferred height.
SizeOptions

Constant Detail

GROW_BOTH


public static const GROW_BOTH:int

Flag returned by ILayoutElement to indicate that the control may grow larget than its preferred width and height. This flag is equivalent to specifying both GROW_HORIZONTAL and GROW_VERTICAL.

GROW_HORIZONTAL


public static const GROW_HORIZONTAL:int = 0x001

Flag returned by ILayoutElement to indicate that the control may grow larger than its preferred width.

GROW_VERTICAL


public static const GROW_VERTICAL:int = 0x002

Flag returned by ILayoutElement to indicate that the control may grow larger than its preferred height.

NONE


public static const NONE:int = 0

Constant indicating that the control is not resizable in any direction.

RESIZE_BOTH


public static const RESIZE_BOTH:int

Flag returned by ILayoutElement to indicate that the control may compress and grow horizonally and vertically. This flag is equivalent to specifying GROW_HORIZONTAL | GROW_VERTICAL | SHRINK_HORIZONTAL | SHRINK_VERTICAL.

RESIZE_HORIZONTAL


public static const RESIZE_HORIZONTAL:int

Flag returned by ILayoutElement to indicate that the control may compress and grow horizonally. This flag is equivalent to specifying GROW_HORIZONTAL | SHRINK_HORIZONTAL.

RESIZE_VERTICAL


public static const RESIZE_VERTICAL:int

Flag returned by ILayoutElement to indicate that the control may compress and grow vertically. This flag is equivalent to specifying GROW_VERTICAL | SHRINK_VERTICAL.

SHRINK_BOTH


public static const SHRINK_BOTH:int

Flag returned by ILayoutElement to indicate that the control may be compressed smaller than its preferred width and height. This flag is equivalent to specifying both COMPRESS_HORIZONTAL and COMPRESS_VERTICAL.

SHRINK_HORIZONTAL


public static const SHRINK_HORIZONTAL:int = 0x004

Flag returned by ILayoutElement to indicate that the control may be compressed smaller than its preferred width.

SHRINK_VERTICAL


public static const SHRINK_VERTICAL:int = 0x008

Flag returned by ILayoutElement to indicate that the control may be compressed smaller than its preferred height.





comments powered by Disqus