Copyright 2012-02-25 Werner Randelshofer

ch.randelshofer.pdf.plaf
Class PDFToolBarBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by ch.randelshofer.pdf.plaf.PDFToolBarBorder
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border, javax.swing.SwingConstants
Direct Known Subclasses:
PDFToolBarBorder.UIResource

public class PDFToolBarBorder
extends javax.swing.border.AbstractBorder
implements javax.swing.SwingConstants

PDFToolBarBorder.

Version:
1.1 2005-12-18 Tweaked insets.
1.0.4 2005-12-09 Inner class UIResource added.
1.0.3 2005-09-10 Dont' implement UIResource.
1.0.2 2005-05-28 Fixed class cast exceptions in methods paintBorder and getBorderInsets.
1.0.1 2005-04-21 Fixed insets.
1.0 2005-03-30 Created.
Author:
Werner Randelshofer
See Also:
Serialized Form

Nested Class Summary
static class PDFToolBarBorder.UIResource
           
 
Field Summary
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
PDFToolBarBorder()
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
           
 java.awt.Insets getBorderInsets(java.awt.Component component, java.awt.Insets newInsets)
           
 void paintBorder(java.awt.Component component, java.awt.Graphics g, int x, int y, int w, int h)
           
 
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFToolBarBorder

public PDFToolBarBorder()
Method Detail

paintBorder

public void paintBorder(java.awt.Component component,
                        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

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

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component component,
                                       java.awt.Insets newInsets)
Overrides:
getBorderInsets in class javax.swing.border.AbstractBorder

Copyright 2012-02-25 Werner Randelshofer