IStitchSettingManager

public interface IStitchSettingManager {

    StitchBooleanSetting registerBoolean(String name, boolean value);

    StitchBooleanSetting registerBoolean(String name, boolean value, Supplier<Boolean> visibility);

    StitchNumberSetting registerNumber(String name, Number min, Number max, Number value, Number increment);

    StitchNumberSetting registerNumber(String name, Number min, Number max, Number value, Number increment, Supplier<Boolean> visibility);

    StitchNumberRangeSetting registerNumberRange(String name, Number min, Number max,
                                                 Number firstValue, Number secondValue, Number increment);

    StitchNumberRangeSetting registerNumberRange(String name, Number min, Number max,
                                                 Number firstValue, Number secondValue, Number increment, Supplier<Boolean> visibility);

    StitchColorSetting registerColor(String name, Color value);

    StitchColorSetting registerColor(String name, Color value, Supplier<Boolean> visibility);

    <T extends Enum> StitchEnumSetting<T> registerEnum(String name, T value);

    <T extends Enum> StitchEnumSetting<T> registerEnum(String name, T value, Supplier<Boolean> visibility);

    StitchStringSetting registerString(String name, String value);

    StitchStringSetting registerString(String name, String value, Supplier<Boolean> visibility);

}

Last updated