Package com.jgoodies.looks.plastic
Class PlasticBorders.EtchedBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- com.jgoodies.looks.plastic.PlasticBorders.EtchedBorder
-
- All Implemented Interfaces:
java.io.Serializable,javax.swing.border.Border,javax.swing.plaf.UIResource
- Enclosing class:
- PlasticBorders
private static final class PlasticBorders.EtchedBorder extends javax.swing.border.AbstractBorder implements javax.swing.plaf.UIResourceA border used for menu bars and tool bars inHeaderStyle.SINGLE. The bar is wrapped by an inner thin raised border, which in turn is wrapped by an outer thin lowered border.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.awt.InsetsINSETS
-
Constructor Summary
Constructors Modifier Constructor Description privateEtchedBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.InsetsgetBorderInsets(java.awt.Component c)voidpaintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)
-
-
-
Method Detail
-
paintBorder
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)- Specified by:
paintBorderin interfacejavax.swing.border.Border- Overrides:
paintBorderin classjavax.swing.border.AbstractBorder
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
- Specified by:
getBorderInsetsin interfacejavax.swing.border.Border- Overrides:
getBorderInsetsin classjavax.swing.border.AbstractBorder
-
-