Package | com.flexicious.controls |
Class | public class ExtendedPopUpButton |
Inheritance | ExtendedPopUpButton ![]() |
Subclasses | TileLayoutButton |
Property | Defined By | ||
---|---|---|---|
edgeAlignmentMode : String = none
The alignment mode for the popup. | ExtendedPopUpButton | ||
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 | ||
---|---|---|---|
ExtendedPopUpButton |
Method | Defined By | ||
---|---|---|---|
clickHandler(event:MouseEvent):void [override] | ExtendedPopUpButton | ||
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 |
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 |
edgeAlignmentMode | property |
public var edgeAlignmentMode:String = none
The alignment mode for the popup. If bottomleft, the left edge of the popup lines up with the left edge of the button and popup opens below button If bottomright, the right edge of the popup lines up with the right edge of the button and popup opens below button. If topleft, the left edge of the popup lines up with the left edge of the button and popup opens above button If tp[right, the right edge of the popup lines up with the right edge of the button and popup opens above button. IF none, the base behavior is used from the mx PopUpButton class, which is to left align and adjust for screen overruns. Defaults to none
xOffset | property |
public var 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.
The default value is 1
.
yOffset | property |
public var 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.
The default value is -1
.
ExtendedPopUpButton | () | Constructor |
public function ExtendedPopUpButton()
clickHandler | () | method |
override protected function clickHandler(event:MouseEvent):void
Parameters
event:MouseEvent |
onItemClose | () | method |
protected function onItemClose(event:Event):void
Ensure that we set the skin state back to normal when the popup closes
Parameters
event:Event |
onItemOpen | () | method |
protected function onItemOpen(event:Event):void
To position the popup on basis of edgeAlignmentMode
Parameters
event:Event |
rollOutHandler | () | method |
override protected function rollOutHandler(event:MouseEvent):void
Parameters
event:MouseEvent |
EDGE_ALIGNMENT_BOTTOM_LEFT | Constant |
public static const EDGE_ALIGNMENT_BOTTOM_LEFT:String = bottomleft
EDGE_ALIGNMENT_BOTTOM_RIGHT | Constant |
public static const EDGE_ALIGNMENT_BOTTOM_RIGHT:String = bottomright
EDGE_ALIGNMENT_NONE | Constant |
public static const EDGE_ALIGNMENT_NONE:String = none
EDGE_ALIGNMENT_TOP_LEFT | Constant |
public static const EDGE_ALIGNMENT_TOP_LEFT:String = topleft
EDGE_ALIGNMENT_TOP_RIGHT | Constant |
public static const EDGE_ALIGNMENT_TOP_RIGHT:String = topright