Ontimize 5.2072EN

com.ontimize.gui.field
Class NavigatorMenuGUI.MenuItemInformation

java.lang.Object
  extended bycom.ontimize.gui.field.NavigatorMenuGUI.MenuItemInformation
Enclosing class:
NavigatorMenuGUI

public static class NavigatorMenuGUI.MenuItemInformation
extends java.lang.Object

This class is necessary to the visibility configuration of the MenuItems. It contains the current state of selection of each MenuItem into the JList of the configuration JDialog.

Author:
Imatia Innovation.

Field Summary
protected  java.lang.String itemName
          String with the itemName.
protected  boolean selected
          Boolean that indicates if a MenuItem is selected.
 
Constructor Summary
NavigatorMenuGUI.MenuItemInformation(java.lang.String itemName, boolean selected)
          Constructs a new MenuItemInformation with the specified parameters.
 
Method Summary
 java.lang.String getItemName()
          This method returns the MenuItem name.
 boolean isSelected()
          This method returns if the MenuItem is selected.
 void setItemName(java.lang.String itemName)
          This method establishes the MenuItem name.
 void setSelected(boolean selected)
          This method establishes the visibility of the MenuItem.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selected

protected boolean selected
Boolean that indicates if a MenuItem is selected.


itemName

protected java.lang.String itemName
String with the itemName.

Constructor Detail

NavigatorMenuGUI.MenuItemInformation

public NavigatorMenuGUI.MenuItemInformation(java.lang.String itemName,
                                            boolean selected)
Constructs a new MenuItemInformation with the specified parameters.

Parameters:
itemName - The name of the MenuItem.
selected - Boolean indicating if the MenuItem is selected.
Method Detail

isSelected

public boolean isSelected()
This method returns if the MenuItem is selected.

Returns:
a boolean with the selection value.

setSelected

public void setSelected(boolean selected)
This method establishes the visibility of the MenuItem.

Parameters:
selected -

getItemName

public java.lang.String getItemName()
This method returns the MenuItem name.

Returns:
a String with the MenuItem name.

setItemName

public void setItemName(java.lang.String itemName)
This method establishes the MenuItem name.

Parameters:
itemName - The name of the MenuItem.

Ontimize