Class BooleanSetting
java.lang.Object
gg.xp.xivsupport.persistence.settings.ObservableSetting
gg.xp.xivsupport.persistence.settings.BooleanSetting
- All Implemented Interfaces:
ObservableBoolean
,ObservableMutableBoolean
,Resettable
- Direct Known Subclasses:
ParentedBooleanSetting
public class BooleanSetting
extends ObservableSetting
implements ObservableMutableBoolean, Resettable
-
Constructor Summary
ConstructorDescriptionBooleanSetting
(PersistenceProvider persistence, String settingKey, boolean dflt) -
Method Summary
Methods inherited from class gg.xp.xivsupport.persistence.settings.ObservableSetting
addAndRunListener, addListener, notifyListeners, removeListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gg.xp.xivsupport.persistence.settings.ObservableBoolean
addAndRunListener, addAndRunValueListener, addListener, addValueListener, removeListener
-
Constructor Details
-
BooleanSetting
-
-
Method Details
-
isSet
public boolean isSet()- Specified by:
isSet
in interfaceResettable
-
delete
public void delete()- Specified by:
delete
in interfaceResettable
-
get
public boolean get()- Specified by:
get
in interfaceObservableBoolean
-
set
public void set(boolean newValue) - Specified by:
set
in interfaceObservableMutableBoolean
-
hasParent
public boolean hasParent()
-