My Project
Static Public Member Functions | List of all members
ParaScripting::ParaBrowserManager Class Reference

managing HTML browsers More...

#include <ParaScriptingBrowserManager.h>

Static Public Member Functions

static ParaHTMLBrowser GetBrowserWindow (const char *sFileName)
 get ParaHTMLBrowser by name. More...
 
static ParaHTMLBrowser GetBrowserWindow1 (int nWindowID)
 get ParaHTMLBrowser by nWindowID. More...
 
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 object &strScriptName)
 set event handler. More...
 
static void onNavigateBegin (const object &strScriptName)
 set event handler. More...
 
static void onNavigateComplete (const object &strScriptName)
 set event handler. More...
 
static void onUpdateProgress (const object &strScriptName)
 set event handler. More...
 
static void onStatusTextChange (const object &strScriptName)
 set event handler. More...
 
static void onLocationChange (const object &strScriptName)
 set event handler. More...
 
static void onClickLinkHref (const object &strScriptName)
 set event handler. More...
 

Detailed Description

managing HTML browsers

Member Function Documentation

§ GetBrowserWindow()

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

§ GetBrowserWindow1()

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

§ onClickLinkHref()

static void ParaScripting::ParaBrowserManager::onClickLinkHref ( const object 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
strScriptNameformat is "[neuronfile];sCode";

§ onLocationChange()

static void ParaScripting::ParaBrowserManager::onLocationChange ( const object 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
strScriptNameformat is "[neuronfile];sCode";

§ onNavigateBegin()

static void ParaScripting::ParaBrowserManager::onNavigateBegin ( const object 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
strScriptNameformat is "[neuronfile];sCode";

§ onNavigateComplete()

static void ParaScripting::ParaBrowserManager::onNavigateComplete ( const object 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
strScriptNameformat is "[neuronfile];sCode";

§ onPageChanged()

static void ParaScripting::ParaBrowserManager::onPageChanged ( const object 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
strScriptNameformat is "[neuronfile];sCode";

§ onStatusTextChange()

static void ParaScripting::ParaBrowserManager::onStatusTextChange ( const object 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
strScriptNameformat is "[neuronfile];sCode";

§ onUpdateProgress()

static void ParaScripting::ParaBrowserManager::onUpdateProgress ( const object 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
strScriptNameformat is "[neuronfile];sCode";

The documentation for this class was generated from the following file: