com.izforge.izpack.gui
Class EtchedLineBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by javax.swing.border.EtchedBorder
          extended by 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

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.

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.