swingwtx.swing.border
Class AbstractBorder

java.lang.Object
  extended byswingwtx.swing.border.AbstractBorder
All Implemented Interfaces:
Border
Direct Known Subclasses:
BevelBorder, CompoundBorder, EmptyBorder, EtchedBorder, LineBorder, MatteBorder, TitledBorder

public abstract class AbstractBorder
extends java.lang.Object
implements Border


Constructor Summary
AbstractBorder()
           
 
Method Summary
 Insets getBorderInsets(Component c)
           
 Insets getBorderInsets(Component c, Insets insets)
           
static Rectangle getInteriorRectangle(Component c, Border b, int x, int y, int width, int height)
           
 Rectangle getInteriorRectangle(Component c, int x, int y, int width, int height)
           
 boolean isBorderOpaque()
           
 void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBorder

public AbstractBorder()
Method Detail

paintBorder

public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
Specified by:
paintBorder in interface Border

getBorderInsets

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

getBorderInsets

public Insets getBorderInsets(Component c,
                              Insets insets)

isBorderOpaque

public boolean isBorderOpaque()
Specified by:
isBorderOpaque in interface Border

getInteriorRectangle

public Rectangle getInteriorRectangle(Component c,
                                      int x,
                                      int y,
                                      int width,
                                      int height)

getInteriorRectangle

public static Rectangle getInteriorRectangle(Component c,
                                             Border b,
                                             int x,
                                             int y,
                                             int width,
                                             int height)