Packagecom.flexicious.components.container
Classpublic class ExtendedTitleWindow
InheritanceExtendedTitleWindow Inheritance spark.components.TitleWindow
Subclasses TileLayoutPopup

Language Version : ActionScript 3.0

The ExtendedTitle window inherits from TitleWindow and adds the following functoinality to it:

Default MXML PropertymxmlContentFactory



Public Properties
 PropertyDefined By
  edgeAlignmentMode : String
The alignment mode for the popup.
ExtendedTitleWindow
  enableDoubleClickExpandCollapse : Boolean = false
Double clicking on the toolbar will cause maximize or restore.
ExtendedTitleWindow
  enableMaximizeAndRestore : Boolean
[read-only] Flag to show maximize and restore buttons in the title bar.
ExtendedTitleWindow
  isMaximized : Boolean
[read-only] Returns true if this dashlet is maximized.
ExtendedTitleWindow
  maximizeRelativeToComponent : Object
The component that we should use to maximize the title window relative to.
ExtendedTitleWindow
  popupButtonWidth : Number
Width of the popup button that launched us.
ExtendedTitleWindow
  removePopupOnClose : Boolean = false
When this flag is set to true, clicking the close button will rmeove the popup.
ExtendedTitleWindow
  resizable : Boolean
Flag to enable resize behavior.
ExtendedTitleWindow
  showCloseButton : Boolean
Flag to show the close button like in the mx TitleWindow.
ExtendedTitleWindow
Public Methods
 MethodDefined By
  
ExtendedTitleWindow
  
maximize():void
Maximizes the component.
ExtendedTitleWindow
  
restore():void
Restores the component to its position prior to being maximized.
ExtendedTitleWindow
Protected Methods
 MethodDefined By
  
resizeBegin(event:MouseEvent):void
Start the resize
ExtendedTitleWindow
Events
 Event Summary Defined By
  Dispatched when the titlewindow is maximizedExtendedTitleWindow
  Dispatched when the title window is is about to start resizing.ExtendedTitleWindow
  Dispatched when the title window resize has completedExtendedTitleWindow
  Dispatched when the titlewindow is maximizedExtendedTitleWindow
Styles
 Style Description Defined By
  
resizeBorderColor
Type: uint Format: Color
The color of the border for this component when it is being resized. The default value is 0x0000FF.
ExtendedTitleWindow
Skin Parts

This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.


 Skin Part Description Defined By
  
resizeGrip:mx.core.IUIComponent
Required: false Part Type: Static
The skin part that initiates the resize behavior of this dashlet
ExtendedTitleWindow
  
topGroup:spark.components.Group
Required: false Part Type: Static
The skin part that holds the top level controls
ExtendedTitleWindow
Property Detail
edgeAlignmentModeproperty
edgeAlignmentMode:String

The alignment mode for the popup. This is inherited from the associated popup button.

This property can be used as the source for data binding.


Implementation
    public function get edgeAlignmentMode():String
    public function set edgeAlignmentMode(value:String):void
enableDoubleClickExpandCollapseproperty 
public var enableDoubleClickExpandCollapse:Boolean = false

Double clicking on the toolbar will cause maximize or restore.

enableMaximizeAndRestoreproperty 
enableMaximizeAndRestore:Boolean  [read-only]

Flag to show maximize and restore buttons in the title bar.

This property can be used as the source for data binding.


Implementation
    public function get enableMaximizeAndRestore():Boolean
isMaximizedproperty 
isMaximized:Boolean  [read-only]

Returns true if this dashlet is maximized.

This property can be used as the source for data binding.


Implementation
    public function get isMaximized():Boolean
maximizeRelativeToComponentproperty 
maximizeRelativeToComponent:Object

The component that we should use to maximize the title window relative to. Defaults to FlexGlobals.topLevelApplication.


Implementation
    public function get maximizeRelativeToComponent():Object
    public function set maximizeRelativeToComponent(value:Object):void
popupButtonWidthproperty 
popupButtonWidth:Number

Width of the popup button that launched us.

This property can be used as the source for data binding.


Implementation
    public function get popupButtonWidth():Number
    public function set popupButtonWidth(value:Number):void
removePopupOnCloseproperty 
public var removePopupOnClose:Boolean = false

When this flag is set to true, clicking the close button will rmeove the popup.

resizableproperty 
resizable:Boolean

Flag to enable resize behavior.

This property can be used as the source for data binding.


Implementation
    public function get resizable():Boolean
    public function set resizable(value:Boolean):void
showCloseButtonproperty 
showCloseButton:Boolean

Flag to show the close button like in the mx TitleWindow.

This property can be used as the source for data binding.


Implementation
    public function get showCloseButton():Boolean
    public function set showCloseButton(value:Boolean):void
Constructor Detail
ExtendedTitleWindow()Constructor
public function ExtendedTitleWindow()



Method Detail
maximize()method
public function maximize():void

Maximizes the component. It takes the height and width of the maximizeRelativeToComponent.

resizeBegin()method 
protected function resizeBegin(event:MouseEvent):void

Start the resize

Parameters

event:MouseEvent

restore()method 
public function restore():void

Restores the component to its position prior to being maximized.

Event Detail
maximized Event

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.1

Dispatched when the titlewindow is maximized

resizeBegin Event  

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.1

Dispatched when the title window is is about to start resizing. Can be cancelled

resized Event  

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.1

Dispatched when the title window resize has completed

restored Event  

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.1

Dispatched when the titlewindow is maximized