Packagecom.comtaste.pantaste.components
Classpublic class DashPanelControls
InheritanceDashPanelControls Inheritance mx.containers.Canvas
ImplementsIDashPanelElement

Control buttons of a DashPanel.

It contains the buttons to perform the following actions over the DashPanel component:

See also

DashDock
DashPanel


Public Properties
 PropertyDefined by
  maximizeRestoreButton : Button
Button to maximize/restore the size of the DashPanel.
DashPanelControls
Public Methods
 MethodDefined by
  
Constructor.
DashPanelControls
Protected Methods
 MethodDefined by
  
addListeners():void
Adds listeners to the buttons of this DashPanelControls.
DashPanelControls
  
close(event:MouseEvent):void
Handler to the click event on the closeButton button.
DashPanelControls
  
init(event:FlexEvent):void
Handler of the initialization event.
DashPanelControls
  
maximizeRestore(event:Event = null):void
Handler to the click event on the maximizeRestoreButton button.
DashPanelControls
  
minimize(event:Event = null):void
Handler to the click event on the minimizeButton button.
DashPanelControls
Property detail
maximizeRestoreButtonproperty
public var maximizeRestoreButton:Button

Button to maximize/restore the size of the DashPanel.

See also

Constructor detail
DashPanelControls()constructor
public function DashPanelControls(panel:DashPanel)

Constructor.

Parameters
panel:DashPanel — The relative DashPanel

See also

Method detail
addListeners()method
protected function addListeners():void

Adds listeners to the buttons of this DashPanelControls.

See also

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

Handler to the click event on the closeButton button.

It dispatches a DashPanelEvent.CLOSE event.

Parameters
event:MouseEvent — close event.

See also

init()method 
protected function init(event:FlexEvent):void

Handler of the initialization event.

Parameters
event:FlexEvent — FlexEvent related to the initialization of this component.
maximizeRestore()method 
protected function maximizeRestore(event:Event = null):void

Handler to the click event on the maximizeRestoreButton button.

It dispatches a DashPanelEvent.RESTORED event if the DashPanel is maximized or minimized, otherwise a DashPanelEvent.MAXIMIZE event.

Parameters
event:Event (default = null) — maximization/restore event.

See also

minimize()method 
protected function minimize(event:Event = null):void

Handler to the click event on the minimizeButton button.

It dispatches a DashPanelEvent.MINIMIZED event.

Parameters
event:Event (default = null) — minimization event.

See also