com.didkovsky.portview.awt
Class PVMenuAWT

java.lang.Object
  extended by java.awt.MenuComponent
      extended by java.awt.MenuItem
          extended by java.awt.Menu
              extended by com.didkovsky.portview.awt.PVMenuAWT
All Implemented Interfaces:
PVMenu, PVMenuItem, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class PVMenuAWT
extends java.awt.Menu
implements PVMenu

Author:
Nick Didkovsky, (c) 2004 All rights reserved, Email: didkovn@mail.rockefeller.edu
See Also:
Serialized Form

Constructor Summary
PVMenuAWT()
           
 
Method Summary
 void add(PVCheckboxMenuItem cbMenuItem)
           
 void add(PVMenu menu)
           
 void add(PVMenuItem menuItem)
           
 PVMenuItem getParentMenuItem()
           
 PVMenuItem getPVMenuItem(int i)
           
 int getPVMenuItemCount()
           
 void remove(PVMenuItem menu)
           
 void setKeyShortcut(int keyCode)
           
 void setParentPVMenuItem(PVMenuItem parent)
          noop
 
Methods inherited from class java.awt.Menu
add, add, addNotify, addSeparator, countItems, getAccessibleContext, getItem, getItemCount, insert, insert, insertSeparator, isTearOff, paramString, remove, remove, removeAll, removeNotify
 
Methods inherited from class java.awt.MenuItem
addActionListener, deleteShortcut, disable, enable, enable, getActionCommand, getActionListeners, getLabel, getListeners, getShortcut, isEnabled, removeActionListener, setActionCommand, setEnabled, setLabel, setShortcut
 
Methods inherited from class java.awt.MenuComponent
dispatchEvent, getFont, getName, getParent, getPeer, postEvent, setFont, setName, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.didkovsky.portview.PVMenu
remove
 
Methods inherited from interface com.didkovsky.portview.PVMenuItem
addActionListener, getLabel, isEnabled, setEnabled, setLabel
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Constructor Detail

PVMenuAWT

public PVMenuAWT()
Method Detail

add

public void add(PVMenu menu)
Specified by:
add in interface PVMenu

add

public void add(PVMenuItem menuItem)
Specified by:
add in interface PVMenu

add

public void add(PVCheckboxMenuItem cbMenuItem)
Specified by:
add in interface PVMenu

getPVMenuItemCount

public int getPVMenuItemCount()
Specified by:
getPVMenuItemCount in interface PVMenu

getPVMenuItem

public PVMenuItem getPVMenuItem(int i)
Specified by:
getPVMenuItem in interface PVMenu

getParentMenuItem

public PVMenuItem getParentMenuItem()
Specified by:
getParentMenuItem in interface PVMenuItem

remove

public void remove(PVMenuItem menu)
Specified by:
remove in interface PVMenu

setKeyShortcut

public void setKeyShortcut(int keyCode)
Specified by:
setKeyShortcut in interface PVMenuItem

setParentPVMenuItem

public void setParentPVMenuItem(PVMenuItem parent)
noop

Specified by:
setParentPVMenuItem in interface PVMenuItem