Package org.openhab.core.sitemap
Interface Input
- All Superinterfaces:
NonLinkableWidget,Widget
A representation of a sitemap Input widget.
- Author:
- Mark Herwege - Initial contribution
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringGet the input hint.voidsetInputHint(@Nullable String inputHint) Set the input hint, allowed values are: "text", "number", "date", "time", "datetime".Methods inherited from interface org.openhab.core.sitemap.Widget
getIcon, getIconColor, getIconRules, getItem, getLabel, getLabelColor, getParent, getValueColor, getVisibility, getWidgetType, isStaticIcon, setIcon, setIconColor, setIconRules, setItem, setLabel, setLabelColor, setParent, setStaticIcon, setValueColor, setVisibility
-
Method Details
-
getInputHint
@Nullable String getInputHint()Get the input hint. This can be used by a UI to tailor the representation. SeesetInputHint(String).- Returns:
- input hint
-
setInputHint
Set the input hint, allowed values are: "text", "number", "date", "time", "datetime". This can be used by a UI to tailor the representation.- Parameters:
inputHint-
-