| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<NSSystemProperty>
chrriis.dj.nativeswing.NSSystemProperty
public enum NSSystemProperty
A class that exposes all the system properties used by DJ Native Swing.
| Enum Constant Summary | |
|---|---|
| COMPONENTS_DEBUG_PRINTOPTIONSnativeswing.components.debug.printOptions = true/false (default: false) Set whether the options used to create a component should be printed. | |
| COMPONENTS_DEBUG_PRINTSHAPECOMPUTINGnativeswing.components.debug.printShapeComputing = true/false (default: false) Set whether the computation of the shape applied to the native component (when the visibility constraint option is active) should be printed. | |
| COMPONENTS_FORCESINGLERECTANGLESHAPESnativeswing.components.forceSingleRectangleShapes = true/false (default: false) Certain platforms only support shapes for native components that resolve to single rectangles. | |
| DEPENDENCIES_CHECKVERSIONSnativeswing.dependencies.checkVersions = true/false (default: true) Set whether the versions of the dependencies should be checked when possible. | |
| INTEGRATION_ACTIVEnativeswing.integration.active = true/false (default: true) Set whether native integration should be active. | |
| LOCALHOSTADDRESSnativeswing.localhostAddress = <String> or "_localhost_" (default: auto-detect, usually 127.0.0.1) Set the address that is used as the local host address for all the internal communication channels that require a sockets (local web server, etc.). | |
| LOCALHOSTADDRESS_DEBUG_PRINTnativeswing.localhostAddress.debug.print = true/false (default: false) Set whether the address found as the local host address should be printed. | |
| LOCALHOSTADDRESS_DEBUG_PRINTDETECTIONnativeswing.localhostAddress.debug.printDetection = true/false (default: false) Set whether to print the steps of local host address detection. | |
| WEBSERVER_DEBUG_PRINTDATAnativeswing.webserver.debug.printData = true/false/ Set whether the web server should print the data it sends (or how many bytes to print). | |
| WEBSERVER_DEBUG_PRINTPORTnativeswing.webserver.debug.printPort = true/false (default: false) Set whether the port that is used by the embedded web server should be printed. | |
| WEBSERVER_DEBUG_PRINTREQUESTSnativeswing.webserver.debug.printRequests = true/false (default: false) Set whether the web server should print the requests it receives, along with the result (200 or 404). | |
| Method Summary | |
|---|---|
|  String | get() | 
|  String | get(String defaultValue) | 
|  String | getName() | 
|  boolean | isReadOnly()whether this property should not be modified (i.e. | 
|  String | set(String value) | 
|  String | toDebugString() | 
|  String | toString() | 
| static NSSystemProperty | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static NSSystemProperty[] | values()Returns an array containing the constants of this enum type, in the order they are declared. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final NSSystemProperty LOCALHOSTADDRESS
public static final NSSystemProperty LOCALHOSTADDRESS_DEBUG_PRINTDETECTION
public static final NSSystemProperty LOCALHOSTADDRESS_DEBUG_PRINT
public static final NSSystemProperty WEBSERVER_DEBUG_PRINTPORT
public static final NSSystemProperty WEBSERVER_DEBUG_PRINTREQUESTS
public static final NSSystemProperty WEBSERVER_DEBUG_PRINTDATA
public static final NSSystemProperty COMPONENTS_DEBUG_PRINTOPTIONS
public static final NSSystemProperty COMPONENTS_DEBUG_PRINTSHAPECOMPUTING
public static final NSSystemProperty COMPONENTS_FORCESINGLERECTANGLESHAPES
public static final NSSystemProperty INTEGRATION_ACTIVE
public static final NSSystemProperty DEPENDENCIES_CHECKVERSIONS
| Method Detail | 
|---|
public static NSSystemProperty[] values()
for (NSSystemProperty c : NSSystemProperty.values()) System.out.println(c);
public static NSSystemProperty valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String get()
null if there is no property with that key.System.getProperty(String), 
AccessController.doPrivileged(PrivilegedAction)public String get(String defaultValue)
defaultValue - the default value to return if the property is not defined.
System.getProperty(String), 
AccessController.doPrivileged(PrivilegedAction)public String set(String value)
value - the new value
UnsupportedOperationException - if this property is read-onlySystem.setProperty(String, String), 
AccessController.doPrivileged(PrivilegedAction), 
isReadOnly()public String getName()
public boolean isReadOnly()
System.setProperty(String, String)
 directly. It's use is discouraged though (as it might not have the
 desired effect)
true if this property should not be modifiedpublic String toString()
toString in class Enum<NSSystemProperty>get()get()public String toDebugString()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||