Packageimpression.persistence.properties
Classpublic class RelativeLocations
InheritanceRelativeLocations Inheritance Object

The RelativeLocations class provides static constants for supported relative locations.



Public Methods
 MethodDefined By
  
isRelativeLocation(locationName:String):Boolean
[static] Determines if the passed in locationName is one of the defined constants.
RelativeLocations
Public Constants
 ConstantDefined By
  CURRENT : String = _current
[static] The current location.
RelativeLocations
  CURRENT_MAP : String
[static] The current map.
RelativeLocations
  DEFAULT_MAP : String = _default
[static] The default map.
RelativeLocations
  FIRST_CHILD : String = _firstChild
[static] The first child of the current location, or null if the current location has no children.
RelativeLocations
  FIRST_SIBLING : String = _firstSibling
[static] The first sibling of the current location.
RelativeLocations
  FIRST_STORYBOARD : String = _firstStoryboard
[static] The first storyboard.
RelativeLocations
  LAST_CHILD : String = _lastChild
[static] The last child of the current location, or null if the current location has no children.
RelativeLocations
  LAST_DESCENDANT : String = _lastDescendant
[static] The last descendant of the current location, or null if the current location does not have children.
RelativeLocations
  LAST_SIBLING : String = _lastSibling
[static] The last sibling of the current location.
RelativeLocations
  LAST_STORYBOARD : String = _lastStoryboard
[static] The last storyboard.
RelativeLocations
  NEXT_LINEAR : String = _nextLinear
[static] Ignoring hierarchy, the next item "down" from the current location.
RelativeLocations
  NEXT_SIBLING : String = _nextSibling
[static] The next sibling of the current location, or null if the current location has no next sibling.
RelativeLocations
  PARENT : String = _parent
[static] The parent of the current location, or null if the current location does not have a parent.
RelativeLocations
  PREVIOUS_LINEAR : String = _previousLinear
[static] Ignoring hierarchy, the previous item "up" from the current location.
RelativeLocations
  PREVIOUS_SIBLING : String = _previousSibling
[static] The previous sibling of the current location, or null if the current location has no previous sibling.
RelativeLocations
  TOP_ANCESTOR : String = _topAncestor
[static] The topmost direct ancestor of the current location, or null if the current location does not have a parent.
RelativeLocations
Method Detail
isRelativeLocation()method
public static function isRelativeLocation(locationName:String):Boolean

Determines if the passed in locationName is one of the defined constants.

Note that this method does not check for map contstants (current map/default map)

Parameters

locationName:String — Expression to check.

Returns
Booleantrue if the locationName is one of the defined constants; otherwise false.
Constant Detail
CURRENTConstant
public static const CURRENT:String = _current

The current location.

CURRENT_MAPConstant 
public static const CURRENT_MAP:String

The current map.

DEFAULT_MAPConstant 
public static const DEFAULT_MAP:String = _default

The default map.

FIRST_CHILDConstant 
public static const FIRST_CHILD:String = _firstChild

The first child of the current location, or null if the current location has no children.

FIRST_SIBLINGConstant 
public static const FIRST_SIBLING:String = _firstSibling

The first sibling of the current location. If the current location has no previous sibling, the current location is returned.

FIRST_STORYBOARDConstant 
public static const FIRST_STORYBOARD:String = _firstStoryboard

The first storyboard.

LAST_CHILDConstant 
public static const LAST_CHILD:String = _lastChild

The last child of the current location, or null if the current location has no children.

LAST_DESCENDANTConstant 
public static const LAST_DESCENDANT:String = _lastDescendant

The last descendant of the current location, or null if the current location does not have children. The last descendant is defined as the last linear storyboard which has the current location as an ancestor.

LAST_SIBLINGConstant 
public static const LAST_SIBLING:String = _lastSibling

The last sibling of the current location. If the current location has no next sibling, the current location is returned.

LAST_STORYBOARDConstant 
public static const LAST_STORYBOARD:String = _lastStoryboard

The last storyboard. The last storyboard is defined as the first storyboard's last sibling's last descendant.

NEXT_LINEARConstant 
public static const NEXT_LINEAR:String = _nextLinear

Ignoring hierarchy, the next item "down" from the current location.

NEXT_SIBLINGConstant 
public static const NEXT_SIBLING:String = _nextSibling

The next sibling of the current location, or null if the current location has no next sibling.

PARENTConstant 
public static const PARENT:String = _parent

The parent of the current location, or null if the current location does not have a parent.

PREVIOUS_LINEARConstant 
public static const PREVIOUS_LINEAR:String = _previousLinear

Ignoring hierarchy, the previous item "up" from the current location.

PREVIOUS_SIBLINGConstant 
public static const PREVIOUS_SIBLING:String = _previousSibling

The previous sibling of the current location, or null if the current location has no previous sibling.

TOP_ANCESTORConstant 
public static const TOP_ANCESTOR:String = _topAncestor

The topmost direct ancestor of the current location, or null if the current location does not have a parent.