Packageflare.util
Classpublic class Orientation

Constants defining layout orientations.



Public Methods
 MethodDefined by
  
This is an abstract class and can not be instantiated.
Orientation
  
isHorizontal(orient:String):Boolean
[static] Returns true if the input string indicates a horizontal orientation.
Orientation
  
isVertical(orient:String):Boolean
[static] Returns true if the input string indicates a vertical orientation.
Orientation
Public Constants
 ConstantDefined by
  BOTTOM_TO_TOP : String = "bottomToTop"
[static] Constant indicating a bottom-to-top layout orientation.
Orientation
  LEFT_TO_RIGHT : String = "leftToRight"
[static] Constant indicating a left-to-right layout orientation.
Orientation
  RIGHT_TO_LEFT : String = "rightToLeft"
[static] Constant indicating a right-to-left layout orientation.
Orientation
  TOP_TO_BOTTOM : String = "topToBottom"
[static] Constant indicating a top-to-bottom layout orientation.
Orientation
Constructor detail
Orientation()constructor
public function Orientation()

This is an abstract class and can not be instantiated.

Method detail
isHorizontal()method
public static function isHorizontal(orient:String):Boolean

Returns true if the input string indicates a horizontal orientation.

Parameters
orient:String — orientation string

Returns
Boolean — true if the input string indicates a horizontal orientation
isVertical()method 
public static function isVertical(orient:String):Boolean

Returns true if the input string indicates a vertical orientation.

Parameters
orient:String — orientation string

Returns
Boolean — true if the input string indicates a vertical orientation
Constant detail
BOTTOM_TO_TOPconstant
public static const BOTTOM_TO_TOP:String = "bottomToTop"

Constant indicating a bottom-to-top layout orientation.

LEFT_TO_RIGHTconstant 
public static const LEFT_TO_RIGHT:String = "leftToRight"

Constant indicating a left-to-right layout orientation.

RIGHT_TO_LEFTconstant 
public static const RIGHT_TO_LEFT:String = "rightToLeft"

Constant indicating a right-to-left layout orientation.

TOP_TO_BOTTOMconstant 
public static const TOP_TO_BOTTOM:String = "topToBottom"

Constant indicating a top-to-bottom layout orientation.