Packagefeathers.controls.popups
Classpublic class DropDownPopUpContentManager
InheritanceDropDownPopUpContentManager Inheritance EventDispatcher Inheritance Object
Implements IPopUpContentManager

Displays pop-up content as a desktop-style drop-down.



Public Methods
 MethodDefined By
  
Constructor.
DropDownPopUpContentManager
 Inherited
addEventListener(type:String, listener:Function):void
Registers an event listener at a certain object.
EventDispatcher
  
close():void
Closes the pop-up content.
DropDownPopUpContentManager
 Inherited
dispatchEvent(event:Event):void
Dispatches an event to all objects that have registered listeners for its type.
EventDispatcher
 Inherited
dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void
Dispatches an event with the given parameters to all objects that have registered listeners for the given type.
EventDispatcher
  
dispose():void
Cleans up the manager.
DropDownPopUpContentManager
 Inherited
hasEventListener(type:String):Boolean
Returns if there are listeners registered for a certain event type.
EventDispatcher
  
open(content:DisplayObject, source:DisplayObject):void
Displays the pop-up content.
DropDownPopUpContentManager
 Inherited
removeEventListener(type:String, listener:Function):void
Removes an event listener from the object.
EventDispatcher
 Inherited
removeEventListeners(type:String = null):void
Removes all event listeners with a certain type, or all of them if type is null.
EventDispatcher
Events
 Event Summary Defined By
  DropDownPopUpContentManager
Constructor Detail
DropDownPopUpContentManager()Constructor
public function DropDownPopUpContentManager()

Constructor.

Method Detail
close()method
public function close():void

Closes the pop-up content. If it is not opened, nothing happens.

dispose()method 
public function dispose():void

Cleans up the manager.

open()method 
public function open(content:DisplayObject, source:DisplayObject):void

Displays the pop-up content.

Parameters

content:DisplayObject — The content for the pop-up content manager to display.
 
source:DisplayObject — The source of the pop-up. May be used to position and/or size the pop-up. May be completely ignored instead.

Event Detail
close Event
Event Object Type: starling.events.Event