Package | flexlib.controls |
Class | public class ScrollablePopUpMenuButton |
Inheritance | ScrollablePopUpMenuButton ![]() ![]() |
See also
Property | Defined By | ||
---|---|---|---|
arrowScrollPolicy : String
The scrolling policy that determines when to show the up and down buttons for scrolling. | ScrollablePopUpMenuButton | ||
![]() | dataDescriptor : IMenuDataDescriptor
The data descriptor accesses and manipulates data in the data provider. | PopUpMenuButtonBase | |
dataProvider : Object [override] | ScrollablePopUpMenuButton | ||
hideOnActivity : Boolean = true | ScrollablePopUpMenuButton | ||
![]() | iconField : String
Name of the field in the dataProvider Array that contains the icon to
show for each menu item. | PopUpMenuButtonBase | |
![]() | iconFunction : Function
A function that determines the icon to display for each menu item. | PopUpMenuButtonBase | |
![]() | labelField : String
Name of the field in the dataProvider Array that contains the text to
show for each menu item. | PopUpMenuButtonBase | |
![]() | labelFunction : Function
A function that determines the text to display for each menu item. | PopUpMenuButtonBase | |
maxHeight : Number [override] [write-only]
Overriden to also set the maxHeight of the child menu control. | ScrollablePopUpMenuButton | ||
![]() | popUp : IUIComponent [override] [write-only]
A reference to the pop-up Menu object. | PopUpMenuButtonBase | |
rowCount : int
Maximum number of rows visible in the Menu. | ScrollablePopUpMenuButton | ||
![]() | showRoot : Boolean
Specifies whether to display the top-level node or nodes of the data provider. | PopUpMenuButtonBase | |
verticalScrollPolicy : String
Controls the vertical scrolling of the ScrollablePopUpMenuButton. | ScrollablePopUpMenuButton |
Property | Defined By | ||
---|---|---|---|
explicitRowCountSet : Boolean = false
Indicates if the row count property was explicitely set. | ScrollablePopUpMenuButton |
Method | Defined By | ||
---|---|---|---|
Constructor
| ScrollablePopUpMenuButton | ||
close():void [override] | ScrollablePopUpMenuButton |
arrowScrollPolicy | property |
arrowScrollPolicy:String
The scrolling policy that determines when to show the up and down buttons for scrolling. <p>This property is independant of <codeph>verticalScrollPolicy</codeph>. The property here just serves a proxy to set the <codeph>arrowScrollPolicy</codeph> of the child menu component.</p>
public function get arrowScrollPolicy():String
public function set arrowScrollPolicy(value:String):void
See also
dataProvider | property |
dataProvider:Object
[override] public function get dataProvider():Object
public function set dataProvider(value:Object):void
explicitRowCountSet | property |
protected var explicitRowCountSet:Boolean = false
Indicates if the row count property was explicitely set.
hideOnActivity | property |
public var hideOnActivity:Boolean = true
maxHeight | property |
maxHeight:Number
[write-only] [override] Overriden to also set the maxHeight of the child menu control. <p>This makes setting the maxHeight also set the maxHeight of the popUpMenu item.</p>
public function set maxHeight(value:Number):void
rowCount | property |
rowCount:int
Maximum number of rows visible in the Menu. This property works in conjunction with the maxHeight property. If this property is never set, the height of the menu is solely controlled using maxHeight. If this property is set, the menu will exactly have <codeph>rowCount</codeph> rows except if the number of rows times a row's height exceed maxHeight. In this case, the menu will have as many rows as possible without exceeding maxHeight. If this property has been set and it needs to revert to having the menu height solely controlled by maxHeight, set this property to -1.
The default value is -1
.
public function get rowCount():int
public function set rowCount(value:int):void
See also
verticalScrollPolicy | property |
verticalScrollPolicy:String
Controls the vertical scrolling of the ScrollablePopUpMenuButton.
public function get verticalScrollPolicy():String
public function set verticalScrollPolicy(value:String):void
ScrollablePopUpMenuButton | () | Constructor |
public function ScrollablePopUpMenuButton()
Constructor
close | () | method |
override public function close():void