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.StyleableObject, Serializable, Border, UIResource
Border for various text components (e.g.
JTextField).- See Also:
- UiDefault:
- TextComponent.arc int
-
Field Summary
FieldsFields inherited from class FlatBorder
borderColor, borderWidth, customBorderColor, disabledBorderColor, errorBorderColor, errorFocusedBorderColor, focusColor, focusedBorderColor, focusWidth, innerFocusWidth, innerOutlineWidth, outline, outlineColor, outlineFocusedColor, successBorderColor, successFocusedBorderColor, warningBorderColor, warningFocusedBorderColor -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FlatBorder
getBorderColor, getBorderInsets, getBorderWidth, getFocusColor, getFocusWidth, getInnerFocusWidth, getLineWidth, getOutlineColor, isCellEditor, isEnabled, isFocused, paintBorderMethods inherited from class AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaqueMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FlatStylingSupport.StyleableObject
applyStyleProperty, getStyleableInfos, getStyleableValue
-
Field Details
-
arc
protected int arc -
roundRect
- Since:
- 2
-
-
Constructor Details
-
FlatTextBorder
public FlatTextBorder()
-
-
Method Details
-
getArc
Description copied from class:FlatBorderReturns the (unscaled) arc diameter of the border corners.- Overrides:
getArcin classFlatBorder
-