Window
| Kind of class: | class |
|---|---|
| Inherits from: | ScrollView < View < UIComponent < UIObject < MovieClip |
| Known subclasses: | |
| Classpath: | mx.containers.Window |
| File last modified: | Tuesday, 18 December 2007, 15:44:37 |
Component metadata:
| Event | "click" |
|---|
Summary
Constructor
Class properties
- symbolName : String
- symbolOwner : Object
- version : String
- skinIDBorder : Number
- skinIDTitleBackground : Number
- skinIDForm : Number
- mergedClipParameters : Boolean
Class properties inherited from ScrollView
Class properties inherited from View
Class properties inherited from UIComponent
Class properties inherited from UIObject
Instance properties
- className : String
- name of this class
- idNames : Array
- skinTitleBackground : String
- symbol name of skin element for background of the title bar
- skinCloseUp : String
- symbol name of skin element for the up state of the close button
- skinCloseOver : String
- symbol name of skin element for the over state of the close button
- skinCloseDown : String
- symbol name of skin element for the down state of the close button
- skinCloseDisabled : String
- symbol name of skin element for the disabled state of the close button
- clipParameters : Object
- initializing : Boolean
- regX : Number
- the location on the window the mouse was clicked
- regY : Number
- titleStyleDeclaration : String
- style declaration name for the text in the title bar
- closeButton : Boolean
- true if you want the close button displayed
- loadingChild : Boolean
- __contentPath : String
- modalWindow : MovieClip
- content : MovieClip
- The URL or linkage name of the SWF or JPEG has been loaded into the ScrollPane.
- deletePopUp : Function
- modal windows must be destroyed via deletePopUp
- contentPath (scrollableContent:String)
- name of the symbol or URL to the image or movie to display as the content
- back_mc : MovieClip
- _child0 : MovieClip
- boundingBox_mc : MovieClip
- button_mc : SimpleButton
- _title : String
- title : String
- the title/caption displayed in the title bar
Instance properties inherited from ScrollView
__hPosition __hScrollPolicy __maxHPosition __viewMetrics __vPosition __vScrollPolicy className columnWidth heightPadding hPosition hScroller hScrollPolicy invLayout MASK_DEPTH mask_mc maxHPosition maxVPosition numberOfCols oldRndUp owner propsInited rowC rowH scrollAreaChanged specialHScrollCase viewableColumns viewableRows vPosition vScroller vScrollPolicy vScrollPolicy widthPadding
Instance properties inherited from View
Instance properties inherited from UIComponent
Instance properties inherited from UIObject
__height __onUnload __width _color _endInit _id _maxHeight _maxWidth _minHeight _minWidth _preferredHeight _preferredWidth _tf _topmost addEventListener bottom buildDepthTable changeColorStyleInChildren changeTextStyleInChildren childrenCreated className clipParameters color createAccessibilityImplementation createChildAtDepth createClassChildAtDepth createEvent dispatchEvent embedFonts findNextAvailableDepth fontFamily fontSize fontStyle fontWeight handleEvent height idNames ignoreClassStyleDeclaration initProperties invalidateFlag left lineColor lineWidth marginLeft marginRight methodTable minHeight minWidth notifyStyleChangeInChildren removeEventListener right scaleX scaleY setStyle stylecache styleName tabEnabled textAlign textDecoration textIndent tfList top validateNow visible width x y
Class methods
Class methods inherited from UIObject
Instance methods
- init (Void) : Void
- delegateClick (obj:Object) : Void
- startDragging (Void) : Void
- stopDragging (Void) : Void
- dragTracking : Void
- createChildren (Void) : Void
- setEnabled (enable:Boolean) : Void
- getComponentCount (Void) : Number
- getComponentRect (container:Number) : Object
- draw (Void) : Void
- getViewMetrics (Void) : Object
- get the thickness of the edges of the object taking into account the border, title bar and scrollbars if visible
- doLayout (Void) : Void
- createChild (id, name:String, props:Object) : MovieClip
- childLoaded (obj:MovieClip) : Void
Instance methods inherited from ScrollView
__onMouseWheel childLoaded createChild createChildren doLayout draw getHPosition getHScrollPolicy getMaxHPosition getViewMetrics getVPosition getVScrollPolicy init invalidate onScroll scrollProxy setEnabled setHPosition setHScrollPolicy setMaxHPosition setScrollProperties setVPosition setVScrollPolicy size
Instance methods inherited from View
Instance methods inherited from UIObject
__getTextFormat _createChildren _getTextFormat cancelAllDoLaters constructObject createChildren createClassObject createEmptyObject createLabel createObject createSkin destroyObject doLater doLaterDispatcher draw drawRect getClassStyleDeclaration getMinHeight getMinWidth getSkinIDName getStyle getStyleName init initFromClipParameters invalidate invalidateStyle move redraw setColor setMinHeight setMinWidth setSize setSkin setVisible size
Event handlers
Event handlers inherited from ScrollView
Event handlers inherited from UIComponent
Constructor
Window
function Window (
)
Class properties
mergedClipParameters
static mergedClipParameters:Boolean = UIObject.mergeClipParameters(Window.prototype.clipParameters, ScrollView.prototype.clipParameters)
(read)
skinIDBorder
static skinIDBorder:Number = 0
(read)
skinIDForm
static skinIDForm:Number = 2
(read)
skinIDTitleBackground
static skinIDTitleBackground:Number = 1
(read)
symbolName
static symbolName:String = "Window"
(read)
symbolOwner
static symbolOwner:Object = Window
(read)
version
static version:String = "2.0.2.127"
(read)
Instance properties
__contentPath
__contentPath:String
(read)
_child0
_child0:MovieClip
(read)
_title
_title:String
(read)
back_mc
back_mc:MovieClip
(read)
boundingBox_mc
boundingBox_mc:MovieClip
(read)
button_mc
className
className:String = "Window"
(read)
name of this class
clipParameters
clipParameters:Object = { title: 1, contentPath: 1, closeButton: 1}
(read)
closeButton
closeButton:Boolean
(read)
true if you want the close button displayed
Component metadata:
| Inspectable | defaultValue: false |
|---|
content
content:MovieClip
(read)
The URL or linkage name of the SWF or JPEG has been loaded into the ScrollPane.
contentPath
contentPath
(read,write)
name of the symbol or URL to the image or movie to display as the content
Component metadata:
| Bindable | |
|---|---|
| Inspectable | defaultValue: "" |
deletePopUp
deletePopUp:Function
(read)
modal windows must be destroyed via deletePopUp
idNames
idNames:Array = new Array("border_mc", "back_mc", "content")
(read)
initializing
initializing:Boolean = true
(read)
loadingChild
loadingChild:Boolean = false
(read)
modalWindow
modalWindow:MovieClip
(read)
regX
regX:Number
(read)
the location on the window the mouse was clicked
regY
regY:Number
(read)
skinCloseDisabled
skinCloseDisabled:String = "CloseButtonDisabled"
(read)
symbol name of skin element for the disabled state of the close button
Component metadata:
| Inspectable | category: "Skins" verbose: 1, |
|---|
skinCloseDown
skinCloseDown:String = "CloseButtonDown"
(read)
symbol name of skin element for the down state of the close button
Component metadata:
| Inspectable | category: "Skins" verbose: 1, |
|---|
skinCloseOver
skinCloseOver:String = "CloseButtonOver"
(read)
symbol name of skin element for the over state of the close button
Component metadata:
| Inspectable | category: "Skins" verbose: 1, |
|---|
skinCloseUp
skinCloseUp:String = "CloseButtonUp"
(read)
symbol name of skin element for the up state of the close button
Component metadata:
| Inspectable | category: "Skins" verbose: 1, |
|---|
skinTitleBackground
skinTitleBackground:String = "TitleBackground"
(read)
symbol name of skin element for background of the title bar
Component metadata:
| Inspectable | category: "Skins" verbose: 1, |
|---|
title
title:String
(read,write)
the title/caption displayed in the title bar
Component metadata:
| Bindable | |
|---|---|
| Inspectable | defaultValue: "" |
titleStyleDeclaration
titleStyleDeclaration:String
(read)
style declaration name for the text in the title bar
Component metadata:
| Inspectable | category: "Skins" defaultValue: "", verbose: 1, |
|---|
Instance methods
childLoaded
function childLoaded (
obj:MovieClip) : Void
Parameters:
obj:
the loaded child
Overrides:
createChild
function createChild (
id,
name:String,
props:Object) : MovieClip
See also:
Overrides:
delegateClick
function delegateClick (
obj:Object) : Void
dragTracking
function dragTracking (
) : Void
getComponentCount
function getComponentCount (
Void) : Number
getComponentRect
function getComponentRect (
container:Number) : Object
getViewMetrics
function getViewMetrics (
Void) : Object
get the thickness of the edges of the object taking into account the border, title bar and scrollbars if visible
Returns:
- object with left, right, top and bottom edge thickness in pixels
Overrides:
setEnabled
function setEnabled (
enable:Boolean) : Void
startDragging
function startDragging (
Void) : Void
stopDragging
function stopDragging (
Void) : Void