Module java.desktop

Class BasicPopupMenuUI

Direct Known Subclasses:
SynthPopupMenuUI

public class BasicPopupMenuUI extends PopupMenuUI
A Windows L&F implementation of PopupMenuUI. This implementation is a "combined" view/controller.
  • Field Details

    • popupMenu

      protected JPopupMenu popupMenu
      The instance of JPopupMenu.
  • Constructor Details

    • BasicPopupMenuUI

      public BasicPopupMenuUI()
      Constructs a new instance of BasicPopupMenuUI.
  • Method Details

    • createUI

      public static ComponentUI createUI(JComponent x)
      Constructs a new instance of BasicPopupMenuUI.
      Parameters:
      x - a component
      Returns:
      a new instance of BasicPopupMenuUI
    • installDefaults

      public void installDefaults()
      Installs default properties.
    • installListeners

      protected void installListeners()
      Registers listeners.
    • installKeyboardActions

      protected void installKeyboardActions()
      Registers keyboard actions.
    • uninstallDefaults

      protected void uninstallDefaults()
      Uninstalls default properties.
    • uninstallListeners

      protected void uninstallListeners()
      Unregisters listeners.
    • uninstallKeyboardActions

      protected void uninstallKeyboardActions()
      Unregisters keyboard actions.