Packageorg.springextensions.actionscript.security
SVN browsingAccessStrategy.as
FisheyeAccessStrategy.as
Classpublic final class AccessStrategy

Determines the way access to a stage component is restricted.



Documentation reference: the simplesecuritystageprocessor class

Sample project: security (source)


Public Properties
 PropertyDefined by
  name : String
[read-only] Returns the name of the access strategy.
AccessStrategy
Public Methods
 MethodDefined by
  
AccessStrategy(name:String)
Creates a new AccessStrategy object.
AccessStrategy
  
fromName(name:String):AccessStrategy
[static] Retunrs a AccessStrategy if an instance with the specified name exists.
AccessStrategy
  
toString():String
Returns a string representation of the current AccessStrategy
AccessStrategy
Public Constants
 ConstantDefined by
  EDITABLE : AccessStrategy
[static] Determines that the editable property will be used to restrict access to a component.
AccessStrategy
  ENABLED : AccessStrategy
[static] Determines that the enabled property will be used to restrict access to a component.
AccessStrategy
  HIDE : AccessStrategy
[static] Determines that the visible and includeInLayout properties will be used to restrict access to a component.
AccessStrategy
  VISIBLE : AccessStrategy
[static] Determines that the visible property will be used to restrict access to a component.
AccessStrategy
Property detail
nameproperty
name:String  [read-only]

Returns the name of the access strategy.

Implementation
    public function get name():String
Constructor detail
AccessStrategy()constructor
public function AccessStrategy(name:String)

Creates a new AccessStrategy object. This constructor is only used internally to set up the enum and all external calls will fail.

Parameters
name:String — the name of the scope
Method detail
fromName()method
public static function fromName(name:String):AccessStrategy

Retunrs a AccessStrategy if an instance with the specified name exists.

Parameters
name:String

Returns
AccessStrategy
toString()method 
public function toString():String

Returns a string representation of the current AccessStrategy

Returns
String — the string representation
Constant detail
EDITABLEconstant
public static const EDITABLE:AccessStrategy

Determines that the editable property will be used to restrict access to a component.

ENABLEDconstant 
public static const ENABLED:AccessStrategy

Determines that the enabled property will be used to restrict access to a component.

HIDEconstant 
public static const HIDE:AccessStrategy

Determines that the visible and includeInLayout properties will be used to restrict access to a component.

VISIBLEconstant 
public static const VISIBLE:AccessStrategy

Determines that the visible property will be used to restrict access to a component.