javax.swing.border.Border
, javax.swing.plaf.UIResource
public class SubstanceTextComponentBorder
extends java.lang.Object
implements javax.swing.border.Border, javax.swing.plaf.UIResource
Modifier and Type | Field | Description |
---|---|---|
protected java.awt.Insets |
myInsets |
Insets of
this border. |
Constructor | Description |
---|---|
SubstanceTextComponentBorder(java.awt.Insets insets) |
Creates a new border with the specified insets.
|
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) |
public SubstanceTextComponentBorder(java.awt.Insets insets)
insets
- Insets.public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
paintBorder
in interface javax.swing.border.Border
public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets
in interface javax.swing.border.Border
public boolean isBorderOpaque()
isBorderOpaque
in interface javax.swing.border.Border