Package gg.xp.services
Class ServiceSelector
java.lang.Object
gg.xp.xivsupport.persistence.settings.ObservableSetting
gg.xp.services.ServiceSelector
- All Implemented Interfaces:
Resettable
- Direct Known Subclasses:
AutoMarkServiceSelector
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedServiceSelector(PersistenceProvider pers, String propStub) protectedServiceSelector(StringSetting setting) -
Method Summary
Modifier and TypeMethodDescriptionprotected intWhat priority the built-in default option should have.protected List<ServiceHandle>voiddelete()@Nullable ServiceHandlebooleanisSet()protected ServiceHandlemakeHandle(ServiceDescriptor service) protected abstract Stringname()register(ServiceDescriptor service) voidsetCurrent(@Nullable ServiceHandle serviceHandle) Methods inherited from class gg.xp.xivsupport.persistence.settings.ObservableSetting
addAndRunListener, addListener, notifyListeners, removeListener
-
Constructor Details
-
ServiceSelector
-
ServiceSelector
-
-
Method Details
-
name
-
defaultOptions
-
defaultOptionPriority
protected int defaultOptionPriority()What priority the built-in default option should have.Can be safely ignored if supplying custom defaults.
- Returns:
- The priority for the default "none/other" option.
-
getExplicitlySelectedOption
-
setCurrent
-
getOptions
-
register
-
makeHandle
-
defaultOption
-
delete
public void delete()- Specified by:
deletein interfaceResettable
-
isSet
public boolean isSet()- Specified by:
isSetin interfaceResettable
-
getEffectiveOption
-