Package | Description |
---|---|
com.realtime.crossfire.jxclient.settings |
Modifier and Type | Field and Description |
---|---|
static SettingsEntry<java.lang.Boolean> |
SettingsEntries.MESSAGE_LOG_SETTINGS_ENTRY
Whether to record of all text messages received from the server.
|
static SettingsEntry<java.lang.String> |
SettingsEntries.SERVER
The server to which the previous connection was made.
|
Modifier and Type | Method and Description |
---|---|
static SettingsEntry<java.lang.String> |
SettingsEntries.getLoginAccountSettingsEntry(java.lang.String hostname)
Returns the
SettingsEntry for the default account name on a
server. |
static SettingsEntry<java.lang.String> |
SettingsEntries.getLoginAccountSettingsEntry(java.lang.String hostname,
java.lang.String accountName)
Returns the
SettingsEntry for the default character name on an
account. |
static SettingsEntry<java.lang.Long> |
SettingsEntries.getPickupSettingsEntry(java.lang.String hostname,
java.lang.String characterName)
Returns the
SettingsEntry for the default pickup mode of a
character. |
static SettingsEntry<java.lang.String> |
SettingsEntries.getPlayerSettingsEntry(java.lang.String hostname)
Returns the
SettingsEntry for the default character name on a
server. |
Modifier and Type | Method and Description |
---|---|
boolean |
Settings.getBoolean(SettingsEntry<java.lang.Boolean> key)
Returns the boolean associated with the specified key at a node or
defaultValue if there is no association for this key. |
int |
Settings.getInt(SettingsEntry<java.lang.Integer> key)
Returns the integer associated with the specified key at a node or
defaultValue if there is no association for this key. |
long |
Settings.getLong(SettingsEntry<java.lang.Long> key)
Returns the long associated with the specified key at a node or
defaultValue if there is no association for this key. |
java.lang.String |
Settings.getString(SettingsEntry<?> key)
Returns the string associated with the specified key at a node, or
defaultValue if there is no association for this key. |
void |
Settings.putBoolean(SettingsEntry<java.lang.Boolean> key,
boolean value)
Stores a key/value pair.
|
void |
Settings.putInt(SettingsEntry<java.lang.Integer> key,
int value)
Stores a key/value pair.
|
void |
Settings.putLong(SettingsEntry<java.lang.Long> key,
long value)
Stores a key/value pair.
|
void |
Settings.putString(SettingsEntry<?> key,
java.lang.String value)
Stores a key/value pair.
|