Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.ide.controller
Class Menubar

java.lang.Object
  extended by oracle.ide.controller.MenuManager
      extended by oracle.ide.controller.Menubar

public final class Menubar
extends MenuManager

Menubar class represents a JFrame menu bar. This class should be used from Views implemented as JFrames which wish to integrate a menu bar into JDeveloper's framework.

See Also:
View, MenuManager

Constructor Summary
Menubar(View view)
          Constructor.
 
Method Summary
protected  void applyGlobalFilterImpl(MenuFilter filter)
          Implements the MenuManager.applyGlobalFilter(MenuFilter) method.
protected  void clearGlobalFilterImpl()
          Implements the MenuManager.clearGlobalFilter() method.
 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.
 
Methods inherited from class oracle.ide.controller.MenuManager
add, add, add, add, addMenuFilter, applyGlobalFilter, clearGlobalFilter, createMenu, createMenu, createMenu, createMenu, createMenuItem, createMenuItem, createSubMenu, createSubMenu, createSubMenu, getChildById, getId, getIndexOfChild, getIndexOfCommandId, getJMenu, getKeyboardMnemonic, getMenuId, isMenuComponentAccepted, isMenuComponentAccepted, lookupMenuSection, putJMenu, registerFilterContainerListener, remove, remove, removeMenuFilter, removeMenuManagerMenuListener, setMenuId, setWeight, sortContainer, sortSectionByName, storeMenuSection, unregisterFilterContainerListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Menubar

public Menubar(View view)
Constructor.

Method Detail

applyGlobalFilterImpl

protected void applyGlobalFilterImpl(MenuFilter filter)
Description copied from class: MenuManager
Implements the MenuManager.applyGlobalFilter(MenuFilter) method.

This implementation does nothing.

Overrides:
applyGlobalFilterImpl in class MenuManager
Parameters:
filter - the filter to apply.

clearGlobalFilterImpl

protected void clearGlobalFilterImpl()
Description copied from class: MenuManager
Implements the MenuManager.clearGlobalFilter() method.

This implementation does nothing.

Overrides:
clearGlobalFilterImpl in class MenuManager

getGUI

public java.awt.Container getGUI(boolean create)
Gets the GUI for this MenuManager.

Specified by:
getGUI in class 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 class: MenuManager
Creates a new menu suitable for insertion into JDeveloper's top level menu bar.

Overrides:
createMenu in class MenuManager
Parameters:
caption - the localized string to be displayed in the menu bar or supermenu.
mnemonic - the mnemonic to associate with the resulting JMenu.
Returns:
a new menu.
See Also:
JMenu

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.