View source
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
.
Available since
1.0.0
.See also:
Variables
read onlyactive:Bool
Indicates if the pop-up is currently active or not.
Available since
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.
Available since
1.0.0
.Methods
close():Void
Hides the pop-up.
When the callout closes, it will dispatch an event of type
Event.CLOSE
.
Available since
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
.
Available since
1.0.0
.See also:
openfl.events.Event.OPEN