Class fever.app.context.haxe.HaxeContext

Implemented Interfaces

IContextFactory

Description

Builds a Haxe context for application.

See Also

Field Index

exitMETHOD, HAXE_REMOTING, isHaxeMETHOD, runProcessMETHOD

Inherited from FeverContext

Method Index

createContainer(), createDialog(), createFileSystem(), getHaxeMethod(), getInstance(), openDocument(), quit(), runProcess()

Inherited from FeverContext

Field Detail

HAXE_REMOTING

static public HAXE_REMOTING:String
Remoting connection between Haxe and Flash GUI.

exitMETHOD

static public exitMETHOD:HaxeMethod
Contstant. Haxe method name for application.exit() method.

runProcessMETHOD

static public runProcessMETHOD:HaxeMethod
Contstant. Haxe method name for runProcess() method.

isHaxeMETHOD

static public isHaxeMETHOD:HaxeMethod
Contstant. Haxe method name for context runtime checking process.

Method Detail

getHaxeMethod

static public function getHaxeMethod(method:HaxeMethod):String

Returns Haxe backend method name.

Parameters

methodMethod name to call

getInstance

static public function getInstance():HaxeContext

Returns ContextManager instance.

Use init method to define context.

createContainer

public function createContainer():ContextContainer

Creates Haxe application container.

Specified By

createContainer() in fever.app.context.abstract.IContextFactory

createFileSystem

public function createFileSystem():FileSystem

Inits Haxe FileSystem I/O.

Specified By

createFileSystem() in fever.app.context.abstract.IContextFactory

createDialog

public function createDialog():Dialog

Creates dialog system.

Specified By

createDialog() in fever.app.context.abstract.IContextFactory

openDocument

public function openDocument(path:String):Void

Opens a external document.

Specified By

openDocument() in fever.app.context.abstract.IContextFactory

runProcess

public function runProcess(app:String, args:String, workingDir:String, hidden:Boolean, waitFor:Boolean)

Run an external application.

Specified By

runProcess() in fever.app.context.abstract.IContextFactory

quit

public function quit(force:Boolean):Void

Quit application.

Specified By

quit() in fever.app.context.abstract.IContextFactory