Packagelunas.groups
Classpublic class AbstractGroup
InheritanceAbstractGroup Inheritance CoreObject
SubclassesRadioButtonGroup

This abstract class defined a skeletal implementation to create component's groups.



Public Properties
 PropertyDefined by
  groups : Map
The internal MultiHashSet reference of this manager.
AbstractGroup
Public Methods
 MethodDefined by
  
Creates a new AbstractGroup instance.
AbstractGroup
  
contains(groupName:String):Boolean
Returns true if the specified group name exist.
AbstractGroup
  
get(groupName:String):IGroupable
Returns the current IGroupable object selected with the passed-in group name.
AbstractGroup
 Inherited
Returns the internal ILogger reference of this ILogable object.
CoreObject
  
handleEvent(e:Event):void
Handles the event.
AbstractGroup
 Inherited
hashCode():uint
Returns a hashcode value for the object.
CoreObject
  
Initialize the internal map of this group manager.
AbstractGroup
  
select(item:IGroupable):void
Selects the passed-in IGroupable item.
AbstractGroup
 Inherited
setLogger(log:ILogger = null):void
Sets the internal ILogger reference of this ILogable object.
CoreObject
  
Returns the Map representation of the groups.
AbstractGroup
 Inherited
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
CoreObject
 Inherited
toString():String
Returns the string representation of this instance.
CoreObject
  
unSelect(item:*):void
Unselect the specified item in argument.
AbstractGroup
Property detail
groupsproperty
public var groups:Map

The internal MultiHashSet reference of this manager.

Constructor detail
AbstractGroup()constructor
public function AbstractGroup()

Creates a new AbstractGroup instance.

Method detail
contains()method
public function contains(groupName:String):Boolean

Returns true if the specified group name exist.

Parameters
groupName:String

Returns
Booleantrue if the specified group name exist.
get()method 
public function get(groupName:String):IGroupable

Returns the current IGroupable object selected with the passed-in group name.

Parameters
groupName:String

Returns
IGroupable — the current IGroupable object selected with the passed-in group name.
handleEvent()method 
public function handleEvent(e:Event):void

Handles the event.

Parameters
e:Event
initMap()method 
public function initMap():Map

Initialize the internal map of this group manager. This method is used in the constructor of this class. You can overrides this method.

Returns
Map
select()method 
public function select(item:IGroupable):void

Selects the passed-in IGroupable item. Overrides this method.

Parameters
item:IGroupable
toMap()method 
public function toMap():Map

Returns the Map representation of the groups.

Returns
Map — the Map representation of the groups.
unSelect()method 
public function unSelect(item:*):void

Unselect the specified item in argument. This item can be a IGroupable object or the String representation of the name's group to unselect. Overrides this method.

Parameters
item:*