Package com.formdev.flatlaf.ui
Class FlatRoundBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.plaf.basic.BasicBorders.MarginBorder
-
- com.formdev.flatlaf.ui.FlatBorder
-
- com.formdev.flatlaf.ui.FlatRoundBorder
-
- All Implemented Interfaces:
FlatStylingSupport.StyleableBorder
,Serializable
,Border
,UIResource
public class FlatRoundBorder extends FlatBorder
Border for various components (e.g.JComboBox
).- See Also:
- Serialized Form
- UiDefault:
- Component.arc int
-
-
Field Summary
Fields Modifier and Type Field Description protected int
arc
protected Boolean
roundRect
-
Fields inherited from class com.formdev.flatlaf.ui.FlatBorder
borderColor, borderWidth, customBorderColor, disabledBorderColor, errorBorderColor, errorFocusedBorderColor, focusColor, focusedBorderColor, focusWidth, innerFocusWidth, innerOutlineWidth, outline, outlineColor, outlineFocusedColor, warningBorderColor, warningFocusedBorderColor
-
-
Constructor Summary
Constructors Constructor Description FlatRoundBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getArc(Component c)
Returns the (unscaled) arc diameter of the border.-
Methods inherited from class com.formdev.flatlaf.ui.FlatBorder
applyStyleProperty, getBorderColor, getBorderInsets, getBorderWidth, getFocusColor, getFocusWidth, getInnerFocusWidth, getLineWidth, getOutlineColor, getStyleableInfos, getStyleableValue, isCellEditor, isEnabled, isFocused, paintBorder
-
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
-
-
-
-
Field Detail
-
arc
protected int arc
-
roundRect
protected Boolean roundRect
- Since:
- 2
-
-
Method Detail
-
getArc
protected int getArc(Component c)
Description copied from class:FlatBorder
Returns the (unscaled) arc diameter of the border.- Overrides:
getArc
in classFlatBorder
-
-