qnx.fuse.ui.buttons.LabelPlacement

LabelPlacement

Constants


Packageqnx.fuse.ui.buttons
Classpublic final class LabelPlacement
InheritanceLabelPlacement Inheritance Object

The LabelPlacement class contains constants that define how a label is placed next to a skin or icon. The LabelPlacement class is used by the CheckBox class to position the label text relative to the check box.

The following listing places the text label above the check box control:

     myCheckBox.label = "Disable login";
     myCheckBox.labelPlacement = LabelPlacement.TOP;
     
A check box.

Class information:
PlayBook Tablet OS Version:   1.0.6

See also

CheckBox



Public Constants

 ConstantDefined By
  BOTTOM : String = labelPlacementBottom
[static] Position the label below the skin or icon.
LabelPlacement
  LEFT : String = labelPlacementLeft
[static] Position the label to the left side of the skin or icon.
LabelPlacement
  RIGHT : String = labelPlacementRight
[static] Position the label to the right side of the skin or icon.
LabelPlacement
  TOP : String = labelPlacementTop
[static] Position the label above the skin or icon.
LabelPlacement

Constant Detail

BOTTOM


public static const BOTTOM:String = labelPlacementBottom

Position the label below the skin or icon.

LEFT


public static const LEFT:String = labelPlacementLeft

Position the label to the left side of the skin or icon.

RIGHT


public static const RIGHT:String = labelPlacementRight

Position the label to the right side of the skin or icon.

TOP


public static const TOP:String = labelPlacementTop

Position the label above the skin or icon.