Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
ListSingleSelectionMouseController

Package | org.apache.flex.html.beads.controllers
Class | public class ListSingleSelectionMouseController
Inheritance | ListSingleSelectionMouseController Object
Implements | IBeadController
Subclasses | TreeSingleSelectionMouseController

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The ListSingleSelectionMouseController class is a controller for org.apache.flex.html.List. Controllers watch for events from the interactive portions of a View and update the data model or dispatch a semantic event. This controller watches for events from the item renderers and updates an ISelectionModel (which only supports single selection). Other controller/model pairs would support various kinds of multiple selection.

Public Properties

| Property | Defined By
--- | --- | ---
|  | strand : IStrand [write-only] The host component for this bead. | ListSingleSelectionMouseController

Protected Properties

| Property | Defined By
--- | --- | ---
|  | dataGroup : IItemRendererParent The parent of the item renderers. | ListSingleSelectionMouseController
|  | listModel : ISelectionModel The model. | ListSingleSelectionMouseController
|  | listView : IListView The view. | ListSingleSelectionMouseController

Public Methods

| Method | Defined By
--- | --- | ---
|  | ListSingleSelectionMouseController() Constructor. | ListSingleSelectionMouseController

Protected Methods

| Method | Defined By
--- | --- | ---
|  | handleItemAdded(event:ItemAddedEvent):void | ListSingleSelectionMouseController
|  | handleItemRemoved(event:ItemAddedEvent):void | ListSingleSelectionMouseController
|  | rolloutHandler(event:Event):void | ListSingleSelectionMouseController
|  | rolloverHandler(event:Event):void | ListSingleSelectionMouseController
|  | selectedHandler(event:ItemClickedEvent):void | ListSingleSelectionMouseController

Property Detail

dataGroup | property

`protected var dataGroup:IItemRendererParent`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The parent of the item renderers.

listModel | property |

`protected var listModel:ISelectionModel`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The model.

listView | property |

`protected var listView:IListView`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The view.

strand | property |

`strand:IStrand` [write-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The host component for this bead.

Implementation
`public function set strand(value:IStrand):void`
Constructor Detail

ListSingleSelectionMouseController | () | Constructor

`public function ListSingleSelectionMouseController()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Constructor.

Method Detail

handleItemAdded | () | method

`protected function handleItemAdded(event:ItemAddedEvent):void`

Parameters

| `event:ItemAddedEvent`

handleItemRemoved | () | method |

`protected function handleItemRemoved(event:ItemAddedEvent):void`

Parameters

| `event:ItemAddedEvent`

rolloutHandler | () | method |

`protected function rolloutHandler(event:Event):void`

Parameters

| `event:Event`

rolloverHandler | () | method |

`protected function rolloverHandler(event:Event):void`

Parameters

| `event:Event`

selectedHandler | () | method |

`protected function selectedHandler(event:ItemClickedEvent):void`

Parameters

| `event:ItemClickedEvent`

Mon Sep 5 2016, 07:19 AM -07:00