Package com.formdev.flatlaf.ui
Class FlatPopupMenuBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.EmptyBorder
-
- javax.swing.plaf.BorderUIResource.EmptyBorderUIResource
-
- com.formdev.flatlaf.ui.FlatEmptyBorder
-
- com.formdev.flatlaf.ui.FlatLineBorder
-
- com.formdev.flatlaf.ui.FlatPopupMenuBorder
-
- All Implemented Interfaces:
FlatStylingSupport.StyleableBorder
,java.io.Serializable
,javax.swing.border.Border
,javax.swing.plaf.UIResource
public class FlatPopupMenuBorder extends FlatLineBorder implements FlatStylingSupport.StyleableBorder
Border forJPopupMenu
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.awt.Color
borderColor
-
Constructor Summary
Constructors Constructor Description FlatPopupMenuBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
applyStyleProperty(java.lang.String key, java.lang.Object value)
java.awt.Insets
getBorderInsets(java.awt.Component c, java.awt.Insets insets)
java.awt.Color
getLineColor()
java.util.Map<java.lang.String,java.lang.Class<?>>
getStyleableInfos()
java.lang.Object
getStyleableValue(java.lang.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
-
-
-
-
Method Detail
-
applyStyleProperty
public java.lang.Object applyStyleProperty(java.lang.String key, java.lang.Object value)
- Specified by:
applyStyleProperty
in interfaceFlatStylingSupport.StyleableBorder
- Since:
- 2
-
getStyleableInfos
public java.util.Map<java.lang.String,java.lang.Class<?>> getStyleableInfos()
- Specified by:
getStyleableInfos
in interfaceFlatStylingSupport.StyleableBorder
- Since:
- 2
-
getStyleableValue
public java.lang.Object getStyleableValue(java.lang.String key)
- Specified by:
getStyleableValue
in interfaceFlatStylingSupport.StyleableBorder
- Since:
- 2.5
-
getLineColor
public java.awt.Color getLineColor()
- Overrides:
getLineColor
in classFlatLineBorder
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
- Overrides:
getBorderInsets
in classFlatEmptyBorder
-
-