eDriven Framework API
PopupManager Class
NamespaceseDriven.Gui.ManagersPopupManager
eDriven Framework API
A class responsible for adding, removing and centering popups to the popup stage (system stage)
Declaration Syntax
C#Visual BasicVisual C++
public class PopupManager : EventDispatcher
Public Class PopupManager _
	Inherits EventDispatcher
public ref class PopupManager : public EventDispatcher
Members
All MembersMethodsPropertiesFields



IconMemberDescription
AddEventListener(String, EventHandler, EventPhase, Int32)
Adds the event listener
(Inherited from EventDispatcher.)
AddEventListener(String, EventHandler, EventPhase)
Adds the event listener
(Inherited from EventDispatcher.)
AddEventListener(String, EventHandler)
AddEventListener Overload Assumes that useCapturePhase is false
(Inherited from EventDispatcher.)
AddEventListener(String, EventHandler, Int32)
Adds the event listener
(Inherited from EventDispatcher.)
AddPopup(DisplayListMember, array<PopupOption>[]()[][])
Adds a popup to popup stage

AddPopup(DisplayListMember, DisplayObjectContainer, Boolean, Boolean, Boolean)
Adds a popup to popup stage

AddPopup(DisplayListMember, DisplayObjectContainer, Boolean, Boolean)
Adds a popup to popup stage

AddPopup(DisplayListMember, DisplayObjectContainer, Boolean)
Adds a popup to popup stage

AddPopup(DisplayListMember, Boolean)
Adds a popup to popup stage

AddPopup(DisplayListMember, Boolean, Boolean)
Adds a popup to popup stage

AddPopup(DisplayListMember)
Adds a popup to popup stage

CenterPopUp(DisplayObject, Boolean)
Centers the popup after it is created

CenterPopUp(DisplayObject)
Close
CLOSE
CLOSE_ALL
CloseAll
Closing
CLOSING
CreatePopup(Type, array<PopupOption>[]()[][])
Adds a popup to popup stage

CreatePopup(Type, DisplayObjectContainer, Boolean, Boolean, Boolean)
Creates the popup via factory/reflection

CreatePopup(Type, DisplayObjectContainer, Boolean, Boolean)
Creates the popup via factory/reflection

CreatePopup(Type, DisplayObjectContainer, Boolean)
Creates the popup via factory/reflection

CreatePopup(Type, DisplayObjectContainer)
Creates the popup via factory/reflection

DebugMode
DispatchEvent(Event, Boolean)
Dispatches an event with the option of late processing (immediate = TRUE/FALSE)
(Inherited from EventDispatcher.)
DispatchEvent(Event)
Dispatches an event immediatelly
(Inherited from EventDispatcher.)
Dispose()()()()
Releases all resources used by the PopupManager
(Overrides EventDispatcher.Dispose()()()().)
EnqueueEvent(Event)
Adds an event to the queue The queue will be processed when ProcessQueue() manually executed
(Inherited from EventDispatcher.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExecuteListeners(Event)
Executes event handlers listening for a particular event type
(Inherited from EventDispatcher.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
HasBubblingEventListener(String)
Returns true if there are any subscribers in bubbling hierarchy
Override in superclass
(Inherited from EventDispatcher.)
HasEventListener(String)
Returns true if EventDispatcher has any registered listeners for a specific type and phase
(Inherited from EventDispatcher.)
HasPopup(DisplayObject)
Returns true if popup is displayed

Instance
Singleton instance

IsDefaultPrevented(String, Boolean)
Exposes the cancelable event to the outside if there are listeners for that event type If default prevented, returns false If not, returns true
(Inherited from EventDispatcher.)
IsDefaultPrevented(String)
No-bubbling version
(Inherited from EventDispatcher.)
MappedToAnyPhase(String, EventHandler, EventPhase)
Returns true if handler is mapped to any of the specified phases
(Inherited from EventDispatcher.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ModalOverlayType
Modal overlay type (instantiated by the factory)

MouseDownSlot(array<Object>[]()[][])
A slot for receiving the stage resize signal

MouseWheelSlot(array<Object>[]()[][])
A slot for receiving the mouse wheel signal

Open
OPEN
Opening
OPENING
ProcessEvent(Event)
Could be overriden in a subclass (for instance to implement event bubbling)
(Inherited from EventDispatcher.)
ProcessQueue()()()()
If events are added to queue, they are waiting to be fired
in the same order they are added
(Inherited from EventDispatcher.)
RemoveAllListeners(String)
Removes all listeners for the spacified event type (both capture and bubbling phase)
(Inherited from EventDispatcher.)
RemoveAllListeners(String, EventPhase)
Removes all listeners for the spacified event type and phases
(Inherited from EventDispatcher.)
RemoveEventListener(String, EventHandler, EventPhase)
Removes the event listener
(Inherited from EventDispatcher.)
RemoveEventListener(String, EventHandler)
Removes the event listener
(Inherited from EventDispatcher.)
RemovePopup(DisplayObject)
Removes a popup from popup stage

ResizeSlot(array<Object>[]()[][])
A slot for receiving the stage resize signal When a resize received, we go through each single popup and do a removal or centering

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
EventDispatcher
 PopupManager

Assembly: eDriven.Gui (Module: eDriven.Gui) Version: 2.0.1.0 (2.0.1.0)