net.javaprog.ui.wizard.plaf.basic
Class SingleSideEtchedBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by javax.swing.border.EtchedBorder
          extended by net.javaprog.ui.wizard.plaf.basic.SingleSideEtchedBorder
All Implemented Interfaces:
Serializable, Border

public class SingleSideEtchedBorder
extends EtchedBorder

See Also:
Serialized Form

Field Summary
protected  int side
           
 
Fields inherited from class javax.swing.border.EtchedBorder
etchType, highlight, LOWERED, RAISED, shadow
 
Constructor Summary
SingleSideEtchedBorder(int side)
           
SingleSideEtchedBorder(int side, int etchType)
           
 
Method Summary
 Insets getBorderInsets(Component c)
           
 Insets getBorderInsets(Component c, Insets i)
           
 void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 
Methods inherited from class javax.swing.border.EtchedBorder
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

side

protected int side
Constructor Detail

SingleSideEtchedBorder

public SingleSideEtchedBorder(int side)

SingleSideEtchedBorder

public SingleSideEtchedBorder(int side,
                              int etchType)
Method Detail

paintBorder

public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
Specified by:
paintBorder in interface Border
Overrides:
paintBorder in class EtchedBorder

getBorderInsets

public Insets getBorderInsets(Component c)
Specified by:
getBorderInsets in interface Border
Overrides:
getBorderInsets in class EtchedBorder

getBorderInsets

public Insets getBorderInsets(Component c,
                              Insets i)
Overrides:
getBorderInsets in class EtchedBorder