Uses of Class
org.openhab.core.types.StateOption
Packages that use StateOption
Package
Description
-
Uses of StateOption in org.openhab.core.thing.binding
Fields in org.openhab.core.thing.binding with type parameters of type StateOptionModifier and TypeFieldDescriptionprotected final Map<ChannelUID, List<StateOption>> BaseDynamicStateDescriptionProvider.channelOptionsMapMethods in org.openhab.core.thing.binding that return types with arguments of type StateOptionModifier and TypeMethodDescriptionprotected List<StateOption> BaseDynamicStateDescriptionProvider.localizedStateOptions(List<StateOption> options, Channel channel, @Nullable Locale locale) Localizes aListofStateOptions that should be used for the channel.Method parameters in org.openhab.core.thing.binding with type arguments of type StateOptionModifier and TypeMethodDescriptionprotected List<StateOption> BaseDynamicStateDescriptionProvider.localizedStateOptions(List<StateOption> options, Channel channel, @Nullable Locale locale) Localizes aListofStateOptions that should be used for the channel.voidBaseDynamicStateDescriptionProvider.setStateOptions(ChannelUID channelUID, List<StateOption> options) For a givenChannelUID, set aListofStateOptions that should be used for the channel, instead of the one defined statically in theChannelType. -
Uses of StateOption in org.openhab.core.thing.events
Fields in org.openhab.core.thing.events with type parameters of type StateOptionModifier and TypeFieldDescriptionThingEventFactory.ChannelDescriptionStateOptionsPayloadBean.optionsMethod parameters in org.openhab.core.thing.events with type arguments of type StateOptionModifier and TypeMethodDescriptionThingEventFactory.createChannelDescriptionStateOptionsChangedEvent(ChannelUID channelUID, Set<String> linkedItemNames, List<StateOption> options, @Nullable List<StateOption> oldOptions) Creates aChannelDescriptionChangedEventfor changedStateOptions.Constructor parameters in org.openhab.core.thing.events with type arguments of type StateOptionModifierConstructorDescription -
Uses of StateOption in org.openhab.core.thing.i18n
Methods in org.openhab.core.thing.i18n that return types with arguments of type StateOptionModifier and TypeMethodDescriptionChannelTypeI18nLocalizationService.createLocalizedStateOptions(org.osgi.framework.Bundle bundle, List<StateOption> stateOptions, ChannelTypeUID channelTypeUID, @Nullable Locale locale) Method parameters in org.openhab.core.thing.i18n with type arguments of type StateOptionModifier and TypeMethodDescriptionChannelTypeI18nLocalizationService.createLocalizedStateOptions(org.osgi.framework.Bundle bundle, List<StateOption> stateOptions, ChannelTypeUID channelTypeUID, @Nullable Locale locale) -
Uses of StateOption in org.openhab.core.types
Fields in org.openhab.core.types with type parameters of type StateOptionMethods in org.openhab.core.types that return types with arguments of type StateOptionModifier and TypeMethodDescriptionStateDescription.getOptions()Returns a list of predefined states with their label.@Nullable List<StateOption> StateDescriptionFragment.getOptions()Returns a list of predefined states with their label.Methods in org.openhab.core.types with parameters of type StateOptionModifier and TypeMethodDescriptionStateDescriptionFragmentBuilder.withOption(StateOption option) Ass aStateOptionfor the resultingStateDescriptionFragment.Method parameters in org.openhab.core.types with type arguments of type StateOptionModifier and TypeMethodDescriptionStateDescriptionFragmentBuilder.withOptions(List<StateOption> options) Set theStateOptions for the resultingStateDescriptionFragment.Constructor parameters in org.openhab.core.types with type arguments of type StateOptionModifierConstructorDescriptionprotectedStateDescription(@Nullable BigDecimal minimum, @Nullable BigDecimal maximum, @Nullable BigDecimal step, @Nullable String pattern, boolean readOnly, @Nullable List<StateOption> options) Creates a state description object.