Ontimize 5.2072EN

com.ontimize.gui.field
Class NavigatorMenuGUI.GroupSelectableItem

java.lang.Object
  extended bycom.ontimize.util.swing.selectablelist.SelectableItem
      extended bycom.ontimize.gui.field.NavigatorMenuGUI.GroupSelectableItem
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
NavigatorMenuGUI

public static class NavigatorMenuGUI.GroupSelectableItem
extends SelectableItem

This class introduces a group of SelectableItem objects into a SelectableItem.

Author:
Imatia Innovation.

Field Summary
protected  java.util.ArrayList itemSelectableItem
          ArrayList of SelectableItems.
 
Fields inherited from class com.ontimize.util.swing.selectablelist.SelectableItem
selected, text
 
Constructor Summary
NavigatorMenuGUI.GroupSelectableItem(java.lang.String text)
          Constructs a new GroupSelectableItem
 
Method Summary
 void addItemSelectableItem(SelectableItem item)
          This method adds a SelectableItem to the ArrayList of SelectablItems.
 java.util.ArrayList getItemSelectableItem()
          This method returns the ArrayList of SelectableItems associated to this GroupSelectableItem.
 boolean isEmpty()
           
 void setItemSelectableItem(java.util.ArrayList itemSelectableItem)
          This method sets the ArrayList of SelectableItems of this GroupSelectableItem.
 
Methods inherited from class com.ontimize.util.swing.selectablelist.SelectableItem
compare, compareTo, getText, isSelected, setSelected, setText, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

itemSelectableItem

protected java.util.ArrayList itemSelectableItem
ArrayList of SelectableItems.

Constructor Detail

NavigatorMenuGUI.GroupSelectableItem

public NavigatorMenuGUI.GroupSelectableItem(java.lang.String text)
Constructs a new GroupSelectableItem

Parameters:
text - String with the text of the SelectableItem.
Method Detail

getItemSelectableItem

public java.util.ArrayList getItemSelectableItem()
This method returns the ArrayList of SelectableItems associated to this GroupSelectableItem.

Returns:
a ArrayList of SelectableItems.

setItemSelectableItem

public void setItemSelectableItem(java.util.ArrayList itemSelectableItem)
This method sets the ArrayList of SelectableItems of this GroupSelectableItem.

Parameters:
itemSelectableItem - ArrayList of SelectableItems.

addItemSelectableItem

public void addItemSelectableItem(SelectableItem item)
This method adds a SelectableItem to the ArrayList of SelectablItems.

Parameters:
item - The SelectbleItem to be added.

isEmpty

public boolean isEmpty()

Ontimize