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). |
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 |
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
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().