All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.basic.BasicMenuBarUI
java.lang.Object
|
+----com.sun.java.swing.basic.BasicMenuBarUI
- public class BasicMenuBarUI
- extends Object
- implements MenuBarUI
A Windows L&F implementation of MenuBarUI. This implementation
is a "combined" view/controller.
-
containeeListener
-
-
containerListener
-
-
dragListener
-
-
selectionListener
-
-
BasicMenuBarUI()
-
-
createContaineeListener(JMenuBar)
-
-
createContainerListener(JMenuBar)
-
-
createDragListener(JMenuBar)
-
-
createMenuSelectionListener(JMenuBar)
-
-
createUI(JMenuBar)
-
-
deinstallUI(JComponent)
-
-
getInsets(JComponent)
-
-
getMaximumSize(JComponent)
-
-
getMinimumSize(JComponent)
-
-
getPreferredSize(JComponent)
-
-
installUI(JComponent)
-
-
paint(Graphics, JComponent)
-
-
registerMenu(JMenu)
- Adds this MenuBarUI's DragListener as a MouseMotionListener and
a MouseListener to menu.
-
unregisterMenu(JMenu)
- Removes this MenuBarUI's DragListener as a MouseMotionListener and
a MouseListener from menu.
dragListener
protected BasicMenuBarUI. DragListener dragListener
containerListener
protected BasicMenuBarUI. ContainerListener containerListener
containeeListener
protected BasicMenuBarUI. ContaineeListener containeeListener
selectionListener
protected BasicMenuBarUI. MenuSelectionListener selectionListener
BasicMenuBarUI
public BasicMenuBarUI()
createUI
public static MenuBarUI createUI(JMenuBar x)
installUI
public void installUI(JComponent c)
deinstallUI
public void deinstallUI(JComponent c)
paint
public void paint(Graphics g,
JComponent c)
getPreferredSize
public Dimension getPreferredSize(JComponent c)
getMinimumSize
public Dimension getMinimumSize(JComponent c)
getMaximumSize
public Dimension getMaximumSize(JComponent c)
getInsets
public Insets getInsets(JComponent c)
registerMenu
public void registerMenu(JMenu menu)
- Adds this MenuBarUI's DragListener as a MouseMotionListener and
a MouseListener to menu. This is called whenever a JMenu
is added to a JMenuBar.
unregisterMenu
public void unregisterMenu(JMenu menu)
- Removes this MenuBarUI's DragListener as a MouseMotionListener and
a MouseListener from menu. This is called whenever a JMenu
is removed from a JMenuBar.
createContainerListener
protected BasicMenuBarUI. ContainerListener createContainerListener(JMenuBar m)
createDragListener
protected BasicMenuBarUI. DragListener createDragListener(JMenuBar m)
createContaineeListener
protected BasicMenuBarUI. ContaineeListener createContaineeListener(JMenuBar m)
createMenuSelectionListener
protected BasicMenuBarUI. MenuSelectionListener createMenuSelectionListener(JMenuBar m)
All Packages Class Hierarchy This Package Previous Next Index