public class StartupPrefs
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DisplayStyleDef
Default initial display style for Electric.
|
static java.lang.String |
DisplayStyleKey
Preferences key to tell the initial display style for Electric.
|
static int |
MaxUndoHistoryDef
Default aximum number of undos retained in memory.
|
static java.lang.String |
MaxUndoHistoryKey
Preferences key to tell the maximum number of undos retained in memory.
|
static int |
MemorySizeDef
Default maximum memory to use for Electric, in megatybes.
|
static java.lang.String |
MemorySizeKey
Preferences key to tell the maximum memory to use for Electric, in megatybes.
|
static int |
PermSizeDef
Default maximum permanent space of 2dn GC to use for Electric, in megatybes.
|
static java.lang.String |
PermSizeKey
Preferences key to tell the maximum permanent space of 2dn GC to use for Electric, in megatybes.
|
static boolean |
SnapshotLoggingDef
Default whether to perform snapshot logging in a temporary file.
|
static java.lang.String |
SnapshotLoggingKey
Preferences key to tell whether to perform snapshot logging in a temporary file.
|
static java.lang.String |
SoftTechnologiesDef
Default initial additional technologies for Electric.
|
static java.lang.String |
SoftTechnologiesKey
Preferences key with additional technologies for Electric.
|
static boolean |
UseClientServerDef
Default whether to use a separate client and server for Electric
|
static java.lang.String |
UseClientServerKey
Preferences key to tell whether to use a separate client and server for Electric.
|
Constructor and Description |
---|
StartupPrefs() |
Modifier and Type | Method and Description |
---|---|
static int |
getDisplayStyle()
Method to tell the initial display style for Electric.
|
static int |
getMaxUndoHistory()
Method to get the maximum number of undos retained in memory
|
static int |
getMemorySize()
Method to tell the maximum memory to use for Electric, in megatybes.
|
static int |
getPermSpace()
Method to tell the maximum permanent space of 2dn GC to use for Electric, in megatybes.
|
static java.lang.String |
getSoftTechnologies()
Method to tell the additional technologies for Electric.
|
static boolean |
getUserBoolean(java.lang.String key,
boolean def) |
static double |
getUserDouble(java.lang.String key,
double def) |
static int |
getUserInt(java.lang.String key,
int def) |
static long |
getUserLong(java.lang.String key,
long def) |
static java.lang.String |
getUserString(java.lang.String key,
java.lang.String def) |
static boolean |
isSnapshotLogging()
Method to tell whether to perform snapshot logging in a temporary file.
|
static boolean |
isUseClientServer()
Method to tell whether to use a separate client and server for Electric.
|
public static final java.lang.String SoftTechnologiesKey
public static final java.lang.String SoftTechnologiesDef
public static final java.lang.String DisplayStyleKey
public static final int DisplayStyleDef
public static final java.lang.String MaxUndoHistoryKey
public static final int MaxUndoHistoryDef
public static final java.lang.String MemorySizeKey
public static final int MemorySizeDef
public static final java.lang.String PermSizeKey
public static final int PermSizeDef
public static final java.lang.String UseClientServerKey
public static final boolean UseClientServerDef
public static final java.lang.String SnapshotLoggingKey
public static final boolean SnapshotLoggingDef
public static java.lang.String getSoftTechnologies()
public static int getDisplayStyle()
public static int getMaxUndoHistory()
public static int getMemorySize()
public static int getPermSpace()
public static boolean isUseClientServer()
public static boolean isSnapshotLogging()
public static boolean getUserBoolean(java.lang.String key, boolean def)
public static int getUserInt(java.lang.String key, int def)
public static long getUserLong(java.lang.String key, long def)
public static double getUserDouble(java.lang.String key, double def)
public static java.lang.String getUserString(java.lang.String key, java.lang.String def)