org.jvnet.substance
Class SubstancePaneBorder

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

public class SubstancePaneBorder
extends AbstractBorder
implements UIResource

Root pane and internal frame border in Substance look and feel.

Author:
Kirill Grouchnikov
See Also:
Serialized Form

Constructor Summary
SubstancePaneBorder()
           
 
Method Summary
 Insets getBorderInsets(Component c)
           
 Insets getBorderInsets(Component c, Insets newInsets)
           
 boolean isBorderOpaque()
           
 void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 
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
 

Constructor Detail

SubstancePaneBorder

public SubstancePaneBorder()
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

isBorderOpaque

public boolean isBorderOpaque()
Specified by:
isBorderOpaque in interface Border
Overrides:
isBorderOpaque in class AbstractBorder