Package | com.vmware.widgets.controls |
Class | public class AnchoredDialog |
Inheritance | AnchoredDialog ![]() |
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.
Property | Defined 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 |
Method | Defined 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 |
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 |
allowDrag | property |
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
public function get allowDrag():Boolean
public function set allowDrag(value:Boolean):void
minimized | property |
minimized:Boolean
[read-only] Represents this anchored dialog's minimized state.
public function get minimized():Boolean
resizable | property |
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.
public function get resizable():Boolean
public function set resizable(value:Boolean):void
showCloseButton | property |
showCloseButton:Boolean
The property to specify this AnchoredDialog's close button visibility. The close button dispatches a CloseEvent.CLOSE event when pressed.
public function get showCloseButton():Boolean
public function set showCloseButton(value:Boolean):void
showMinimizeButton | property |
showMinimizeButton:Boolean
The property to specify this AnchoredDialog's minimize button visibility. The minimize button dispatches a DialogEvent.MINIMIZE event when pressed.
public function get showMinimizeButton():Boolean
public function set showMinimizeButton(value:Boolean):void
title | property |
title:String
[write-only] [override]
public function set title(value:String):void
AnchoredDialog | () | Constructor |
public function AnchoredDialog()
Creates an AnchoredDialog
with a close and minimize button.
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
close | Event |
mx.events.CloseEvent
mx.events.CloseEvent.CLOSE
The mouse click event for this anchored dialog's close button.
help | Event |
com.vmware.widgets.events.DialogEvent
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 |
com.vmware.widgets.events.DialogEvent
com.vmware.widgets.events.DialogEvent.MINIMIZE
The mouse click event for this anchored dialog's minimize button.
Defines the value of thetype
propertyEvent for a dialog's
minimize event.