jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/ImagePainter.java
author alexsch
Wed, 18 Nov 2015 19:13:42 +0400
changeset 34407 2b40f400a30b
parent 25859 3317bb8137f4
permissions -rw-r--r--
8081411: Add an API for painting an icon with a SynthContext Reviewed-by: serb, azvegint
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
25565
ce603b34c98d 8043548: Fix raw and unchecked lint warnings in javax.swing.plaf.*
darcy
parents: 5506
diff changeset
     2
 * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1639
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1639
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1639
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1639
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 1639
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
package javax.swing.plaf.synth;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
import java.awt.*;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
import java.lang.ref.WeakReference;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
import java.net.*;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
import javax.swing.*;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
import sun.awt.AppContext;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
import sun.swing.plaf.synth.Paint9Painter;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
 * ImagePainter fills in the specified region using an Image. The Image
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
 * is split into 9 segments: north, north east, east, south east, south,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
 * south west, west, north west and the center. The corners are defined
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
 * by way of an insets, and the remaining regions are either tiled or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
 * scaled to fit.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
 * @author Scott Violet
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
class ImagePainter extends SynthPainter {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
    private static final StringBuffer CACHE_KEY =
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
                               new StringBuffer("SynthCacheKey");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
    private Image image;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
    private Insets sInsets;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
    private Insets dInsets;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
    private URL path;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
    private boolean tiles;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
    private boolean paintCenter;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
    private Paint9Painter imageCache;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
    private boolean center;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
    private static Paint9Painter getPaint9Painter() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
        // A SynthPainter is created per <imagePainter>.  We want the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
        // cache to be shared by all, and we don't use a static because we
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
        // don't want it to persist between look and feels.  For that reason
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
        // we use a AppContext specific Paint9Painter.  It's backed via
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
        // a WeakRef so that it can go away if the look and feel changes.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
        synchronized(CACHE_KEY) {
25565
ce603b34c98d 8043548: Fix raw and unchecked lint warnings in javax.swing.plaf.*
darcy
parents: 5506
diff changeset
    63
            @SuppressWarnings("unchecked")
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
            WeakReference<Paint9Painter> cacheRef =
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
                     (WeakReference<Paint9Painter>)AppContext.getAppContext().
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
                     get(CACHE_KEY);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
            Paint9Painter painter;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
            if (cacheRef == null || (painter = cacheRef.get()) == null) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
                painter = new Paint9Painter(30);
1290
da8902cd496c 6727661: Code improvement and warnings removing from the swing/plaf packages
rupashka
parents: 2
diff changeset
    70
                cacheRef = new WeakReference<Paint9Painter>(painter);
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
                AppContext.getAppContext().put(CACHE_KEY, cacheRef);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
            return painter;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
    ImagePainter(boolean tiles, boolean paintCenter,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
                 Insets sourceInsets, Insets destinationInsets, URL path,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
                 boolean center) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
        if (sourceInsets != null) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
            this.sInsets = (Insets)sourceInsets.clone();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
        if (destinationInsets == null) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
            dInsets = sInsets;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
        else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
            this.dInsets = (Insets)destinationInsets.clone();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
        this.tiles = tiles;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
        this.paintCenter = paintCenter;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
        this.imageCache = getPaint9Painter();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
        this.path = path;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
        this.center = center;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
    public boolean getTiles() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
        return tiles;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
    public boolean getPaintsCenter() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
        return paintCenter;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
    public boolean getCenter() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
        return center;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
    public Insets getInsets(Insets insets) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
        if (insets == null) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
            return (Insets)this.dInsets.clone();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
        insets.left = this.dInsets.left;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
        insets.right = this.dInsets.right;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
        insets.top = this.dInsets.top;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
        insets.bottom = this.dInsets.bottom;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
        return insets;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
    public Image getImage() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
        if (image == null) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
            image = new ImageIcon(path, null).getImage();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
        return image;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
    private void paint(SynthContext context, Graphics g, int x, int y, int w,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
                       int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
        Image image = getImage();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
        if (Paint9Painter.validImage(image)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
            Paint9Painter.PaintType type;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
            if (getCenter()) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
                type = Paint9Painter.PaintType.CENTER;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
            else if (!getTiles()) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
                type = Paint9Painter.PaintType.PAINT9_STRETCH;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
            else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
                type = Paint9Painter.PaintType.PAINT9_TILE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
            int mask = Paint9Painter.PAINT_ALL;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
            if (!getCenter() && !getPaintsCenter()) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
                mask |= Paint9Painter.PAINT_CENTER;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
            imageCache.paint(context.getComponent(), g, x, y, w, h,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
                             image, sInsets, dInsets, type,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
                             mask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
    // SynthPainter
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
    public void paintArrowButtonBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
                                           Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
                                           int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
    public void paintArrowButtonBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
                                       Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
                                       int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
    public void paintArrowButtonForeground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
                                           Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
                                           int w, int h,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
                                           int direction) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
    // BUTTON
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
    public void paintButtonBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
                                      Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
                                      int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
    public void paintButtonBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
                                  Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
                                  int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
    // CHECK_BOX_MENU_ITEM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
    public void paintCheckBoxMenuItemBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
                                                Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
                                                int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
    public void paintCheckBoxMenuItemBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
                                            Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
                                            int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
    // CHECK_BOX
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
    public void paintCheckBoxBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
                                        Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
                                        int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
    public void paintCheckBoxBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
                                    Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
                                    int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
    // COLOR_CHOOSER
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
    public void paintColorChooserBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
                                            Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
                                            int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
    public void paintColorChooserBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
                                        Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
                                        int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
    // COMBO_BOX
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
    public void paintComboBoxBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
                                        Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
                                        int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
    public void paintComboBoxBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
                                        Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
                                        int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
    // DESKTOP_ICON
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
    public void paintDesktopIconBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
                                        Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
                                        int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
    public void paintDesktopIconBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
                                           Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
                                           int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
    // DESKTOP_PANE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
    public void paintDesktopPaneBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
                                           Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
                                           int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
    public void paintDesktopPaneBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
                                       Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
                                       int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
    // EDITOR_PANE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
    public void paintEditorPaneBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
                                          Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
                                          int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
    public void paintEditorPaneBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
                                      Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
                                      int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
    // FILE_CHOOSER
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
    public void paintFileChooserBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
                                          Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
                                          int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
    public void paintFileChooserBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
                                      Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
                                      int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
    // FORMATTED_TEXT_FIELD
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
    public void paintFormattedTextFieldBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
                                          Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
                                          int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
    public void paintFormattedTextFieldBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
                                      Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
                                      int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
    // INTERNAL_FRAME_TITLE_PANE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
    public void paintInternalFrameTitlePaneBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
                                          Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
                                          int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
    public void paintInternalFrameTitlePaneBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   309
                                      Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   310
                                      int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   311
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
    // INTERNAL_FRAME
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
    public void paintInternalFrameBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
                                          Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317
                                          int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   318
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   319
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   320
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
    public void paintInternalFrameBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   322
                                      Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   323
                                      int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   324
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   325
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   326
90ce3da70b43 Initial load
duke
parents:
diff changeset
   327
    // LABEL
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
    public void paintLabelBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   329
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
90ce3da70b43 Initial load
duke
parents:
diff changeset
   334
    public void paintLabelBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   335
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   336
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   337
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   338
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   339
90ce3da70b43 Initial load
duke
parents:
diff changeset
   340
    // LIST
90ce3da70b43 Initial load
duke
parents:
diff changeset
   341
    public void paintListBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   342
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   343
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   344
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   345
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   346
90ce3da70b43 Initial load
duke
parents:
diff changeset
   347
    public void paintListBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   348
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   349
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   350
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   351
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   352
90ce3da70b43 Initial load
duke
parents:
diff changeset
   353
    // MENU_BAR
90ce3da70b43 Initial load
duke
parents:
diff changeset
   354
    public void paintMenuBarBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   355
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   356
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   357
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   358
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   359
90ce3da70b43 Initial load
duke
parents:
diff changeset
   360
    public void paintMenuBarBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   361
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   362
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   363
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   364
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   365
90ce3da70b43 Initial load
duke
parents:
diff changeset
   366
    // MENU_ITEM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   367
    public void paintMenuItemBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   368
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   369
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   370
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   371
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   372
90ce3da70b43 Initial load
duke
parents:
diff changeset
   373
    public void paintMenuItemBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   374
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   375
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   376
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   377
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   378
90ce3da70b43 Initial load
duke
parents:
diff changeset
   379
    // MENU
90ce3da70b43 Initial load
duke
parents:
diff changeset
   380
    public void paintMenuBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   381
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   382
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   383
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   384
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   385
90ce3da70b43 Initial load
duke
parents:
diff changeset
   386
    public void paintMenuBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   387
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   388
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   389
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   390
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   391
90ce3da70b43 Initial load
duke
parents:
diff changeset
   392
    // OPTION_PANE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   393
    public void paintOptionPaneBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   394
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   395
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   396
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   397
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   398
90ce3da70b43 Initial load
duke
parents:
diff changeset
   399
    public void paintOptionPaneBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   400
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   401
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   402
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   403
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   404
90ce3da70b43 Initial load
duke
parents:
diff changeset
   405
    // PANEL
90ce3da70b43 Initial load
duke
parents:
diff changeset
   406
    public void paintPanelBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   407
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   408
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   409
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   410
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   411
90ce3da70b43 Initial load
duke
parents:
diff changeset
   412
    public void paintPanelBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   413
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   414
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   415
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   416
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   417
90ce3da70b43 Initial load
duke
parents:
diff changeset
   418
    // PANEL
90ce3da70b43 Initial load
duke
parents:
diff changeset
   419
    public void paintPasswordFieldBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   420
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   421
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   422
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   423
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   424
90ce3da70b43 Initial load
duke
parents:
diff changeset
   425
    public void paintPasswordFieldBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   426
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   427
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   428
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   429
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   430
90ce3da70b43 Initial load
duke
parents:
diff changeset
   431
    // POPUP_MENU
90ce3da70b43 Initial load
duke
parents:
diff changeset
   432
    public void paintPopupMenuBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   433
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   434
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   435
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   436
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   437
90ce3da70b43 Initial load
duke
parents:
diff changeset
   438
    public void paintPopupMenuBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   439
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   440
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   441
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   442
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   443
90ce3da70b43 Initial load
duke
parents:
diff changeset
   444
    // PROGRESS_BAR
90ce3da70b43 Initial load
duke
parents:
diff changeset
   445
    public void paintProgressBarBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   446
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   447
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   448
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   449
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   450
90ce3da70b43 Initial load
duke
parents:
diff changeset
   451
    public void paintProgressBarBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   452
                                           Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   453
                                           int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   454
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   455
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   456
90ce3da70b43 Initial load
duke
parents:
diff changeset
   457
    public void paintProgressBarBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   458
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   459
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   460
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   461
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   462
90ce3da70b43 Initial load
duke
parents:
diff changeset
   463
    public void paintProgressBarBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   464
                                       Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   465
                                       int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   466
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   467
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   468
90ce3da70b43 Initial load
duke
parents:
diff changeset
   469
    public void paintProgressBarForeground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   470
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   471
                                 int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   472
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   473
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   474
90ce3da70b43 Initial load
duke
parents:
diff changeset
   475
    // RADIO_BUTTON_MENU_ITEM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   476
    public void paintRadioButtonMenuItemBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   477
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   478
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   479
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   480
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   481
90ce3da70b43 Initial load
duke
parents:
diff changeset
   482
    public void paintRadioButtonMenuItemBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   483
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   484
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   485
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   486
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   487
90ce3da70b43 Initial load
duke
parents:
diff changeset
   488
    // RADIO_BUTTON
90ce3da70b43 Initial load
duke
parents:
diff changeset
   489
    public void paintRadioButtonBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   490
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   491
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   492
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   493
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   494
90ce3da70b43 Initial load
duke
parents:
diff changeset
   495
    public void paintRadioButtonBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   496
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   497
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   498
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   499
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   500
90ce3da70b43 Initial load
duke
parents:
diff changeset
   501
    // ROOT_PANE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   502
    public void paintRootPaneBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   503
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   504
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   505
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   506
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   507
90ce3da70b43 Initial load
duke
parents:
diff changeset
   508
    public void paintRootPaneBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   509
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   510
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   511
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   512
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   513
90ce3da70b43 Initial load
duke
parents:
diff changeset
   514
    // SCROLL_BAR
90ce3da70b43 Initial load
duke
parents:
diff changeset
   515
    public void paintScrollBarBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   516
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   517
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   518
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   519
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   520
90ce3da70b43 Initial load
duke
parents:
diff changeset
   521
    public void paintScrollBarBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   522
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   523
                                     int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   524
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   525
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   526
90ce3da70b43 Initial load
duke
parents:
diff changeset
   527
    public void paintScrollBarBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   528
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   529
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   530
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   531
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   532
90ce3da70b43 Initial load
duke
parents:
diff changeset
   533
    public void paintScrollBarBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   534
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   535
                                     int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   536
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   537
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   538
90ce3da70b43 Initial load
duke
parents:
diff changeset
   539
    // SCROLL_BAR_THUMB
90ce3da70b43 Initial load
duke
parents:
diff changeset
   540
    public void paintScrollBarThumbBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   541
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   542
                                     int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   543
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   544
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   545
90ce3da70b43 Initial load
duke
parents:
diff changeset
   546
    public void paintScrollBarThumbBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   547
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   548
                                 int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   549
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   550
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   551
90ce3da70b43 Initial load
duke
parents:
diff changeset
   552
    // SCROLL_BAR_TRACK
90ce3da70b43 Initial load
duke
parents:
diff changeset
   553
    public void paintScrollBarTrackBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   554
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   555
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   556
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   557
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   558
90ce3da70b43 Initial load
duke
parents:
diff changeset
   559
    public void paintScrollBarTrackBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   560
                                              Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   561
                                              int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   562
         paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   563
     }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   564
90ce3da70b43 Initial load
duke
parents:
diff changeset
   565
    public void paintScrollBarTrackBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   566
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   567
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   568
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   569
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   570
90ce3da70b43 Initial load
duke
parents:
diff changeset
   571
    public void paintScrollBarTrackBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   572
                                          Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   573
                                          int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   574
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   575
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   576
90ce3da70b43 Initial load
duke
parents:
diff changeset
   577
    // SCROLL_PANE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   578
    public void paintScrollPaneBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   579
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   580
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   581
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   582
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   583
90ce3da70b43 Initial load
duke
parents:
diff changeset
   584
    public void paintScrollPaneBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   585
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   586
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   587
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   588
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   589
90ce3da70b43 Initial load
duke
parents:
diff changeset
   590
    // SEPARATOR
90ce3da70b43 Initial load
duke
parents:
diff changeset
   591
    public void paintSeparatorBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   592
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   593
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   594
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   595
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   596
90ce3da70b43 Initial load
duke
parents:
diff changeset
   597
    public void paintSeparatorBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   598
                                         Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   599
                                         int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   600
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   601
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   602
90ce3da70b43 Initial load
duke
parents:
diff changeset
   603
    public void paintSeparatorBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   604
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   605
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   606
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   607
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   608
90ce3da70b43 Initial load
duke
parents:
diff changeset
   609
    public void paintSeparatorBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   610
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   611
                                     int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   612
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   613
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   614
90ce3da70b43 Initial load
duke
parents:
diff changeset
   615
    public void paintSeparatorForeground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   616
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   617
                                 int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   618
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   619
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   620
90ce3da70b43 Initial load
duke
parents:
diff changeset
   621
    // SLIDER
90ce3da70b43 Initial load
duke
parents:
diff changeset
   622
    public void paintSliderBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   623
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   624
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   625
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   626
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   627
90ce3da70b43 Initial load
duke
parents:
diff changeset
   628
    public void paintSliderBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   629
                                      Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   630
                                      int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   631
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   632
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   633
90ce3da70b43 Initial load
duke
parents:
diff changeset
   634
    public void paintSliderBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   635
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   636
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   637
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   638
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   639
90ce3da70b43 Initial load
duke
parents:
diff changeset
   640
    public void paintSliderBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   641
                                  Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   642
                                  int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   643
         paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   644
     }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   645
90ce3da70b43 Initial load
duke
parents:
diff changeset
   646
    // SLIDER_THUMB
90ce3da70b43 Initial load
duke
parents:
diff changeset
   647
    public void paintSliderThumbBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   648
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   649
                                     int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   650
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   651
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   652
90ce3da70b43 Initial load
duke
parents:
diff changeset
   653
    public void paintSliderThumbBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   654
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   655
                                 int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   656
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   657
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   658
90ce3da70b43 Initial load
duke
parents:
diff changeset
   659
    // SLIDER_TRACK
90ce3da70b43 Initial load
duke
parents:
diff changeset
   660
    public void paintSliderTrackBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   661
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   662
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   663
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   664
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   665
90ce3da70b43 Initial load
duke
parents:
diff changeset
   666
    public void paintSliderTrackBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   667
                                           Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   668
                                           int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   669
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   670
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   671
90ce3da70b43 Initial load
duke
parents:
diff changeset
   672
    public void paintSliderTrackBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   673
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   674
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   675
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   676
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   677
90ce3da70b43 Initial load
duke
parents:
diff changeset
   678
90ce3da70b43 Initial load
duke
parents:
diff changeset
   679
    public void paintSliderTrackBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   680
                                       Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   681
                                       int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   682
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   683
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   684
90ce3da70b43 Initial load
duke
parents:
diff changeset
   685
    // SPINNER
90ce3da70b43 Initial load
duke
parents:
diff changeset
   686
    public void paintSpinnerBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   687
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   688
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   689
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   690
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   691
90ce3da70b43 Initial load
duke
parents:
diff changeset
   692
    public void paintSpinnerBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   693
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   694
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   695
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   696
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   697
90ce3da70b43 Initial load
duke
parents:
diff changeset
   698
    // SPLIT_PANE_DIVIDER
90ce3da70b43 Initial load
duke
parents:
diff changeset
   699
    public void paintSplitPaneDividerBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   700
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   701
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   702
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   703
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   704
90ce3da70b43 Initial load
duke
parents:
diff changeset
   705
    public void paintSplitPaneDividerBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   706
                                                Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   707
                                                int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   708
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   709
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   710
90ce3da70b43 Initial load
duke
parents:
diff changeset
   711
    public void paintSplitPaneDividerForeground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   712
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   713
                                     int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   714
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   715
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   716
90ce3da70b43 Initial load
duke
parents:
diff changeset
   717
    public void paintSplitPaneDragDivider(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   718
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   719
                                     int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   720
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   721
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   722
90ce3da70b43 Initial load
duke
parents:
diff changeset
   723
    // SPLIT_PANE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   724
    public void paintSplitPaneBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   725
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   726
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   727
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   728
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   729
90ce3da70b43 Initial load
duke
parents:
diff changeset
   730
    public void paintSplitPaneBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   731
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   732
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   733
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   734
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   735
90ce3da70b43 Initial load
duke
parents:
diff changeset
   736
    // TABBED_PANE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   737
    public void paintTabbedPaneBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   738
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   739
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   740
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   741
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   742
90ce3da70b43 Initial load
duke
parents:
diff changeset
   743
    public void paintTabbedPaneBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   744
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   745
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   746
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   747
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   748
90ce3da70b43 Initial load
duke
parents:
diff changeset
   749
    // TABBED_PANE_TAB_AREA
90ce3da70b43 Initial load
duke
parents:
diff changeset
   750
    public void paintTabbedPaneTabAreaBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   751
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   752
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   753
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   754
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   755
90ce3da70b43 Initial load
duke
parents:
diff changeset
   756
    public void paintTabbedPaneTabAreaBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   757
                                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   758
                                                 int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   759
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   760
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   761
90ce3da70b43 Initial load
duke
parents:
diff changeset
   762
    public void paintTabbedPaneTabAreaBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   763
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   764
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   765
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   766
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   767
90ce3da70b43 Initial load
duke
parents:
diff changeset
   768
    public void paintTabbedPaneTabAreaBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   769
                                             Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   770
                                             int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   771
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   772
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   773
90ce3da70b43 Initial load
duke
parents:
diff changeset
   774
    // TABBED_PANE_TAB
90ce3da70b43 Initial load
duke
parents:
diff changeset
   775
    public void paintTabbedPaneTabBackground(SynthContext context, Graphics g,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   776
                                         int x, int y, int w, int h,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   777
                                         int tabIndex) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   778
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   779
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   780
90ce3da70b43 Initial load
duke
parents:
diff changeset
   781
    public void paintTabbedPaneTabBackground(SynthContext context, Graphics g,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   782
                                             int x, int y, int w, int h,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   783
                                             int tabIndex, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   784
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   785
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   786
90ce3da70b43 Initial load
duke
parents:
diff changeset
   787
    public void paintTabbedPaneTabBorder(SynthContext context, Graphics g,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   788
                                         int x, int y, int w, int h,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   789
                                         int tabIndex) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   790
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   791
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   792
90ce3da70b43 Initial load
duke
parents:
diff changeset
   793
    public void paintTabbedPaneTabBorder(SynthContext context, Graphics g,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   794
                                         int x, int y, int w, int h,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   795
                                         int tabIndex, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   796
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   797
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   798
90ce3da70b43 Initial load
duke
parents:
diff changeset
   799
    // TABBED_PANE_CONTENT
90ce3da70b43 Initial load
duke
parents:
diff changeset
   800
    public void paintTabbedPaneContentBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   801
                                         Graphics g, int x, int y, int w,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   802
                                         int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   803
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   804
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   805
90ce3da70b43 Initial load
duke
parents:
diff changeset
   806
    public void paintTabbedPaneContentBorder(SynthContext context, Graphics g,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   807
                                         int x, int y, int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   808
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   809
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   810
90ce3da70b43 Initial load
duke
parents:
diff changeset
   811
    // TABLE_HEADER
90ce3da70b43 Initial load
duke
parents:
diff changeset
   812
    public void paintTableHeaderBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   813
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   814
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   815
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   816
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   817
90ce3da70b43 Initial load
duke
parents:
diff changeset
   818
    public void paintTableHeaderBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   819
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   820
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   821
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   822
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   823
90ce3da70b43 Initial load
duke
parents:
diff changeset
   824
    // TABLE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   825
    public void paintTableBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   826
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   827
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   828
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   829
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   830
90ce3da70b43 Initial load
duke
parents:
diff changeset
   831
    public void paintTableBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   832
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   833
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   834
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   835
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   836
90ce3da70b43 Initial load
duke
parents:
diff changeset
   837
    // TEXT_AREA
90ce3da70b43 Initial load
duke
parents:
diff changeset
   838
    public void paintTextAreaBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   839
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   840
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   841
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   842
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   843
90ce3da70b43 Initial load
duke
parents:
diff changeset
   844
    public void paintTextAreaBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   845
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   846
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   847
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   848
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   849
90ce3da70b43 Initial load
duke
parents:
diff changeset
   850
    // TEXT_PANE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   851
    public void paintTextPaneBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   852
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   853
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   854
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   855
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   856
90ce3da70b43 Initial load
duke
parents:
diff changeset
   857
    public void paintTextPaneBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   858
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   859
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   860
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   861
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   862
90ce3da70b43 Initial load
duke
parents:
diff changeset
   863
    // TEXT_FIELD
90ce3da70b43 Initial load
duke
parents:
diff changeset
   864
    public void paintTextFieldBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   865
                                          Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   866
                                          int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   867
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   868
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   869
90ce3da70b43 Initial load
duke
parents:
diff changeset
   870
    public void paintTextFieldBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   871
                                      Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   872
                                      int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   873
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   874
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   875
90ce3da70b43 Initial load
duke
parents:
diff changeset
   876
    // TOGGLE_BUTTON
90ce3da70b43 Initial load
duke
parents:
diff changeset
   877
    public void paintToggleButtonBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   878
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   879
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   880
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   881
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   882
90ce3da70b43 Initial load
duke
parents:
diff changeset
   883
    public void paintToggleButtonBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   884
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   885
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   886
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   887
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   888
90ce3da70b43 Initial load
duke
parents:
diff changeset
   889
    // TOOL_BAR
90ce3da70b43 Initial load
duke
parents:
diff changeset
   890
    public void paintToolBarBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   891
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   892
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   893
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   894
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   895
90ce3da70b43 Initial load
duke
parents:
diff changeset
   896
    public void paintToolBarBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   897
                                       Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   898
                                       int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   899
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   900
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   901
90ce3da70b43 Initial load
duke
parents:
diff changeset
   902
    public void paintToolBarBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   903
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   904
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   905
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   906
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   907
90ce3da70b43 Initial load
duke
parents:
diff changeset
   908
    public void paintToolBarBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   909
                                   Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   910
                                   int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   911
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   912
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   913
90ce3da70b43 Initial load
duke
parents:
diff changeset
   914
    // TOOL_BAR_CONTENT
90ce3da70b43 Initial load
duke
parents:
diff changeset
   915
    public void paintToolBarContentBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   916
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   917
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   918
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   919
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   920
90ce3da70b43 Initial load
duke
parents:
diff changeset
   921
    public void paintToolBarContentBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   922
                                              Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   923
                                              int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   924
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   925
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   926
90ce3da70b43 Initial load
duke
parents:
diff changeset
   927
    public void paintToolBarContentBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   928
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   929
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   930
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   931
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   932
90ce3da70b43 Initial load
duke
parents:
diff changeset
   933
    public void paintToolBarContentBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   934
                                          Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   935
                                          int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   936
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   937
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   938
90ce3da70b43 Initial load
duke
parents:
diff changeset
   939
    // TOOL_DRAG_WINDOW
90ce3da70b43 Initial load
duke
parents:
diff changeset
   940
    public void paintToolBarDragWindowBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   941
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   942
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   943
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   944
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   945
90ce3da70b43 Initial load
duke
parents:
diff changeset
   946
    public void paintToolBarDragWindowBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   947
                                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   948
                                                 int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   949
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   950
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   951
90ce3da70b43 Initial load
duke
parents:
diff changeset
   952
    public void paintToolBarDragWindowBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   953
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   954
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   955
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   956
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   957
90ce3da70b43 Initial load
duke
parents:
diff changeset
   958
    public void paintToolBarDragWindowBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   959
                                             Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   960
                                             int w, int h, int orientation) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   961
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   962
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   963
90ce3da70b43 Initial load
duke
parents:
diff changeset
   964
    // TOOL_TIP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   965
    public void paintToolTipBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   966
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   967
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   968
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   969
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   970
90ce3da70b43 Initial load
duke
parents:
diff changeset
   971
    public void paintToolTipBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   972
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   973
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   974
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   975
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   976
90ce3da70b43 Initial load
duke
parents:
diff changeset
   977
    // TREE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   978
    public void paintTreeBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   979
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   980
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   981
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   982
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   983
90ce3da70b43 Initial load
duke
parents:
diff changeset
   984
    public void paintTreeBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   985
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   986
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   987
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   988
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   989
90ce3da70b43 Initial load
duke
parents:
diff changeset
   990
    // TREE_CELL
90ce3da70b43 Initial load
duke
parents:
diff changeset
   991
    public void paintTreeCellBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   992
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   993
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   994
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   995
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   996
90ce3da70b43 Initial load
duke
parents:
diff changeset
   997
    public void paintTreeCellBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   998
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   999
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1000
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1001
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1002
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1003
    public void paintTreeCellFocus(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1004
                                   Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1005
                                   int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1006
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1007
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1008
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1009
    // VIEWPORT
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1010
    public void paintViewportBackground(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1011
                                     Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1012
                                     int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1013
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1014
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1015
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1016
    public void paintViewportBorder(SynthContext context,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1017
                                 Graphics g, int x, int y,
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1018
                                 int w, int h) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1019
        paint(context, g, x, y, w, h);
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1020
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1021
}