| Package | com.flexicious.components.dashboard.tileLayout |
| Class | public class TileLayoutButton |
| Inheritance | TileLayoutButton ExtendedPopUpButton mx.controls.PopUpButton |
| Property | Defined By | ||
|---|---|---|---|
| alignRightEdgeOfPopup : Boolean = false
If set to true, the popups right edge will be aligned with the buttons right edge
| TileLayoutButton | ||
![]() | edgeAlignmentMode : 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 | ||
![]() | xOffset : 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 | |
![]() | yOffset : 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 | |
| Method | Defined By | ||
|---|---|---|---|
| TileLayoutButton | |||
| Method | Defined By | ||
|---|---|---|---|
![]() | clickHandler(event:MouseEvent):void [override] | ExtendedPopUpButton | |
createChildren():void [override] | TileLayoutButton | ||
![]() | onItemClose(event:Event):void
Ensure that we set the skin state back to normal when the popup closes
| ExtendedPopUpButton | |
![]() | onItemOpen(event:Event):void
To position the popup on basis of edgeAlignmentMode
| ExtendedPopUpButton | |
![]() | rollOutHandler(event:MouseEvent):void [override] | ExtendedPopUpButton | |
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when the user clicks the ok button on the popup. | TileLayoutButton | |||
| Constant | Defined By | ||
|---|---|---|---|
![]() | EDGE_ALIGNMENT_BOTTOM_LEFT : String = bottomleft [static] | ExtendedPopUpButton | |
![]() | EDGE_ALIGNMENT_BOTTOM_RIGHT : String = bottomright [static] | ExtendedPopUpButton | |
![]() | EDGE_ALIGNMENT_NONE : String = none [static] | ExtendedPopUpButton | |
![]() | EDGE_ALIGNMENT_TOP_LEFT : String = topleft [static] | ExtendedPopUpButton | |
![]() | EDGE_ALIGNMENT_TOP_RIGHT : String = topright [static] | ExtendedPopUpButton | |
| EVENT_CANCEL_BUTTON_CLICK : String = cancelButtonClick [static] | TileLayoutButton | ||
| EVENT_OK_BUTTON_CLICK : String = okButtonClick [static] | TileLayoutButton | ||
| alignRightEdgeOfPopup | property |
public var alignRightEdgeOfPopup:Boolean = falseIf set to true, the popups right edge will be aligned with the buttons right edge
| numCols | property |
numCols:intNumber of columns in the dashboard drag drop zones tile layout
public function get numCols():int public function set numCols(value:int):void| numRows | property |
numRows:intNumber of rows in the dashboard drag drop zones tile layout
public function get numRows():int public function set numRows(value:int):void| popupHeight | property |
popupHeight:NumberWidth of the dropdown.
public function get popupHeight():Number public function set popupHeight(value:Number):void| popupWidth | property |
popupWidth:Numberidth of the dropdown.
public function get popupWidth():Number public function set popupWidth(value:Number):void| TileLayoutButton | () | Constructor |
public function TileLayoutButton()| createChildren | () | method |
override protected function createChildren():void| okButtonClick | Event |
com.flexicious.grids.events.WrapperEventDispatched when the user clicks the ok button on the popup. The data object of the wrapper event will contain the numRows and numCols values.
| EVENT_CANCEL_BUTTON_CLICK | Constant |
public static const EVENT_CANCEL_BUTTON_CLICK:String = cancelButtonClick| EVENT_OK_BUTTON_CLICK | Constant |
public static const EVENT_OK_BUTTON_CLICK:String = okButtonClick