套件 | mx.managers |
介面 | public interface IFocusManagerComplexComponent extends IFocusManagerComponent |
實作者 | FlexHTMLLoader |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
focusEnabled : Boolean
A flag that indicates whether the component can receive focus when selected. | IFocusManagerComponent | ||
hasFocusableChildren : Boolean
A flag that indicates whether child objects can receive focus. | IFocusManagerComponent | ||
hasFocusableContent : Boolean [唯讀]
A flag that indicates whether the component currently has internal
focusable targets
| IFocusManagerComplexComponent | ||
mouseFocusEnabled : Boolean [唯讀]
A flag that indicates whether the component can receive focus
when selected with the mouse. | IFocusManagerComponent | ||
tabFocusEnabled : Boolean [唯讀]
A flag that indicates whether pressing the Tab key eventually
moves focus to this component. | IFocusManagerComponent | ||
tabIndex : int
If tabFocusEnabled, the order in which the component receives focus. | IFocusManagerComponent |
公用方法
方法 | 定義自 | ||
---|---|---|---|
Called by the FocusManager when the component receives focus. | IFocusManagerComplexComponent | ||
Called by the FocusManager when the component receives focus. | IFocusManagerComponent | ||
Called by the FocusManager when the component receives focus. | IFocusManagerComponent |
屬性詳細資訊
hasFocusableContent | 屬性 |
方法詳細資訊
assignFocus | () | 方法 |
public function assignFocus(direction:String):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Called by the FocusManager when the component receives focus. The component may in turn set focus to an internal component. The components setFocus() method will still be called when focused by the mouse, but this method will be used when focus changes via the keyboard
參數
direction:String — "bottom" if TAB used with SHIFT key, "top" otherwise
|
Tue Jun 12 2018, 03:47 PM Z