| Package | feathers.controls.popups |
| Class | public class VerticalCenteredPopUpContentManager |
| Inheritance | VerticalCenteredPopUpContentManager EventDispatcher Object |
| Implements | IPopUpContentManager |
| Property | Defined By | ||
|---|---|---|---|
| marginBottom : Number = 0
The minimum space, in pixels, between the bottom edge of the content
and the bottom edge of the stage. | VerticalCenteredPopUpContentManager | ||
| marginLeft : Number = 0
The minimum space, in pixels, between the left edge of the content
and the left edge of the stage. | VerticalCenteredPopUpContentManager | ||
| marginRight : Number = 0
The minimum space, in pixels, between the right edge of the content
and the right edge of the stage. | VerticalCenteredPopUpContentManager | ||
| marginTop : Number = 0
The minimum space, in pixels, between the top edge of the content and
the top edge of the stage. | VerticalCenteredPopUpContentManager | ||
| Method | Defined By | ||
|---|---|---|---|
Constructor. | VerticalCenteredPopUpContentManager | ||
![]() | addEventListener(type:String, listener:Function):void Registers an event listener at a certain object. | EventDispatcher | |
close():void
Closes the pop-up content. | VerticalCenteredPopUpContentManager | ||
![]() | dispatchEvent(event:Event):void Dispatches an event to all objects that have registered listeners for its type. | EventDispatcher | |
![]() | 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. | VerticalCenteredPopUpContentManager | ||
![]() | hasEventListener(type:String):Boolean Returns if there are listeners registered for a certain event type. | EventDispatcher | |
Displays the pop-up content. | VerticalCenteredPopUpContentManager | ||
![]() | removeEventListener(type:String, listener:Function):void Removes an event listener from the object. | EventDispatcher | |
![]() | removeEventListeners(type:String = null):void Removes all event listeners with a certain type, or all of them if type is null. | EventDispatcher | |
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| VerticalCenteredPopUpContentManager | ||||
| marginBottom | property |
public var marginBottom:Number = 0The minimum space, in pixels, between the bottom edge of the content and the bottom edge of the stage.
| marginLeft | property |
public var marginLeft:Number = 0The minimum space, in pixels, between the left edge of the content and the left edge of the stage.
| marginRight | property |
public var marginRight:Number = 0The minimum space, in pixels, between the right edge of the content and the right edge of the stage.
| marginTop | property |
public var marginTop:Number = 0The minimum space, in pixels, between the top edge of the content and the top edge of the stage.
| VerticalCenteredPopUpContentManager | () | Constructor |
public function VerticalCenteredPopUpContentManager()Constructor.
| close | () | method |
public function close():voidCloses the pop-up content. If it is not opened, nothing happens.
| dispose | () | method |
public function dispose():voidCleans up the manager.
| open | () | method |
public function open(content:DisplayObject, source:DisplayObject):voidDisplays 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.
|
| close | Event |