test_class.declarator: SEP = (new DecimalFormatSymbols().getDecimalSeparator())
test_class.modifier: private static final
test_class.original_string: private static final char SEP = (new DecimalFormatSymbols().getDecimalSeparator());
test_class.type: char
test_class.var_name: SEP
test_class.declarator: ITEM_NAME = "Item"
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_NAME = "Item";
test_class.type: String
test_class.var_name: ITEM_NAME
test_class.declarator: uiRegistry
test_class.modifier: private
test_class.original_string: private ItemUIRegistryImpl uiRegistry;
test_class.type: ItemUIRegistryImpl
test_class.var_name: uiRegistry
test_class.declarator: registry
test_class.modifier: private @Mock
test_class.original_string: private @Mock ItemRegistry registry;
test_class.type: ItemRegistry
test_class.var_name: registry
test_class.declarator: widget
test_class.modifier: private @Mock
test_class.original_string: private @Mock Widget widget;
test_class.type: Widget
test_class.var_name: widget
test_class.declarator: item
test_class.modifier: private @Mock
test_class.original_string: private @Mock Item item;
test_class.type: Item
test_class.var_name: item
test_class.declarator: unitProvider
test_class.modifier: private @Mock
test_class.original_string: private @Mock UnitProvider unitProvider;
test_class.type: UnitProvider
test_class.var_name: unitProvider
test_class.file: bundles/org.openhab.core.ui/src/test/java/org/openhab/core/ui/internal/items/ItemUIRegistryImplTest.java
test_class.identifier: ItemUIRegistryImplTest
test_case.body: @Test
      public void getLabelWidgetWithoutLabelAndItem() {
          Widget w = mock(Widget.class);
          String label = uiRegistry.getLabel(w);
          assertEquals("", label);
      }
test_case.class_method_signature: ItemUIRegistryImplTest.getLabelWidgetWithoutLabelAndItem()
test_case.full_signature: @Test public void getLabelWidgetWithoutLabelAndItem()
test_case.identifier: getLabelWidgetWithoutLabelAndItem
test_case.invocations: mock getLabel assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getLabelWidgetWithoutLabelAndItem()
focal_class.declarator: logger = LoggerFactory.getLogger(ItemUIRegistryImpl.class)
focal_class.modifier: private final
focal_class.original_string: private final Logger logger = LoggerFactory.getLogger(ItemUIRegistryImpl.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: IMAGE_LOCATION = "./webapps/images/"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String IMAGE_LOCATION = "./webapps/images/";
focal_class.type: String
focal_class.var_name: IMAGE_LOCATION
focal_class.declarator: EXTRACT_TRANSFORMFUNCTION_PATTERN = Pattern.compile("(.*?)\\((.*)\\):(.*)")
focal_class.modifier: protected static final
focal_class.original_string: protected static final Pattern EXTRACT_TRANSFORMFUNCTION_PATTERN = Pattern.compile("(.*?)\\((.*)\\):(.*)");
focal_class.type: Pattern
focal_class.var_name: EXTRACT_TRANSFORMFUNCTION_PATTERN
focal_class.declarator: IDENTIFY_FORMAT_PATTERN_PATTERN = "%((unit%)|((\\d+\\$)?([-#+ 0,(\\<]*)?(\\d+)?(\\.\\d+)?([tT])?([a-zA-Z])))"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String IDENTIFY_FORMAT_PATTERN_PATTERN = "%((unit%)|((\\d+\\$)?([-#+ 0,(\\<]*)?(\\d+)?(\\.\\d+)?([tT])?([a-zA-Z])))";
focal_class.type: String
focal_class.var_name: IDENTIFY_FORMAT_PATTERN_PATTERN
focal_class.declarator: LABEL_PATTERN = Pattern.compile(".*?\\[.*? (.*?)\\]")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern LABEL_PATTERN = Pattern.compile(".*?\\[.*? (.*?)\\]");
focal_class.type: Pattern
focal_class.var_name: LABEL_PATTERN
focal_class.declarator: MAX_BUTTONS = 4
focal_class.modifier: private static final
focal_class.original_string: private static final int MAX_BUTTONS = 4;
focal_class.type: int
focal_class.var_name: MAX_BUTTONS
focal_class.declarator: itemUIProviders = new HashSet<>()
focal_class.modifier: protected final
focal_class.original_string: protected final Set<ItemUIProvider> itemUIProviders = new HashSet<>();
focal_class.type: Set<ItemUIProvider>
focal_class.var_name: itemUIProviders
focal_class.declarator: itemRegistry
focal_class.modifier: private final
focal_class.original_string: private final ItemRegistry itemRegistry;
focal_class.type: ItemRegistry
focal_class.var_name: itemRegistry
focal_class.declarator: defaultWidgets = Collections.synchronizedMap(new WeakHashMap<>())
focal_class.modifier: private final
focal_class.original_string: private final Map<Widget, Widget> defaultWidgets = Collections.synchronizedMap(new WeakHashMap<>());
focal_class.type: Map<Widget, Widget>
focal_class.var_name: defaultWidgets
focal_class.file: bundles/org.openhab.core.ui/src/main/java/org/openhab/core/ui/internal/items/ItemUIRegistryImpl.java
focal_class.identifier: ItemUIRegistryImpl
focal_class.interfaces: implements ItemUIRegistry
focal_class.class_method_signature: ItemUIRegistryImpl.ItemUIRegistryImpl(@Reference ItemRegistry itemRegistry)
focal_class.full_signature: @Activate public  ItemUIRegistryImpl(@Reference ItemRegistry itemRegistry)
focal_class.identifier: ItemUIRegistryImpl
focal_class.modifiers: @Activate public
focal_class.parameters: (@Reference ItemRegistry itemRegistry)
focal_class.signature:  ItemUIRegistryImpl(@Reference ItemRegistry itemRegistry)
focal_class.class_method_signature: ItemUIRegistryImpl.addItemUIProvider(ItemUIProvider itemUIProvider)
focal_class.full_signature: @Reference(cardinality = ReferenceCardinality.MULTIPLE, policy = ReferencePolicy.DYNAMIC) public void addItemUIProvider(ItemUIProvider itemUIProvider)
focal_class.identifier: addItemUIProvider
focal_class.modifiers: @Reference(cardinality = ReferenceCardinality.MULTIPLE, policy = ReferencePolicy.DYNAMIC) public
focal_class.parameters: (ItemUIProvider itemUIProvider)
focal_class.return: void
focal_class.signature: void addItemUIProvider(ItemUIProvider itemUIProvider)
focal_class.class_method_signature: ItemUIRegistryImpl.removeItemUIProvider(ItemUIProvider itemUIProvider)
focal_class.full_signature: public void removeItemUIProvider(ItemUIProvider itemUIProvider)
focal_class.identifier: removeItemUIProvider
focal_class.modifiers: public
focal_class.parameters: (ItemUIProvider itemUIProvider)
focal_class.return: void
focal_class.signature: void removeItemUIProvider(ItemUIProvider itemUIProvider)
focal_class.class_method_signature: ItemUIRegistryImpl.getCategory(String itemName)
focal_class.full_signature: @Override public @Nullable String getCategory(String itemName)
focal_class.identifier: getCategory
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (String itemName)
focal_class.return: String
focal_class.signature: String getCategory(String itemName)
focal_class.class_method_signature: ItemUIRegistryImpl.getLabel(String itemName)
focal_class.full_signature: @Override public @Nullable String getLabel(String itemName)
focal_class.identifier: getLabel
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (String itemName)
focal_class.return: String
focal_class.signature: String getLabel(String itemName)
focal_class.class_method_signature: ItemUIRegistryImpl.getWidget(String itemName)
focal_class.full_signature: @Override public @Nullable Widget getWidget(String itemName)
focal_class.identifier: getWidget
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (String itemName)
focal_class.return: Widget
focal_class.signature: Widget getWidget(String itemName)
focal_class.class_method_signature: ItemUIRegistryImpl.getDefaultWidget(@Nullable Class<? extends Item> targetItemType, String itemName)
focal_class.full_signature: @Override public @Nullable Widget getDefaultWidget(@Nullable Class<? extends Item> targetItemType, String itemName)
focal_class.identifier: getDefaultWidget
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (@Nullable Class<? extends Item> targetItemType, String itemName)
focal_class.return: Widget
focal_class.signature: Widget getDefaultWidget(@Nullable Class<? extends Item> targetItemType, String itemName)
focal_class.class_method_signature: ItemUIRegistryImpl.createPlayerButtons()
focal_class.full_signature: private Switch createPlayerButtons()
focal_class.identifier: createPlayerButtons
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Switch
focal_class.signature: Switch createPlayerButtons()
focal_class.class_method_signature: ItemUIRegistryImpl.getLabel(Widget w)
focal_class.full_signature: @Override public @Nullable String getLabel(Widget w)
focal_class.identifier: getLabel
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (Widget w)
focal_class.return: String
focal_class.signature: String getLabel(Widget w)
focal_class.class_method_signature: ItemUIRegistryImpl.convertStateToWidgetUnit(QuantityType<?> quantityState, Widget w)
focal_class.full_signature: private @Nullable QuantityType<?> convertStateToWidgetUnit(QuantityType<?> quantityState, Widget w)
focal_class.identifier: convertStateToWidgetUnit
focal_class.modifiers: private @Nullable
focal_class.parameters: (QuantityType<?> quantityState, Widget w)
focal_class.return: QuantityType<?>
focal_class.signature: QuantityType<?> convertStateToWidgetUnit(QuantityType<?> quantityState, Widget w)
focal_class.class_method_signature: ItemUIRegistryImpl.getFormatPattern(@Nullable String label)
focal_class.full_signature: private @Nullable String getFormatPattern(@Nullable String label)
focal_class.identifier: getFormatPattern
focal_class.modifiers: private @Nullable
focal_class.parameters: (@Nullable String label)
focal_class.return: String
focal_class.signature: String getFormatPattern(@Nullable String label)
focal_class.class_method_signature: ItemUIRegistryImpl.getLabelFromWidget(Widget w)
focal_class.full_signature: private String getLabelFromWidget(Widget w)
focal_class.identifier: getLabelFromWidget
focal_class.modifiers: private
focal_class.parameters: (Widget w)
focal_class.return: String
focal_class.signature: String getLabelFromWidget(Widget w)
focal_class.class_method_signature: ItemUIRegistryImpl.formatUndefined(String formatPattern)
focal_class.full_signature: protected String formatUndefined(String formatPattern)
focal_class.identifier: formatUndefined
focal_class.modifiers: protected
focal_class.parameters: (String formatPattern)
focal_class.return: String
focal_class.signature: String formatUndefined(String formatPattern)
focal_class.class_method_signature: ItemUIRegistryImpl.transform(String label, boolean matchTransform, @Nullable String labelMappedOption)
focal_class.full_signature: private String transform(String label, boolean matchTransform, @Nullable String labelMappedOption)
focal_class.identifier: transform
focal_class.modifiers: private
focal_class.parameters: (String label, boolean matchTransform, @Nullable String labelMappedOption)
focal_class.return: String
focal_class.signature: String transform(String label, boolean matchTransform, @Nullable String labelMappedOption)
focal_class.class_method_signature: ItemUIRegistryImpl.getCategory(Widget w)
focal_class.full_signature: @Override public @Nullable String getCategory(Widget w)
focal_class.identifier: getCategory
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (Widget w)
focal_class.return: String
focal_class.signature: String getCategory(Widget w)
focal_class.class_method_signature: ItemUIRegistryImpl.getState(Widget w)
focal_class.full_signature: @Override public @Nullable State getState(Widget w)
focal_class.identifier: getState
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (Widget w)
focal_class.return: State
focal_class.signature: State getState(Widget w)
focal_class.class_method_signature: ItemUIRegistryImpl.convertState(Widget w, Item i, State state)
focal_class.full_signature: @Override public @Nullable State convertState(Widget w, Item i, State state)
focal_class.identifier: convertState
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (Widget w, Item i, State state)
focal_class.return: State
focal_class.signature: State convertState(Widget w, Item i, State state)
focal_class.class_method_signature: ItemUIRegistryImpl.getWidget(Sitemap sitemap, String id)
focal_class.full_signature: @Override public @Nullable Widget getWidget(Sitemap sitemap, String id)
focal_class.identifier: getWidget
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (Sitemap sitemap, String id)
focal_class.return: Widget
focal_class.signature: Widget getWidget(Sitemap sitemap, String id)
focal_class.class_method_signature: ItemUIRegistryImpl.getChildren(Sitemap sitemap)
focal_class.full_signature: @Override public EList<Widget> getChildren(Sitemap sitemap)
focal_class.identifier: getChildren
focal_class.modifiers: @Override public
focal_class.parameters: (Sitemap sitemap)
focal_class.return: EList<Widget>
focal_class.signature: EList<Widget> getChildren(Sitemap sitemap)
focal_class.class_method_signature: ItemUIRegistryImpl.getChildren(LinkableWidget w)
focal_class.full_signature: @Override public EList<Widget> getChildren(LinkableWidget w)
focal_class.identifier: getChildren
focal_class.modifiers: @Override public
focal_class.parameters: (LinkableWidget w)
focal_class.return: EList<Widget>
focal_class.signature: EList<Widget> getChildren(LinkableWidget w)
focal_class.class_method_signature: ItemUIRegistryImpl.getParent(Widget w)
focal_class.full_signature: @Override public @Nullable EObject getParent(Widget w)
focal_class.identifier: getParent
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (Widget w)
focal_class.return: EObject
focal_class.signature: EObject getParent(Widget w)
focal_class.class_method_signature: ItemUIRegistryImpl.resolveDefault(@Nullable Widget widget)
focal_class.full_signature: private @Nullable Widget resolveDefault(@Nullable Widget widget)
focal_class.identifier: resolveDefault
focal_class.modifiers: private @Nullable
focal_class.parameters: (@Nullable Widget widget)
focal_class.return: Widget
focal_class.signature: Widget resolveDefault(@Nullable Widget widget)
focal_class.class_method_signature: ItemUIRegistryImpl.copyProperties(Widget source, Widget target)
focal_class.full_signature: private void copyProperties(Widget source, Widget target)
focal_class.identifier: copyProperties
focal_class.modifiers: private
focal_class.parameters: (Widget source, Widget target)
focal_class.return: void
focal_class.signature: void copyProperties(Widget source, Widget target)
focal_class.class_method_signature: ItemUIRegistryImpl.getDynamicGroupChildren(Group group)
focal_class.full_signature: private EList<Widget> getDynamicGroupChildren(Group group)
focal_class.identifier: getDynamicGroupChildren
focal_class.modifiers: private
focal_class.parameters: (Group group)
focal_class.return: EList<Widget>
focal_class.signature: EList<Widget> getDynamicGroupChildren(Group group)
focal_class.class_method_signature: ItemUIRegistryImpl.isReadOnly(String itemName)
focal_class.full_signature: private boolean isReadOnly(String itemName)
focal_class.identifier: isReadOnly
focal_class.modifiers: private
focal_class.parameters: (String itemName)
focal_class.return: boolean
focal_class.signature: boolean isReadOnly(String itemName)
focal_class.class_method_signature: ItemUIRegistryImpl.hasStateOptions(String itemName)
focal_class.full_signature: private boolean hasStateOptions(String itemName)
focal_class.identifier: hasStateOptions
focal_class.modifiers: private
focal_class.parameters: (String itemName)
focal_class.return: boolean
focal_class.signature: boolean hasStateOptions(String itemName)
focal_class.class_method_signature: ItemUIRegistryImpl.getCommandOptionsSize(String itemName)
focal_class.full_signature: private int getCommandOptionsSize(String itemName)
focal_class.identifier: getCommandOptionsSize
focal_class.modifiers: private
focal_class.parameters: (String itemName)
focal_class.return: int
focal_class.signature: int getCommandOptionsSize(String itemName)
focal_class.class_method_signature: ItemUIRegistryImpl.getItemType(String itemName)
focal_class.full_signature: private @Nullable Class<? extends Item> getItemType(String itemName)
focal_class.identifier: getItemType
focal_class.modifiers: private @Nullable
focal_class.parameters: (String itemName)
focal_class.return: Class<? extends Item>
focal_class.signature: Class<? extends Item> getItemType(String itemName)
focal_class.class_method_signature: ItemUIRegistryImpl.getItemState(String itemName)
focal_class.full_signature: @Override public @Nullable State getItemState(String itemName)
focal_class.identifier: getItemState
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (String itemName)
focal_class.return: State
focal_class.signature: State getItemState(String itemName)
focal_class.class_method_signature: ItemUIRegistryImpl.getItemCategory(String itemName)
focal_class.full_signature: public @Nullable String getItemCategory(String itemName)
focal_class.identifier: getItemCategory
focal_class.modifiers: public @Nullable
focal_class.parameters: (String itemName)
focal_class.return: String
focal_class.signature: String getItemCategory(String itemName)
focal_class.class_method_signature: ItemUIRegistryImpl.getItem(String name)
focal_class.full_signature: @Override public Item getItem(String name)
focal_class.identifier: getItem
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: Item
focal_class.signature: Item getItem(String name)
focal_class.class_method_signature: ItemUIRegistryImpl.getItemByPattern(String name)
focal_class.full_signature: @Override public Item getItemByPattern(String name)
focal_class.identifier: getItemByPattern
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: Item
focal_class.signature: Item getItemByPattern(String name)
focal_class.class_method_signature: ItemUIRegistryImpl.getItems()
focal_class.full_signature: @Override public Collection<Item> getItems()
focal_class.identifier: getItems
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Collection<Item>
focal_class.signature: Collection<Item> getItems()
focal_class.class_method_signature: ItemUIRegistryImpl.getItemsOfType(String type)
focal_class.full_signature: @Override public Collection<Item> getItemsOfType(String type)
focal_class.identifier: getItemsOfType
focal_class.modifiers: @Override public
focal_class.parameters: (String type)
focal_class.return: Collection<Item>
focal_class.signature: Collection<Item> getItemsOfType(String type)
focal_class.class_method_signature: ItemUIRegistryImpl.getItems(String pattern)
focal_class.full_signature: @Override public Collection<Item> getItems(String pattern)
focal_class.identifier: getItems
focal_class.modifiers: @Override public
focal_class.parameters: (String pattern)
focal_class.return: Collection<Item>
focal_class.signature: Collection<Item> getItems(String pattern)
focal_class.class_method_signature: ItemUIRegistryImpl.addRegistryChangeListener(RegistryChangeListener<Item> listener)
focal_class.full_signature: @Override public void addRegistryChangeListener(RegistryChangeListener<Item> listener)
focal_class.identifier: addRegistryChangeListener
focal_class.modifiers: @Override public
focal_class.parameters: (RegistryChangeListener<Item> listener)
focal_class.return: void
focal_class.signature: void addRegistryChangeListener(RegistryChangeListener<Item> listener)
focal_class.class_method_signature: ItemUIRegistryImpl.removeRegistryChangeListener(RegistryChangeListener<Item> listener)
focal_class.full_signature: @Override public void removeRegistryChangeListener(RegistryChangeListener<Item> listener)
focal_class.identifier: removeRegistryChangeListener
focal_class.modifiers: @Override public
focal_class.parameters: (RegistryChangeListener<Item> listener)
focal_class.return: void
focal_class.signature: void removeRegistryChangeListener(RegistryChangeListener<Item> listener)
focal_class.class_method_signature: ItemUIRegistryImpl.getAll()
focal_class.full_signature: @Override public Collection<Item> getAll()
focal_class.identifier: getAll
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Collection<Item>
focal_class.signature: Collection<Item> getAll()
focal_class.class_method_signature: ItemUIRegistryImpl.stream()
focal_class.full_signature: @Override public Stream<Item> stream()
focal_class.identifier: stream
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Stream<Item>
focal_class.signature: Stream<Item> stream()
focal_class.class_method_signature: ItemUIRegistryImpl.getWidgetId(Widget widget)
focal_class.full_signature: @Override public String getWidgetId(Widget widget)
focal_class.identifier: getWidgetId
focal_class.modifiers: @Override public
focal_class.parameters: (Widget widget)
focal_class.return: String
focal_class.signature: String getWidgetId(Widget widget)
focal_class.class_method_signature: ItemUIRegistryImpl.matchStateToValue(State state, String value, @Nullable String matchCondition)
focal_class.full_signature: private boolean matchStateToValue(State state, String value, @Nullable String matchCondition)
focal_class.identifier: matchStateToValue
focal_class.modifiers: private
focal_class.parameters: (State state, String value, @Nullable String matchCondition)
focal_class.return: boolean
focal_class.signature: boolean matchStateToValue(State state, String value, @Nullable String matchCondition)
focal_class.class_method_signature: ItemUIRegistryImpl.processColorDefinition(@Nullable State state, @Nullable List<ColorArray> colorList)
focal_class.full_signature: private @Nullable String processColorDefinition(@Nullable State state, @Nullable List<ColorArray> colorList)
focal_class.identifier: processColorDefinition
focal_class.modifiers: private @Nullable
focal_class.parameters: (@Nullable State state, @Nullable List<ColorArray> colorList)
focal_class.return: String
focal_class.signature: String processColorDefinition(@Nullable State state, @Nullable List<ColorArray> colorList)
focal_class.class_method_signature: ItemUIRegistryImpl.getLabelColor(Widget w)
focal_class.full_signature: @Override public @Nullable String getLabelColor(Widget w)
focal_class.identifier: getLabelColor
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (Widget w)
focal_class.return: String
focal_class.signature: String getLabelColor(Widget w)
focal_class.class_method_signature: ItemUIRegistryImpl.getValueColor(Widget w)
focal_class.full_signature: @Override public @Nullable String getValueColor(Widget w)
focal_class.identifier: getValueColor
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (Widget w)
focal_class.return: String
focal_class.signature: String getValueColor(Widget w)
focal_class.class_method_signature: ItemUIRegistryImpl.getVisiblity(Widget w)
focal_class.full_signature: @Override public boolean getVisiblity(Widget w)
focal_class.identifier: getVisiblity
focal_class.modifiers: @Override public
focal_class.parameters: (Widget w)
focal_class.return: boolean
focal_class.signature: boolean getVisiblity(Widget w)
focal_class.class_method_signature: ItemUIRegistryImpl.getItemsByTag(String... tags)
focal_class.full_signature: @Override public Collection<Item> getItemsByTag(String... tags)
focal_class.identifier: getItemsByTag
focal_class.modifiers: @Override public
focal_class.parameters: (String... tags)
focal_class.return: Collection<Item>
focal_class.signature: Collection<Item> getItemsByTag(String... tags)
focal_class.class_method_signature: ItemUIRegistryImpl.getItemsByTagAndType(String type, String... tags)
focal_class.full_signature: @Override public Collection<Item> getItemsByTagAndType(String type, String... tags)
focal_class.identifier: getItemsByTagAndType
focal_class.modifiers: @Override public
focal_class.parameters: (String type, String... tags)
focal_class.return: Collection<Item>
focal_class.signature: Collection<Item> getItemsByTagAndType(String type, String... tags)
focal_class.class_method_signature: ItemUIRegistryImpl.getItemsByTag(Class<T> typeFilter, String... tags)
focal_class.full_signature: @Override public Collection<T> getItemsByTag(Class<T> typeFilter, String... tags)
focal_class.identifier: getItemsByTag
focal_class.modifiers: @Override public
focal_class.parameters: (Class<T> typeFilter, String... tags)
focal_class.return: Collection<T>
focal_class.signature: Collection<T> getItemsByTag(Class<T> typeFilter, String... tags)
focal_class.class_method_signature: ItemUIRegistryImpl.add(Item element)
focal_class.full_signature: @Override public Item add(Item element)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (Item element)
focal_class.return: Item
focal_class.signature: Item add(Item element)
focal_class.class_method_signature: ItemUIRegistryImpl.update(Item element)
focal_class.full_signature: @Override public @Nullable Item update(Item element)
focal_class.identifier: update
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (Item element)
focal_class.return: Item
focal_class.signature: Item update(Item element)
focal_class.class_method_signature: ItemUIRegistryImpl.remove(String key)
focal_class.full_signature: @Override public @Nullable Item remove(String key)
focal_class.identifier: remove
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (String key)
focal_class.return: Item
focal_class.signature: Item remove(String key)
focal_class.class_method_signature: ItemUIRegistryImpl.get(String key)
focal_class.full_signature: @Override public @Nullable Item get(String key)
focal_class.identifier: get
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (String key)
focal_class.return: Item
focal_class.signature: Item get(String key)
focal_class.class_method_signature: ItemUIRegistryImpl.remove(String itemName, boolean recursive)
focal_class.full_signature: @Override public @Nullable Item remove(String itemName, boolean recursive)
focal_class.identifier: remove
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (String itemName, boolean recursive)
focal_class.return: Item
focal_class.signature: Item remove(String itemName, boolean recursive)
focal_class.class_method_signature: ItemUIRegistryImpl.addRegistryHook(RegistryHook<Item> hook)
focal_class.full_signature: @Override public void addRegistryHook(RegistryHook<Item> hook)
focal_class.identifier: addRegistryHook
focal_class.modifiers: @Override public
focal_class.parameters: (RegistryHook<Item> hook)
focal_class.return: void
focal_class.signature: void addRegistryHook(RegistryHook<Item> hook)
focal_class.class_method_signature: ItemUIRegistryImpl.removeRegistryHook(RegistryHook<Item> hook)
focal_class.full_signature: @Override public void removeRegistryHook(RegistryHook<Item> hook)
focal_class.identifier: removeRegistryHook
focal_class.modifiers: @Override public
focal_class.parameters: (RegistryHook<Item> hook)
focal_class.return: void
focal_class.signature: void removeRegistryHook(RegistryHook<Item> hook)
focal_class.class_method_signature: ItemUIRegistryImpl.getUnitForWidget(Widget w)
focal_class.full_signature: @Override public @Nullable String getUnitForWidget(Widget w)
focal_class.identifier: getUnitForWidget
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (Widget w)
focal_class.return: String
focal_class.signature: String getUnitForWidget(Widget w)
focal_class.class_method_signature: ItemUIRegistryImpl.convertStateToLabelUnit(QuantityType<?> state, String label)
focal_class.full_signature: @Override public @Nullable State convertStateToLabelUnit(QuantityType<?> state, String label)
focal_class.identifier: convertStateToLabelUnit
focal_class.modifiers: @Override public @Nullable
focal_class.parameters: (QuantityType<?> state, String label)
focal_class.return: State
focal_class.signature: State convertStateToLabelUnit(QuantityType<?> state, String label)
focal_class.class_method_signature: ItemUIRegistryImpl.getUnitFromLabel(@Nullable String label)
focal_class.full_signature: private @Nullable String getUnitFromLabel(@Nullable String label)
focal_class.identifier: getUnitFromLabel
focal_class.modifiers: private @Nullable
focal_class.parameters: (@Nullable String label)
focal_class.return: String
focal_class.signature: String getUnitFromLabel(@Nullable String label)
focal_method.body: @Override
      public @Nullable String getLabel(String itemName) {
          for (ItemUIProvider provider : itemUIProviders) {
              String currentLabel = provider.getLabel(itemName);
              if (currentLabel != null) {
                  return currentLabel;
              }
          }
          try {
              Item item = getItem(itemName);
              if (item.getLabel() != null) {
                  return item.getLabel();
              }
          } catch (ItemNotFoundException e) {
          }
  
          return null;
      }
focal_method.class_method_signature: ItemUIRegistryImpl.getLabel(String itemName)
focal_method.full_signature: @Override public @Nullable String getLabel(String itemName)
focal_method.identifier: getLabel
focal_method.invocations: getLabel getItem getLabel getLabel
focal_method.modifiers: @Override public @Nullable
focal_method.parameters: (String itemName)
focal_method.return: String
focal_method.signature: String getLabel(String itemName)