javax.swing.border.Border
public class SubstanceEtchedBorder
extends java.lang.Object
implements javax.swing.border.Border
Constructor | Description |
---|---|
SubstanceEtchedBorder() |
Modifier and Type | Method | Description |
---|---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
|
java.awt.Color |
getHighlightColor(java.awt.Component c) |
Returns the highlight color for the specified component.
|
java.awt.Color |
getShadowColor(java.awt.Component c) |
Returns the shadow color for the specified component.
|
boolean |
isBorderOpaque() |
|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
public java.awt.Color getHighlightColor(java.awt.Component c)
c
- Component.public java.awt.Color getShadowColor(java.awt.Component c)
c
- Component.public boolean isBorderOpaque()
isBorderOpaque
in interface javax.swing.border.Border
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