com.izforge.izpack.gui
Class EtchedLineBorder

java.lang.Object
  extended byjavax.swing.border.AbstractBorder
      extended byjavax.swing.border.EtchedBorder
          extended bycom.izforge.izpack.gui.EtchedLineBorder
All Implemented Interfaces:
javax.swing.border.Border, java.io.Serializable

public class EtchedLineBorder
extends javax.swing.border.EtchedBorder

Draws an etched line border.

Author:
Julien Ponge
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Fields inherited from class javax.swing.border.EtchedBorder
etchType, highlight, LOWERED, RAISED, shadow
 
Constructor Summary
EtchedLineBorder()
           
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

EtchedLineBorder

public EtchedLineBorder()
Method Detail

paintBorder

public void paintBorder(java.awt.Component c,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
Paints the etched line.

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.