public class AwtMenu extends GralMenu._GraphicImpl
| Modifier and Type | Field and Description |
|---|---|
private java.awt.Menu |
menuAwt |
private java.awt.MenuBar |
menuBar |
widgg| Constructor and Description |
|---|
AwtMenu(GralWidget widgg,
java.awt.Component parent,
GralMng mng) |
AwtMenu(GralWidget widgg,
java.awt.Frame window,
GralMng mng) |
| Modifier and Type | Method and Description |
|---|---|
void |
_implMenuItem(java.lang.Object oParentMenu,
GralMenu.MenuEntry gralEntry)
Creates the implementation for a menu node or entry.
|
java.awt.Menu |
getMenuImpl()
Returns the implementation instance for the menu.
|
void |
setVisible()
Adds with a given widget.
|
_implMenuprivate final java.awt.Menu menuAwt
private final java.awt.MenuBar menuBar
public AwtMenu(GralWidget widgg, java.awt.Component parent, GralMng mng)
public AwtMenu(GralWidget widgg, java.awt.Frame window, GralMng mng)
public void _implMenuItem(java.lang.Object oParentMenu, GralMenu.MenuEntry gralEntry)
_implMenuItem in class GralMenu._GraphicImploParentMenu - return value of getMenuImpl() or the GralMenu.MenuEntry#menuImpl, that is a menu node.gralEntry - The entry in the menu treepublic void setVisible()
GralMenu._GraphicImplGralMenu._GraphicImpl.widgg of the constructor.
Check what is happen. Therefore:setVisible in class GralMenu._GraphicImplpublic java.awt.Menu getMenuImpl()
GralMenu._GraphicImplgetMenuImpl in class GralMenu._GraphicImpl