Packagecom.flexicious.components.dashboard.tileLayout
Classpublic class TileLayoutButton
InheritanceTileLayoutButton Inheritance ExtendedPopUpButton Inheritance mx.controls.PopUpButton

A class that is used to set the layout constraints of the tile layout



Public Properties
 PropertyDefined By
  alignRightEdgeOfPopup : Boolean = false
If set to true, the popups right edge will be aligned with the buttons right edge
TileLayoutButton
 InheritededgeAlignmentMode : String = none
The alignment mode for the popup.
ExtendedPopUpButton
  numCols : int
Number of columns in the dashboard drag drop zones tile layout
TileLayoutButton
  numRows : int
Number of rows in the dashboard drag drop zones tile layout
TileLayoutButton
  popupHeight : Number
Width of the dropdown.
TileLayoutButton
  popupWidth : Number
idth of the dropdown.
TileLayoutButton
 InheritedxOffset : int = 0
On basis of whether or not you have borders on the button skin or the popup skin, you may wish to align this number.
ExtendedPopUpButton
 InheritedyOffset : int = 0
On basis of whether or not you have borders on the button skin or the popup skin, you may wish to align this number.
ExtendedPopUpButton
Public Methods
 MethodDefined By
  
TileLayoutButton
Protected Methods
 MethodDefined By
 Inherited
clickHandler(event:MouseEvent):void
[override]
ExtendedPopUpButton
  
[override]
TileLayoutButton
 Inherited
onItemClose(event:Event):void
Ensure that we set the skin state back to normal when the popup closes
ExtendedPopUpButton
 Inherited
onItemOpen(event:Event):void
To position the popup on basis of edgeAlignmentMode
ExtendedPopUpButton
 Inherited
rollOutHandler(event:MouseEvent):void
[override]
ExtendedPopUpButton
Events
 Event Summary Defined By
  Dispatched when the user clicks the ok button on the popup.TileLayoutButton
Public Constants
 ConstantDefined By
 InheritedEDGE_ALIGNMENT_BOTTOM_LEFT : String = bottomleft
[static]
ExtendedPopUpButton
 InheritedEDGE_ALIGNMENT_BOTTOM_RIGHT : String = bottomright
[static]
ExtendedPopUpButton
 InheritedEDGE_ALIGNMENT_NONE : String = none
[static]
ExtendedPopUpButton
 InheritedEDGE_ALIGNMENT_TOP_LEFT : String = topleft
[static]
ExtendedPopUpButton
 InheritedEDGE_ALIGNMENT_TOP_RIGHT : String = topright
[static]
ExtendedPopUpButton
  EVENT_CANCEL_BUTTON_CLICK : String = cancelButtonClick
[static]
TileLayoutButton
  EVENT_OK_BUTTON_CLICK : String = okButtonClick
[static]
TileLayoutButton
Property Detail
alignRightEdgeOfPopupproperty
public var alignRightEdgeOfPopup:Boolean = false

If set to true, the popups right edge will be aligned with the buttons right edge

numColsproperty 
numCols:int

Number of columns in the dashboard drag drop zones tile layout


Implementation
    public function get numCols():int
    public function set numCols(value:int):void
numRowsproperty 
numRows:int

Number of rows in the dashboard drag drop zones tile layout


Implementation
    public function get numRows():int
    public function set numRows(value:int):void
popupHeightproperty 
popupHeight:Number

Width of the dropdown.


Implementation
    public function get popupHeight():Number
    public function set popupHeight(value:Number):void
popupWidthproperty 
popupWidth:Number

idth of the dropdown.


Implementation
    public function get popupWidth():Number
    public function set popupWidth(value:Number):void
Constructor Detail
TileLayoutButton()Constructor
public function TileLayoutButton()



Method Detail
createChildren()method
override protected function createChildren():void

Event Detail
okButtonClick Event
Event Object Type: com.flexicious.grids.events.WrapperEvent

Dispatched when the user clicks the ok button on the popup. The data object of the wrapper event will contain the numRows and numCols values.

Constant Detail
EVENT_CANCEL_BUTTON_CLICKConstant
public static const EVENT_CANCEL_BUTTON_CLICK:String = cancelButtonClick

EVENT_OK_BUTTON_CLICKConstant 
public static const EVENT_OK_BUTTON_CLICK:String = okButtonClick