| Package | sekati.managers |
| Class | public final class ContextMenuManager |
| Inheritance | ContextMenuManager flash.events.EventDispatcher |
ContextMenu
when implementing the API. A basic set of items are set at default; such as
application name, version & fullscreen toggle. These may be controlled via
config.xml. Customizations may be made easily via the menu
getter.
See also
| Property | Defined by | ||
|---|---|---|---|
| $ : ContextMenuManager
[static][read-only]
Shorthand singleton accessor getter
| ContextMenuManager | ||
| menu : ContextualMenu
[read-only]
Return the
ContextualMenu for direct manipulation. | ContextMenuManager | ||
| Method | Defined by | ||
|---|---|---|---|
|
ContextMenuManager($:SingletonEnforcer = null)
ContextMenuManager Singleton Constructor
| ContextMenuManager | ||
|
build():void
Build (or rebuild) the
ContextualMenu to display the App info,
credits, controls, fullscreen & other customizations. | ContextMenuManager | ||
|
[static]
Singleton Accessor
| ContextMenuManager | ||
| Method | Defined by | ||
|---|---|---|---|
|
apiHandler(e:ContextMenuEvent):void
Link API credits in
ContextMenu. | ContextMenuManager | ||
|
fullscreenHandler(e:ContextMenuEvent = null):void
Handle fullscreen
ContextMenu selection. | ContextMenuManager | ||
|
performanceMonitorHandler(e:ContextMenuEvent = null):void
Handle Performance Monitor
ContextMenu selection. | ContextMenuManager | ||
|
playerInfoHandler(e:ContextMenuEvent):void
Link player info to www.playerversion.com in
ContextMenu. | ContextMenuManager | ||
| $ | property |
$:ContextMenuManager [read-only]Shorthand singleton accessor getter
Implementation public static function get $():ContextMenuManager
| menu | property |
menu:ContextualMenu [read-only]
Return the ContextualMenu for direct manipulation.
public function get menu():ContextualMenu
| ContextMenuManager | () | constructor |
public function ContextMenuManager($:SingletonEnforcer = null)ContextMenuManager Singleton Constructor
Parameters$:SingletonEnforcer (default = null) — SingletonEnforcer - internal to the AS file; the param prevents external instantiation without error.
|
| apiHandler | () | method |
protected function apiHandler(e:ContextMenuEvent):void
Link API credits in ContextMenu.
e:ContextMenuEvent |
| build | () | method |
public function build():void
Build (or rebuild) the ContextualMenu to display the App info,
credits, controls, fullscreen & other customizations.
| fullscreenHandler | () | method |
protected function fullscreenHandler(e:ContextMenuEvent = null):void
Handle fullscreen ContextMenu selection.
e:ContextMenuEvent (default = null) |
| getInstance | () | method |
public static function getInstance():ContextMenuManagerSingleton Accessor
ReturnsContextMenuManager —
ContextMenuManager
|
| performanceMonitorHandler | () | method |
protected function performanceMonitorHandler(e:ContextMenuEvent = null):void
Handle Performance Monitor ContextMenu selection.
e:ContextMenuEvent (default = null) |
| playerInfoHandler | () | method |
protected function playerInfoHandler(e:ContextMenuEvent):void
Link player info to www.playerversion.com in ContextMenu.
e:ContextMenuEvent |