|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MenuPeer
Disabled: no SafeJ information.
The peer interface for menus. This is used by Menu
.
The peer interfaces are intended only for use in porting
the AWT. They are not intended for use by application
developers, and developers should not implement peers
nor invoke any of the peer methods directly on the peer
instances.
Method Summary | |
---|---|
void |
addItem(MenuItem item)
Adds the specified menu item to the menu. |
void |
addSeparator()
Adds a separator (e.g. |
void |
delItem(int index)
Removes the menu item at the specified index. |
Methods inherited from interface java.awt.peer.MenuItemPeer |
---|
setEnabled, setLabel |
Methods inherited from interface java.awt.peer.MenuComponentPeer |
---|
dispose, setFont |
Method Detail |
---|
void addSeparator()
Menu.addSeparator()
void addItem(MenuItem item)
item
- the menu item to addMenu.add(MenuItem)
void delItem(int index)
index
- the index of the item to removeMenu.remove(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |