java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PopupMenuUI
javax.swing.plaf.basic.BasicPopupMenuUI
- Direct Known Subclasses:
SynthPopupMenuUI
A Windows L&F implementation of PopupMenuUI. This implementation
is a "combined" view/controller.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
Constructs a new instance ofBasicPopupMenuUI
.void
Installs default properties.protected void
Registers keyboard actions.protected void
Registers listeners.protected void
Uninstalls default properties.protected void
Unregisters keyboard actions.protected void
Unregisters listeners.Methods declared in class javax.swing.plaf.PopupMenuUI
getPopup, isPopupTrigger
Methods declared in class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
-
Field Details
-
popupMenu
The instance ofJPopupMenu
.
-
-
Constructor Details
-
BasicPopupMenuUI
public BasicPopupMenuUI()Constructs a new instance ofBasicPopupMenuUI
.
-
-
Method Details
-
createUI
Constructs a new instance ofBasicPopupMenuUI
.- 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.
-