Package com.formdev.flatlaf.ui
Class FlatPopupMenuUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PopupMenuUI
javax.swing.plaf.basic.BasicPopupMenuUI
com.formdev.flatlaf.ui.FlatPopupMenuUI
- All Implemented Interfaces:
FlatStylingSupport.StyleableUI
Provides the Flat LaF UI delegate for
JPopupMenu
.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
private class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
private AtomicBoolean
protected Color
private PropertyChangeListener
protected Color
Fields inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
popupMenu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyStyle
(Object style) protected Object
applyStyleProperty
(String key, Object value) static ComponentUI
getPopup
(JPopupMenu popup, int x, int y) private Rectangle
getScreenBoundsAt
(int x, int y) getStyleableValue
(JComponent c, String key) void
protected void
protected void
void
protected void
protected void
void
Methods inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
installKeyboardActions, isPopupTrigger, uninstallKeyboardActions
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
-
Field Details
-
arrowType
- Since:
- 2.1
-
scrollArrowColor
- Since:
- 2.1
-
hoverScrollArrowBackground
- Since:
- 2.1
-
propertyChangeListener
-
oldStyleValues
-
-
Constructor Details
-
FlatPopupMenuUI
public FlatPopupMenuUI()
-
-
Method Details
-
createUI
-
installUI
- Overrides:
installUI
in classBasicPopupMenuUI
-
uninstallUI
- Overrides:
uninstallUI
in classBasicPopupMenuUI
-
installDefaults
public void installDefaults()- Overrides:
installDefaults
in classBasicPopupMenuUI
-
uninstallDefaults
protected void uninstallDefaults()- Overrides:
uninstallDefaults
in classBasicPopupMenuUI
-
installListeners
protected void installListeners()- Overrides:
installListeners
in classBasicPopupMenuUI
-
uninstallListeners
protected void uninstallListeners()- Overrides:
uninstallListeners
in classBasicPopupMenuUI
-
installStyle
protected void installStyle()- Since:
- 2
-
applyStyle
- Since:
- 2
-
applyStyleProperty
- Since:
- 2
-
getStyleableInfos
- Specified by:
getStyleableInfos
in interfaceFlatStylingSupport.StyleableUI
- Since:
- 2
-
getStyleableValue
- Specified by:
getStyleableValue
in interfaceFlatStylingSupport.StyleableUI
- Since:
- 2.5
-
getPopup
- Overrides:
getPopup
in classPopupMenuUI
-
getScreenBoundsAt
-