public class RegistryValue
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addListener(RegistryValueListener listener,
Disposable parent) |
boolean |
asBoolean() |
double |
asDouble() |
int |
asInteger() |
java.lang.String |
asString() |
protected java.lang.String |
get(java.lang.String key,
java.lang.String defaultValue,
boolean isValue) |
java.lang.String |
getDescription() |
java.lang.String |
getKey() |
java.lang.String |
getPluginId() |
boolean |
isBoolean() |
boolean |
isChangedFromDefault() |
void |
resetToDefault() |
void |
setValue(boolean value) |
void |
setValue(boolean value,
Disposable parentDisposable) |
void |
setValue(int value) |
void |
setValue(int value,
Disposable parentDisposable) |
void |
setValue(java.lang.String value) |
void |
setValue(java.lang.String value,
Disposable parentDisposable) |
java.lang.String |
toString() |
public java.lang.String getKey()
public java.lang.String asString()
public boolean asBoolean()
public int asInteger()
public double asDouble()
public java.lang.String getDescription()
public boolean isChangedFromDefault()
public java.lang.String getPluginId()
protected java.lang.String get(java.lang.String key, java.lang.String defaultValue, boolean isValue) throws java.util.MissingResourceException
java.util.MissingResourceException
public void setValue(boolean value)
public void setValue(int value)
public void setValue(java.lang.String value)
public void setValue(boolean value, Disposable parentDisposable)
public void setValue(int value, Disposable parentDisposable)
public void setValue(java.lang.String value, Disposable parentDisposable)
public void resetToDefault()
public void addListener(RegistryValueListener listener, Disposable parent)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isBoolean()