Adobe® Flash® Platform için ActionScript® 3.0 Başvurusu
Ana Sayfa  |  Paket ve Sınıf Listesini Gizle |  Paketler  |  Sınıflar  |  Yenilikler  |  Dizin  |  Ekler  |  Niçin İngilizce?
Filtreler: Sunucudan Veri Alınıyor...
Sunucudan Veri Alınıyor...
mx.managers 

IFocusManagerComponent  - AS3 Flex

Paketmx.managers
Arabirimpublic interface IFocusManagerComponent
Uygulayıcılar AccessibleText, Accordion, AdvancedListBase, Button, ButtonBar, ButtonBar, ButtonBase, ChartBase, ComboBase, DataGrid, DateChooser, DateField, HTML, List, ListBase, MenuBar, NumericStepper, NumericStepper, OneLevelPanelNavigator, PanelItem, PromoImage, PromoSWFLoader, RadioButtonList, RichEditableText, Scroller, SkinnableTextBase, SliderBase, Spinner, TabBar, TabNavigator, TextArea, UIMovieClip, ViewMenu

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

The IFocusManagerComponent interface defines the interface that focusable components must implement in order to receive focus from the FocusManager. The base implementations of this interface are in the UIComponent class, but UIComponent does not implement the full IFocusManagerComponent interface since some UIComponents are not intended to receive focus. Therefore, to make a UIComponent-derived component be a valid focusable component, you simply add "implements IFocusManagerComponent" to the class definition.



Genel Özellikler
 ÖzellikTanımlayan:
  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
  mouseFocusEnabled : Boolean
[salt okunur] A flag that indicates whether the component can receive focus when selected with the mouse.
IFocusManagerComponent
  tabFocusEnabled : Boolean
[salt okunur] 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
Genel Yöntemler
 YöntemTanımlayan:
  
Called by the FocusManager when the component receives focus.
IFocusManagerComponent
  
Called by the FocusManager when the component receives focus.
IFocusManagerComponent
Özellik Ayrıntısı

focusEnabled

özellik
focusEnabled:Boolean

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

A flag that indicates whether the component can receive focus when selected.

As an optimization, if a child component in your component implements the IFocusManagerComponent interface, and you never want it to receive focus, you can set focusEnabled to false before calling addChild() on the child component.

This will cause the FocusManager to ignore this component and not monitor it for changes to the tabFocusEnabled, hasFocusableChildren, and mouseFocusEnabled properties. This also means you cannot change this value after addChild() and expect the FocusManager to notice.

Note: It does not mean that you cannot give this object focus programmatically in your setFocus() method; it just tells the FocusManager to ignore this IFocusManagerComponent component in the Tab and mouse searches.



Uygulama
    public function get focusEnabled():Boolean
    public function set focusEnabled(value:Boolean):void

hasFocusableChildren

özellik 
hasFocusableChildren:Boolean

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 4
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

A flag that indicates whether child objects can receive focus.

Note: This property is similar to the tabChildren property used by Flash Player. Use the hasFocusableChildren property with Flex applications. Do not use the tabChildren property.

This property is usually false because most components either receive focus themselves or delegate focus to a single internal sub-component and appear as if the component has received focus. For example, a TextInput control contains a focusable child RichEditableText control, but while the RichEditableText sub-component actually receives focus, it appears as if the TextInput has focus. TextInput sets hasFocusableChildren to false because TextInput is considered the component that has focus. Its internal structure is an abstraction.

Usually only navigator components, such as TabNavigator and Accordion, have this flag set to true because they receive focus on Tab but focus goes to components in the child containers on further Tabs.

The default value is false, except for the spark.components.Scroller component. For that component, the default value is true.



Uygulama
    public function get hasFocusableChildren():Boolean
    public function set hasFocusableChildren(value:Boolean):void

mouseFocusEnabled

özellik 
mouseFocusEnabled:Boolean  [salt okunur]

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

A flag that indicates whether the component can receive focus when selected with the mouse. If false, focus will be transferred to the first parent that is mouseFocusEnabled.



Uygulama
    public function get mouseFocusEnabled():Boolean

tabFocusEnabled

özellik 
tabFocusEnabled:Boolean  [salt okunur]

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 4
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

A flag that indicates whether pressing the Tab key eventually moves focus to this component. Even if false, you can still be given focus by being selected with the mouse or via a call to setFocus(). This property replaces InteractiveObject.tabEnabled which must be set to true in Flex apps.



Uygulama
    public function get tabFocusEnabled():Boolean

tabIndex

özellik 
tabIndex:int

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

If tabFocusEnabled, the order in which the component receives focus. If -1, then the component receives focus based on z-order.



Uygulama
    public function get tabIndex():int
    public function set tabIndex(value:int):void
Yöntem Ayrıntısı

drawFocus

()yöntem
public function drawFocus(isFocused:Boolean):void

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Called by the FocusManager when the component receives focus. The component should draw or hide a graphic that indicates that the component has focus.

Parametreler

isFocused:Boolean — If true, draw the focus indicator, otherwise hide it.

setFocus

()yöntem 
public function setFocus():void

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: 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.





[ X ]Niçin İngilizce?
ActionScript 3.0 Başvurusu'ndaki içerik İngilizce görünür

ActionScript 3.0 Başvurusu'nun tüm bölümleri tüm dillere çevrilmemiştir. Bir dil öğesi çevrilmediğinde İngilizce görünür. Örneğin, ga.controls.HelpBox sınıfı hiçbir dile çevrilmez. Bu nedenle, başvurunun Türkçe versiyonunda ga.controls.HelpBox sınıfı İngilizce görünür.