jgnash.ui.components
Class ShadowBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by jgnash.ui.components.ShadowBorder
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border

public class ShadowBorder
extends javax.swing.border.AbstractBorder

Pulled out of SimpleInternalFrame from JGoodies look and feel demo

Author:
Karsten Lentzsch
See Also:
Serialized Form

Field Summary
private static java.awt.Insets INSETS
           
private static long serialVersionUID
           
 
Constructor Summary
ShadowBorder()
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
           
 void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)
           
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

INSETS

private static final java.awt.Insets INSETS
Constructor Detail

ShadowBorder

public ShadowBorder()
Method Detail

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c)
Specified by:
getBorderInsets in interface javax.swing.border.Border
Overrides:
getBorderInsets in class javax.swing.border.AbstractBorder

paintBorder

public void paintBorder(java.awt.Component c,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        int w,
                        int h)
Specified by:
paintBorder in interface javax.swing.border.Border
Overrides:
paintBorder in class javax.swing.border.AbstractBorder