Interface MenuItemLabelFactory

All Known Implementing Classes:
MenuItemLabelFactoryImpl

public interface MenuItemLabelFactory
Used to create labels for a menu item. Mainly goes through the path of the item and signals a required textresource.
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a label for the passed menu item
    void
    Sets the label directly to the passed menu item.
  • Method Details

    • createLabel

      DisplayValue createLabel(MenuItem item)
      Create a label for the passed menu item
      Parameters:
      item - the menu item
      Returns:
      a label
    • setLabel

      void setLabel(MenuItem item)
      Sets the label directly to the passed menu item. Does additinal tests.
      Parameters:
      item - the item