|
S-PLUS Connect/Java v1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.insightful.splus.SplusOptionsManager
Support for Java GUI options.
This class maintains a HashMap of String key/value pairs which reflects the option values set in the engine by javaGuiSetOptions().
The GUI fills the map on initialization, and is notified of new key/value pairs by javaGuiSetOptions() when a change is made.
Constructor Summary | |
SplusOptionsManager()
|
Method Summary | |
static String |
getOption(String key)
Get the value of an option from the HashMap. |
static void |
optionChangedInEngine(String key,
String value)
Method the engine uses to notify the GUI that some option has changed. |
static void |
setOption(String key,
String value)
Set an option to a specified value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SplusOptionsManager()
Method Detail |
public static void setOption(String key, String value)
key
- name of optionvalue
- value for optionpublic static String getOption(String key)
public static void optionChangedInEngine(String key, String value)
|
S-PLUS Connect/Java v1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |