com.izforge.izpack.gui
Class EtchedLineBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.EtchedBorder
com.izforge.izpack.gui.EtchedLineBorder
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.border.Border
public class EtchedLineBorder
- extends javax.swing.border.EtchedBorder
Draws an etched line border.
- Author:
- Julien Ponge
- See Also:
- Serialized Form
Fields inherited from class javax.swing.border.EtchedBorder |
etchType, highlight, LOWERED, RAISED, shadow |
Method Summary |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
Paints the etched line. |
Methods inherited from class javax.swing.border.EtchedBorder |
getBorderInsets, getBorderInsets, getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaque |
Methods inherited from class javax.swing.border.AbstractBorder |
getInteriorRectangle, getInteriorRectangle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
EtchedLineBorder
public EtchedLineBorder()
paintBorder
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
- Paints the etched line.
- Specified by:
paintBorder
in interface javax.swing.border.Border
- Overrides:
paintBorder
in class javax.swing.border.EtchedBorder
- Parameters:
c
- The component to draw the border on.g
- The graphics object.x
- The top-left x.y
- The top-left y.width
- The border width.height
- The border height.