API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicPopupMenuUI View Source
Author(s)
Georges Saab
David Karlton
Arnaud Weber
Since
Version
1.138 04/03/07
Serial
Hierarchy
 Object
      ComponentUI
          PopupMenuUI
              BasicPopupMenuUI
Implements
Subclasses
Description
public class BasicPopupMenuUI
  A Windows L&F implementation of PopupMenuUI.
See also:   
Constructors
public BasicPopupMenuUI ()
Methods
Hide/Show inherited methods
public boolean contains (JComponent c, int x, int y) [Inherited From ComponentUI]
  Returns true if the specified x,y location is contained within the look and feel's defined shape of the specified component.
publicstatic ComponentUI createUI (JComponent x) [Overrides ComponentUI]
pack-privatestatic MenuElement findEnabledChild (MenuElement e, int fromIndex, boolean forward)
pack-privatestatic MenuElement findEnabledChild (MenuElement e, MenuElement elem, boolean forward)
public Accessible getAccessibleChild (JComponent c, int i) [Inherited From ComponentUI]
  Returns the ith Accessible child of the object.
public int getAccessibleChildrenCount (JComponent c) [Inherited From ComponentUI]
  Returns the number of accessible children in the object.
pack-privatestatic ActionMap getActionMap ()
public int getBaseline (JComponent c, int width, int height) [Inherited From ComponentUI]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (JComponent c) [Inherited From ComponentUI]
  Returns an enum indicating how the baseline of he component changes as the size changes.
pack-privatestatic MenuElement getFirstPopup ()
pack-privatestatic InputMap getInputMap (JPopupMenu popup, JComponent c)
pack-privatestatic JPopupMenu getLastPopup ()
public Dimension getMaximumSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's maximum size appropriate for the look and feel.
public Dimension getMinimumSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's minimum size appropriate for the look and feel.
public Popup getPopup (JPopupMenu popup, int x, int y) [Inherited From PopupMenuUI]
  Returns the Popup that will be responsible for displaying the JPopupMenu.
pack-privatestatic List getPopups ()
public Dimension getPreferredSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's preferred size appropriate for the look and feel.
public void installDefaults ()
protected void installKeyboardActions ()
protected void installListeners ()
public void installUI (JComponent c) [Overrides ComponentUI]
public boolean isPopupTrigger (MouseEvent e) [Overrides PopupMenuUI]
pack-privatestatic void loadActionMap (LazyActionMap map)
public void paint (Graphics g, JComponent c) [Inherited From ComponentUI]
  Paints the specified component appropriate for the look and feel.
protected void uninstallDefaults ()
protected void uninstallKeyboardActions ()
protected void uninstallListeners ()
public void uninstallUI (JComponent c) [Overrides ComponentUI]
public void update (Graphics g, JComponent c) [Inherited From ComponentUI]
  Notifies this UI delegate that it's time to paint the specified component.
Fields
Hide/Show inherited fields
pack-privatefinalstatic StringBuilder MENU_KEYBOARD_HELPER_KEY
pack-privatefinalstatic StringBuilder MOUSE_GRABBER_KEY
protected JPopupMenu popupMenu
Nested Classes
  BasicPopupMenuUI.MouseGrabber
  BasicPopupMenuUI.MenuKeyboardHelper
This helper is added to MenuSelectionManager as a ChangeListener to listen to menu selection changes.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar