oracle.ide
Class Menubar
java.lang.Object
oracle.ide.AbstractMenuManager
oracle.ide.Menubar
- All Implemented Interfaces:
- java.awt.event.ContainerListener, java.util.EventListener, javax.swing.event.MenuListener, MenuManager, java.awt.event.WindowListener
- public final class Menubar
- extends AbstractMenuManager
- implements java.awt.event.WindowListener
Menubar
class represents a JFrame menu bar. This class should
be used from View
s implemented as JFrame
s which
wish to integrate a menu bar into JDeveloper's framework.
- See Also:
View
,
MenuManager
Method Summary |
javax.swing.JMenu |
createMenu(java.lang.String caption,
java.lang.Integer mnemonic)
Creates a new menu suitable for insertion into JDeveloper's top
level menu bar. |
java.awt.Container |
getGUI(boolean create)
Gets the GUI for this MenuManager. |
void |
windowActivated(java.awt.event.WindowEvent e)
|
void |
windowClosed(java.awt.event.WindowEvent p0)
|
void |
windowClosing(java.awt.event.WindowEvent p0)
|
void |
windowDeactivated(java.awt.event.WindowEvent p0)
|
void |
windowDeiconified(java.awt.event.WindowEvent p0)
|
void |
windowIconified(java.awt.event.WindowEvent p0)
|
void |
windowOpened(java.awt.event.WindowEvent p0)
|
Methods inherited from class oracle.ide.AbstractMenuManager |
add, add, add, add, componentAdded, componentRemoved, createMenu, createMenu, createMenu, createMenuItem, createMenuItem, createSubMenu, createSubMenu, createSubMenu, getChildById, getIndexOfChild, getIndexOfCommandId, insert, insert, menuCanceled, menuDeselected, menuSelected, remove, remove, setErrorWeight, sortContainer, sortSectionByName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Menubar
public Menubar(View view)
- Constructor.
getGUI
public java.awt.Container getGUI(boolean create)
- Gets the GUI for this MenuManager.
- Specified by:
getGUI
in interface MenuManager
- Parameters:
create
- force a creation of the GUI if it does not yet exist.
- Returns:
- the GUI for this MenuManager.
createMenu
public javax.swing.JMenu createMenu(java.lang.String caption,
java.lang.Integer mnemonic)
- Description copied from interface:
MenuManager
- Creates a new menu suitable for insertion into JDeveloper's top
level menu bar.
- Specified by:
createMenu
in interface MenuManager
- Overrides:
createMenu
in class AbstractMenuManager
windowOpened
public void windowOpened(java.awt.event.WindowEvent p0)
- Specified by:
windowOpened
in interface java.awt.event.WindowListener
windowClosing
public void windowClosing(java.awt.event.WindowEvent p0)
- Specified by:
windowClosing
in interface java.awt.event.WindowListener
windowClosed
public void windowClosed(java.awt.event.WindowEvent p0)
- Specified by:
windowClosed
in interface java.awt.event.WindowListener
windowIconified
public void windowIconified(java.awt.event.WindowEvent p0)
- Specified by:
windowIconified
in interface java.awt.event.WindowListener
windowDeiconified
public void windowDeiconified(java.awt.event.WindowEvent p0)
- Specified by:
windowDeiconified
in interface java.awt.event.WindowListener
windowActivated
public void windowActivated(java.awt.event.WindowEvent e)
- Specified by:
windowActivated
in interface java.awt.event.WindowListener
windowDeactivated
public void windowDeactivated(java.awt.event.WindowEvent p0)
- Specified by:
windowDeactivated
in interface java.awt.event.WindowListener
Copyright © 1997, 2004, Oracle. All rights reserved.