javax.swing.plaf.basic
Class BasicMenuUI

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.swing.plaf.ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI 
      extended by javax.swing.plaf.ButtonUI sample code for javax.swing.plaf.ButtonUI definition code for javax.swing.plaf.ButtonUI 
          extended by javax.swing.plaf.MenuItemUI sample code for javax.swing.plaf.MenuItemUI definition code for javax.swing.plaf.MenuItemUI 
              extended by javax.swing.plaf.basic.BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI 
                  extended by javax.swing.plaf.basic.BasicMenuUI

public class BasicMenuUI
extends BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI

A default L&F implementation of MenuUI. This implementation is a "combined" view/controller.


Nested Class Summary
 class BasicMenuUI.ChangeHandler sample code for javax.swing.plaf.basic.BasicMenuUI.ChangeHandler definition code for javax.swing.plaf.basic.BasicMenuUI.ChangeHandler
          As of Java 2 platform 1.4, this previously undocumented class is now obsolete.
protected  class BasicMenuUI.MouseInputHandler sample code for javax.swing.plaf.basic.BasicMenuUI.MouseInputHandler definition code for javax.swing.plaf.basic.BasicMenuUI.MouseInputHandler
          Instantiated and used by a menu item to handle the current menu selection from mouse events.
 
Field Summary
protected  ChangeListener sample code for javax.swing.event.ChangeListener definition code for javax.swing.event.ChangeListener changeListener sample code for javax.swing.plaf.basic.BasicMenuUI.changeListener definition code for javax.swing.plaf.basic.BasicMenuUI.changeListener
           
protected  MenuListener sample code for javax.swing.event.MenuListener definition code for javax.swing.event.MenuListener menuListener sample code for javax.swing.plaf.basic.BasicMenuUI.menuListener definition code for javax.swing.plaf.basic.BasicMenuUI.menuListener
           
protected  PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener propertyChangeListener sample code for javax.swing.plaf.basic.BasicMenuUI.propertyChangeListener definition code for javax.swing.plaf.basic.BasicMenuUI.propertyChangeListener
           
 
Fields inherited from class javax.swing.plaf.basic.BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI
acceleratorFont sample code for javax.swing.plaf.basic.BasicMenuItemUI.acceleratorFont definition code for javax.swing.plaf.basic.BasicMenuItemUI.acceleratorFont , acceleratorForeground sample code for javax.swing.plaf.basic.BasicMenuItemUI.acceleratorForeground definition code for javax.swing.plaf.basic.BasicMenuItemUI.acceleratorForeground , acceleratorSelectionForeground sample code for javax.swing.plaf.basic.BasicMenuItemUI.acceleratorSelectionForeground definition code for javax.swing.plaf.basic.BasicMenuItemUI.acceleratorSelectionForeground , arrowIcon sample code for javax.swing.plaf.basic.BasicMenuItemUI.arrowIcon definition code for javax.swing.plaf.basic.BasicMenuItemUI.arrowIcon , checkIcon sample code for javax.swing.plaf.basic.BasicMenuItemUI.checkIcon definition code for javax.swing.plaf.basic.BasicMenuItemUI.checkIcon , defaultTextIconGap sample code for javax.swing.plaf.basic.BasicMenuItemUI.defaultTextIconGap definition code for javax.swing.plaf.basic.BasicMenuItemUI.defaultTextIconGap , disabledForeground sample code for javax.swing.plaf.basic.BasicMenuItemUI.disabledForeground definition code for javax.swing.plaf.basic.BasicMenuItemUI.disabledForeground , menuDragMouseListener sample code for javax.swing.plaf.basic.BasicMenuItemUI.menuDragMouseListener definition code for javax.swing.plaf.basic.BasicMenuItemUI.menuDragMouseListener , menuItem sample code for javax.swing.plaf.basic.BasicMenuItemUI.menuItem definition code for javax.swing.plaf.basic.BasicMenuItemUI.menuItem , menuKeyListener sample code for javax.swing.plaf.basic.BasicMenuItemUI.menuKeyListener definition code for javax.swing.plaf.basic.BasicMenuItemUI.menuKeyListener , mouseInputListener sample code for javax.swing.plaf.basic.BasicMenuItemUI.mouseInputListener definition code for javax.swing.plaf.basic.BasicMenuItemUI.mouseInputListener , oldBorderPainted sample code for javax.swing.plaf.basic.BasicMenuItemUI.oldBorderPainted definition code for javax.swing.plaf.basic.BasicMenuItemUI.oldBorderPainted , selectionBackground sample code for javax.swing.plaf.basic.BasicMenuItemUI.selectionBackground definition code for javax.swing.plaf.basic.BasicMenuItemUI.selectionBackground , selectionForeground sample code for javax.swing.plaf.basic.BasicMenuItemUI.selectionForeground definition code for javax.swing.plaf.basic.BasicMenuItemUI.selectionForeground
 
