Packagecom.flexicious.components.dashboard.print
Classpublic class PrintDashlet
InheritancePrintDashlet Inheritance Dashlet Inheritance spark.components.SkinnableContainer

A printable version of the dashlet that has a white background for ease of printing

Default MXML PropertymxmlContentFactory



Public Properties
 PropertyDefined By
 InheritedallowInteractivity : Boolean
[read-only] A flat that controls appearance of the buttons.
Dashlet
 InheriteddashboardContainer : DashboardContainer
The Dashboard Container that this Dashlet belongs to.
Dashlet
 InheriteddragDropZone : DragDropZone
The DragDropZone Container that this Dashlet belongs to.
Dashlet
 Inheriteddraggable : Boolean
Flag to enable drag and drop behavior.
Dashlet
 InheritedenableAnimations : Boolean = true
Flag to enable transitional animations when the dashlets are minimized and restored from the taskbar, closed, and restored from the picker.
Dashlet
 InheritedenableClose : Boolean
A flag that the skin looks for to enable the close button.
Dashlet
 InheritedenableExpandCollapse : Boolean
Flag to enable the expand and collapse functionality for this dashlet.
Dashlet
 InheritedenableIcon : Boolean
[read-only] Flag to display an Icon in the title for this dashlet.
Dashlet
 InheritedenableMaximizeAndRestore : Boolean
Flag to enable the maximize and restore functionality for this dashlet.
Dashlet
 InheritedenableMinimize : Boolean
Flag to enable the minimize to task bar functionality.
Dashlet
 InheritedenableTitleBar : Boolean
[read-only] Boolean flag to control the visibility of the title bar
Dashlet
 InheritedisCollapsed : Boolean
[read-only] Whether the dashboard is collapsed
Dashlet
 InheritedisMaximized : Boolean
[read-only] Returns true if this dashlet is maximized.
Dashlet
 InheritedisMinimized : Boolean
[read-only] Whether the dashboard is minimized to taskbar
Dashlet
 InheritedisOpen : Boolean
[read-only] Whether the dashboard is open
Dashlet
 InheriteditemRenderer : IFactory
The factory for the content of this dashlet.
Dashlet
 InheriteditemRendererInstance : IVisualElement
[read-only] The instance of the item renderer.
Dashlet
 Inheritedmoveable : Boolean
Flag to enable move behavior.
Dashlet
 InheritedoriginalDashletInfo : DashletInfo
State of the dashlet when it was initialized (the way the programmer initialized it)
Dashlet
 InheritedpreCollapseDashletInfo : DashletInfo
State of the dashlet when prior to being maximized
Dashlet
 InheritedpreMaximizeDashletInfo : DashletInfo
State of the dashlet when prior to being maximized
Dashlet
 Inheritedresizable : Boolean
Flag to enable resize behavior.
Dashlet
 Inheritedspinner : ISpinner
The spinner component.
Dashlet
 InheritedspinnerFactory : IFactory
Factory responsible for instantiating a new spinner.
Dashlet
 InheritedspinnerLabel : String
The label of the spinner control, you can use styles to control the appearance.
Dashlet
 Inheritedtitle : String
Title or caption displayed in the title bar.
Dashlet
 InheritedtitleBarHeight : Number
Height of the title bar
Dashlet
 InheriteduniqueIdentifier : String
A key used to uniquely identify a zone.
Dashlet
Public Methods
 MethodDefined By
  
PrintDashlet
 Inherited
animate(sizeFrom:Rectangle, sizeTo:Rectangle, endFunction:Function):void
A method to animate the dashlet.
Dashlet
 Inherited
clone(to:Dashlet = null, dlFactory:IFactory = null, propertiesToTransfer:Array = null, stylesToTransfer:Array = null):Dashlet
Clones the current Dashlet.
Dashlet
 Inherited
close(doAnimate:Boolean = true):void
Sets the visible and include in layout flags to false
Dashlet
 Inherited
collapse():void
Reduces the height to the height of the title bar
Dashlet
 Inherited
dispatchEvent(event:Event):Boolean
[override] Whenever a dashboard event is dispatched at any dashlet, we also dispatch it from the dahsboard container so if someone wants to listen for an event at all dashlets.
Dashlet
 Inherited
expand():void
Expands the height to the height that the dashlet had prior to being collapsed
Dashlet
 Inherited
gatherDashletInfo(dashletInfo:DashletInfo):void
Initializes the dashlet info object passed in with the current state of the dashlet
Dashlet
 Inherited
Generates a preview of this dashlet
Dashlet
 Inherited
[override]
Dashlet
  
getStyle(styleProp:String):*
[override]
PrintDashlet
 Inherited
Removes the spinner and sets the bodyContainer.alpha back to 1
Dashlet
 Inherited
