Package editor.util
Class RoundedMatteBorder
java.lang.Object
javax.swing.border.AbstractBorder
editor.util.RoundedMatteBorder
- All Implemented Interfaces:
Serializable
,Border
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRoundedMatteBorder
(int top, int left, int bottom, int right, int topInset, int leftInset, int bottomInset, int rightInset, Color color) RoundedMatteBorder
(int top, int left, int bottom, int right, int horzInset, int vertInset, Color color) RoundedMatteBorder
(int top, int left, int bottom, int right, int marginThickness, Color color) RoundedMatteBorder
(int top, int left, int bottom, int right, Color color) RoundedMatteBorder
(int thickness, int marginThickness, Color color) RoundedMatteBorder
(int thickness, Color color) -
Method Summary
Modifier and TypeMethodDescriptiongetBorderInsets
(Component c, Insets insets) void
paintBorder
(Component c, Graphics g, int x, int y, int width, int height) Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
-
Field Details
-
DEF_DIAMETER
private static final int DEF_DIAMETER- See Also:
-
DEF_INSET
private static final int DEF_INSET- See Also:
-
_color
-
_insets
-
_margin
-
-
Constructor Details
-
RoundedMatteBorder
-
RoundedMatteBorder
-
RoundedMatteBorder
-
RoundedMatteBorder
public RoundedMatteBorder(int top, int left, int bottom, int right, int marginThickness, Color color) -
RoundedMatteBorder
public RoundedMatteBorder(int top, int left, int bottom, int right, int horzInset, int vertInset, Color color) -
RoundedMatteBorder
public RoundedMatteBorder(int top, int left, int bottom, int right, int topInset, int leftInset, int bottomInset, int rightInset, Color color)
-
-
Method Details
-
paintBorder
- Specified by:
paintBorder
in interfaceBorder
- Overrides:
paintBorder
in classAbstractBorder
-
getBorderInsets
- Specified by:
getBorderInsets
in interfaceBorder
- Overrides:
getBorderInsets
in classAbstractBorder
-
getBorderInsets
- Overrides:
getBorderInsets
in classAbstractBorder
-