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
,java.io.Serializable
,javax.swing.border.Border
,javax.swing.plaf.UIResource
public class FlatTextBorder extends FlatBorder
Border for various text components (e.g.JTextField
).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
arc
protected java.lang.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 FlatTextBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getArc(java.awt.Component c)
Returns the (unscaled) arc diameter of the border corners.-
Methods inherited from class com.formdev.flatlaf.ui.FlatBorder
applyStyleProperty, getBorderColor, getBorderInsets, getBorderWidth, getFocusColor, getFocusWidth, getInnerFocusWidth, getLineWidth, getOutlineColor, getStyleableInfos, getStyleableValue, isCellEditor, isEnabled, isFocused, paintBorder
-
-
-
-
Method Detail
-
getArc
protected int getArc(java.awt.Component c)
Description copied from class:FlatBorder
Returns the (unscaled) arc diameter of the border corners.- Overrides:
getArc
in classFlatBorder
-
-