public class SystemProperties
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
codebase |
private static java.lang.String |
codebase_value |
private static boolean |
isDebug |
private static java.util.Hashtable |
jfxprop_list |
private static java.lang.String[] |
jfxprop_table
JavaFX Specific System Properties table.
|
private static java.util.Hashtable |
sysprop_list |
private static java.lang.String[] |
sysprop_table
JavaFX System Properties table.
|
private static java.lang.String |
versionResourceName |
Constructor and Description |
---|
SystemProperties() |
Modifier and Type | Method and Description |
---|---|
static void |
addProperties(java.lang.String[] table,
boolean jfx_specific)
Registers a statically allocated System Properties table
Once registered properties listed in the table are availabe for inquiry through FX.getProperty().
|
static void |
clearProperty(java.lang.String key) |
static java.lang.String |
getCodebase() |
static java.lang.String |
getProperty(java.lang.String key) |
private static java.lang.String |
getValue(java.lang.String toSearch,
java.lang.String name) |
static boolean |
isDebug() |
static void |
setCodebase(java.lang.String value) |
static void |
setFXProperty(java.lang.String key,
java.lang.String value)
Adds a new JavaFX specific property or modifyies existing property value.
|
private static void |
setVersions() |
private static final java.lang.String[] sysprop_table
private static final java.lang.String[] jfxprop_table
private static final java.util.Hashtable sysprop_list
private static final java.util.Hashtable jfxprop_list
private static final java.lang.String versionResourceName
private static boolean isDebug
private static java.lang.String codebase_value
public static final java.lang.String codebase
private static void setVersions()
private static java.lang.String getValue(java.lang.String toSearch, java.lang.String name)
public static void addProperties(java.lang.String[] table, boolean jfx_specific)
table
- System Properties tablejfx_specific
- Indicates the table contains JavaFX specific propertiespublic static java.lang.String getProperty(java.lang.String key)
public static void clearProperty(java.lang.String key)
public static void setFXProperty(java.lang.String key, java.lang.String value)
key
- JavaFX Property namevalue
- Property valuejava.lang.NullPointerException
- if key or value is nullpublic static boolean isDebug()
public static java.lang.String getCodebase()
public static void setCodebase(java.lang.String value)