Class MenuItem

    • Constructor Detail

      • MenuItem

        public MenuItem​(String value)
      • MenuItem

        public MenuItem​(String value,
                        String label)
      • MenuItem

        public MenuItem​(String value,
                        String label,
                        String styleClass)
        Parameters:
        value - the value of the menu item
        label - the label of the menu item
        styleClass - the style class of the menu item
      • MenuItem

        public MenuItem​(String value,
                        String label,
                        String styleClass,
                        Map<String,​String> parametersMap)
        Parameters:
        value - the value of the menu item
        label - the label of the menu item
        styleClass - the style class of the menu item
        parametersMap - The map of parameters of the menu item.
    • Method Detail

      • getValue

        public String getValue()
        Returns:
        the value
      • setValue

        public void setValue​(String value)
        Parameters:
        value - the value to set
      • getLabel

        public String getLabel()
        Returns:
        the label
      • setLabel

        public void setLabel​(String label)
        Parameters:
        label - the label to set
      • getStyleClass

        public String getStyleClass()
        Returns:
        the styleClass
      • setStyleClass

        public void setStyleClass​(String styleClass)
        Parameters:
        styleClass - the styleClass to set
      • putParameter

        public void putParameter​(String paramKey,
                                 String paramValue)
      • getParameter

        public String getParameter​(String paramKey)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object