Description |
XJavaEnvironment |
XJavaConsoleMessageHandler* phnd Pointer to a console message handler object; if NULL is passed, then a default message handler is beeing installed. int argc Number of arguments that shall be passed to the Java runtime system. char** argv Array with strings containing the parameters; possible parameters are: -v|-verbose turn on verbose mode -debug enable remote Java debugging -noasyncgc don't allow asynchronous gc's -verbosegc print a message when gc occur -ssnumber set the C stack size of a process -ossnumber set the JAVA stack size of a process -msnumber set the initial Java heap size -mxnumber set the maximum Java heap size -classpath directories separated by semicolons list directories in which to look for classes -prof output profiling data to ./java.prof -verify verify all classes when read in -verifyremote verify classes read in over the network [default] -noverify do not verify any class
The constructor of XJavaEnvironment initializes the Java virtual machines.
~XJavaEnvironment |
Constructor for the XJavaEnvironment class.
DisplayError |
int rc Error number; possible values are: JAVA_OK no error JAVA_INVALID_APPLET inavlid applet code given JAVA_INVALID_CONTEXT inavlid applet context given JAVA_INVALID_PARAMETER invalid parameter JAVA_ALREADY_INITIALIZED Java runtime system already initialized JAVA_OUT_OF_MEMORY out of memory JAVA_EXCEPTION_OCCURRED Java exception occurred JAVA_NOT_INITIALIZED Java runtime system not initialized JAVA_INTERNAL_ERROR internal Java error
Opens a message box and displays an error message
Get |
XJavaEnvironment* pJEnv pointer to the actual Java environment object.
Queries the pointer to the actual Java environment object.
GetMessageHandler |
XJavaConsoleMessageHandler* pMsgHandler Pointer to the actual console message handler object.
Queries the pointer to the actual console message handler object.
GetProperty |
const char* key Name of the key (refer to the Java documentation) char* value Value that the key has int buflen Length of the buffer for the value int* pvallen Real length of the key value
An error code is return; possible values are: JAVA_OK no error JAVA_INVALID_APPLET inavlid applet code given JAVA_INVALID_CONTEXT inavlid applet context given JAVA_INVALID_PARAMETER invalid parameter JAVA_ALREADY_INITIALIZED Java runtime system already initialized JAVA_OUT_OF_MEMORY out of memory JAVA_EXCEPTION_OCCURRED Java exception occurred JAVA_NOT_INITIALIZED Java runtime system not initialized JAVA_INTERNAL_ERROR internal Java error
Queries a property value from the Java runtime system.
GetShowURLHandler |
XWindow* owner Pointer to the window object to which the handler belongs to.
Pointer to the actual url show handler object.
Queries the pointer to the actual url show handler object.
GetStatusMsgHandler |
XWindow* owner Pointer to the window object to which the handler belongs to.
Pointer to the actual status message handler.
Queries the pointer to the actual status message handler object.
GetVersion |
int* piMajor The major version number. int* piMinor The Minor version number. An error code is return; possible values are: JAVA_OK no error JAVA_INVALID_APPLET inavlid applet code given JAVA_INVALID_CONTEXT inavlid applet context given JAVA_INVALID_PARAMETER invalid parameter JAVA_ALREADY_INITIALIZED Java runtime system already initialized JAVA_OUT_OF_MEMORY out of memory JAVA_EXCEPTION_OCCURRED Java exception occurred JAVA_NOT_INITIALIZED Java runtime system not initialized JAVA_INTERNAL_ERROR internal Java error
Queries the version of J-Empower.
Iconify |
XWindow* pOwnerWnd - Owner window of the applets
An error code is return; possible values are: JAVA_OK no error JAVA_INVALID_APPLET inavlid applet code given JAVA_INVALID_CONTEXT inavlid applet context given JAVA_INVALID_PARAMETER invalid parameter JAVA_ALREADY_INITIALIZED Java runtime system already initialized JAVA_OUT_OF_MEMORY out of memory JAVA_EXCEPTION_OCCURRED Java exception occurred JAVA_NOT_INITIALIZED Java runtime system not initialized JAVA_INTERNAL_ERROR internal Java error
Notifies the applets of a window that the window has been minimized.
SetMessageHandler |
XJavaConsoleMessageHandler* handler pointer to the handler object
An error code is return; possible values are: JAVA_OK no error JAVA_INVALID_APPLET inavlid applet code given JAVA_INVALID_CONTEXT inavlid applet context given JAVA_INVALID_PARAMETER invalid parameter JAVA_ALREADY_INITIALIZED Java runtime system already initialized JAVA_OUT_OF_MEMORY out of memory JAVA_EXCEPTION_OCCURRED Java exception occurred JAVA_NOT_INITIALIZED Java runtime system not initialized JAVA_INTERNAL_ERROR internal Java error
Sets a new console message handler object. Please remember to delete the old message handler object if there is one.
SetProperty |
const char* key Name of the key (refer to the Java documentation) char* value New value that the key has
An error code is return; possible values are: JAVA_OK no error JAVA_INVALID_APPLET inavlid applet code given JAVA_INVALID_CONTEXT inavlid applet context given JAVA_INVALID_PARAMETER invalid parameter JAVA_ALREADY_INITIALIZED Java runtime system already initialized JAVA_OUT_OF_MEMORY out of memory JAVA_EXCEPTION_OCCURRED Java exception occurred JAVA_NOT_INITIALIZED Java runtime system not initialized JAVA_INTERNAL_ERROR internal Java error
Sets a property value of the Java runtime system.
SetShowURLHandler |
XWindow* wnd pointer to the window object that holds an applet XJavaShowURLHandler* hnd pointer to the handler object
An error code is return; possible values are: JAVA_OK no error JAVA_INVALID_APPLET inavlid applet code given JAVA_INVALID_CONTEXT inavlid applet context given JAVA_INVALID_PARAMETER invalid parameter JAVA_ALREADY_INITIALIZED Java runtime system already initialized JAVA_OUT_OF_MEMORY out of memory JAVA_EXCEPTION_OCCURRED Java exception occurred JAVA_NOT_INITIALIZED Java runtime system not initialized JAVA_INTERNAL_ERROR internal Java error
Sets a new console url show handler object. Please remember to delete the old handler object if there is one.
SetStatusMsgHandler |
XWindow* wnd pointer to the window object that holds an applet XJavaStatusMsgHandler* hnd pointer to the handler object
An error code is return; possible values are: JAVA_OK no error JAVA_INVALID_APPLET inavlid applet code given JAVA_INVALID_CONTEXT inavlid applet context given JAVA_INVALID_PARAMETER invalid parameter JAVA_ALREADY_INITIALIZED Java runtime system already initialized JAVA_OUT_OF_MEMORY out of memory JAVA_EXCEPTION_OCCURRED Java exception occurred JAVA_NOT_INITIALIZED Java runtime system not initialized JAVA_INTERNAL_ERROR internal Java error
Sets a new status message handler object. Please remember to delete the old handler object if there is one.
Uniconify |
XWindow* pOwnerWnd - Owner window of the applets
An error code is return; possible values are: JAVA_OK no error JAVA_INVALID_APPLET inavlid applet code given JAVA_INVALID_CONTEXT inavlid applet context given JAVA_INVALID_PARAMETER invalid parameter JAVA_ALREADY_INITIALIZED Java runtime system already initialized JAVA_OUT_OF_MEMORY out of memory JAVA_EXCEPTION_OCCURRED Java exception occurred JAVA_NOT_INITIALIZED Java runtime system not initialized JAVA_INTERNAL_ERROR internal Java error
Notifies the applets of a window that the window has been restored.