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.StyleableObject, Serializable, Border, UIResource
- Enclosing class:
FlatInternalFrameUI
public static class FlatInternalFrameUI.FlatInternalFrameBorder
extends FlatEmptyBorder
implements FlatStylingSupport.StyleableObject
- See Also:
-
Field Summary
FieldsFields inherited from class EmptyBorder
bottom, left, right, top -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyStyleProperty(String key, Object value) Applies the given value to this object.getBorderInsets(Component c, Insets insets) Returns a map of all styleable properties.getStyleableValue(String key) Returns the current value for the given property key.voidpaintBorder(Component c, Graphics g, int x, int y, int width, int height) Methods inherited from class FlatEmptyBorder
applyStyleProperty, getBorderInsets, getStyleableValue, getUnscaledBorderInsets, scaleInsetsMethods inherited from class EmptyBorder
isBorderOpaqueMethods inherited from class AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Field Details
-
activeBorderColor
-
inactiveBorderColor
-
borderLineWidth
protected int borderLineWidth -
dropShadowPainted
protected boolean dropShadowPainted
-
-
Constructor Details
-
FlatInternalFrameBorder
public FlatInternalFrameBorder()
-
-
Method Details
-
applyStyleProperty
Description copied from interface:FlatStylingSupport.StyleableObjectApplies the given value to this object.The default implementation invokes
FlatStylingSupport.applyToAnnotatedObject(Object, String, Object).- Specified by:
applyStylePropertyin interfaceFlatStylingSupport.StyleableObject- Parameters:
key- the name of the propertyvalue- the new value- Returns:
- the old value of the property
-
getStyleableInfos
Description copied from interface:FlatStylingSupport.StyleableObjectReturns a map of all styleable properties. The key is the name of the property and the value the type of the property.The default implementation invokes
FlatStylingSupport.getAnnotatedStyleableInfos(Object).- Specified by:
getStyleableInfosin interfaceFlatStylingSupport.StyleableObject
-
getStyleableValue
Description copied from interface:FlatStylingSupport.StyleableObjectReturns the current value for the given property key.The default implementation invokes
FlatStylingSupport.getAnnotatedStyleableValue(Object, String).- Specified by:
getStyleableValuein interfaceFlatStylingSupport.StyleableObject- Parameters:
key- the name of the property- Returns:
- the current value of the property
- Since:
- 2.5
-
getBorderInsets
- Overrides:
getBorderInsetsin classFlatEmptyBorder
-
paintBorder
- Specified by:
paintBorderin interfaceBorder- Overrides:
paintBorderin classEmptyBorder
-