Package editor.util
Class RoundedMatteBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- editor.util.RoundedMatteBorder
-
- All Implemented Interfaces:
Serializable
,Border
public class RoundedMatteBorder extends AbstractBorder
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RoundedMatteBorder(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Insets
getBorderInsets(Component c)
Insets
getBorderInsets(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
-
-
-
-
Constructor Detail
-
RoundedMatteBorder
public RoundedMatteBorder(int thickness, Color color)
-
RoundedMatteBorder
public RoundedMatteBorder(int thickness, int marginThickness, Color color)
-
RoundedMatteBorder
public RoundedMatteBorder(int top, int left, int bottom, int right, Color color)
-
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 Detail
-
paintBorder
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
- Specified by:
paintBorder
in interfaceBorder
- Overrides:
paintBorder
in classAbstractBorder
-
getBorderInsets
public Insets getBorderInsets(Component c)
- Specified by:
getBorderInsets
in interfaceBorder
- Overrides:
getBorderInsets
in classAbstractBorder
-
getBorderInsets
public Insets getBorderInsets(Component c, Insets insets)
- Overrides:
getBorderInsets
in classAbstractBorder
-
-