| Package | potomac.ui |
| Class | public class SelectionService |
| Inheritance | SelectionService flash.events.EventDispatcher |
| Method | Defined By | ||
|---|---|---|---|
Callers should not construct SelectionService instances. | SelectionService | ||
getSelection(partRef:PartReference):Array
Returns the selection for the given part. | SelectionService | ||
| SelectionService | () | Constructor |
public function SelectionService()Callers should not construct SelectionService instances. SelectionService is available for injection.
| getSelection | () | method |
public function getSelection(partRef:PartReference):ArrayReturns the selection for the given part. Potomac will ensure the selection is never null. In cases where the selection was set to null, Potomac will reset the selection to an empty array.
Parameters
partRef:PartReference — part to get the selection for.
|
Array — the part's selection.
|