Packagede.mightypirates.asul
Classpublic class AsulStyleAdapter
ImplementsIStyleAdapter

Style adapter implementation for ASUL objects.



Public Properties
 PropertyDefined by
  instance : IStyleAdapter
[static][read-only]
AsulStyleAdapter
Public Methods
 MethodDefined by
  
classes(object:Object):Vector
Classes applied to the element.
AsulStyleAdapter
  
elementName(object:Object):String
Tag name of the element.
AsulStyleAdapter
  
getProperty(object:Object, key:String):String
Get a single property set for the object.
AsulStyleAdapter
  
id(object:Object):String
ID of the element.
AsulStyleAdapter
  
nextSibling(object:Object):Object
Next sibling node.
AsulStyleAdapter
  
numSiblings(object:Object):int
Total number of siblings.
AsulStyleAdapter
  
parentNode(object:Object):Object
The parent node this one resides in.
AsulStyleAdapter
  
previousSibling(object:Object):Object
Previous sibling node.
AsulStyleAdapter
  
supports(object:Object):Boolean
Whether the adapter supports objects of the given type or not.
AsulStyleAdapter
Property detail
instanceproperty
instance:IStyleAdapter  [read-only]Implementation
    public static function get instance():IStyleAdapter
Method detail
classes()method
public function classes(object:Object):Vector

Classes applied to the element.

Parameters
object:Object

Returns
Vector
elementName()method 
public function elementName(object:Object):String

Tag name of the element.

Parameters
object:Object

Returns
String
getProperty()method 
public function getProperty(object:Object, key:String):String

Get a single property set for the object. Returns null if the property is not set.

Parameters
object:Object
 
key:String

Returns
String
id()method 
public function id(object:Object):String

ID of the element.

Parameters
object:Object

Returns
String
nextSibling()method 
public function nextSibling(object:Object):Object

Next sibling node.

Parameters
object:Object

Returns
Object
numSiblings()method 
public function numSiblings(object:Object):int

Total number of siblings.

Parameters
object:Object

Returns
int
parentNode()method 
public function parentNode(object:Object):Object

The parent node this one resides in.

Parameters
object:Object

Returns
Object
previousSibling()method 
public function previousSibling(object:Object):Object

Previous sibling node.

Parameters
object:Object

Returns
Object
supports()method 
public function supports(object:Object):Boolean

Whether the adapter supports objects of the given type or not.

Parameters
object:Object

Returns
Boolean