Class MenuItem

java.lang.Object
de.xima.fc.gui.common.model.MenuItem
All Implemented Interfaces:
Serializable

public class MenuItem extends Object implements Serializable
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • 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 Details

    • 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)
    • getParameters

      public Map<String,String> getParameters()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object