|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.toolkit.utils.HWMJavaScript
public class HWMJavaScript
Title: HWMJavaScript
Description: Class that helps in executing a Java script
Company: Altair Engineering, Inc.
Constructor Summary | |
---|---|
HWMJavaScript()
Concstructor. |
|
HWMJavaScript(java.lang.Object objScope)
Concstructor. |
Method Summary | |
---|---|
java.lang.Object |
ExecuteScript(java.lang.Object objScope,
java.lang.String strJavaScript)
Execute the java scripts and return the result |
java.lang.Object |
ExecuteScript(java.lang.String strJavaScript)
Execute the java scripts and return the result |
java.lang.Object |
GetContext(java.lang.String szContKey)
Retrieves a context value. |
void |
PutContext(java.lang.String szContKey,
java.lang.Object objContValue)
Stores a javascript scope contect object value. |
java.lang.Object |
RemoveContext(java.lang.String szContKey)
Removes a context value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HWMJavaScript(java.lang.Object objScope)
public HWMJavaScript()
Method Detail |
---|
public void PutContext(java.lang.String szContKey, java.lang.Object objContValue)
szPrefKey
- The key to store the preference underobjPrefValue
- The value of the preferencepublic java.lang.Object GetContext(java.lang.String szContKey)
szContKey
- The key of the context
public java.lang.Object RemoveContext(java.lang.String szContKey)
objContKey
- The key of the value to remove
public java.lang.Object ExecuteScript(java.lang.Object objScope, java.lang.String strJavaScript) throws java.lang.Exception
The
- current scopeThe
- script to execute
java.lang.Exception
public java.lang.Object ExecuteScript(java.lang.String strJavaScript) throws java.lang.Exception
The
- script to execute
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |