Packagesekati.managers
Classpublic final class ContextMenuManager
InheritanceContextMenuManager Inheritance flash.events.EventDispatcher

ContextMenuManager provides a customizable application level 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

sekati.ui.ContextualMenu
sekati.core.App
sekati.core.Bootstrap


Public Properties
 PropertyDefined by
  $ : ContextMenuManager
[static][read-only] Shorthand singleton accessor getter
ContextMenuManager
  menu : ContextualMenu
[read-only] Return the ContextualMenu for direct manipulation.
ContextMenuManager
Public Methods
 MethodDefined 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
Protected Methods
 MethodDefined 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 detail
$property
$:ContextMenuManager  [read-only]

Shorthand singleton accessor getter

Implementation
    public static function get $():ContextMenuManager
menuproperty 
menu:ContextualMenu  [read-only]

Return the ContextualMenu for direct manipulation.

Implementation
    public function get menu():ContextualMenu
Constructor detail
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.
Method detail
apiHandler()method
protected function apiHandler(e:ContextMenuEvent):void

Link API credits in ContextMenu.

Parameters
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.

Parameters
e:ContextMenuEvent (default = null)
getInstance()method 
public static function getInstance():ContextMenuManager

Singleton Accessor

Returns
ContextMenuManager — ContextMenuManager
performanceMonitorHandler()method 
protected function performanceMonitorHandler(e:ContextMenuEvent = null):void

Handle Performance Monitor ContextMenu selection.

Parameters
e:ContextMenuEvent (default = null)
playerInfoHandler()method 
protected function playerInfoHandler(e:ContextMenuEvent):void

Link player info to www.playerversion.com in ContextMenu.

Parameters
e:ContextMenuEvent