Class org.aswing.FocusManager

Description

FocusManager manages all the when a component should receive focus,i.e if it can .

Method Index

enabled(), getCurrentManager(), resetFocusManager(), setCurrentManager(), setKeyType(), sortKeys()

Method Detail

getCurrentManager

static public function getCurrentManager():FocusManager

Returns an instance of FocusManager.

setCurrentManager

static public function setCurrentManager(manager:FocusManager):Void

sortKeys

public function sortKeys(oldVal:Number, newVal:Number, c:Component):Void

Re-orders the list when the user changes the tabIndex of a component if the tabIndex clashes with another components tabIndex it will exit the method

enabled

public function enabled(val:Boolean):Void

Disables / Enables the FocusManager

setKeyType

public function setKeyType(val:Number):Void

Sets what key the user will use for focusing

resetFocusManager

public function resetFocusManager(Void):Void

Resets the FocusManager