Package com.formdev.flatlaf.ui
Class FlatTextBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.plaf.basic.BasicBorders.MarginBorder
com.formdev.flatlaf.ui.FlatBorder
com.formdev.flatlaf.ui.FlatTextBorder
- All Implemented Interfaces:
FlatStylingSupport.StyleableBorder
,Serializable
,Border
,UIResource
Border for various text components (e.g.
JTextField
).- See Also:
-
Field Summary
FieldsFields 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 -
Method Summary
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 Details
-
arc
protected int arc -
roundRect
- Since:
- 2
-
-
Constructor Details
-
FlatTextBorder
public FlatTextBorder()
-
-
Method Details
-
getArc
Description copied from class:FlatBorder
Returns the (unscaled) arc diameter of the border corners.- Overrides:
getArc
in classFlatBorder
-