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

mx.containers
TitleWindow クラス

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


TitleWindow クラス
mx.containers.Panel の拡張

TitleWindow ナビゲータのコンテナには、タイトルバー、キャプション、境界線、および子のコンテンツ領域が含まれています。通常 TitleWindow コンテナは、必要な機能をすべて備えたアプリケーションモジュールをラップするために使用します。たとえば、TitleWindow コンテナにフォームを含めることができます。TitleWindow コンテナは、ユーザーがフォームへの入力を完了したら、プログラムによって閉じることも、ユーザーが閉じるボタンを押して閉じるようにすることもできます。

MXML シンタックス

<mx:TitleWindow> コンテナは、親クラスのすべてのプロパティと、次のプロパティを継承します。

 <mx:TitleWindow
closeButton="false"
>
...
子タグ
...
/>

を参照するにはここをクリックしてください

関連項目
    mx.core.Application
    mx.managers.PopUpManager
    Panel



メソッド

mx.containers.Panel クラスから継承されるメソッド
deletePopUp   getViewMetrics   measure  

mx.containers.Box クラスから継承されるメソッド
layoutChildren   measure   pixelsToPercent   setRelativeChildHeights   setRelativeChildWidths  

mx.containers.Container クラスから継承されるメソッド
createChildren   draw   executeChildBindings   getViewMetrics   getViewMetricsAndMargins   init  

mx.core.View クラスから継承されるメソッド
childLoaded   constructObject2   createChild   createChildren   destroyAllChildren   destroyChild   destroyChildAt   draw   getBorderMetrics   getChildAt   getChildIndex   getViewMetrics   init   layoutChildren   layoutChrome   setChildIndex  

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  



プロパティ
       closeButton:Boolean
TitleWindow コンテナ内に閉じるボタンを表示するかどうかを指定します。
staticversion:String
このクラスのバージョンを表すストリングです。

mx.containers.Panel クラスから継承されるプロパティ
className   status   statusStyleDeclaration   title   titleStyleDeclaration   version  

mx.containers.Box クラスから継承されるプロパティ
direction  

mx.containers.Container クラスから継承されるプロパティ
autoLayout   childDescriptors   className   clipContent   creationIndex   creationPolicy   defaultButton   hLineScrollSize   hPageScrollSize   hPosition   hScrollPolicy   icon   label   maxHPosition   maxVPosition   numRepeaters   version   vLineScrollSize   vPageScrollSize   vPosition   vScrollPolicy  

mx.core.View クラスから継承されるプロパティ
baselinePosition   className   numChildren   version  

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.containers.Panel クラスから継承されるエフェクト
resizeEndEffect   resizeStartEffect  

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

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



イベント

mx.containers.Panel クラスから継承されるイベント
click  mouseDownOutside 

mx.containers.Container クラスから継承されるイベント
childrenCreated  scroll 

mx.core.View クラスから継承されるイベント
childCreated  childDestroyed  childIndexChanged 

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.containers.Panel クラスから継承されるスタイル
cornerRadius   dropShadow   footerColors   headerColors   headerHeight   panelBorderStyle   shadowDirection   shadowDistance  

mx.containers.Box クラスから継承されるスタイル
horizontalAlign   horizontalGap   marginBottom   marginTop   verticalAlign   verticalGap  

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  



プロパティの詳細

closeButton

closeButton:Boolean  

TitleWindow コンテナ内に閉じるボタンを表示するかどうかを指定します。デフォルト値は false です。閉じるボタンを表示する場合は、true に設定します。閉じるボタンを選択すると、click イベントが生成されますが、TitleWindow コンテナは閉じません。click イベントのハンドラを記述し、その内部から TitleWindow を閉じる必要があります。


version

static  version:String  

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


SimpleTitleWindowExample.mxml
<?xml version="1.0" encoding="utf-8"?>
<!-- TitleWindow レイアウトの使用方法を示す簡単な例 -->
<mx:TitleWindow xmlns:mx="http://www.macromedia.com/2003/mxml" title="Title Window"
x="268" y="86" closeButton="true" click="this.deletePopUp();" width="200" height="180">

<mx:Label text="Enter Name: "/>
<mx:TextInput id="email" width="150"/>
<mx:Button label="Cancel" click="this.deletePopUp();"/>

</mx:TitleWindow>  




TitleWindowApp.mxml
<?xml version="1.0" encoding="utf-8"?>
<!-- TitleWindow レイアウトの使用方法を示す簡単なアプリケーション -->
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" backgroundColor="#FFFFFF">

<mx:Script>
<![CDATA[
       
function showWindow()
	   {
	     var login=mx.managers.PopUpManager.createPopUp( this, SimpleTitleWindowExample, true);
	   }
      ]]>
</mx:Script>

<mx:Panel title="Simple Panel">

<mx:Button label="Click to view title window" click="showWindow();"/>

</mx:Panel>

</mx:Application>