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