Packagecom.vmware.widgets.controls
Classpublic class AnchoredDialog
InheritanceAnchoredDialog Inheritance mx.containers.Panel

A panel window with a tail that is anchored (or points) to an onscreen position or object. In addition to displaying its main content, an anchored dialog includes header and footer areas for titles and command buttons.

The anchored dialog can be added to the stage using the AnchoredDialogManager class, however it can also be added directly as a child in the DisplayList.

The anchored dialog by default points to the anchorObject if this property is set, otherwise it will point to the explicitly given anchorPoint. The direction of this anchored dialog's pointer can be managed from the pointerDirection property. The header can be customized by showing or hiding Close, Minimize button and applying title text.



Public Properties
 PropertyDefined By
  allowDrag : Boolean
Whether or not to allow the AnchoredDialog to be moved/dragged when the user press the mouse button over the titlebar and moves the mouse.
AnchoredDialog
  minimized : Boolean
[read-only] Represents this anchored dialog's minimized state.
AnchoredDialog
  resizable : Boolean
Property to control drag button avalibility and the manual resize functionality of this anchored dialog.
AnchoredDialog
  showCloseButton : Boolean
The property to specify this AnchoredDialog's close button visibility.
AnchoredDialog
  showMinimizeButton : Boolean
The property to specify this AnchoredDialog's minimize button visibility.
AnchoredDialog
  title : String
[override] [write-only]
AnchoredDialog
Public Methods
 MethodDefined By
  
Creates an AnchoredDialog with a close and minimize button.
AnchoredDialog
  
remove():void
Removes this AnchoredDialog.
AnchoredDialog
  
show(modal:Boolean = false):void
Pops up this AnchoredDialog using the PopUpManager.
AnchoredDialog
Events
 Event Summary Defined By
  The mouse click event for this anchored dialog's close button.AnchoredDialog
  The mouse click event for this anchored dialog's help button.AnchoredDialog
  The mouse click event for this anchored dialog's minimize button.AnchoredDialog
Property Detail
allowDragproperty
allowDrag:Boolean

Whether or not to allow the AnchoredDialog to be moved/dragged when the user press the mouse button over the titlebar and moves the mouse. The default value is false


Implementation
    public function get allowDrag():Boolean
    public function set allowDrag(value:Boolean):void
minimizedproperty 
minimized:Boolean  [read-only]

Represents this anchored dialog's minimized state.


Implementation
    public function get minimized():Boolean
resizableproperty 
resizable:Boolean

Property to control drag button avalibility and the manual resize functionality of this anchored dialog.

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

The property to specify this AnchoredDialog's close button visibility. The close button dispatches a CloseEvent.CLOSE event when pressed.


Implementation
    public function get showCloseButton():Boolean
    public function set showCloseButton(value:Boolean):void
showMinimizeButtonproperty 
showMinimizeButton:Boolean

The property to specify this AnchoredDialog's minimize button visibility. The minimize button dispatches a DialogEvent.MINIMIZE event when pressed.


Implementation
    public function get showMinimizeButton():Boolean
    public function set showMinimizeButton(value:Boolean):void
titleproperty 
title:String  [write-only] [override]


Implementation
    public function set title(value:String):void
Constructor Detail
AnchoredDialog()Constructor
public function AnchoredDialog()

Creates an AnchoredDialog with a close and minimize button.

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

Removes this AnchoredDialog.

show()method 
public function show(modal:Boolean = false):void

Pops up this AnchoredDialog using the PopUpManager.

Parameters

modal:Boolean (default = false) — Controls the dialog modality: the ability to interact with other windows/popups while the dialog is shown.

See also

mx.managers.PopUpManager.addPopUp()
Event Detail
close Event
Event Object Type: mx.events.CloseEvent
CloseEvent.type property = mx.events.CloseEvent.CLOSE

The mouse click event for this anchored dialog's close button.

help Event  
Event Object Type: com.vmware.widgets.events.DialogEvent
DialogEvent.type property = com.vmware.widgets.events.DialogEvent.HELP

The mouse click event for this anchored dialog's help button.

Event name Constant for the dialog context help event.
minimize Event  
Event Object Type: com.vmware.widgets.events.DialogEvent
DialogEvent.type property = com.vmware.widgets.events.DialogEvent.MINIMIZE

The mouse click event for this anchored dialog's minimize button.

Defines the value of the type propertyEvent for a dialog's minimize event.