com.jgoodies.jdiskreport.view.component
Class ScrollPaneBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by com.jgoodies.jdiskreport.view.component.ScrollPaneBorder
All Implemented Interfaces:
Serializable, Border

public final class ScrollPaneBorder
extends AbstractBorder

A border that uses the standard shadow color and can paint on the top, left, bottom, and right.

Version:
$Revision: 1.3 $
Author:
Karsten Lentzsch
See Also:
Serialized Form

Constructor Summary
ScrollPaneBorder(boolean top, boolean left, boolean bottom, boolean right)
           
 
Method Summary
 Insets getBorderInsets(Component c)
           
 void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScrollPaneBorder

public ScrollPaneBorder(boolean top,
                        boolean left,
                        boolean bottom,
                        boolean right)
Method Detail

getBorderInsets

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

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 AbstractBorder


Copyright © 2000-2008 JGoodies Karsten Lentzsch. All Rights Reserved.