Copyright 2012-02-25 Werner Randelshofer

ch.randelshofer.pdf.plaf
Class PDFToolBarButtonStateBorder

java.lang.Object
  extended by ch.randelshofer.pdf.plaf.PDFButtonStateBorder
      extended by ch.randelshofer.pdf.plaf.PDFToolBarButtonStateBorder
All Implemented Interfaces:
javax.swing.border.Border

public class PDFToolBarButtonStateBorder
extends PDFButtonStateBorder

ToolbarButtonStateBorder.

Version:
1.1 2005-11-30 Constructor with tiled image added.
1.0 29 March 2005 Created.
Author:
Werner Randelshofer

Field Summary
 
Fields inherited from class ch.randelshofer.pdf.plaf.PDFButtonStateBorder
D, DEFAULT, DI, DIS, DS, E, EP, EPS, ES, I, IS
 
Constructor Summary
PDFToolBarButtonStateBorder(javax.swing.border.Border[] borders, boolean isRollover)
          Creates a new instance.
PDFToolBarButtonStateBorder(javax.swing.border.Border e, javax.swing.border.Border ep, javax.swing.border.Border es, javax.swing.border.Border eps, javax.swing.border.Border d, javax.swing.border.Border ds, javax.swing.border.Border i, javax.swing.border.Border is, javax.swing.border.Border di, javax.swing.border.Border dis, boolean isRollover)
           
PDFToolBarButtonStateBorder(java.awt.Image[] images, java.awt.Insets borderInsets, java.awt.Insets imageInsets, boolean fill, boolean isRollover)
          Creates a new instance.
PDFToolBarButtonStateBorder(java.awt.Image tiledImage, int tileCount, boolean isTiledHorizontaly, java.awt.Insets imageInsets, java.awt.Insets borderInsets, boolean fill, boolean isRollover)
          Creates a new instance.
 
Method Summary
 void paintBorder(java.awt.Component c, java.awt.Graphics gr, int x, int y, int width, int height)
           
 
Methods inherited from class ch.randelshofer.pdf.plaf.PDFButtonStateBorder
getBorder, getBorderInsets, isBorderOpaque, setBorder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFToolBarButtonStateBorder

public PDFToolBarButtonStateBorder(javax.swing.border.Border e,
                                   javax.swing.border.Border ep,
                                   javax.swing.border.Border es,
                                   javax.swing.border.Border eps,
                                   javax.swing.border.Border d,
                                   javax.swing.border.Border ds,
                                   javax.swing.border.Border i,
                                   javax.swing.border.Border is,
                                   javax.swing.border.Border di,
                                   javax.swing.border.Border dis,
                                   boolean isRollover)

PDFToolBarButtonStateBorder

public PDFToolBarButtonStateBorder(javax.swing.border.Border[] borders,
                                   boolean isRollover)
Creates a new instance. All borders must have the same insets.


PDFToolBarButtonStateBorder

public PDFToolBarButtonStateBorder(java.awt.Image[] images,
                                   java.awt.Insets borderInsets,
                                   java.awt.Insets imageInsets,
                                   boolean fill,
                                   boolean isRollover)
Creates a new instance. All icons must have the same dimensions.


PDFToolBarButtonStateBorder

public PDFToolBarButtonStateBorder(java.awt.Image tiledImage,
                                   int tileCount,
                                   boolean isTiledHorizontaly,
                                   java.awt.Insets imageInsets,
                                   java.awt.Insets borderInsets,
                                   boolean fill,
                                   boolean isRollover)
Creates a new instance. All borders must have the same dimensions.

Method Detail

paintBorder

public void paintBorder(java.awt.Component c,
                        java.awt.Graphics gr,
                        int x,
                        int y,
                        int width,
                        int height)
Specified by:
paintBorder in interface javax.swing.border.Border
Overrides:
paintBorder in class PDFButtonStateBorder

Copyright 2012-02-25 Werner Randelshofer