Class MenuItemList

java.lang.Object
  |
  +--ActiveList
        |
        +--MenuItemList

public class MenuItemList
extends ActiveList


Constructor Summary
MenuItemList()
          Analog to ActiveList().
MenuItemList(java.awt.MenuItem t)
          Analog to ActiveList(Object obj).
 
Method Summary
 java.awt.MenuItem getActiveMenuItem()
          Analog to getActiveObject()
 java.awt.MenuItem getMenuItemAt(int i)
          Analog to getObjectAt().
 java.awt.MenuItem nextMenuItem()
          Analog to nextObject().
 java.awt.MenuItem previousMenuItem()
          Analog to prevObject().
 java.awt.MenuItem setActiveMenuItem(int i)
          Analog to setActiveObject().
 java.awt.MenuItem setActiveMenuItemByName(java.lang.String name)
          Analog to setActiveObjectByName().
 
Methods inherited from class ActiveList
addActiveObject, addObject, containsObjectName, getActiveIndex, getActiveObject, getActiveObjectName, getObjectAt, getObjectName, getSize, nextObject, previousObject, printObjects, removeActiveObject, setActiveObject, setActiveObjectByName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuItemList

public MenuItemList()
Analog to ActiveList().

MenuItemList

public MenuItemList(java.awt.MenuItem t)
Analog to ActiveList(Object obj).
Parameters:
t - the menu of the menu item
Method Detail

getActiveMenuItem

public java.awt.MenuItem getActiveMenuItem()
                                    throws java.lang.NoSuchFieldException
Analog to getActiveObject()

setActiveMenuItem

public java.awt.MenuItem setActiveMenuItem(int i)
                                    throws java.lang.ArrayIndexOutOfBoundsException
Analog to setActiveObject().
Parameters:
i - the index of the item to set as the active item

setActiveMenuItemByName

public java.awt.MenuItem setActiveMenuItemByName(java.lang.String name)
                                          throws java.lang.NoSuchFieldException
Analog to setActiveObjectByName().
Parameters:
name - the name of the item to set as the active item

getMenuItemAt

public java.awt.MenuItem getMenuItemAt(int i)
Analog to getObjectAt().
Parameters:
i - the index of the item

nextMenuItem

public java.awt.MenuItem nextMenuItem()
                               throws java.lang.NoSuchFieldException
Analog to nextObject().

previousMenuItem

public java.awt.MenuItem previousMenuItem()
                                   throws java.lang.NoSuchFieldException
Analog to prevObject().