Constructor Summary
BasicMenuUI sample code for javax.swing.plaf.basic.BasicMenuUI.BasicMenuUI() definition code for javax.swing.plaf.basic.BasicMenuUI.BasicMenuUI() ()
           
 
Method Summary
protected  ChangeListener sample code for javax.swing.event.ChangeListener definition code for javax.swing.event.ChangeListener createChangeListener sample code for javax.swing.plaf.basic.BasicMenuUI.createChangeListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.createChangeListener(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
           
protected  MenuDragMouseListener sample code for javax.swing.event.MenuDragMouseListener definition code for javax.swing.event.MenuDragMouseListener createMenuDragMouseListener sample code for javax.swing.plaf.basic.BasicMenuUI.createMenuDragMouseListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.createMenuDragMouseListener(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
           
protected  MenuKeyListener sample code for javax.swing.event.MenuKeyListener definition code for javax.swing.event.MenuKeyListener createMenuKeyListener sample code for javax.swing.plaf.basic.BasicMenuUI.createMenuKeyListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.createMenuKeyListener(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
           
protected  MenuListener sample code for javax.swing.event.MenuListener definition code for javax.swing.event.MenuListener createMenuListener sample code for javax.swing.plaf.basic.BasicMenuUI.createMenuListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.createMenuListener(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
           
protected  MouseInputListener sample code for javax.swing.event.MouseInputListener definition code for javax.swing.event.MouseInputListener createMouseInputListener sample code for javax.swing.plaf.basic.BasicMenuUI.createMouseInputListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.createMouseInputListener(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
           
protected  PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener createPropertyChangeListener sample code for javax.swing.plaf.basic.BasicMenuUI.createPropertyChangeListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.createPropertyChangeListener(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
           
static ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI createUI sample code for javax.swing.plaf.basic.BasicMenuUI.createUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.createUI(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  x)
           
 Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension getMaximumSize sample code for javax.swing.plaf.basic.BasicMenuUI.getMaximumSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.getMaximumSize(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
          Returns the specified component's maximum size appropriate for the look and feel.
protected  String sample code for java.lang.String definition code for java.lang.String getPropertyPrefix sample code for javax.swing.plaf.basic.BasicMenuUI.getPropertyPrefix() definition code for javax.swing.plaf.basic.BasicMenuUI.getPropertyPrefix() ()
           
protected  void installDefaults sample code for javax.swing.plaf.basic.BasicMenuUI.installDefaults() definition code for javax.swing.plaf.basic.BasicMenuUI.installDefaults() ()
           
protected  void installKeyboardActions sample code for javax.swing.plaf.basic.BasicMenuUI.installKeyboardActions() definition code for javax.swing.plaf.basic.BasicMenuUI.installKeyboardActions() ()
           
protected  void installListeners sample code for javax.swing.plaf.basic.BasicMenuUI.installListeners() definition code for javax.swing.plaf.basic.BasicMenuUI.installListeners() ()
           
protected  void setupPostTimer sample code for javax.swing.plaf.basic.BasicMenuUI.setupPostTimer(javax.swing.JMenu) definition code for javax.swing.plaf.basic.BasicMenuUI.setupPostTimer(javax.swing.JMenu) (JMenu sample code for javax.swing.JMenu definition code for javax.swing.JMenu  menu)
           
protected  void uninstallDefaults sample code for javax.swing.plaf.basic.BasicMenuUI.uninstallDefaults() definition code for javax.swing.plaf.basic.BasicMenuUI.uninstallDefaults() ()
           
protected  void uninstallKeyboardActions sample code for javax.swing.plaf.basic.BasicMenuUI.uninstallKeyboardActions() definition code for javax.swing.plaf.basic.BasicMenuUI.uninstallKeyboardActions() ()
           
protected  void uninstallListeners sample code for javax.swing.plaf.basic.BasicMenuUI.uninstallListeners() definition code for javax.swing.plaf.basic.BasicMenuUI.uninstallListeners() ()
           
 
Methods inherited from class javax.swing.plaf.basic.BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI
doClick sample code for javax.swing.plaf.basic.BasicMenuItemUI.doClick(javax.swing.MenuSelectionManager) definition code for javax.swing.plaf.basic.BasicMenuItemUI.doClick(javax.swing.MenuSelectionManager) , getMinimumSize sample code for javax.swing.plaf.basic.BasicMenuItemUI.getMinimumSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuItemUI.getMinimumSize(javax.swing.JComponent) , getPath sample code for javax.swing.plaf.basic.BasicMenuItemUI.getPath() definition code for javax.swing.plaf.basic.BasicMenuItemUI.getPath() , getPreferredMenuItemSize sample code for javax.swing.plaf.basic.BasicMenuItemUI.getPreferredMenuItemSize(javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, int) definition code for javax.swing.plaf.basic.BasicMenuItemUI.getPreferredMenuItemSize(javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, int) , getPreferredSize sample code for javax.swing.plaf.basic.BasicMenuItemUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuItemUI.getPreferredSize(javax.swing.JComponent) , installComponents sample code for javax.swing.plaf.basic.BasicMenuItemUI.installComponents(javax.swing.JMenuItem) definition code for javax.swing.plaf.basic.BasicMenuItemUI.installComponents(javax.swing.JMenuItem) , installUI sample code for javax.swing.plaf.basic.BasicMenuItemUI.installUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuItemUI.installUI(javax.swing.JComponent) , paint sample code for javax.swing.plaf.basic.BasicMenuItemUI.paint(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuItemUI.paint(java.awt.Graphics, javax.swing.JComponent) , paintBackground sample code for javax.swing.plaf.basic.BasicMenuItemUI.paintBackground(java.awt.Graphics, javax.swing.JMenuItem, java.awt.Color) definition code for javax.swing.plaf.basic.BasicMenuItemUI.paintBackground(java.awt.Graphics, javax.swing.JMenuItem, java.awt.Color) , paintMenuItem sample code for javax.swing.plaf.basic.BasicMenuItemUI.paintMenuItem(java.awt.Graphics, javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, java.awt.Color, java.awt.Color, int) definition code for javax.swing.plaf.basic.BasicMenuItemUI.paintMenuItem(java.awt.Graphics, javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, java.awt.Color, java.awt.Color, int) , paintText sample code for javax.swing.plaf.basic.BasicMenuItemUI.paintText(java.awt.Graphics, javax.swing.JMenuItem, java.awt.Rectangle, java.lang.String) definition code for javax.swing.plaf.basic.BasicMenuItemUI.paintText(java.awt.Graphics, javax.swing.JMenuItem, java.awt.Rectangle, java.lang.String) , uninstallComponents sample code for javax.swing.plaf.basic.BasicMenuItemUI.uninstallComponents(javax.swing.JMenuItem) definition code for javax.swing.plaf.basic.BasicMenuItemUI.uninstallComponents(javax.swing.JMenuItem) , uninstallUI sample code for javax.swing.plaf.basic.BasicMenuItemUI.uninstallUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuItemUI.uninstallUI(javax.swing.JComponent) , update sample code for javax.swing.plaf.basic.BasicMenuItemUI.update(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuItemUI.update(java.awt.Graphics, javax.swing.JComponent)
 
Methods inherited from class javax.swing.plaf.ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
contains sample code for javax.swing.plaf.ComponentUI.contains(javax.swing.JComponent, int, int) definition code for javax.swing.plaf.ComponentUI.contains(javax.swing.JComponent, int, int) , getAccessibleChild sample code for javax.swing.plaf.ComponentUI.getAccessibleChild(javax.swing.JComponent, int) definition code for javax.swing.plaf.ComponentUI.getAccessibleChild(javax.swing.JComponent, int) , getAccessibleChildrenCount sample code for javax.swing.plaf.ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent)
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

changeListener sample code for javax.swing.plaf.basic.BasicMenuUI.changeListener

protected ChangeListener sample code for javax.swing.event.ChangeListener definition code for javax.swing.event.ChangeListener  changeListener

propertyChangeListener sample code for javax.swing.plaf.basic.BasicMenuUI.propertyChangeListener

protected PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener  propertyChangeListener

menuListener sample code for javax.swing.plaf.basic.BasicMenuUI.menuListener

protected MenuListener sample code for javax.swing.event.MenuListener definition code for javax.swing.event.MenuListener  menuListener
Constructor Detail

BasicMenuUI sample code for javax.swing.plaf.basic.BasicMenuUI() definition code for javax.swing.plaf.basic.BasicMenuUI()

public BasicMenuUI()
Method Detail

createUI sample code for javax.swing.plaf.basic.BasicMenuUI.createUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.createUI(javax.swing.JComponent)

public static ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI  createUI(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  x)

installDefaults sample code for javax.swing.plaf.basic.BasicMenuUI.installDefaults() definition code for javax.swing.plaf.basic.BasicMenuUI.installDefaults()

protected void installDefaults()
Overrides:
installDefaults sample code for javax.swing.plaf.basic.BasicMenuItemUI.installDefaults() definition code for javax.swing.plaf.basic.BasicMenuItemUI.installDefaults() in class BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI

getPropertyPrefix sample code for javax.swing.plaf.basic.BasicMenuUI.getPropertyPrefix() definition code for javax.swing.plaf.basic.BasicMenuUI.getPropertyPrefix()

protected String sample code for java.lang.String definition code for java.lang.String  getPropertyPrefix()
Overrides:
getPropertyPrefix sample code for javax.swing.plaf.basic.BasicMenuItemUI.getPropertyPrefix() definition code for javax.swing.plaf.basic.BasicMenuItemUI.getPropertyPrefix() in class BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI

installListeners sample code for javax.swing.plaf.basic.BasicMenuUI.installListeners() definition code for javax.swing.plaf.basic.BasicMenuUI.installListeners()

protected void installListeners()
Overrides:
installListeners sample code for javax.swing.plaf.basic.BasicMenuItemUI.installListeners() definition code for javax.swing.plaf.basic.BasicMenuItemUI.installListeners() in class BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI

installKeyboardActions sample code for javax.swing.plaf.basic.BasicMenuUI.installKeyboardActions() definition code for javax.swing.plaf.basic.BasicMenuUI.installKeyboardActions()

protected void installKeyboardActions()
Overrides:
installKeyboardActions sample code for javax.swing.plaf.basic.BasicMenuItemUI.installKeyboardActions() definition code for javax.swing.plaf.basic.BasicMenuItemUI.installKeyboardActions() in class BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI

uninstallKeyboardActions sample code for javax.swing.plaf.basic.BasicMenuUI.uninstallKeyboardActions() definition code for javax.swing.plaf.basic.BasicMenuUI.uninstallKeyboardActions()

protected void uninstallKeyboardActions()
Overrides:
uninstallKeyboardActions sample code for javax.swing.plaf.basic.BasicMenuItemUI.uninstallKeyboardActions() definition code for javax.swing.plaf.basic.BasicMenuItemUI.uninstallKeyboardActions() in class BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI

createMouseInputListener sample code for javax.swing.plaf.basic.BasicMenuUI.createMouseInputListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.createMouseInputListener(javax.swing.JComponent)

protected MouseInputListener sample code for javax.swing.event.MouseInputListener definition code for javax.swing.event.MouseInputListener  createMouseInputListener(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
Overrides:
createMouseInputListener sample code for javax.swing.plaf.basic.BasicMenuItemUI.createMouseInputListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuItemUI.createMouseInputListener(javax.swing.JComponent) in class BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI

createMenuListener sample code for javax.swing.plaf.basic.BasicMenuUI.createMenuListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.createMenuListener(javax.swing.JComponent)

protected MenuListener sample code for javax.swing.event.MenuListener definition code for javax.swing.event.MenuListener  createMenuListener(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)

createChangeListener sample code for javax.swing.plaf.basic.BasicMenuUI.createChangeListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.createChangeListener(javax.swing.JComponent)

protected ChangeListener sample code for javax.swing.event.ChangeListener definition code for javax.swing.event.ChangeListener  createChangeListener(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)

createPropertyChangeListener sample code for javax.swing.plaf.basic.BasicMenuUI.createPropertyChangeListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.createPropertyChangeListener(javax.swing.JComponent)

protected PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener  createPropertyChangeListener(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)

uninstallDefaults sample code for javax.swing.plaf.basic.BasicMenuUI.uninstallDefaults() definition code for javax.swing.plaf.basic.BasicMenuUI.uninstallDefaults()

protected void uninstallDefaults()
Overrides:
uninstallDefaults sample code for javax.swing.plaf.basic.BasicMenuItemUI.uninstallDefaults() definition code for javax.swing.plaf.basic.BasicMenuItemUI.uninstallDefaults() in class BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI

uninstallListeners sample code for javax.swing.plaf.basic.BasicMenuUI.uninstallListeners() definition code for javax.swing.plaf.basic.BasicMenuUI.uninstallListeners()

protected void uninstallListeners()
Overrides:
uninstallListeners sample code for javax.swing.plaf.basic.BasicMenuItemUI.uninstallListeners() definition code for javax.swing.plaf.basic.BasicMenuItemUI.uninstallListeners() in class BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI

createMenuDragMouseListener sample code for javax.swing.plaf.basic.BasicMenuUI.createMenuDragMouseListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.createMenuDragMouseListener(javax.swing.JComponent)

protected MenuDragMouseListener sample code for javax.swing.event.MenuDragMouseListener definition code for javax.swing.event.MenuDragMouseListener  createMenuDragMouseListener(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
Overrides:
createMenuDragMouseListener sample code for javax.swing.plaf.basic.BasicMenuItemUI.createMenuDragMouseListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuItemUI.createMenuDragMouseListener(javax.swing.JComponent) in class BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI

createMenuKeyListener sample code for javax.swing.plaf.basic.BasicMenuUI.createMenuKeyListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.createMenuKeyListener(javax.swing.JComponent)

protected MenuKeyListener sample code for javax.swing.event.MenuKeyListener definition code for javax.swing.event.MenuKeyListener  createMenuKeyListener(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
Overrides:
createMenuKeyListener sample code for javax.swing.plaf.basic.BasicMenuItemUI.createMenuKeyListener(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuItemUI.createMenuKeyListener(javax.swing.JComponent) in class BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI

getMaximumSize sample code for javax.swing.plaf.basic.BasicMenuUI.getMaximumSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuUI.getMaximumSize(javax.swing.JComponent)

public Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  getMaximumSize(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
Description copied from class: ComponentUI sample code for javax.swing.plaf.ComponentUI.getMaximumSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getMaximumSize(javax.swing.JComponent)
Returns the specified component's maximum size appropriate for the look and feel. If null is returned, the maximum size will be calculated by the component's layout manager instead (this is the preferred approach for any component with a specific layout manager installed). The default implementation of this method invokes getPreferredSize and returns that value.

Overrides:
getMaximumSize sample code for javax.swing.plaf.basic.BasicMenuItemUI.getMaximumSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicMenuItemUI.getMaximumSize(javax.swing.JComponent) in class BasicMenuItemUI sample code for javax.swing.plaf.basic.BasicMenuItemUI definition code for javax.swing.plaf.basic.BasicMenuItemUI
Parameters:
c - the component whose maximum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
Returns:
a Dimension object or null
See Also:
JComponent.getMaximumSize() sample code for javax.swing.JComponent.getMaximumSize() definition code for javax.swing.JComponent.getMaximumSize() , LayoutManager2.maximumLayoutSize(java.awt.Container) sample code for java.awt.LayoutManager2.maximumLayoutSize(java.awt.Container) definition code for java.awt.LayoutManager2.maximumLayoutSize(java.awt.Container)

setupPostTimer sample code for javax.swing.plaf.basic.BasicMenuUI.setupPostTimer(javax.swing.JMenu) definition code for javax.swing.plaf.basic.BasicMenuUI.setupPostTimer(javax.swing.JMenu)

protected void setupPostTimer(JMenu sample code for javax.swing.JMenu definition code for javax.swing.JMenu  menu)