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

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

public class SingleSideLineBorder
extends LineBorder

See Also:
Serialized Form

Field Summary
protected  int side
           
 
Fields inherited from class javax.swing.border.LineBorder
lineColor, roundedCorners, thickness
 
Constructor Summary
SingleSideLineBorder(Color color, int side)
           
 
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.LineBorder
createBlackLineBorder, createGrayLineBorder, getLineColor, getRoundedCorners, getThickness, 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

SingleSideLineBorder

public SingleSideLineBorder(Color color,
                            int side)
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 LineBorder

getBorderInsets

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

getBorderInsets

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