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 ColoractiveBorderColorprotected intborderLineWidthprotected booleandropShadowPaintedprotected ColorinactiveBorderColor-
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 ObjectapplyStyleProperty(String key, Object value)InsetsgetBorderInsets(Component c, Insets insets)Map<String,Class<?>>getStyleableInfos()ObjectgetStyleableValue(String key)voidpaintBorder(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:
applyStylePropertyin interfaceFlatStylingSupport.StyleableBorder
-
getStyleableInfos
public Map<String,Class<?>> getStyleableInfos()
- Specified by:
getStyleableInfosin interfaceFlatStylingSupport.StyleableBorder
-
getStyleableValue
public Object getStyleableValue(String key)
- Specified by:
getStyleableValuein interfaceFlatStylingSupport.StyleableBorder- Since:
- 2.5
-
getBorderInsets
public Insets getBorderInsets(Component c, Insets insets)
- Overrides:
getBorderInsetsin classFlatEmptyBorder
-
paintBorder
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
- Specified by:
paintBorderin interfaceBorder- Overrides:
paintBorderin classEmptyBorder
-
-