ParaScripting::ParaBrowserManager Class Reference
[ParaUI]

List of all members.

Detailed Description

managing HTML browsers


Static Public Member Functions

static ParaHTMLBrowser GetBrowserWindow (const char *sFileName)
 get ParaHTMLBrowser by name.
static ParaHTMLBrowser GetBrowserWindow1 (int nWindowID)
 get ParaHTMLBrowser by nWindowID.
static ParaHTMLBrowser createBrowserWindow (const char *sFileName, int browserWindowWidth, int browserWindowHeight)
 create a new browser window with the given name and dimension in pixels.
static bool reset ()
static bool clearCache ()
static int getLastError ()
static const char * getVersion ()
static int GetMaxWindowNum ()
static void SetMaxWindowNum (int nNum)
static void onPageChanged (const char *strScriptName)
 set event handler.
static void onNavigateBegin (const char *strScriptName)
 set event handler.
static void onNavigateComplete (const char *strScriptName)
 set event handler.
static void onUpdateProgress (const char *strScriptName)
 set event handler.
static void onStatusTextChange (const char *strScriptName)
 set event handler.
static void onLocationChange (const char *strScriptName)
 set event handler.
static void onClickLinkHref (const char *strScriptName)
 set event handler.


Member Function Documentation

ParaScripting::ParaHTMLBrowser ParaScripting::ParaBrowserManager::GetBrowserWindow ( const char *  sFileName  )  [static]

get ParaHTMLBrowser by name.

this function does not create any player if there is no browser with the given name.

ParaScripting::ParaHTMLBrowser ParaScripting::ParaBrowserManager::GetBrowserWindow1 ( int  nWindowID  )  [static]

get ParaHTMLBrowser by nWindowID.

this function does not create any player if there is no browser at the given index.

void ParaScripting::ParaBrowserManager::onPageChanged ( const char *  strScriptName  )  [static]

set event handler.

the scripting interface will receive a msg table for the following type msg={windowid=number, value=[ValueInt|ValueString|nil]} where value is nil

Parameters:
strScriptName,: format is "[neuronfile];sCode";

void ParaScripting::ParaBrowserManager::onNavigateBegin ( const char *  strScriptName  )  [static]

set event handler.

the scripting interface will receive a msg table for the following type msg={windowid=number, value=[ValueInt|ValueString|nil]} where value is a string

Parameters:
strScriptName,: format is "[neuronfile];sCode";

void ParaScripting::ParaBrowserManager::onNavigateComplete ( const char *  strScriptName  )  [static]

set event handler.

the scripting interface will receive a msg table for the following type msg={windowid=number, value=[ValueInt|ValueString|nil]} where value is a string

Parameters:
strScriptName,: format is "[neuronfile];sCode";

void ParaScripting::ParaBrowserManager::onUpdateProgress ( const char *  strScriptName  )  [static]

set event handler.

the scripting interface will receive a msg table for the following type msg={windowid=number, value=[ValueInt|ValueString|nil]} where value is a int of [0-100]

Parameters:
strScriptName,: format is "[neuronfile];sCode";

void ParaScripting::ParaBrowserManager::onStatusTextChange ( const char *  strScriptName  )  [static]

set event handler.

the scripting interface will receive a msg table for the following type msg={windowid=number, value=[ValueInt|ValueString|nil]} where value is a string of status text

Parameters:
strScriptName,: format is "[neuronfile];sCode";

void ParaScripting::ParaBrowserManager::onLocationChange ( const char *  strScriptName  )  [static]

set event handler.

the scripting interface will receive a msg table for the following type msg={windowid=number, value=[ValueInt|ValueString|nil]} where value is a string

Parameters:
strScriptName,: format is "[neuronfile];sCode";

void ParaScripting::ParaBrowserManager::onClickLinkHref ( const char *  strScriptName  )  [static]

set event handler.

the scripting interface will receive a msg table for the following type msg={windowid=number, value=[ValueInt|ValueString|nil]} where value is a string of HRef

Parameters:
strScriptName,: format is "[neuronfile];sCode";


Generated on Mon Dec 1 14:34:44 2008 for NPL Scripting Reference for ParaEngine by  doxygen 1.5.2