Packageorg.apache.flex.html.beads.controllers
Classpublic class ButtonAutoRepeatController
InheritanceButtonAutoRepeatController Inheritance 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
 PropertyDefined 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
 MethodDefined By
  
Constructor.
ButtonAutoRepeatController
Property Detail
delayproperty
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.

intervalproperty 
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.

strandproperty 
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.