public class MenuItem extends Object implements Serializable
Constructor and Description |
---|
MenuItem(String value) |
MenuItem(String value,
String label) |
MenuItem(String value,
String label,
String styleClass) |
MenuItem(String value,
String label,
String styleClass,
Map<String,String> parametersMap) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getLabel() |
String |
getParameter(String paramKey) |
Map<String,String> |
getParameters() |
String |
getStyleClass() |
String |
getValue() |
void |
putParameter(String paramKey,
String paramValue) |
void |
setLabel(String label) |
void |
setStyleClass(String styleClass) |
void |
setValue(String value) |
String |
toString() |
public MenuItem(String value)
public MenuItem(String value, String label, String styleClass)
value
- the value of the menu itemlabel
- the label of the menu itemstyleClass
- the style class of the menu itempublic String getValue()
public void setValue(String value)
value
- the value to setpublic String getLabel()
public void setLabel(String label)
label
- the label to setpublic String getStyleClass()
public void setStyleClass(String styleClass)
styleClass
- the styleClass to setCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.