|
http://www.eteks.com | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.eteks.awt.PJAMenuComponentPeer
Pure Java AWT Menu Component Peer. This implementation enables to create
dummy menu components.
It was added because menu peer interfaces don't belong to component peer
interfaces hierarchy.
PJAToolkit
Constructor Summary
PJAMenuComponentPeer(java.awt.MenuComponent menuComponent)
Method Summary
void
addHelpMenu(java.awt.Menu m)
void
addItem(java.awt.MenuItem item)
void
addMenu(java.awt.Menu m)
void
addSeparator()
void
delItem(int index)
void
delMenu(int index)
void
disable()
void
dispose()
void
enable()
void
setEnabled(boolean b)
void
setLabel(java.lang.String label)
void
setState(boolean state)
void
show(java.awt.Event e)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
PJAMenuComponentPeer
public PJAMenuComponentPeer(java.awt.MenuComponent menuComponent)
Method Detail
dispose
public void dispose()
dispose
in interface java.awt.peer.MenuComponentPeer
addMenu
public void addMenu(java.awt.Menu m)
addMenu
in interface java.awt.peer.MenuBarPeer
delMenu
public void delMenu(int index)
delMenu
in interface java.awt.peer.MenuBarPeer
addHelpMenu
public void addHelpMenu(java.awt.Menu m)
addHelpMenu
in interface java.awt.peer.MenuBarPeer
addSeparator
public void addSeparator()
addSeparator
in interface java.awt.peer.MenuPeer
addItem
public void addItem(java.awt.MenuItem item)
addItem
in interface java.awt.peer.MenuPeer
delItem
public void delItem(int index)
delItem
in interface java.awt.peer.MenuPeer
enable
public void enable()
enable
in interface java.awt.peer.MenuItemPeer
disable
public void disable()
disable
in interface java.awt.peer.MenuItemPeer
setEnabled
public void setEnabled(boolean b)
setEnabled
in interface java.awt.peer.MenuItemPeer
setLabel
public void setLabel(java.lang.String label)
setLabel
in interface java.awt.peer.MenuItemPeer
show
public void show(java.awt.Event e)
show
in interface java.awt.peer.PopupMenuPeer
setState
public void setState(boolean state)
setState
in interface java.awt.peer.CheckboxMenuItemPeer
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD