GODPAPER | All Packages | All Classes | Index | Frames No Frames |
IPopUpContentManager

Package | feathers.controls.popups
Interface | public interface IPopUpContentManager
Implementors | CalloutPopUpContentManager, DropDownPopUpContentManager, VerticalCenteredPopUpContentManager

Automatically manages pop-up content layout and positioning.

Public Methods

| Method | Defined By
--- | --- | ---
|  | close():void Closes the pop-up content. | IPopUpContentManager
|  | dispose():void Cleans up the manager. | IPopUpContentManager
|  | open(content:DisplayObject, source:DisplayObject):void Displays the pop-up content. | IPopUpContentManager

Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | close | Dispatched when the pop-up content closes. | IPopUpContentManager

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`
Event.type property = `starling.events.Event.CLOSE`

Dispatched when the pop-up content closes.

An event type to be utilized in custom events. Not used by Starling right now.

Thu Jan 16 2014, 01:11 PM +08:00