Package com.jackmeng.stl
Class stl_SwingHelper.$rr_corner_border_01
java.lang.Object
com.jackmeng.stl.stl_SwingHelper.$rr_corner_border_01
- All Implemented Interfaces:
javax.swing.border.Border
- Enclosing class:
- stl_SwingHelper
private static final class stl_SwingHelper.$rr_corner_border_01
extends java.lang.Object
implements javax.swing.border.Border
-
Field Summary
Fields Modifier and Type Field Description java.awt.Color
color
java.awt.Insets
i
int
radius
int
strokeThickness
-
Constructor Summary
Constructors Constructor Description $rr_corner_border_01(int radius, int thickness, java.awt.Color color)
$rr_corner_border_01(int radius, int thickness, java.awt.Color c, java.awt.Insets myInsets)
-
Method Summary
Modifier and Type Method Description java.awt.Insets
getBorderInsets(java.awt.Component c)
boolean
isBorderOpaque()
void
paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
radius
public final int radius -
strokeThickness
public final int strokeThickness -
color
public final java.awt.Color color -
i
public final java.awt.Insets i
-
-
Constructor Details
-
$rr_corner_border_01
public $rr_corner_border_01(int radius, int thickness, java.awt.Color color) -
$rr_corner_border_01
public $rr_corner_border_01(int radius, int thickness, java.awt.Color c, java.awt.Insets myInsets)
-
-
Method Details
-
paintBorder
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)- Specified by:
paintBorder
in interfacejavax.swing.border.Border
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)- Specified by:
getBorderInsets
in interfacejavax.swing.border.Border
-
isBorderOpaque
public boolean isBorderOpaque()- Specified by:
isBorderOpaque
in interfacejavax.swing.border.Border
-