org.jvnet.substance
Class SubstanceToolBarBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by org.jvnet.substance.SubstanceToolBarBorder
All Implemented Interfaces:
Serializable, Border, UIResource

public class SubstanceToolBarBorder
extends AbstractBorder
implements UIResource

Border for toolbar.

Author:
Kirill Grouchnikov
See Also:
Serialized Form

Constructor Summary
SubstanceToolBarBorder()
           
 
Method Summary
 Insets getBorderInsets(Component c)
           
 Insets getBorderInsets(Component c, Insets newInsets)
           
 void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 
Methods inherited from class javax.swing.border.AbstractBorder
getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubstanceToolBarBorder

public SubstanceToolBarBorder()
Method Detail

paintBorder

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

getBorderInsets

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

getBorderInsets

public Insets getBorderInsets(Component c,
                              Insets newInsets)
Overrides:
getBorderInsets in class AbstractBorder