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.
Modifier and Type | Method and Description |
---|---|
public void | |
public void |
addItem | back to summary |
---|---|
public void addItem(MenuItem item) Adds the specified menu item to the menu.
|
delItem | back to summary |
---|---|
public void delItem(int index) Removes the menu item at the specified index.
|