All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scaffold.libs_as.feathers.controls.popups.IPopUpContentManager.as Maven / Gradle / Ivy

/*
Feathers
Copyright 2012-2015 Bowler Hat LLC. All Rights Reserved.

This program is free software. You can redistribute and/or modify it in
accordance with the terms of the accompanying license agreement.
*/
package feathers.controls.popups
{
	import starling.display.DisplayObject;

	/**
	 * Dispatched when the pop-up content opens.
	 *
	 * 

The properties of the event object have the following values:

* * * * * * *
PropertyValue
bubblesfalse
currentTargetThe Object that defines the * event listener that handles the event. For example, if you use * myButton.addEventListener() to register an event listener, * myButton is the value of the currentTarget.
datanull
targetThe Object that dispatched the event; * it is not always the Object listening for the event. Use the * currentTarget property to always access the Object * listening for the event.
* * @eventType starling.events.Event.OPEN */ [Event(name="open",type="starling.events.Event")] /** * Dispatched when the pop-up content closes. * *

The properties of the event object have the following values:

* * * * * * *
PropertyValue
bubblesfalse
currentTargetThe Object that defines the * event listener that handles the event. For example, if you use * myButton.addEventListener() to register an event listener, * myButton is the value of the currentTarget.
datanull
targetThe Object that dispatched the event; * it is not always the Object listening for the event. Use the * currentTarget property to always access the Object * listening for the event.
* * @eventType starling.events.Event.CLOSE */ [Event(name="close",type="starling.events.Event")] /** * Automatically manages pop-up content layout and positioning. */ public interface IPopUpContentManager { /** * Indicates if the pop-up content is open or not. */ function get isOpen():Boolean; /** * Displays the pop-up content. * * @param content The content for the pop-up content manager to display. * @param source The source of the pop-up. May be used to position and/or size the pop-up. May be completely ignored instead. */ function open(content:DisplayObject, source:DisplayObject):void; /** * Closes the pop-up content. If it is not opened, nothing happens. */ function close():void; /** * Cleans up the manager. */ function dispose():void; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy