|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NSSystemPropertySWT> chrriis.dj.nativeswing.swtimpl.NSSystemPropertySWT
public enum NSSystemPropertySWT
A class that exposes all the system properties used by the DJ Native Swing SWT implementation.
Enum Constant Summary | |
---|---|
COMPONENTS_DEBUG_PRINTCREATION
nativeswing.components.debug.printCreation = true/false (default: false) Set whether the creation of a native component should be printed. |
|
COMPONENTS_DEBUG_PRINTDISPOSAL
nativeswing.components.debug.printDisposal = true/false (default: false) Set whether the disposal of a native component should be printed. |
|
COMPONENTS_DEBUG_PRINTFAILEDMESSAGES
nativeswing.components.debug.printFailedMessages = true/false (default: false) Set whether the messages that did not reach the native component should be printed. |
|
COMPONENTS_DEBUG_PRINTOPTIONS
nativeswing.components.debug.printOptions = true/false (default: false) Set whether the options used to create a component should be printed. |
|
COMPONENTS_DEBUG_PRINTSHAPECOMPUTING
nativeswing.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_SWALLOWRUNTIMEEXCEPTIONS
nativeswing.components.swallowRuntimeExceptions = true/false (default: false) Set whether synchronous component methods should swallow runtime exceptions and return dummy results. |
|
DEPENDENCIES_CHECKVERSIONS
nativeswing.dependencies.checkVersions = true/false (default: true) Set whether the versions of the dependencies should be checked when possible. |
|
INTEGRATION_ACTIVE
nativeswing.integration.active = true/false (default: true) Set whether native integration should be active. |
|
INTERFACE_DEBUG_PRINTMESSAGES
nativeswing.interface.debug.printMessages = true/false (default: false) Set whether to print the messages that are exchanged. |
|
INTERFACE_INPROCESS
nativeswing.interface.inProcess = true/false (default: platform-dependant) Set whether the interface should be in-process or out-process. |
|
INTERFACE_INPROCESS_PRINTNONSERIALIZABLEMESSAGES
nativeswing.interface.inProcess.printNonSerializableMessages = true/false (default: false) When in-process, set whether messages should be artificially serialized to check whether they would be compatible with the out-process mode. |
|
INTERFACE_OUTPROCESS_COMMUNICATION
nativeswing.interface.outProcess.communication = sockets/processio (default: sockets) Set whether the communication interface should use sockets or the process IO. |
|
INTERFACE_PORT
nativeswing.interface.port = <integer> (default: -1) Force the port to use to communicate with the spawned VM. |
|
INTERFACE_STREAMRESETTHRESHOLD
nativeswing.interface.streamResetThreshold = <integer> (default: 500000) Set the number of bytes that need to be exchanged to trigger a reset of the Object communication stream. |
|
INTERFACE_SYNCMESSAGES
nativeswing.interface.syncMessages = true/false (default: false) Set whether all asynchronous messages should be sent synchronously. |
|
LOCALHOSTADDRESS
nativeswing.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 socket (local web server, etc.). |
|
LOCALHOSTADDRESS_DEBUG_PRINT
nativeswing.localhostAddress.debug.print = true/false (default: false) Set whether the address found as the local host address should be printed. |
|
LOCALHOSTADDRESS_DEBUG_PRINTDETECTION
nativeswing.localhostAddress.debug.printDetection = true/false (default: false) Set whether to print the steps of local host address detection. |
|
PEERVM_CREATE
nativeswing.peervm.create = true/false (default: true) Set whether the peer VM should be created. |
|
PEERVM_DEBUG_PRINTCOMMANDLINE
nativeswing.peervm.debug.printCommandLine = true/false (default: false) Set whether the command line that is used to spawn the peer VM should be printed. |
|
PEERVM_DEBUG_PRINTSTARTMESSAGE
nativeswing.peervm.debug.printStartMessage = true/false (default: false) Set whether a message should be printed when the peer VM is launched, in order to check that the peer VM could be created. |
|
PEERVM_DEBUG_PRINTSTOPMESSAGE
nativeswing.peervm.debug.printStopMessage = true/false (default: false) Set whether a message should be printed when the peer VM stops, in order to know that it stopped on purpose and not because of a crash. |
|
PEERVM_FORCEPROXYCLASSLOADER
nativeswing.peervm.forceProxyClassLoader = true/false (default: false) Force the use of the proxy class loader. |
|
PEERVM_KEEPALIVE
nativeswing.peervm.keepAlive = true/false (default: false) Set whether the peer VM should die after a timeout. |
|
SWT_DEVICE_DEBUG
nativeswing.swt.device.debug = true/false (default: false) Set whether the SWT Device debugging is active. |
|
VLCPLAYER_FIXPLAYLISTAUTOPLAYNEXT
nativeswing.vlcplayer.fixPlaylistAutoPlayNext = true/false (default: true) VLC seems to have a bug: it does not automatically play the next queued item. |
|
WEBBROWSER_RUNTIME
nativeswing.webbrowser.runtime = xulrunner/webkit (default: none) Set the runtime of the web browser. |
|
WEBBROWSER_XULRUNNER_HOME
nativeswing.webbrowser.xulrunner.home = <path to XULRunner> Set which XULRunner installation is used. |
|
WEBSERVER_DEBUG_PRINTPORT
nativeswing.webserver.debug.printPort = true/false (default: false) Set whether the port that is used by the embedded web server should be printed. |
|
WEBSERVER_DEBUG_PRINTREQUESTS
nativeswing.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 NSSystemPropertySWT |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NSSystemPropertySWT[] |
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 NSSystemPropertySWT LOCALHOSTADDRESS
public static final NSSystemPropertySWT LOCALHOSTADDRESS_DEBUG_PRINTDETECTION
public static final NSSystemPropertySWT LOCALHOSTADDRESS_DEBUG_PRINT
public static final NSSystemPropertySWT WEBSERVER_DEBUG_PRINTPORT
public static final NSSystemPropertySWT WEBSERVER_DEBUG_PRINTREQUESTS
public static final NSSystemPropertySWT COMPONENTS_DEBUG_PRINTOPTIONS
public static final NSSystemPropertySWT COMPONENTS_DEBUG_PRINTSHAPECOMPUTING
public static final NSSystemPropertySWT INTEGRATION_ACTIVE
public static final NSSystemPropertySWT DEPENDENCIES_CHECKVERSIONS
public static final NSSystemPropertySWT INTERFACE_PORT
public static final NSSystemPropertySWT INTERFACE_STREAMRESETTHRESHOLD
public static final NSSystemPropertySWT INTERFACE_SYNCMESSAGES
public static final NSSystemPropertySWT INTERFACE_DEBUG_PRINTMESSAGES
public static final NSSystemPropertySWT INTERFACE_INPROCESS
public static final NSSystemPropertySWT INTERFACE_OUTPROCESS_COMMUNICATION
public static final NSSystemPropertySWT INTERFACE_INPROCESS_PRINTNONSERIALIZABLEMESSAGES
public static final NSSystemPropertySWT PEERVM_CREATE
public static final NSSystemPropertySWT PEERVM_KEEPALIVE
public static final NSSystemPropertySWT PEERVM_FORCEPROXYCLASSLOADER
public static final NSSystemPropertySWT PEERVM_DEBUG_PRINTSTARTMESSAGE
public static final NSSystemPropertySWT PEERVM_DEBUG_PRINTSTOPMESSAGE
public static final NSSystemPropertySWT PEERVM_DEBUG_PRINTCOMMANDLINE
public static final NSSystemPropertySWT COMPONENTS_DEBUG_PRINTFAILEDMESSAGES
public static final NSSystemPropertySWT COMPONENTS_DEBUG_PRINTCREATION
public static final NSSystemPropertySWT COMPONENTS_DEBUG_PRINTDISPOSAL
public static final NSSystemPropertySWT COMPONENTS_SWALLOWRUNTIMEEXCEPTIONS
public static final NSSystemPropertySWT WEBBROWSER_RUNTIME
public static final NSSystemPropertySWT WEBBROWSER_XULRUNNER_HOME
public static final NSSystemPropertySWT VLCPLAYER_FIXPLAYLISTAUTOPLAYNEXT
public static final NSSystemPropertySWT SWT_DEVICE_DEBUG
Method Detail |
---|
public static NSSystemPropertySWT[] values()
for (NSSystemPropertySWT c : NSSystemPropertySWT.values()) System.out.println(c);
public static NSSystemPropertySWT 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<NSSystemPropertySWT>
get()
get()
public String toDebugString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |