public static class NavigatorMenuGUI.MenuItemInformation extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
itemName
String with the itemName.
|
protected boolean |
selected
Boolean that indicates if a MenuItem is selected.
|
| Constructor and Description |
|---|
NavigatorMenuGUI.MenuItemInformation(String itemName,
boolean selected)
Constructs a new MenuItemInformation with the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getItemName()
This method returns the MenuItem name.
|
boolean |
isSelected()
This method returns if the MenuItem is selected.
|
void |
setItemName(String itemName)
This method establishes the MenuItem name.
|
void |
setSelected(boolean selected)
This method establishes the visibility of the MenuItem.
|
protected boolean selected
protected String itemName
public NavigatorMenuGUI.MenuItemInformation(String itemName, boolean selected)
itemName - The name of the MenuItem.selected - Boolean indicating if the MenuItem is selected.public boolean isSelected()
boolean with the selection value.public void setSelected(boolean selected)
selected - public String getItemName()
String with the MenuItem name.public void setItemName(String itemName)
itemName - The name of the MenuItem.Copyright © 2016 Imatia Innovation S.L.. All rights reserved.