Package com.formdev.flatlaf.ui
Class FlatPopupMenuBorder
-
- All Implemented Interfaces:
FlatStylingSupport.StyleableBorder
,Serializable
,Border
,UIResource
public class FlatPopupMenuBorder extends FlatLineBorder implements FlatStylingSupport.StyleableBorder
Border forJPopupMenu
.- See Also:
- Serialized Form
- UiDefault:
- PopupMenu.borderInsets Insets, PopupMenu.borderColor Color
-
-
Field Summary
-
Fields inherited from class javax.swing.border.EmptyBorder
bottom, left, right, top
-
-
Constructor Summary
Constructors Constructor Description FlatPopupMenuBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
applyStyleProperty(String key, Object value)
Insets
getBorderInsets(Component c, Insets insets)
Color
getLineColor()
Map<String,Class<?>>
getStyleableInfos()
Object
getStyleableValue(String key)
-
Methods inherited from class com.formdev.flatlaf.ui.FlatLineBorder
getArc, getLineThickness, paintBorder
-
Methods inherited from class com.formdev.flatlaf.ui.FlatEmptyBorder
applyStyleProperty, getBorderInsets, getStyleableValue, getUnscaledBorderInsets, scaleInsets
-
Methods inherited from class javax.swing.border.EmptyBorder
isBorderOpaque
-
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
-
-
-
Method Detail
-
applyStyleProperty
public Object applyStyleProperty(String key, Object value)
- Specified by:
applyStyleProperty
in interfaceFlatStylingSupport.StyleableBorder
- Since:
- 2
-
getStyleableInfos
public Map<String,Class<?>> getStyleableInfos()
- Specified by:
getStyleableInfos
in interfaceFlatStylingSupport.StyleableBorder
- Since:
- 2
-
getStyleableValue
public Object getStyleableValue(String key)
- Specified by:
getStyleableValue
in interfaceFlatStylingSupport.StyleableBorder
- Since:
- 2.5
-
getLineColor
public Color getLineColor()
- Overrides:
getLineColor
in classFlatLineBorder
-
getBorderInsets
public Insets getBorderInsets(Component c, Insets insets)
- Overrides:
getBorderInsets
in classFlatEmptyBorder
-
-