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

Package | org.apache.flex.html.beads.controllers
Class | public class ButtonAutoRepeatController
Inheritance | ButtonAutoRepeatController Object
Implements | IBead, IBeadController

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The ButtonAutoRepeatController class adds autorepeat functionality to a button. This version is simply waits a specified amount of time (default is 250ms), then repeats the button event at a specified interval, which defaults to 125 milliseconds. Alternate implementations could have non-linear repeat timing, look for keyboard modifiers to choose different rates, etc.

Public Properties

| Property | Defined By
--- | --- | ---
|  | delay : int = 250 The number of milliseconds to wait before repeating the event for the first time. | ButtonAutoRepeatController
|  | interval : int = 100 The number of milliseconds to wait before repeating the event after the first time. | ButtonAutoRepeatController
|  | strand : IStrand [write-only] The host component for this bead. | ButtonAutoRepeatController

Public Methods

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

Property Detail

delay | property

`public var delay:int = 250`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The number of milliseconds to wait before repeating the event for the first time.

interval | property |

`public var interval:int = 100`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The number of milliseconds to wait before repeating the event after the first time. This value is not checked for changes after the events start repeating.

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

ButtonAutoRepeatController | () | Constructor

`public function ButtonAutoRepeatController()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Constructor.

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