Package com.formdev.flatlaf.ui
Class FlatInternalFrameUI.FlatInternalFrameBorder
- 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.FlatInternalFrameUI.FlatInternalFrameBorder
-
- All Implemented Interfaces:
FlatStylingSupport.StyleableBorder
,Serializable
,Border
,UIResource
- Enclosing class:
- FlatInternalFrameUI
public static class FlatInternalFrameUI.FlatInternalFrameBorder extends FlatEmptyBorder implements FlatStylingSupport.StyleableBorder
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Color
activeBorderColor
protected int
borderLineWidth
protected boolean
dropShadowPainted
protected Color
inactiveBorderColor
-
Fields inherited from class javax.swing.border.EmptyBorder
bottom, left, right, top
-
-
Constructor Summary
Constructors Constructor Description FlatInternalFrameBorder()
-
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)
Map<String,Class<?>>
getStyleableInfos()
Object
getStyleableValue(String key)
void
paintBorder(Component c, Graphics g, int x, int y, int width, int height)
-
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
-
getStyleableInfos
public Map<String,Class<?>> getStyleableInfos()
- Specified by:
getStyleableInfos
in interfaceFlatStylingSupport.StyleableBorder
-
getStyleableValue
public Object getStyleableValue(String key)
- Specified by:
getStyleableValue
in interfaceFlatStylingSupport.StyleableBorder
- Since:
- 2.5
-
getBorderInsets
public Insets getBorderInsets(Component c, Insets insets)
- Overrides:
getBorderInsets
in classFlatEmptyBorder
-
paintBorder
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
- Specified by:
paintBorder
in interfaceBorder
- Overrides:
paintBorder
in classEmptyBorder
-
-