FileDocCategorySizeDatePackage
ImagePainter.javaAPI DocJava SE 6 API36680Tue Jun 10 00:26:54 BST 2008javax.swing.plaf.synth

ImagePainter

public class ImagePainter extends SynthPainter
ImagePainter fills in the specified region using an Image. The Image is split into 9 segments: north, north east, east, south east, south, south west, west, north west and the center. The corners are defined by way of an insets, and the remaining regions are either tiled or scaled to fit.
version
1.12, 11/17/05
author
Scott Violet

Fields Summary
private static final StringBuffer
CACHE_KEY
private Image
image
private Insets
sInsets
private Insets
dInsets
private URL
path
private boolean
tiles
private boolean
paintCenter
private Paint9Painter
imageCache
private boolean
center
Constructors Summary
ImagePainter(boolean tiles, boolean paintCenter, Insets sourceInsets, Insets destinationInsets, URL path, boolean center)

        if (sourceInsets != null) {
            this.sInsets = (Insets)sourceInsets.clone();
        }
        if (destinationInsets == null) {
            dInsets = sInsets;
        }
        else {
            this.dInsets = (Insets)destinationInsets.clone();
        }
        this.tiles = tiles;
        this.paintCenter = paintCenter;
        this.imageCache = getPaint9Painter();
        this.path = path;
        this.center = center;
    
Methods Summary
public booleangetCenter()

        return center;
    
public java.awt.ImagegetImage()

        if (image == null) {
            image = new ImageIcon(path, null).getImage();
        }
        return image;
    
public java.awt.InsetsgetInsets(java.awt.Insets insets)

        if (insets == null) {
            return (Insets)this.dInsets.clone();
        }
        insets.left = this.dInsets.left;
        insets.right = this.dInsets.right;
        insets.top = this.dInsets.top;
        insets.bottom = this.dInsets.bottom;
        return insets;
    
private static sun.swing.plaf.synth.Paint9PaintergetPaint9Painter()


        
        // A SynthPainter is created per <imagePainter>.  We want the
        // cache to be shared by all, and we don't use a static because we
        // don't want it to persist between look and feels.  For that reason
        // we use a AppContext specific Paint9Painter.  It's backed via
        // a WeakRef so that it can go away if the look and feel changes.
        synchronized(CACHE_KEY) {
            WeakReference<Paint9Painter> cacheRef =
                     (WeakReference<Paint9Painter>)AppContext.getAppContext().
                     get(CACHE_KEY);
            Paint9Painter painter;
            if (cacheRef == null || (painter = cacheRef.get()) == null) {
                painter = new Paint9Painter(30);
                cacheRef = new WeakReference(painter);
                AppContext.getAppContext().put(CACHE_KEY, cacheRef);
            }
            return painter;
        }
    
public booleangetPaintsCenter()

        return paintCenter;
    
public booleangetTiles()

        return tiles;
    
private voidpaint(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        Image image = getImage();
        if (Paint9Painter.validImage(image)) {
            Paint9Painter.PaintType type;
            if (getCenter()) {
                type = Paint9Painter.PaintType.CENTER;
            }
            else if (!getTiles()) {
                type = Paint9Painter.PaintType.PAINT9_STRETCH;
            }
            else {
                type = Paint9Painter.PaintType.PAINT9_TILE;
            }
            int mask = Paint9Painter.PAINT_ALL;
            if (!getCenter() && !getPaintsCenter()) {
                mask |= Paint9Painter.PAINT_CENTER;
            }
            imageCache.paint(context.getComponent(), g, x, y, w, h,
                             image, sInsets, dInsets, type,
                             mask);
        }
    
public voidpaintArrowButtonBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintArrowButtonBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintArrowButtonForeground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int direction)

        paint(context, g, x, y, w, h);
    
public voidpaintButtonBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintButtonBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintCheckBoxBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintCheckBoxBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintCheckBoxMenuItemBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintCheckBoxMenuItemBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintColorChooserBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintColorChooserBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintComboBoxBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintComboBoxBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintDesktopIconBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintDesktopIconBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintDesktopPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintDesktopPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintEditorPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintEditorPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintFileChooserBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintFileChooserBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintFormattedTextFieldBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintFormattedTextFieldBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintInternalFrameBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintInternalFrameBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintInternalFrameTitlePaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintInternalFrameTitlePaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintLabelBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintLabelBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintListBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintListBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintMenuBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintMenuBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintMenuBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintMenuBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintMenuItemBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintMenuItemBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintOptionPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintOptionPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintPanelBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintPanelBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintPasswordFieldBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintPasswordFieldBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintPopupMenuBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintPopupMenuBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintProgressBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintProgressBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintProgressBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintProgressBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintProgressBarForeground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintRadioButtonBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintRadioButtonBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintRadioButtonMenuItemBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintRadioButtonMenuItemBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintRootPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintRootPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintScrollBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintScrollBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintScrollBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintScrollBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintScrollBarThumbBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintScrollBarThumbBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintScrollBarTrackBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintScrollBarTrackBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

         paint(context, g, x, y, w, h);
     
public voidpaintScrollBarTrackBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintScrollBarTrackBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintScrollPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintScrollPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintSeparatorBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintSeparatorBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintSeparatorBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintSeparatorBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintSeparatorForeground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintSliderBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintSliderBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintSliderBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintSliderBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

         paint(context, g, x, y, w, h);
     
public voidpaintSliderThumbBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintSliderThumbBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintSliderTrackBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintSliderTrackBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintSliderTrackBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintSliderTrackBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintSpinnerBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintSpinnerBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintSplitPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintSplitPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintSplitPaneDividerBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintSplitPaneDividerBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintSplitPaneDividerForeground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintSplitPaneDragDivider(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintTabbedPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTabbedPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTabbedPaneContentBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTabbedPaneContentBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTabbedPaneTabAreaBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTabbedPaneTabAreaBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintTabbedPaneTabAreaBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTabbedPaneTabAreaBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintTabbedPaneTabBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int tabIndex)

        paint(context, g, x, y, w, h);
    
public voidpaintTabbedPaneTabBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int tabIndex, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintTabbedPaneTabBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int tabIndex)

        paint(context, g, x, y, w, h);
    
public voidpaintTabbedPaneTabBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int tabIndex, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintTableBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTableBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTableHeaderBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTableHeaderBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTextAreaBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTextAreaBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTextFieldBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTextFieldBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTextPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTextPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintToggleButtonBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintToggleButtonBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintToolBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintToolBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintToolBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintToolBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintToolBarContentBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintToolBarContentBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintToolBarContentBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintToolBarContentBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintToolBarDragWindowBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintToolBarDragWindowBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintToolBarDragWindowBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintToolBarDragWindowBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)

        paint(context, g, x, y, w, h);
    
public voidpaintToolTipBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintToolTipBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTreeBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTreeBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTreeCellBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTreeCellBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintTreeCellFocus(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintViewportBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);
    
public voidpaintViewportBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        paint(context, g, x, y, w, h);