public class ThinBevel
extends javax.swing.border.BevelBorder
ThinBevel is the same as a BevelBorder, except that its thickness is 1 pixel instead of 2 pixels.| Modifier and Type | Field and Description | 
|---|---|
static javax.swing.border.Border | 
EMPTY_BORDER  | 
static javax.swing.border.Border | 
LOWERED_BORDER  | 
static javax.swing.border.Border | 
RAISED_BORDER  | 
| Constructor and Description | 
|---|
ThinBevel(int type)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.awt.Insets | 
getBorderInsets(java.awt.Component c)  | 
java.awt.Insets | 
getBorderInsets(java.awt.Component c, java.awt.Insets insets)  | 
protected void | 
paintLoweredBevel(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)  | 
protected void | 
paintRaisedBevel(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)  | 
getBevelType, getHighlightInnerColor, getHighlightInnerColor, getHighlightOuterColor, getHighlightOuterColor, getShadowInnerColor, getShadowInnerColor, getShadowOuterColor, getShadowOuterColor, isBorderOpaque, paintBorderpublic static final javax.swing.border.Border RAISED_BORDER
public static final javax.swing.border.Border LOWERED_BORDER
public static final javax.swing.border.Border EMPTY_BORDER
public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets in interface javax.swing.border.BordergetBorderInsets in class javax.swing.border.AbstractBorder
public java.awt.Insets getBorderInsets(java.awt.Component c,
                              java.awt.Insets insets)
getBorderInsets in class javax.swing.border.BevelBorder
protected void paintRaisedBevel(java.awt.Component c,
                    java.awt.Graphics g,
                    int x,
                    int y,
                    int w,
                    int h)
paintRaisedBevel in class javax.swing.border.BevelBorder
protected void paintLoweredBevel(java.awt.Component c,
                     java.awt.Graphics g,
                     int x,
                     int y,
                     int w,
                     int h)
paintLoweredBevel in class javax.swing.border.BevelBorder