It was added because menu peer interfaces don't belong to component peer
interfaces hierarchy.
- Since:
- PJA1.2
- Version:
- 2.1
- Author:
- Emmanuel Puybaret
- See Also:
PJAToolkit
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PJAMenuComponentPeer
public PJAMenuComponentPeer(java.awt.MenuComponent menuComponent)
dispose
public void dispose()
- Specified by:
dispose
in interface java.awt.peer.MenuComponentPeer
addMenu
public void addMenu(java.awt.Menu m)
- Specified by:
addMenu
in interface java.awt.peer.MenuBarPeer
delMenu
public void delMenu(int index)
- Specified by:
delMenu
in interface java.awt.peer.MenuBarPeer
addHelpMenu
public void addHelpMenu(java.awt.Menu m)
- Specified by:
addHelpMenu
in interface java.awt.peer.MenuBarPeer
addSeparator
public void addSeparator()
- Specified by:
addSeparator
in interface java.awt.peer.MenuPeer
addItem
public void addItem(java.awt.MenuItem item)
- Specified by:
addItem
in interface java.awt.peer.MenuPeer
delItem
public void delItem(int index)
- Specified by:
delItem
in interface java.awt.peer.MenuPeer
enable
public void enable()
- Specified by:
enable
in interface java.awt.peer.MenuItemPeer
disable
public void disable()
- Specified by:
disable
in interface java.awt.peer.MenuItemPeer
setEnabled
public void setEnabled(boolean b)
- Specified by:
setEnabled
in interface java.awt.peer.MenuItemPeer
setLabel
public void setLabel(java.lang.String label)
- Specified by:
setLabel
in interface java.awt.peer.MenuItemPeer
show
public void show(java.awt.Event e)
- Specified by:
show
in interface java.awt.peer.PopupMenuPeer
setState
public void setState(boolean state)
- Specified by:
setState
in interface java.awt.peer.CheckboxMenuItemPeer