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 classprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprivate AtomicBooleanprotected Colorprivate PropertyChangeListenerprotected ColorFields inherited from class BasicPopupMenuUI
popupMenu -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyStyle(Object style) protected ObjectapplyStyleProperty(String key, Object value) static ComponentUIgetPopup(JPopupMenu popup, int x, int y) private RectanglegetScreenBoundsAt(int x, int y) getStyleableValue(JComponent c, String key) voidprotected voidprotected voidvoidprotected voidprotected voidvoidMethods inherited from class BasicPopupMenuUI
installKeyboardActions, isPopupTrigger, uninstallKeyboardActionsMethods inherited from class 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:
installUIin classBasicPopupMenuUI
-
uninstallUI
- Overrides:
uninstallUIin classBasicPopupMenuUI
-
installDefaults
public void installDefaults()- Overrides:
installDefaultsin classBasicPopupMenuUI
-
uninstallDefaults
protected void uninstallDefaults()- Overrides:
uninstallDefaultsin classBasicPopupMenuUI
-
installListeners
protected void installListeners()- Overrides:
installListenersin classBasicPopupMenuUI
-
uninstallListeners
protected void uninstallListeners()- Overrides:
uninstallListenersin classBasicPopupMenuUI
-
installStyle
protected void installStyle()- Since:
- 2
-
applyStyle
- Since:
- 2
-
applyStyleProperty
-
getStyleableInfos
- Specified by:
getStyleableInfosin interfaceFlatStylingSupport.StyleableUI- Since:
- 2
-
getStyleableValue
- Specified by:
getStyleableValuein interfaceFlatStylingSupport.StyleableUI- Since:
- 2.5
-
getPopup
- Overrides:
getPopupin classPopupMenuUI
-
getScreenBoundsAt
-