interface IPopUpAdapter
package feathers.controls.popups
extends IEventDispatcher
extended by DropDownPopUpAdapter
Manages the layout and positioning of a pop-up displayed by a component like
ComboBox
or PopUpListView
.
Events:
openfl.events.Event.OPEN | Dispatched when the pop-up adapter opens,
and |
---|---|
openfl.events.Event.CLOSE | Dispatched when the pop-up adapter closes,
and |
1.0.0
.See also:
Variables
read onlyactive:Bool
Indicates if the pop-up is currently active or not.
1.0.0
.See also:
openfl.events.Event.OPEN
openfl.events.Event.CLOSE
read onlypersistent:Bool
Indicates if the pop-up adapter should manage its own closing, or if it should allow the source to close the pop-up.
1.0.0
.Methods
close():Void
Hides the pop-up.
When the callout closes, it will dispatch an event of type
Event.CLOSE
.
1.0.0
.See also:
openfl.events.Event.CLOSE
open(content:DisplayObject, source:DisplayObject):Void
Displays the pop-up.
When the adapter opens, it will dispatch an event of type Event.OPEN
.
1.0.0
.See also:
openfl.events.Event.OPEN