loadFromDashletInfo(dashletInfo:DashletInfo, expandHide:Boolean = false):void
Loads the collapse, open, title, height, width, x and y from the specified dashlet info.
Dashlet
 Inherited
maximize():void
Maximizes the dashlet.
Dashlet
 Inherited
Sets the visible and include in layout flags to false
Dashlet
 Inherited
open(doAnimate:Boolean = true):void
Sets the visible and include in layout flags to true
Dashlet
 Inherited
restore():void
Restores the component to its position prior to being maximized.
Dashlet
 Inherited
Sets the visible and include in layout flags to true
Dashlet
 Inherited
showSpinner(msg:String):void
Shows the spinner with default values defined below: Label: "Loading please wait" X Position : center X of the grid Y Position : center Y of the grid Grid Alpa when the spinner is active : 0.3 Spinner appearance can be modified using styles .
Dashlet
Protected Methods
 MethodDefined By
 Inherited
onDragGripMouseOver(event:MouseEvent):void
Dashlet
 Inherited
onResizeGripMouseOver(event:MouseEvent):void
Dashlet
Events
 Event Summary Defined By
 InheritedDispatched when the dashlet is closedDashlet
 InheritedDispatched when the dashlet is is about to be closed.Dashlet
 InheritedDispatched when the dashlet is is about to be collapsed.Dashlet
 InheritedDispatched when the dashlet is collapsedDashlet
 InheritedDispatched when the dashlet is expandedDashlet
 InheritedDispatched when the dashlet is is about to be expanded.Dashlet
 InheritedDispatched when the dashlet is openedDashlet
 InheritedDispatched when the dashlet is is about to be opened.Dashlet
 InheritedDispatched when the dashlet is maximized or restoredDashlet
 InheritedDispatched when the dashlet is maximizedDashlet
 InheritedDispatched when the dashlet is maximizedDashlet
Styles
 Style Description Defined By
 InheritedType: Array Format: Color
In order to apply a gradient to the background.
Dashlet
 InheritedType: Number CSS Inheritance: no Theme: spark
The alpha of the border for this component.
Dashlet
 InheritedType: uint Format: Color CSS Inheritance: no Theme: spark
The color of the border for this component.
Dashlet
 InheritedType: Boolean CSS Inheritance: no Theme: spark
Controls the visibility of the border for this component.
Dashlet
 InheritedType: Number Format: Length CSS Inheritance: no
The stroke weight for the border.
Dashlet
 InheritedType: Number Format: Length CSS Inheritance: no Theme: spark
The radius of the corners for this component.
Dashlet
 InheritedType: Boolean CSS Inheritance: no Theme: spark
Controls the visibility of the drop shadow for this component.
Dashlet
 Inherited
When enableIcon=true, this property speciies the icon to display.
Dashlet
 InheritedType: Array Format: Color
Colors for the spinners as an array.
Dashlet
 InheritedType: Number Format: Length
Background color of the grid when the spinner is active.
Dashlet
 InheritedType: uint Format: Color
Bacground color for the box in which the label is displayed.
Dashlet
 InheritedType: uint Format: Color CSS Inheritance: yes
Label color for the spinner.
Dashlet
 InheritedType: String CSS Inheritance: yes
Label font family.
Dashlet
 InheritedType: Number Format: Length CSS Inheritance: yes
Label font size.
Dashlet
 InheritedType: String CSS Inheritance: yes
Label font style.
Dashlet
 InheritedType: Number CSS Inheritance: yes
Label font thinkcness.
Dashlet
 InheritedType: String CSS Inheritance: yes
Label font weight.
Dashlet
 InheritedType: Number Format: Length
Spinner radius , default value is 10.
Dashlet
 InheritedType: Number Format: Length
Spinner thickness , default value is 5.
Dashlet
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
 Inherited
buttonGroup:mx.core.IVisualElement
Required: false Part Type: Static
The skin part that holds the buttons
Dashlet
 Inherited
dragGrip:mx.core.IVisualElement
Required: false Part Type: Static
The skin part that initiates the drag/drop behavior of this dashlet
Dashlet
 Inherited
resizeGrip:mx.core.IVisualElement
Required: false Part Type: Static
The skin part that initiates the resize behavior of this dashlet
Dashlet
 Inherited
titleDisplay:spark.core.IDisplayText
Required: false Part Type: Static
The skin part that defines the appearance of the title text in the container.

See also

spark.skins.spark.PanelSkin
Dashlet
 Inherited
topGroup:mx.core.IVisualElement
Required: false Part Type: Static
The skin part that defines the appearance of the titlebar
Dashlet
Constructor Detail
PrintDashlet()Constructor
public function PrintDashlet()



Method Detail
getStyle()method
override public function getStyle(styleProp:String):*

Parameters

styleProp:String

Returns
*