| Package | com.developmentarc.framework.controllers |
| Class | public class SelectionGroup |
| Property | Defined by | ||
|---|---|---|---|
| events : String
Returns the comma seperated list of events used by this
group.
| SelectionGroup | ||
| groupId : int
Unique id of the group
| SelectionGroup | ||
| items : Array
Variable holds all items currently in the group
| SelectionGroup | ||
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| SelectionGroup | ||
|
addItem(item:ISelectable):void
Method takes an ISelectable item and adds the item to the selection
group.
| SelectionGroup | ||
|
removeItem(item:ISelectable):void
Used to remove an item from the selection group.
| SelectionGroup | ||
| Method | Defined by | ||
|---|---|---|---|
|
handleSelection(event:Event):void
Handler method for each event the group is listening to to indicate selection.
| SelectionGroup | ||
| events | property |
events:String [read-write]Returns the comma seperated list of events used by this group.
Implementation public function get events():String
public function set events(value:String):void
| groupId | property |
groupId:int [read-write]Unique id of the group
Implementation public function get groupId():int
public function set groupId(value:int):void
| items | property |
items:Array [read-write]Variable holds all items currently in the group
Implementation public function get items():Array
public function set items(value:Array):void
| SelectionGroup | () | constructor |
public function SelectionGroup()Constructor. Automatically generates a unique id for the selection group.
| addItem | () | method |
public function addItem(item:ISelectable):voidMethod takes an ISelectable item and adds the item to the selection group.
Parametersitem:ISelectable — Item to be added to the selection group.
|
| handleSelection | () | method |
protected function handleSelection(event:Event):voidHandler method for each event the group is listening to to indicate selection.
Parametersevent:Event — Event dispatched from ISelectableItem
|
| removeItem | () | method |
public function removeItem(item:ISelectable):voidUsed to remove an item from the selection group.
Parametersitem:ISelectable — The item to remove from the group.
|