メソッド | プロパティ | エフェクト | イベント | スタイル フレームあり | フレームなし

mx.managers
FocusManager クラス

継承を示す線継承を示す線


FocusManager クラス
mx.core.UIComponent の拡張

FocusManager クラスはコンポーネント上のフォーカスを管理します。フォーカスマネージャは、各最上位ウィンドウにあります。



メソッド
       getFocus( ) :  Object
現在フォーカスを持っているコンポーネントを取得します。
       getMaxTabIndex( o:mx.core.UIComponent) :  Number
このフォーカスマネージャのフォームまたはサブフォームで現在使用されている一番大きい数字のタブインデックスを取得します。
       sendDefaultPushButtonEvent( ) :  Void
このメソッドを呼び出すと、システムは Enter キーが押されたものと判断します。
       setFocus( o:Object) :  Void
オブジェクトにフォーカスを設定します。

mx.core.UIComponent クラスから継承されるメソッド
drawFocus   getFocus   getFocusManager   setEnabled   setFocus  

mx.core.UIObject クラスから継承されるメソッド
addEventListener   applyProperties   buildDepthTable   commitProperties   constructObject2   createAccessibilityImplementation   createChildAtDepth   createChildren   createClassChildAtDepth   createClassObject   createEmptyObject   destroyObject   dispatchEvent   doLater   draw   drawRect   executeBindings   fillRect   findNextAvailableDepth   getRepeaterItem   getStyle   handleEvent   init   invalidate   invalidateLayout   invalidateProperties   invalidateSize   invalidateStyle   layoutChildren   measure   move   redraw   removeEventListener   setDepthAbove   setDepthBelow   setMask   setSize   setSizeNoLayout   setStyle   swapDepths  



プロパティ
       className:String
このクラスの名前です。
       defaultPushButton:mx.controls.SimpleButton
オリジナルのデフォルトプッシュボタンです。
       nextTabIndex:Number   [読み取り専用]
このフォームで次に使用する一意のタブインデックスです。
staticversion:String
このクラスのバージョンを表すストリングです。

mx.core.UIComponent クラスから継承されるプロパティ
enabled   errorString   tabEnabled   tabIndex   version  

mx.core.UIObject クラスから継承されるプロパティ
alpha   baselinePosition   className   depth   documentDescriptor   height   heightFlex   id   instanceIndices   isDocument   kStretch   layoutHeight   layoutWidth   maxHeight   maxWidth   minHeight   minWidth   mouseX   mouseY   nestLevel   oldHeight   oldWidth   oldX   oldY   parent   parentApplication   parentDocument   percentHeight   percentWidth   preferredHeight   preferredWidth   repeaterIndices   scaleX   scaleY   styleName   tabEnabled   toolTip   version   visible   width   widthFlex   x   y  



エフェクト

mx.core.UIComponent クラスから継承されるエフェクト
focusInEffect   focusOutEffect  

mx.core.UIObject クラスから継承されるエフェクト
creationCompleteEffect   hideEffect   mouseDownEffect   mouseOutEffect   mouseOverEffect   mouseUpEffect   moveEffect   resizeEffect   showEffect  



イベント

mx.core.UIComponent クラスから継承されるイベント
focusIn  focusOut  invalid  keyDown  keyUp  valid  valueCommitted 

mx.core.UIObject クラスから継承されるイベント
creationComplete  dragComplete  dragDrop  dragEnter  dragExit  dragOver  draw  effectEnd  effectStart  hide  hideToolTip  initialize  load  mouseChangeSomewhere  mouseDown  mouseDownSomewhere  mouseMove  mouseMoveSomewhere  mouseOut  mouseOver  mouseUp  mouseUpSomewhere  move  resize  show  showToolTip  unload 



スタイル

mx.core.UIComponent クラスから継承されるスタイル
backgroundAlpha   backgroundColor   backgroundDisabledColor   backgroundImage   backgroundSize   barColor   borderCapColor   borderColor   borderSides   borderStyle   borderThickness   cornerRadius   disabledColor   dropShadow   errorColor   fillColors   highlightColor   modalTransparency   scrollTrackColor   selectedFillColors   shadowCapColor   shadowColor   shadowDirection   shadowDistance   symbolBackgroundColor   symbolBackgroundDisabledColor   symbolBackgroundPressedColor   symbolColor   symbolDisabledColor   themeColor  

mx.core.UIObject クラスから継承されるスタイル
color   fontFamily   fontSize   fontStyle   fontWeight   horizontalGap   leading   marginLeft   marginRight   textAlign   textDecoration   textIndent   verticalGap  



メソッドの詳細

getFocus

getFocus( ) :  Object

現在フォーカスを持っているコンポーネントを取得します。このメソッドを使用すると、どのコンポーネントにフォーカスがあるかが示されるので、Selection オブジェクトよりもこのメソッドを使用することをお勧めします。Selection では、コンポーネント内のサブオブジェクトが返される場合があります。

戻り値
     フォーカスを持っているオブジェクトです。


getMaxTabIndex

getMaxTabIndex( o:mx.core.UIComponent) :  Number

このフォーカスマネージャのフォームまたはサブフォームで現在使用されている一番大きい数字のタブインデックスを取得します。

パラメータ
    o:mx.core.UIComponent - フォームまたはサブフォームです。

戻り値
     現在使用されている一番大きい数字のタブインデックスです。


sendDefaultPushButtonEvent

sendDefaultPushButtonEvent( ) :  Void

このメソッドを呼び出すと、システムは Enter キーが押されたものと判断します。


setFocus

setFocus( o:Object) :  Void

オブジェクトにフォーカスを設定します。Selection オブジェクトよりもこのメソッドを使用することをお勧めします。

パラメータ
    o:Object - フォーカスを取得するオブジェクトです。



プロパティの詳細

className

className:String  

このクラスの名前です。


defaultPushButton

defaultPushButton:mx.controls.SimpleButton  

オリジナルのデフォルトプッシュボタンです。実際のデフォルトのボタンとは異なる場合があります。


nextTabIndex

nextTabIndex:Number   [読み取り専用]

このフォームで次に使用する一意のタブインデックスです。


version

static  version:String  

このクラスのバージョンを表すストリングです。