1 /*
2  * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * This code is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License version 2 only, as
7  * published by the Free Software Foundation.  Oracle designates this
8  * particular file as subject to the "Classpath" exception as provided
9  * by Oracle in the LICENSE file that accompanied this code.
10  *
11  * This code is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14  * version 2 for more details (a copy is included in the LICENSE file that
15  * accompanied this code).
16  *
17  * You should have received a copy of the GNU General Public License version
18  * 2 along with this work; if not, write to the Free Software Foundation,
19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20  *
21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22  * or visit www.oracle.com if you need additional information or have any
23  * questions.
24  */
25 package javax.swing.plaf.synth;
26 
27 import java.awt.*;
28 
29 /**
30  * <code>SynthPainter</code> is used for painting portions of
31  * <code>JComponent</code>s. At a minimum each <code>JComponent</code>
32  * has two paint methods: one for the border and one for the background. Some
33  * <code>JComponent</code>s have more than one <code>Region</code>, and as
34  * a consequence more paint methods.
35  * <p>
36  * Instances of <code>SynthPainter</code> are obtained from the
37  * {@link javax.swing.plaf.synth.SynthStyle#getPainter} method.
38  * <p>
39  * You typically supply a <code>SynthPainter</code> by way of Synth's
40  * <a href="doc-files/synthFileFormat.html">file</a> format. The following
41  * example registers a painter for all <code>JButton</code>s that will
42  * render the image <code>myImage.png</code>:
43  * <pre>
44  *  &lt;style id="buttonStyle"&gt;
45  *    &lt;imagePainter path="myImage.png" sourceInsets="2 2 2 2"
46  *                  paintCenter="true" stretch="true"/&gt;
47  *    &lt;insets top="2" bottom="2" left="2" right="2"/&gt;
48  *  &lt;/style&gt;
49  *  &lt;bind style="buttonStyle" type="REGION" key="button"/&gt;
50  *</pre>
51  * <p>
52  * <code>SynthPainter</code> is abstract in so far as it does no painting,
53  * all the methods
54  * are empty. While none of these methods are typed to throw an exception,
55  * subclasses can assume that valid arguments are passed in, and if not
56  * they can throw a <code>NullPointerException</code> or
57  * <code>IllegalArgumentException</code> in response to invalid arguments.
58  *
59  * @since 1.5
60  * @author Scott Violet
61  */
62 public abstract class SynthPainter {
63     /**
64      * Used to avoid null painter checks everywhere.
65      */
66     static SynthPainter NULL_PAINTER = new SynthPainter() {};
67 
68     /**
69      * Constructor for subclasses to call.
70      */
SynthPainter()71     protected SynthPainter() {}
72 
73     /**
74      * Paints the background of an arrow button. Arrow buttons are created by
75      * some components, such as <code>JScrollBar</code>.
76      *
77      * @param context SynthContext identifying the <code>JComponent</code> and
78      *        <code>Region</code> to paint to
79      * @param g <code>Graphics</code> to paint to
80      * @param x X coordinate of the area to paint to
81      * @param y Y coordinate of the area to paint to
82      * @param w Width of the area to paint to
83      * @param h Height of the area to paint to
84      */
paintArrowButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)85     public void paintArrowButtonBackground(SynthContext context,
86                                            Graphics g, int x, int y,
87                                            int w, int h) {
88     }
89 
90     /**
91      * Paints the border of an arrow button. Arrow buttons are created by
92      * some components, such as <code>JScrollBar</code>.
93      *
94      * @param context SynthContext identifying the <code>JComponent</code> and
95      *        <code>Region</code> to paint to
96      * @param g <code>Graphics</code> to paint to
97      * @param x X coordinate of the area to paint to
98      * @param y Y coordinate of the area to paint to
99      * @param w Width of the area to paint to
100      * @param h Height of the area to paint to
101      */
paintArrowButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)102     public void paintArrowButtonBorder(SynthContext context,
103                                        Graphics g, int x, int y,
104                                        int w, int h) {
105     }
106 
107     /**
108      * Paints the foreground of an arrow button. This method is responsible
109      * for drawing a graphical representation of a direction, typically
110      * an arrow. Arrow buttons are created by
111      * some components, such as <code>JScrollBar</code>
112      *
113      * @param context SynthContext identifying the <code>JComponent</code> and
114      *        <code>Region</code> to paint to
115      * @param g <code>Graphics</code> to paint to
116      * @param x X coordinate of the area to paint to
117      * @param y Y coordinate of the area to paint to
118      * @param w Width of the area to paint to
119      * @param h Height of the area to paint to
120      * @param direction One of SwingConstants.NORTH, SwingConstants.SOUTH
121      *                  SwingConstants.EAST or SwingConstants.WEST
122      */
paintArrowButtonForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int direction)123     public void paintArrowButtonForeground(SynthContext context,
124                                            Graphics g, int x, int y,
125                                            int w, int h,
126                                            int direction) {
127     }
128 
129     /**
130      * Paints the background of a button.
131      *
132      * @param context SynthContext identifying the <code>JComponent</code> and
133      *        <code>Region</code> to paint to
134      * @param g <code>Graphics</code> to paint to
135      * @param x X coordinate of the area to paint to
136      * @param y Y coordinate of the area to paint to
137      * @param w Width of the area to paint to
138      * @param h Height of the area to paint to
139      */
paintButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)140     public void paintButtonBackground(SynthContext context,
141                                       Graphics g, int x, int y,
142                                       int w, int h) {
143     }
144 
145     /**
146      * Paints the border of a button.
147      *
148      * @param context SynthContext identifying the <code>JComponent</code> and
149      *        <code>Region</code> to paint to
150      * @param g <code>Graphics</code> to paint to
151      * @param x X coordinate of the area to paint to
152      * @param y Y coordinate of the area to paint to
153      * @param w Width of the area to paint to
154      * @param h Height of the area to paint to
155      */
paintButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)156     public void paintButtonBorder(SynthContext context,
157                                   Graphics g, int x, int y,
158                                   int w, int h) {
159     }
160 
161     /**
162      * Paints the background of a check box menu item.
163      *
164      * @param context SynthContext identifying the <code>JComponent</code> and
165      *        <code>Region</code> to paint to
166      * @param g <code>Graphics</code> to paint to
167      * @param x X coordinate of the area to paint to
168      * @param y Y coordinate of the area to paint to
169      * @param w Width of the area to paint to
170      * @param h Height of the area to paint to
171      */
paintCheckBoxMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)172     public void paintCheckBoxMenuItemBackground(SynthContext context,
173                                                 Graphics g, int x, int y,
174                                                 int w, int h) {
175     }
176 
177     /**
178      * Paints the border of a check box menu item.
179      *
180      * @param context SynthContext identifying the <code>JComponent</code> and
181      *        <code>Region</code> to paint to
182      * @param g <code>Graphics</code> to paint to
183      * @param x X coordinate of the area to paint to
184      * @param y Y coordinate of the area to paint to
185      * @param w Width of the area to paint to
186      * @param h Height of the area to paint to
187      */
paintCheckBoxMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)188     public void paintCheckBoxMenuItemBorder(SynthContext context,
189                                             Graphics g, int x, int y,
190                                             int w, int h) {
191     }
192 
193     /**
194      * Paints the background of a check box.
195      *
196      * @param context SynthContext identifying the <code>JComponent</code> and
197      *        <code>Region</code> to paint to
198      * @param g <code>Graphics</code> to paint to
199      * @param x X coordinate of the area to paint to
200      * @param y Y coordinate of the area to paint to
201      * @param w Width of the area to paint to
202      * @param h Height of the area to paint to
203      */
paintCheckBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h)204     public void paintCheckBoxBackground(SynthContext context,
205                                         Graphics g, int x, int y,
206                                         int w, int h) {
207     }
208 
209     /**
210      * Paints the border of a check box.
211      *
212      * @param context SynthContext identifying the <code>JComponent</code> and
213      *        <code>Region</code> to paint to
214      * @param g <code>Graphics</code> to paint to
215      * @param x X coordinate of the area to paint to
216      * @param y Y coordinate of the area to paint to
217      * @param w Width of the area to paint to
218      * @param h Height of the area to paint to
219      */
paintCheckBoxBorder(SynthContext context, Graphics g, int x, int y, int w, int h)220     public void paintCheckBoxBorder(SynthContext context,
221                                     Graphics g, int x, int y,
222                                     int w, int h) {
223     }
224 
225     /**
226      * Paints the background of a color chooser.
227      *
228      * @param context SynthContext identifying the <code>JComponent</code> and
229      *        <code>Region</code> to paint to
230      * @param g <code>Graphics</code> to paint to
231      * @param x X coordinate of the area to paint to
232      * @param y Y coordinate of the area to paint to
233      * @param w Width of the area to paint to
234      * @param h Height of the area to paint to
235      */
paintColorChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)236     public void paintColorChooserBackground(SynthContext context,
237                                             Graphics g, int x, int y,
238                                             int w, int h) {
239     }
240 
241     /**
242      * Paints the border of a color chooser.
243      *
244      * @param context SynthContext identifying the <code>JComponent</code> and
245      *        <code>Region</code> to paint to
246      * @param g <code>Graphics</code> to paint to
247      * @param x X coordinate of the area to paint to
248      * @param y Y coordinate of the area to paint to
249      * @param w Width of the area to paint to
250      * @param h Height of the area to paint to
251      */
paintColorChooserBorder(SynthContext context, Graphics g, int x, int y, int w, int h)252     public void paintColorChooserBorder(SynthContext context,
253                                         Graphics g, int x, int y,
254                                         int w, int h) {
255     }
256 
257     /**
258      * Paints the background of a combo box.
259      *
260      * @param context SynthContext identifying the <code>JComponent</code> and
261      *        <code>Region</code> to paint to
262      * @param g <code>Graphics</code> to paint to
263      * @param x X coordinate of the area to paint to
264      * @param y Y coordinate of the area to paint to
265      * @param w Width of the area to paint to
266      * @param h Height of the area to paint to
267      */
paintComboBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h)268     public void paintComboBoxBackground(SynthContext context,
269                                         Graphics g, int x, int y,
270                                         int w, int h) {
271     }
272 
273     /**
274      * Paints the border of a combo box.
275      *
276      * @param context SynthContext identifying the <code>JComponent</code> and
277      *        <code>Region</code> to paint to
278      * @param g <code>Graphics</code> to paint to
279      * @param x X coordinate of the area to paint to
280      * @param y Y coordinate of the area to paint to
281      * @param w Width of the area to paint to
282      * @param h Height of the area to paint to
283      */
paintComboBoxBorder(SynthContext context, Graphics g, int x, int y, int w, int h)284     public void paintComboBoxBorder(SynthContext context,
285                                         Graphics g, int x, int y,
286                                         int w, int h) {
287     }
288 
289     /**
290      * Paints the background of a desktop icon.
291      *
292      * @param context SynthContext identifying the <code>JComponent</code> and
293      *        <code>Region</code> to paint to
294      * @param g <code>Graphics</code> to paint to
295      * @param x X coordinate of the area to paint to
296      * @param y Y coordinate of the area to paint to
297      * @param w Width of the area to paint to
298      * @param h Height of the area to paint to
299      */
paintDesktopIconBackground(SynthContext context, Graphics g, int x, int y, int w, int h)300     public void paintDesktopIconBackground(SynthContext context,
301                                         Graphics g, int x, int y,
302                                         int w, int h) {
303     }
304 
305     /**
306      * Paints the border of a desktop icon.
307      *
308      * @param context SynthContext identifying the <code>JComponent</code> and
309      *        <code>Region</code> to paint to
310      * @param g <code>Graphics</code> to paint to
311      * @param x X coordinate of the area to paint to
312      * @param y Y coordinate of the area to paint to
313      * @param w Width of the area to paint to
314      * @param h Height of the area to paint to
315      */
paintDesktopIconBorder(SynthContext context, Graphics g, int x, int y, int w, int h)316     public void paintDesktopIconBorder(SynthContext context,
317                                            Graphics g, int x, int y,
318                                            int w, int h) {
319     }
320 
321     /**
322      * Paints the background of a desktop pane.
323      *
324      * @param context SynthContext identifying the <code>JComponent</code> and
325      *        <code>Region</code> to paint to
326      * @param g <code>Graphics</code> to paint to
327      * @param x X coordinate of the area to paint to
328      * @param y Y coordinate of the area to paint to
329      * @param w Width of the area to paint to
330      * @param h Height of the area to paint to
331      */
paintDesktopPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)332     public void paintDesktopPaneBackground(SynthContext context,
333                                            Graphics g, int x, int y,
334                                            int w, int h) {
335     }
336 
337     /**
338      * Paints the background of a desktop pane.
339      *
340      * @param context SynthContext identifying the <code>JComponent</code> and
341      *        <code>Region</code> to paint to
342      * @param g <code>Graphics</code> to paint to
343      * @param x X coordinate of the area to paint to
344      * @param y Y coordinate of the area to paint to
345      * @param w Width of the area to paint to
346      * @param h Height of the area to paint to
347      */
paintDesktopPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)348     public void paintDesktopPaneBorder(SynthContext context,
349                                        Graphics g, int x, int y,
350                                        int w, int h) {
351     }
352 
353     /**
354      * Paints the background of an editor pane.
355      *
356      * @param context SynthContext identifying the <code>JComponent</code> and
357      *        <code>Region</code> to paint to
358      * @param g <code>Graphics</code> to paint to
359      * @param x X coordinate of the area to paint to
360      * @param y Y coordinate of the area to paint to
361      * @param w Width of the area to paint to
362      * @param h Height of the area to paint to
363      */
paintEditorPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)364     public void paintEditorPaneBackground(SynthContext context,
365                                           Graphics g, int x, int y,
366                                           int w, int h) {
367     }
368 
369     /**
370      * Paints the border of an editor pane.
371      *
372      * @param context SynthContext identifying the <code>JComponent</code> and
373      *        <code>Region</code> to paint to
374      * @param g <code>Graphics</code> to paint to
375      * @param x X coordinate of the area to paint to
376      * @param y Y coordinate of the area to paint to
377      * @param w Width of the area to paint to
378      * @param h Height of the area to paint to
379      */
paintEditorPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)380     public void paintEditorPaneBorder(SynthContext context,
381                                       Graphics g, int x, int y,
382                                       int w, int h) {
383     }
384 
385     /**
386      * Paints the background of a file chooser.
387      *
388      * @param context SynthContext identifying the <code>JComponent</code> and
389      *        <code>Region</code> to paint to
390      * @param g <code>Graphics</code> to paint to
391      * @param x X coordinate of the area to paint to
392      * @param y Y coordinate of the area to paint to
393      * @param w Width of the area to paint to
394      * @param h Height of the area to paint to
395      */
paintFileChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)396     public void paintFileChooserBackground(SynthContext context,
397                                           Graphics g, int x, int y,
398                                           int w, int h) {
399     }
400 
401     /**
402      * Paints the border of a file chooser.
403      *
404      * @param context SynthContext identifying the <code>JComponent</code> and
405      *        <code>Region</code> to paint to
406      * @param g <code>Graphics</code> to paint to
407      * @param x X coordinate of the area to paint to
408      * @param y Y coordinate of the area to paint to
409      * @param w Width of the area to paint to
410      * @param h Height of the area to paint to
411      */
paintFileChooserBorder(SynthContext context, Graphics g, int x, int y, int w, int h)412     public void paintFileChooserBorder(SynthContext context,
413                                       Graphics g, int x, int y,
414                                       int w, int h) {
415     }
416 
417     /**
418      * Paints the background of a formatted text field.
419      *
420      * @param context SynthContext identifying the <code>JComponent</code> and
421      *        <code>Region</code> to paint to
422      * @param g <code>Graphics</code> to paint to
423      * @param x X coordinate of the area to paint to
424      * @param y Y coordinate of the area to paint to
425      * @param w Width of the area to paint to
426      * @param h Height of the area to paint to
427      */
paintFormattedTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)428     public void paintFormattedTextFieldBackground(SynthContext context,
429                                           Graphics g, int x, int y,
430                                           int w, int h) {
431     }
432 
433     /**
434      * Paints the border of a formatted text field.
435      *
436      * @param context SynthContext identifying the <code>JComponent</code> and
437      *        <code>Region</code> to paint to
438      * @param g <code>Graphics</code> to paint to
439      * @param x X coordinate of the area to paint to
440      * @param y Y coordinate of the area to paint to
441      * @param w Width of the area to paint to
442      * @param h Height of the area to paint to
443      */
paintFormattedTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)444     public void paintFormattedTextFieldBorder(SynthContext context,
445                                       Graphics g, int x, int y,
446                                       int w, int h) {
447     }
448 
449     /**
450      * Paints the background of an internal frame title pane.
451      *
452      * @param context SynthContext identifying the <code>JComponent</code> and
453      *        <code>Region</code> to paint to
454      * @param g <code>Graphics</code> to paint to
455      * @param x X coordinate of the area to paint to
456      * @param y Y coordinate of the area to paint to
457      * @param w Width of the area to paint to
458      * @param h Height of the area to paint to
459      */
paintInternalFrameTitlePaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)460     public void paintInternalFrameTitlePaneBackground(SynthContext context,
461                                           Graphics g, int x, int y,
462                                           int w, int h) {
463     }
464 
465     /**
466      * Paints the border of an internal frame title pane.
467      *
468      * @param context SynthContext identifying the <code>JComponent</code> and
469      *        <code>Region</code> to paint to
470      * @param g <code>Graphics</code> to paint to
471      * @param x X coordinate of the area to paint to
472      * @param y Y coordinate of the area to paint to
473      * @param w Width of the area to paint to
474      * @param h Height of the area to paint to
475      */
paintInternalFrameTitlePaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)476     public void paintInternalFrameTitlePaneBorder(SynthContext context,
477                                       Graphics g, int x, int y,
478                                       int w, int h) {
479     }
480 
481     /**
482      * Paints the background of an internal frame.
483      *
484      * @param context SynthContext identifying the <code>JComponent</code> and
485      *        <code>Region</code> to paint to
486      * @param g <code>Graphics</code> to paint to
487      * @param x X coordinate of the area to paint to
488      * @param y Y coordinate of the area to paint to
489      * @param w Width of the area to paint to
490      * @param h Height of the area to paint to
491      */
paintInternalFrameBackground(SynthContext context, Graphics g, int x, int y, int w, int h)492     public void paintInternalFrameBackground(SynthContext context,
493                                           Graphics g, int x, int y,
494                                           int w, int h) {
495     }
496 
497     /**
498      * Paints the border of an internal frame.
499      *
500      * @param context SynthContext identifying the <code>JComponent</code> and
501      *        <code>Region</code> to paint to
502      * @param g <code>Graphics</code> to paint to
503      * @param x X coordinate of the area to paint to
504      * @param y Y coordinate of the area to paint to
505      * @param w Width of the area to paint to
506      * @param h Height of the area to paint to
507      */
paintInternalFrameBorder(SynthContext context, Graphics g, int x, int y, int w, int h)508     public void paintInternalFrameBorder(SynthContext context,
509                                       Graphics g, int x, int y,
510                                       int w, int h) {
511     }
512 
513     /**
514      * Paints the background of a label.
515      *
516      * @param context SynthContext identifying the <code>JComponent</code> and
517      *        <code>Region</code> to paint to
518      * @param g <code>Graphics</code> to paint to
519      * @param x X coordinate of the area to paint to
520      * @param y Y coordinate of the area to paint to
521      * @param w Width of the area to paint to
522      * @param h Height of the area to paint to
523      */
paintLabelBackground(SynthContext context, Graphics g, int x, int y, int w, int h)524     public void paintLabelBackground(SynthContext context,
525                                      Graphics g, int x, int y,
526                                      int w, int h) {
527     }
528 
529     /**
530      * Paints the border of a label.
531      *
532      * @param context SynthContext identifying the <code>JComponent</code> and
533      *        <code>Region</code> to paint to
534      * @param g <code>Graphics</code> to paint to
535      * @param x X coordinate of the area to paint to
536      * @param y Y coordinate of the area to paint to
537      * @param w Width of the area to paint to
538      * @param h Height of the area to paint to
539      */
paintLabelBorder(SynthContext context, Graphics g, int x, int y, int w, int h)540     public void paintLabelBorder(SynthContext context,
541                                  Graphics g, int x, int y,
542                                  int w, int h) {
543     }
544 
545     /**
546      * Paints the background of a list.
547      *
548      * @param context SynthContext identifying the <code>JComponent</code> and
549      *        <code>Region</code> to paint to
550      * @param g <code>Graphics</code> to paint to
551      * @param x X coordinate of the area to paint to
552      * @param y Y coordinate of the area to paint to
553      * @param w Width of the area to paint to
554      * @param h Height of the area to paint to
555      */
paintListBackground(SynthContext context, Graphics g, int x, int y, int w, int h)556     public void paintListBackground(SynthContext context,
557                                      Graphics g, int x, int y,
558                                      int w, int h) {
559     }
560 
561     /**
562      * Paints the border of a list.
563      *
564      * @param context SynthContext identifying the <code>JComponent</code> and
565      *        <code>Region</code> to paint to
566      * @param g <code>Graphics</code> to paint to
567      * @param x X coordinate of the area to paint to
568      * @param y Y coordinate of the area to paint to
569      * @param w Width of the area to paint to
570      * @param h Height of the area to paint to
571      */
paintListBorder(SynthContext context, Graphics g, int x, int y, int w, int h)572     public void paintListBorder(SynthContext context,
573                                  Graphics g, int x, int y,
574                                  int w, int h) {
575     }
576 
577     /**
578      * Paints the background of a menu bar.
579      *
580      * @param context SynthContext identifying the <code>JComponent</code> and
581      *        <code>Region</code> to paint to
582      * @param g <code>Graphics</code> to paint to
583      * @param x X coordinate of the area to paint to
584      * @param y Y coordinate of the area to paint to
585      * @param w Width of the area to paint to
586      * @param h Height of the area to paint to
587      */
paintMenuBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)588     public void paintMenuBarBackground(SynthContext context,
589                                      Graphics g, int x, int y,
590                                      int w, int h) {
591     }
592 
593     /**
594      * Paints the border of a menu bar.
595      *
596      * @param context SynthContext identifying the <code>JComponent</code> and
597      *        <code>Region</code> to paint to
598      * @param g <code>Graphics</code> to paint to
599      * @param x X coordinate of the area to paint to
600      * @param y Y coordinate of the area to paint to
601      * @param w Width of the area to paint to
602      * @param h Height of the area to paint to
603      */
paintMenuBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)604     public void paintMenuBarBorder(SynthContext context,
605                                  Graphics g, int x, int y,
606                                  int w, int h) {
607     }
608 
609     /**
610      * Paints the background of a menu item.
611      *
612      * @param context SynthContext identifying the <code>JComponent</code> and
613      *        <code>Region</code> to paint to
614      * @param g <code>Graphics</code> to paint to
615      * @param x X coordinate of the area to paint to
616      * @param y Y coordinate of the area to paint to
617      * @param w Width of the area to paint to
618      * @param h Height of the area to paint to
619      */
paintMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)620     public void paintMenuItemBackground(SynthContext context,
621                                      Graphics g, int x, int y,
622                                      int w, int h) {
623     }
624 
625     /**
626      * Paints the border of a menu item.
627      *
628      * @param context SynthContext identifying the <code>JComponent</code> and
629      *        <code>Region</code> to paint to
630      * @param g <code>Graphics</code> to paint to
631      * @param x X coordinate of the area to paint to
632      * @param y Y coordinate of the area to paint to
633      * @param w Width of the area to paint to
634      * @param h Height of the area to paint to
635      */
paintMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)636     public void paintMenuItemBorder(SynthContext context,
637                                  Graphics g, int x, int y,
638                                  int w, int h) {
639     }
640 
641     /**
642      * Paints the background of a menu.
643      *
644      * @param context SynthContext identifying the <code>JComponent</code> and
645      *        <code>Region</code> to paint to
646      * @param g <code>Graphics</code> to paint to
647      * @param x X coordinate of the area to paint to
648      * @param y Y coordinate of the area to paint to
649      * @param w Width of the area to paint to
650      * @param h Height of the area to paint to
651      */
paintMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h)652     public void paintMenuBackground(SynthContext context,
653                                      Graphics g, int x, int y,
654                                      int w, int h) {
655     }
656 
657     /**
658      * Paints the border of a menu.
659      *
660      * @param context SynthContext identifying the <code>JComponent</code> and
661      *        <code>Region</code> to paint to
662      * @param g <code>Graphics</code> to paint to
663      * @param x X coordinate of the area to paint to
664      * @param y Y coordinate of the area to paint to
665      * @param w Width of the area to paint to
666      * @param h Height of the area to paint to
667      */
paintMenuBorder(SynthContext context, Graphics g, int x, int y, int w, int h)668     public void paintMenuBorder(SynthContext context,
669                                  Graphics g, int x, int y,
670                                  int w, int h) {
671     }
672 
673     /**
674      * Paints the background of an option pane.
675      *
676      * @param context SynthContext identifying the <code>JComponent</code> and
677      *        <code>Region</code> to paint to
678      * @param g <code>Graphics</code> to paint to
679      * @param x X coordinate of the area to paint to
680      * @param y Y coordinate of the area to paint to
681      * @param w Width of the area to paint to
682      * @param h Height of the area to paint to
683      */
paintOptionPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)684     public void paintOptionPaneBackground(SynthContext context,
685                                      Graphics g, int x, int y,
686                                      int w, int h) {
687     }
688 
689     /**
690      * Paints the border of an option pane.
691      *
692      * @param context SynthContext identifying the <code>JComponent</code> and
693      *        <code>Region</code> to paint to
694      * @param g <code>Graphics</code> to paint to
695      * @param x X coordinate of the area to paint to
696      * @param y Y coordinate of the area to paint to
697      * @param w Width of the area to paint to
698      * @param h Height of the area to paint to
699      */
paintOptionPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)700     public void paintOptionPaneBorder(SynthContext context,
701                                  Graphics g, int x, int y,
702                                  int w, int h) {
703     }
704 
705     /**
706      * Paints the background of a panel.
707      *
708      * @param context SynthContext identifying the <code>JComponent</code> and
709      *        <code>Region</code> to paint to
710      * @param g <code>Graphics</code> to paint to
711      * @param x X coordinate of the area to paint to
712      * @param y Y coordinate of the area to paint to
713      * @param w Width of the area to paint to
714      * @param h Height of the area to paint to
715      */
paintPanelBackground(SynthContext context, Graphics g, int x, int y, int w, int h)716     public void paintPanelBackground(SynthContext context,
717                                      Graphics g, int x, int y,
718                                      int w, int h) {
719     }
720 
721     /**
722      * Paints the border of a panel.
723      *
724      * @param context SynthContext identifying the <code>JComponent</code> and
725      *        <code>Region</code> to paint to
726      * @param g <code>Graphics</code> to paint to
727      * @param x X coordinate of the area to paint to
728      * @param y Y coordinate of the area to paint to
729      * @param w Width of the area to paint to
730      * @param h Height of the area to paint to
731      */
paintPanelBorder(SynthContext context, Graphics g, int x, int y, int w, int h)732     public void paintPanelBorder(SynthContext context,
733                                  Graphics g, int x, int y,
734                                  int w, int h) {
735     }
736 
737     /**
738      * Paints the background of a password field.
739      *
740      * @param context SynthContext identifying the <code>JComponent</code> and
741      *        <code>Region</code> to paint to
742      * @param g <code>Graphics</code> to paint to
743      * @param x X coordinate of the area to paint to
744      * @param y Y coordinate of the area to paint to
745      * @param w Width of the area to paint to
746      * @param h Height of the area to paint to
747      */
paintPasswordFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)748     public void paintPasswordFieldBackground(SynthContext context,
749                                      Graphics g, int x, int y,
750                                      int w, int h) {
751     }
752 
753     /**
754      * Paints the border of a password field.
755      *
756      * @param context SynthContext identifying the <code>JComponent</code> and
757      *        <code>Region</code> to paint to
758      * @param g <code>Graphics</code> to paint to
759      * @param x X coordinate of the area to paint to
760      * @param y Y coordinate of the area to paint to
761      * @param w Width of the area to paint to
762      * @param h Height of the area to paint to
763      */
paintPasswordFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)764     public void paintPasswordFieldBorder(SynthContext context,
765                                  Graphics g, int x, int y,
766                                  int w, int h) {
767     }
768 
769     /**
770      * Paints the background of a popup menu.
771      *
772      * @param context SynthContext identifying the <code>JComponent</code> and
773      *        <code>Region</code> to paint to
774      * @param g <code>Graphics</code> to paint to
775      * @param x X coordinate of the area to paint to
776      * @param y Y coordinate of the area to paint to
777      * @param w Width of the area to paint to
778      * @param h Height of the area to paint to
779      */
paintPopupMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h)780     public void paintPopupMenuBackground(SynthContext context,
781                                      Graphics g, int x, int y,
782                                      int w, int h) {
783     }
784 
785     /**
786      * Paints the border of a popup menu.
787      *
788      * @param context SynthContext identifying the <code>JComponent</code> and
789      *        <code>Region</code> to paint to
790      * @param g <code>Graphics</code> to paint to
791      * @param x X coordinate of the area to paint to
792      * @param y Y coordinate of the area to paint to
793      * @param w Width of the area to paint to
794      * @param h Height of the area to paint to
795      */
paintPopupMenuBorder(SynthContext context, Graphics g, int x, int y, int w, int h)796     public void paintPopupMenuBorder(SynthContext context,
797                                  Graphics g, int x, int y,
798                                  int w, int h) {
799     }
800 
801     /**
802      * Paints the background of a progress bar.
803      *
804      * @param context SynthContext identifying the <code>JComponent</code> and
805      *        <code>Region</code> to paint to
806      * @param g <code>Graphics</code> to paint to
807      * @param x X coordinate of the area to paint to
808      * @param y Y coordinate of the area to paint to
809      * @param w Width of the area to paint to
810      * @param h Height of the area to paint to
811      */
paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)812     public void paintProgressBarBackground(SynthContext context,
813                                      Graphics g, int x, int y,
814                                      int w, int h) {
815     }
816 
817     /**
818      * Paints the background of a progress bar. This implementation invokes the
819      * method of the same name without the orientation.
820      *
821      * @param context SynthContext identifying the <code>JComponent</code> and
822      *        <code>Region</code> to paint to
823      * @param g <code>Graphics</code> to paint to
824      * @param x X coordinate of the area to paint to
825      * @param y Y coordinate of the area to paint to
826      * @param w Width of the area to paint to
827      * @param h Height of the area to paint to
828      * @param orientation one of <code>JProgressBar.HORIZONTAL</code> or
829      *                    <code>JProgressBar.VERTICAL</code>
830      * @since 1.6
831      */
paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)832     public void paintProgressBarBackground(SynthContext context,
833                                      Graphics g, int x, int y,
834                                      int w, int h, int orientation) {
835         paintProgressBarBackground(context, g, x, y, w, h);
836     }
837 
838     /**
839      * Paints the border of a progress bar.
840      *
841      * @param context SynthContext identifying the <code>JComponent</code> and
842      *        <code>Region</code> to paint to
843      * @param g <code>Graphics</code> to paint to
844      * @param x X coordinate of the area to paint to
845      * @param y Y coordinate of the area to paint to
846      * @param w Width of the area to paint to
847      * @param h Height of the area to paint to
848      */
paintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)849     public void paintProgressBarBorder(SynthContext context,
850                                  Graphics g, int x, int y,
851                                  int w, int h) {
852     }
853 
854     /**
855      * Paints the border of a progress bar. This implementation invokes the
856      * method of the same name without the orientation.
857      *
858      * @param context SynthContext identifying the <code>JComponent</code> and
859      *        <code>Region</code> to paint to
860      * @param g <code>Graphics</code> to paint to
861      * @param x X coordinate of the area to paint to
862      * @param y Y coordinate of the area to paint to
863      * @param w Width of the area to paint to
864      * @param h Height of the area to paint to
865      * @param orientation one of <code>JProgressBar.HORIZONTAL</code> or
866      *                    <code>JProgressBar.VERTICAL</code>
867      * @since 1.6
868      */
paintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)869     public void paintProgressBarBorder(SynthContext context,
870                                  Graphics g, int x, int y,
871                                  int w, int h, int orientation) {
872         paintProgressBarBorder(context, g, x, y, w, h);
873     }
874 
875     /**
876      * Paints the foreground of a progress bar. is responsible for
877      * providing an indication of the progress of the progress bar.
878      *
879      * @param context SynthContext identifying the <code>JComponent</code> and
880      *        <code>Region</code> to paint to
881      * @param g <code>Graphics</code> to paint to
882      * @param x X coordinate of the area to paint to
883      * @param y Y coordinate of the area to paint to
884      * @param w Width of the area to paint to
885      * @param h Height of the area to paint to
886      * @param orientation one of <code>JProgressBar.HORIZONTAL</code> or
887      *                    <code>JProgressBar.VERTICAL</code>
888      */
paintProgressBarForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)889     public void paintProgressBarForeground(SynthContext context,
890                                  Graphics g, int x, int y,
891                                  int w, int h, int orientation) {
892     }
893 
894     /**
895      * Paints the background of a radio button menu item.
896      *
897      * @param context SynthContext identifying the <code>JComponent</code> and
898      *        <code>Region</code> to paint to
899      * @param g <code>Graphics</code> to paint to
900      * @param x X coordinate of the area to paint to
901      * @param y Y coordinate of the area to paint to
902      * @param w Width of the area to paint to
903      * @param h Height of the area to paint to
904      */
paintRadioButtonMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)905     public void paintRadioButtonMenuItemBackground(SynthContext context,
906                                      Graphics g, int x, int y,
907                                      int w, int h) {
908     }
909 
910     /**
911      * Paints the border of a radio button menu item.
912      *
913      * @param context SynthContext identifying the <code>JComponent</code> and
914      *        <code>Region</code> to paint to
915      * @param g <code>Graphics</code> to paint to
916      * @param x X coordinate of the area to paint to
917      * @param y Y coordinate of the area to paint to
918      * @param w Width of the area to paint to
919      * @param h Height of the area to paint to
920      */
paintRadioButtonMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)921     public void paintRadioButtonMenuItemBorder(SynthContext context,
922                                  Graphics g, int x, int y,
923                                  int w, int h) {
924     }
925 
926     /**
927      * Paints the background of a radio button.
928      *
929      * @param context SynthContext identifying the <code>JComponent</code> and
930      *        <code>Region</code> to paint to
931      * @param g <code>Graphics</code> to paint to
932      * @param x X coordinate of the area to paint to
933      * @param y Y coordinate of the area to paint to
934      * @param w Width of the area to paint to
935      * @param h Height of the area to paint to
936      */
paintRadioButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)937     public void paintRadioButtonBackground(SynthContext context,
938                                      Graphics g, int x, int y,
939                                      int w, int h) {
940     }
941 
942     /**
943      * Paints the border of a radio button.
944      *
945      * @param context SynthContext identifying the <code>JComponent</code> and
946      *        <code>Region</code> to paint to
947      * @param g <code>Graphics</code> to paint to
948      * @param x X coordinate of the area to paint to
949      * @param y Y coordinate of the area to paint to
950      * @param w Width of the area to paint to
951      * @param h Height of the area to paint to
952      */
paintRadioButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)953     public void paintRadioButtonBorder(SynthContext context,
954                                  Graphics g, int x, int y,
955                                  int w, int h) {
956     }
957 
958     /**
959      * Paints the background of a root pane.
960      *
961      * @param context SynthContext identifying the <code>JComponent</code> and
962      *        <code>Region</code> to paint to
963      * @param g <code>Graphics</code> to paint to
964      * @param x X coordinate of the area to paint to
965      * @param y Y coordinate of the area to paint to
966      * @param w Width of the area to paint to
967      * @param h Height of the area to paint to
968      */
paintRootPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)969     public void paintRootPaneBackground(SynthContext context,
970                                      Graphics g, int x, int y,
971                                      int w, int h) {
972     }
973 
974     /**
975      * Paints the border of a root pane.
976      *
977      * @param context SynthContext identifying the <code>JComponent</code> and
978      *        <code>Region</code> to paint to
979      * @param g <code>Graphics</code> to paint to
980      * @param x X coordinate of the area to paint to
981      * @param y Y coordinate of the area to paint to
982      * @param w Width of the area to paint to
983      * @param h Height of the area to paint to
984      */
paintRootPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)985     public void paintRootPaneBorder(SynthContext context,
986                                  Graphics g, int x, int y,
987                                  int w, int h) {
988     }
989 
990     /**
991      * Paints the background of a scrollbar.
992      *
993      * @param context SynthContext identifying the <code>JComponent</code> and
994      *        <code>Region</code> to paint to
995      * @param g <code>Graphics</code> to paint to
996      * @param x X coordinate of the area to paint to
997      * @param y Y coordinate of the area to paint to
998      * @param w Width of the area to paint to
999      * @param h Height of the area to paint to
1000      */
paintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1001     public void paintScrollBarBackground(SynthContext context,
1002                                      Graphics g, int x, int y,
1003                                      int w, int h) {
1004     }
1005 
1006     /**
1007      * Paints the background of a scrollbar. This implementation invokes the
1008      * method of the same name without the orientation.
1009      *
1010      * @param context SynthContext identifying the <code>JComponent</code> and
1011      *        <code>Region</code> to paint to
1012      * @param g <code>Graphics</code> to paint to
1013      * @param x X coordinate of the area to paint to
1014      * @param y Y coordinate of the area to paint to
1015      * @param w Width of the area to paint to
1016      * @param h Height of the area to paint to
1017      * @param orientation Orientation of the JScrollBar, one of
1018      *                    <code>JScrollBar.HORIZONTAL</code> or
1019      *                    <code>JScrollBar.VERTICAL</code>
1020      * @since 1.6
1021      */
paintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1022     public void paintScrollBarBackground(SynthContext context,
1023                                      Graphics g, int x, int y,
1024                                      int w, int h, int orientation) {
1025         paintScrollBarBackground(context, g, x, y, w, h);
1026     }
1027 
1028     /**
1029      * Paints the border of a scrollbar.
1030      *
1031      * @param context SynthContext identifying the <code>JComponent</code> and
1032      *        <code>Region</code> to paint to
1033      * @param g <code>Graphics</code> to paint to
1034      * @param x X coordinate of the area to paint to
1035      * @param y Y coordinate of the area to paint to
1036      * @param w Width of the area to paint to
1037      * @param h Height of the area to paint to
1038      */
paintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1039     public void paintScrollBarBorder(SynthContext context,
1040                                  Graphics g, int x, int y,
1041                                  int w, int h) {
1042     }
1043 
1044     /**
1045      * Paints the border of a scrollbar. This implementation invokes the
1046      * method of the same name without the orientation.
1047      *
1048      * @param context SynthContext identifying the <code>JComponent</code> and
1049      *        <code>Region</code> to paint to
1050      * @param g <code>Graphics</code> to paint to
1051      * @param x X coordinate of the area to paint to
1052      * @param y Y coordinate of the area to paint to
1053      * @param w Width of the area to paint to
1054      * @param h Height of the area to paint to
1055      * @param orientation Orientation of the JScrollBar, one of
1056      *                    <code>JScrollBar.HORIZONTAL</code> or
1057      *                    <code>JScrollBar.VERTICAL</code>
1058      * @since 1.6
1059      */
paintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1060     public void paintScrollBarBorder(SynthContext context,
1061                                  Graphics g, int x, int y,
1062                                  int w, int h, int orientation) {
1063         paintScrollBarBorder(context, g, x, y, w, h);
1064     }
1065 
1066     /**
1067      * Paints the background of the thumb of a scrollbar. The thumb provides
1068      * a graphical indication as to how much of the Component is visible in a
1069      * <code>JScrollPane</code>.
1070      *
1071      * @param context SynthContext identifying the <code>JComponent</code> and
1072      *        <code>Region</code> to paint to
1073      * @param g <code>Graphics</code> to paint to
1074      * @param x X coordinate of the area to paint to
1075      * @param y Y coordinate of the area to paint to
1076      * @param w Width of the area to paint to
1077      * @param h Height of the area to paint to
1078      * @param orientation Orientation of the JScrollBar, one of
1079      *                    <code>JScrollBar.HORIZONTAL</code> or
1080      *                    <code>JScrollBar.VERTICAL</code>
1081      */
paintScrollBarThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1082     public void paintScrollBarThumbBackground(SynthContext context,
1083                                      Graphics g, int x, int y,
1084                                      int w, int h, int orientation) {
1085     }
1086 
1087     /**
1088      * Paints the border of the thumb of a scrollbar. The thumb provides
1089      * a graphical indication as to how much of the Component is visible in a
1090      * <code>JScrollPane</code>.
1091      *
1092      * @param context SynthContext identifying the <code>JComponent</code> and
1093      *        <code>Region</code> to paint to
1094      * @param g <code>Graphics</code> to paint to
1095      * @param x X coordinate of the area to paint to
1096      * @param y Y coordinate of the area to paint to
1097      * @param w Width of the area to paint to
1098      * @param h Height of the area to paint to
1099      * @param orientation Orientation of the JScrollBar, one of
1100      *                    <code>JScrollBar.HORIZONTAL</code> or
1101      *                    <code>JScrollBar.VERTICAL</code>
1102      */
paintScrollBarThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1103     public void paintScrollBarThumbBorder(SynthContext context,
1104                                  Graphics g, int x, int y,
1105                                  int w, int h, int orientation) {
1106     }
1107 
1108     /**
1109      * Paints the background of the track of a scrollbar. The track contains
1110      * the thumb.
1111      *
1112      * @param context SynthContext identifying the <code>JComponent</code> and
1113      *        <code>Region</code> to paint to
1114      * @param g <code>Graphics</code> to paint to
1115      * @param x X coordinate of the area to paint to
1116      * @param y Y coordinate of the area to paint to
1117      * @param w Width of the area to paint to
1118      * @param h Height of the area to paint to
1119      */
paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1120     public void paintScrollBarTrackBackground(SynthContext context,
1121                                      Graphics g, int x, int y,
1122                                      int w, int h) {
1123     }
1124 
1125     /**
1126      * Paints the background of the track of a scrollbar. The track contains
1127      * the thumb. This implementation invokes the method of the same name without
1128      * the orientation.
1129      *
1130      * @param context SynthContext identifying the <code>JComponent</code> and
1131      *        <code>Region</code> to paint to
1132      * @param g <code>Graphics</code> to paint to
1133      * @param x X coordinate of the area to paint to
1134      * @param y Y coordinate of the area to paint to
1135      * @param w Width of the area to paint to
1136      * @param h Height of the area to paint to
1137      * @param orientation Orientation of the JScrollBar, one of
1138      *                    <code>JScrollBar.HORIZONTAL</code> or
1139      *                    <code>JScrollBar.VERTICAL</code>
1140      * @since 1.6
1141      */
paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1142     public void paintScrollBarTrackBackground(SynthContext context,
1143                                      Graphics g, int x, int y,
1144                                      int w, int h, int orientation) {
1145         paintScrollBarTrackBackground(context, g, x, y, w, h);
1146     }
1147 
1148     /**
1149      * Paints the border of the track of a scrollbar. The track contains
1150      * the thumb.
1151      *
1152      * @param context SynthContext identifying the <code>JComponent</code> and
1153      *        <code>Region</code> to paint to
1154      * @param g <code>Graphics</code> to paint to
1155      * @param x X coordinate of the area to paint to
1156      * @param y Y coordinate of the area to paint to
1157      * @param w Width of the area to paint to
1158      * @param h Height of the area to paint to
1159      */
paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1160     public void paintScrollBarTrackBorder(SynthContext context,
1161                                  Graphics g, int x, int y,
1162                                  int w, int h) {
1163     }
1164 
1165     /**
1166      * Paints the border of the track of a scrollbar. The track contains
1167      * the thumb. This implementation invokes the method of the same name without
1168      * the orientation.
1169      *
1170      * @param context SynthContext identifying the <code>JComponent</code> and
1171      *        <code>Region</code> to paint to
1172      * @param g <code>Graphics</code> to paint to
1173      * @param x X coordinate of the area to paint to
1174      * @param y Y coordinate of the area to paint to
1175      * @param w Width of the area to paint to
1176      * @param h Height of the area to paint to
1177      * @param orientation Orientation of the JScrollBar, one of
1178      *                    <code>JScrollBar.HORIZONTAL</code> or
1179      *                    <code>JScrollBar.VERTICAL</code>
1180      * @since 1.6
1181      */
paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1182     public void paintScrollBarTrackBorder(SynthContext context,
1183                                  Graphics g, int x, int y,
1184                                  int w, int h, int orientation) {
1185         paintScrollBarTrackBorder(context, g, x, y, w, h);
1186     }
1187 
1188     /**
1189      * Paints the background of a scroll pane.
1190      *
1191      * @param context SynthContext identifying the <code>JComponent</code> and
1192      *        <code>Region</code> to paint to
1193      * @param g <code>Graphics</code> to paint to
1194      * @param x X coordinate of the area to paint to
1195      * @param y Y coordinate of the area to paint to
1196      * @param w Width of the area to paint to
1197      * @param h Height of the area to paint to
1198      */
paintScrollPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1199     public void paintScrollPaneBackground(SynthContext context,
1200                                      Graphics g, int x, int y,
1201                                      int w, int h) {
1202     }
1203 
1204     /**
1205      * Paints the border of a scroll pane.
1206      *
1207      * @param context SynthContext identifying the <code>JComponent</code> and
1208      *        <code>Region</code> to paint to
1209      * @param g <code>Graphics</code> to paint to
1210      * @param x X coordinate of the area to paint to
1211      * @param y Y coordinate of the area to paint to
1212      * @param w Width of the area to paint to
1213      * @param h Height of the area to paint to
1214      */
paintScrollPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1215     public void paintScrollPaneBorder(SynthContext context,
1216                                  Graphics g, int x, int y,
1217                                  int w, int h) {
1218     }
1219 
1220     /**
1221      * Paints the background of a separator.
1222      *
1223      * @param context SynthContext identifying the <code>JComponent</code> and
1224      *        <code>Region</code> to paint to
1225      * @param g <code>Graphics</code> to paint to
1226      * @param x X coordinate of the area to paint to
1227      * @param y Y coordinate of the area to paint to
1228      * @param w Width of the area to paint to
1229      * @param h Height of the area to paint to
1230      */
paintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1231     public void paintSeparatorBackground(SynthContext context,
1232                                      Graphics g, int x, int y,
1233                                      int w, int h) {
1234     }
1235 
1236     /**
1237      * Paints the background of a separator. This implementation invokes the
1238      * method of the same name without the orientation.
1239      *
1240      * @param context SynthContext identifying the <code>JComponent</code> and
1241      *        <code>Region</code> to paint to
1242      * @param g <code>Graphics</code> to paint to
1243      * @param x X coordinate of the area to paint to
1244      * @param y Y coordinate of the area to paint to
1245      * @param w Width of the area to paint to
1246      * @param h Height of the area to paint to
1247      * @param orientation One of <code>JSeparator.HORIZONTAL</code> or
1248      *                           <code>JSeparator.VERTICAL</code>
1249      * @since 1.6
1250      */
paintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1251     public void paintSeparatorBackground(SynthContext context,
1252                                      Graphics g, int x, int y,
1253                                      int w, int h, int orientation) {
1254         paintSeparatorBackground(context, g, x, y, w, h);
1255     }
1256 
1257     /**
1258      * Paints the border of a separator.
1259      *
1260      * @param context SynthContext identifying the <code>JComponent</code> and
1261      *        <code>Region</code> to paint to
1262      * @param g <code>Graphics</code> to paint to
1263      * @param x X coordinate of the area to paint to
1264      * @param y Y coordinate of the area to paint to
1265      * @param w Width of the area to paint to
1266      * @param h Height of the area to paint to
1267      */
paintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1268     public void paintSeparatorBorder(SynthContext context,
1269                                  Graphics g, int x, int y,
1270                                  int w, int h) {
1271     }
1272 
1273     /**
1274      * Paints the border of a separator. This implementation invokes the
1275      * method of the same name without the orientation.
1276      *
1277      * @param context SynthContext identifying the <code>JComponent</code> and
1278      *        <code>Region</code> to paint to
1279      * @param g <code>Graphics</code> to paint to
1280      * @param x X coordinate of the area to paint to
1281      * @param y Y coordinate of the area to paint to
1282      * @param w Width of the area to paint to
1283      * @param h Height of the area to paint to
1284      * @param orientation One of <code>JSeparator.HORIZONTAL</code> or
1285      *                           <code>JSeparator.VERTICAL</code>
1286      * @since 1.6
1287      */
paintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1288     public void paintSeparatorBorder(SynthContext context,
1289                                  Graphics g, int x, int y,
1290                                  int w, int h, int orientation) {
1291         paintSeparatorBorder(context, g, x, y, w, h);
1292     }
1293 
1294     /**
1295      * Paints the foreground of a separator.
1296      *
1297      * @param context SynthContext identifying the <code>JComponent</code> and
1298      *        <code>Region</code> to paint to
1299      * @param g <code>Graphics</code> to paint to
1300      * @param x X coordinate of the area to paint to
1301      * @param y Y coordinate of the area to paint to
1302      * @param w Width of the area to paint to
1303      * @param h Height of the area to paint to
1304      * @param orientation One of <code>JSeparator.HORIZONTAL</code> or
1305      *                           <code>JSeparator.VERTICAL</code>
1306      */
paintSeparatorForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1307     public void paintSeparatorForeground(SynthContext context,
1308                                  Graphics g, int x, int y,
1309                                  int w, int h, int orientation) {
1310     }
1311 
1312     /**
1313      * Paints the background of a slider.
1314      *
1315      * @param context SynthContext identifying the <code>JComponent</code> and
1316      *        <code>Region</code> to paint to
1317      * @param g <code>Graphics</code> to paint to
1318      * @param x X coordinate of the area to paint to
1319      * @param y Y coordinate of the area to paint to
1320      * @param w Width of the area to paint to
1321      * @param h Height of the area to paint to
1322      */
paintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1323     public void paintSliderBackground(SynthContext context,
1324                                      Graphics g, int x, int y,
1325                                      int w, int h) {
1326     }
1327 
1328     /**
1329      * Paints the background of a slider. This implementation invokes the
1330      * method of the same name without the orientation.
1331      *
1332      * @param context SynthContext identifying the <code>JComponent</code> and
1333      *        <code>Region</code> to paint to
1334      * @param g <code>Graphics</code> to paint to
1335      * @param x X coordinate of the area to paint to
1336      * @param y Y coordinate of the area to paint to
1337      * @param w Width of the area to paint to
1338      * @param h Height of the area to paint to
1339      * @param orientation One of <code>JSlider.HORIZONTAL</code> or
1340      *                           <code>JSlider.VERTICAL</code>
1341      * @since 1.6
1342      */
paintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1343     public void paintSliderBackground(SynthContext context,
1344                                      Graphics g, int x, int y,
1345                                      int w, int h, int orientation) {
1346         paintSliderBackground(context, g, x, y, w, h);
1347     }
1348 
1349     /**
1350      * Paints the border of a slider.
1351      *
1352      * @param context SynthContext identifying the <code>JComponent</code> and
1353      *        <code>Region</code> to paint to
1354      * @param g <code>Graphics</code> to paint to
1355      * @param x X coordinate of the area to paint to
1356      * @param y Y coordinate of the area to paint to
1357      * @param w Width of the area to paint to
1358      * @param h Height of the area to paint to
1359      */
paintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1360     public void paintSliderBorder(SynthContext context,
1361                                  Graphics g, int x, int y,
1362                                  int w, int h) {
1363     }
1364 
1365     /**
1366      * Paints the border of a slider. This implementation invokes the
1367      * method of the same name without the orientation.
1368      *
1369      * @param context SynthContext identifying the <code>JComponent</code> and
1370      *        <code>Region</code> to paint to
1371      * @param g <code>Graphics</code> to paint to
1372      * @param x X coordinate of the area to paint to
1373      * @param y Y coordinate of the area to paint to
1374      * @param w Width of the area to paint to
1375      * @param h Height of the area to paint to
1376      * @param orientation One of <code>JSlider.HORIZONTAL</code> or
1377      *                           <code>JSlider.VERTICAL</code>
1378      * @since 1.6
1379      */
paintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1380     public void paintSliderBorder(SynthContext context,
1381                                  Graphics g, int x, int y,
1382                                  int w, int h, int orientation) {
1383         paintSliderBorder(context, g, x, y, w, h);
1384     }
1385 
1386     /**
1387      * Paints the background of the thumb of a slider.
1388      *
1389      * @param context SynthContext identifying the <code>JComponent</code> and
1390      *        <code>Region</code> to paint to
1391      * @param g <code>Graphics</code> to paint to
1392      * @param x X coordinate of the area to paint to
1393      * @param y Y coordinate of the area to paint to
1394      * @param w Width of the area to paint to
1395      * @param h Height of the area to paint to
1396      * @param orientation One of <code>JSlider.HORIZONTAL</code> or
1397      *                           <code>JSlider.VERTICAL</code>
1398      */
paintSliderThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1399     public void paintSliderThumbBackground(SynthContext context,
1400                                      Graphics g, int x, int y,
1401                                      int w, int h, int orientation) {
1402     }
1403 
1404     /**
1405      * Paints the border of the thumb of a slider.
1406      *
1407      * @param context SynthContext identifying the <code>JComponent</code> and
1408      *        <code>Region</code> to paint to
1409      * @param g <code>Graphics</code> to paint to
1410      * @param x X coordinate of the area to paint to
1411      * @param y Y coordinate of the area to paint to
1412      * @param w Width of the area to paint to
1413      * @param h Height of the area to paint to
1414      * @param orientation One of <code>JSlider.HORIZONTAL</code> or
1415      *                           <code>JSlider.VERTICAL</code>
1416      */
paintSliderThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1417     public void paintSliderThumbBorder(SynthContext context,
1418                                  Graphics g, int x, int y,
1419                                  int w, int h, int orientation) {
1420     }
1421 
1422     /**
1423      * Paints the background of the track of a slider.
1424      *
1425      * @param context SynthContext identifying the <code>JComponent</code> and
1426      *        <code>Region</code> to paint to
1427      * @param g <code>Graphics</code> to paint to
1428      * @param x X coordinate of the area to paint to
1429      * @param y Y coordinate of the area to paint to
1430      * @param w Width of the area to paint to
1431      * @param h Height of the area to paint to
1432      */
paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1433     public void paintSliderTrackBackground(SynthContext context,
1434                                      Graphics g, int x, int y,
1435                                      int w, int h) {
1436     }
1437 
1438     /**
1439      * Paints the background of the track of a slider. This implementation invokes
1440      * the method of the same name without the orientation.
1441      *
1442      * @param context SynthContext identifying the <code>JComponent</code> and
1443      *        <code>Region</code> to paint to
1444      * @param g <code>Graphics</code> to paint to
1445      * @param x X coordinate of the area to paint to
1446      * @param y Y coordinate of the area to paint to
1447      * @param w Width of the area to paint to
1448      * @param h Height of the area to paint to
1449      * @param orientation One of <code>JSlider.HORIZONTAL</code> or
1450      *                           <code>JSlider.VERTICAL</code>
1451      * @since 1.6
1452      */
paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1453     public void paintSliderTrackBackground(SynthContext context,
1454                                      Graphics g, int x, int y,
1455                                      int w, int h, int orientation) {
1456         paintSliderTrackBackground(context, g, x, y, w, h);
1457     }
1458 
1459     /**
1460      * Paints the border of the track of a slider.
1461      *
1462      * @param context SynthContext identifying the <code>JComponent</code> and
1463      *        <code>Region</code> to paint to
1464      * @param g <code>Graphics</code> to paint to
1465      * @param x X coordinate of the area to paint to
1466      * @param y Y coordinate of the area to paint to
1467      * @param w Width of the area to paint to
1468      * @param h Height of the area to paint to
1469      */
paintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1470     public void paintSliderTrackBorder(SynthContext context,
1471                                  Graphics g, int x, int y,
1472                                  int w, int h) {
1473     }
1474 
1475     /**
1476      * Paints the border of the track of a slider. This implementation invokes the
1477      * method of the same name without the orientation.
1478      *
1479      * @param context SynthContext identifying the <code>JComponent</code> and
1480      *        <code>Region</code> to paint to
1481      * @param g <code>Graphics</code> to paint to
1482      * @param x X coordinate of the area to paint to
1483      * @param y Y coordinate of the area to paint to
1484      * @param w Width of the area to paint to
1485      * @param h Height of the area to paint to
1486      * @param orientation One of <code>JSlider.HORIZONTAL</code> or
1487      *                           <code>JSlider.VERTICAL</code>
1488      * @since 1.6
1489      */
paintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1490     public void paintSliderTrackBorder(SynthContext context,
1491                                  Graphics g, int x, int y,
1492                                  int w, int h, int orientation) {
1493         paintSliderTrackBorder(context, g, x, y, w, h);
1494     }
1495 
1496     /**
1497      * Paints the background of a spinner.
1498      *
1499      * @param context SynthContext identifying the <code>JComponent</code> and
1500      *        <code>Region</code> to paint to
1501      * @param g <code>Graphics</code> to paint to
1502      * @param x X coordinate of the area to paint to
1503      * @param y Y coordinate of the area to paint to
1504      * @param w Width of the area to paint to
1505      * @param h Height of the area to paint to
1506      */
paintSpinnerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1507     public void paintSpinnerBackground(SynthContext context,
1508                                      Graphics g, int x, int y,
1509                                      int w, int h) {
1510     }
1511 
1512     /**
1513      * Paints the border of a spinner.
1514      *
1515      * @param context SynthContext identifying the <code>JComponent</code> and
1516      *        <code>Region</code> to paint to
1517      * @param g <code>Graphics</code> to paint to
1518      * @param x X coordinate of the area to paint to
1519      * @param y Y coordinate of the area to paint to
1520      * @param w Width of the area to paint to
1521      * @param h Height of the area to paint to
1522      */
paintSpinnerBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1523     public void paintSpinnerBorder(SynthContext context,
1524                                  Graphics g, int x, int y,
1525                                  int w, int h) {
1526     }
1527 
1528     /**
1529      * Paints the background of the divider of a split pane.
1530      *
1531      * @param context SynthContext identifying the <code>JComponent</code> and
1532      *        <code>Region</code> to paint to
1533      * @param g <code>Graphics</code> to paint to
1534      * @param x X coordinate of the area to paint to
1535      * @param y Y coordinate of the area to paint to
1536      * @param w Width of the area to paint to
1537      * @param h Height of the area to paint to
1538      */
paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1539     public void paintSplitPaneDividerBackground(SynthContext context,
1540                                      Graphics g, int x, int y,
1541                                      int w, int h) {
1542     }
1543 
1544     /**
1545      * Paints the background of the divider of a split pane. This implementation
1546      * invokes the method of the same name without the orientation.
1547      *
1548      * @param context SynthContext identifying the <code>JComponent</code> and
1549      *        <code>Region</code> to paint to
1550      * @param g <code>Graphics</code> to paint to
1551      * @param x X coordinate of the area to paint to
1552      * @param y Y coordinate of the area to paint to
1553      * @param w Width of the area to paint to
1554      * @param h Height of the area to paint to
1555      * @param orientation One of <code>JSplitPane.HORIZONTAL_SPLIT</code> or
1556      *                           <code>JSplitPane.VERTICAL_SPLIT</code>
1557      * @since 1.6
1558      */
paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1559     public void paintSplitPaneDividerBackground(SynthContext context,
1560                                      Graphics g, int x, int y,
1561                                      int w, int h, int orientation) {
1562         paintSplitPaneDividerBackground(context, g, x, y, w, h);
1563     }
1564 
1565     /**
1566      * Paints the foreground of the divider of a split pane.
1567      *
1568      * @param context SynthContext identifying the <code>JComponent</code> and
1569      *        <code>Region</code> to paint to
1570      * @param g <code>Graphics</code> to paint to
1571      * @param x X coordinate of the area to paint to
1572      * @param y Y coordinate of the area to paint to
1573      * @param w Width of the area to paint to
1574      * @param h Height of the area to paint to
1575      * @param orientation One of <code>JSplitPane.HORIZONTAL_SPLIT</code> or
1576      *                           <code>JSplitPane.VERTICAL_SPLIT</code>
1577      */
paintSplitPaneDividerForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1578     public void paintSplitPaneDividerForeground(SynthContext context,
1579                                      Graphics g, int x, int y,
1580                                      int w, int h, int orientation) {
1581     }
1582 
1583     /**
1584      * Paints the divider, when the user is dragging the divider, of a
1585      * split pane.
1586      *
1587      * @param context SynthContext identifying the <code>JComponent</code> and
1588      *        <code>Region</code> to paint to
1589      * @param g <code>Graphics</code> to paint to
1590      * @param x X coordinate of the area to paint to
1591      * @param y Y coordinate of the area to paint to
1592      * @param w Width of the area to paint to
1593      * @param h Height of the area to paint to
1594      * @param orientation One of <code>JSplitPane.HORIZONTAL_SPLIT</code> or
1595      *                           <code>JSplitPane.VERTICAL_SPLIT</code>
1596      */
paintSplitPaneDragDivider(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1597     public void paintSplitPaneDragDivider(SynthContext context,
1598                                      Graphics g, int x, int y,
1599                                      int w, int h, int orientation) {
1600     }
1601 
1602     /**
1603      * Paints the background of a split pane.
1604      *
1605      * @param context SynthContext identifying the <code>JComponent</code> and
1606      *        <code>Region</code> to paint to
1607      * @param g <code>Graphics</code> to paint to
1608      * @param x X coordinate of the area to paint to
1609      * @param y Y coordinate of the area to paint to
1610      * @param w Width of the area to paint to
1611      * @param h Height of the area to paint to
1612      */
paintSplitPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1613     public void paintSplitPaneBackground(SynthContext context,
1614                                      Graphics g, int x, int y,
1615                                      int w, int h) {
1616     }
1617 
1618     /**
1619      * Paints the border of a split pane.
1620      *
1621      * @param context SynthContext identifying the <code>JComponent</code> and
1622      *        <code>Region</code> to paint to
1623      * @param g <code>Graphics</code> to paint to
1624      * @param x X coordinate of the area to paint to
1625      * @param y Y coordinate of the area to paint to
1626      * @param w Width of the area to paint to
1627      * @param h Height of the area to paint to
1628      */
paintSplitPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1629     public void paintSplitPaneBorder(SynthContext context,
1630                                  Graphics g, int x, int y,
1631                                  int w, int h) {
1632     }
1633 
1634     /**
1635      * Paints the background of a tabbed pane.
1636      *
1637      * @param context SynthContext identifying the <code>JComponent</code> and
1638      *        <code>Region</code> to paint to
1639      * @param g <code>Graphics</code> to paint to
1640      * @param x X coordinate of the area to paint to
1641      * @param y Y coordinate of the area to paint to
1642      * @param w Width of the area to paint to
1643      * @param h Height of the area to paint to
1644      */
paintTabbedPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1645     public void paintTabbedPaneBackground(SynthContext context,
1646                                      Graphics g, int x, int y,
1647                                      int w, int h) {
1648     }
1649 
1650     /**
1651      * Paints the border of a tabbed pane.
1652      *
1653      * @param context SynthContext identifying the <code>JComponent</code> and
1654      *        <code>Region</code> to paint to
1655      * @param g <code>Graphics</code> to paint to
1656      * @param x X coordinate of the area to paint to
1657      * @param y Y coordinate of the area to paint to
1658      * @param w Width of the area to paint to
1659      * @param h Height of the area to paint to
1660      */
paintTabbedPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1661     public void paintTabbedPaneBorder(SynthContext context,
1662                                  Graphics g, int x, int y,
1663                                  int w, int h) {
1664     }
1665 
1666     /**
1667      * Paints the background of the area behind the tabs of a tabbed pane.
1668      *
1669      * @param context SynthContext identifying the <code>JComponent</code> and
1670      *        <code>Region</code> to paint to
1671      * @param g <code>Graphics</code> to paint to
1672      * @param x X coordinate of the area to paint to
1673      * @param y Y coordinate of the area to paint to
1674      * @param w Width of the area to paint to
1675      * @param h Height of the area to paint to
1676      */
paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1677     public void paintTabbedPaneTabAreaBackground(SynthContext context,
1678                                      Graphics g, int x, int y,
1679                                      int w, int h) {
1680     }
1681 
1682     /**
1683      * Paints the background of the area behind the tabs of a tabbed pane.
1684      * This implementation invokes the method of the same name without the
1685      * orientation.
1686      *
1687      * @param context SynthContext identifying the <code>JComponent</code> and
1688      *        <code>Region</code> to paint to
1689      * @param g <code>Graphics</code> to paint to
1690      * @param x X coordinate of the area to paint to
1691      * @param y Y coordinate of the area to paint to
1692      * @param w Width of the area to paint to
1693      * @param h Height of the area to paint to
1694      * @param orientation One of <code>JTabbedPane.TOP</code>,
1695      *                    <code>JTabbedPane.LEFT</code>,
1696      *                    <code>JTabbedPane.BOTTOM</code>, or
1697      *                    <code>JTabbedPane.RIGHT</code>
1698      * @since 1.6
1699      */
paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1700     public void paintTabbedPaneTabAreaBackground(SynthContext context,
1701                                      Graphics g, int x, int y,
1702                                      int w, int h, int orientation) {
1703         paintTabbedPaneTabAreaBackground(context, g, x, y, w, h);
1704     }
1705 
1706     /**
1707      * Paints the border of the area behind the tabs of a tabbed pane.
1708      *
1709      * @param context SynthContext identifying the <code>JComponent</code> and
1710      *        <code>Region</code> to paint to
1711      * @param g <code>Graphics</code> to paint to
1712      * @param x X coordinate of the area to paint to
1713      * @param y Y coordinate of the area to paint to
1714      * @param w Width of the area to paint to
1715      * @param h Height of the area to paint to
1716      */
paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1717     public void paintTabbedPaneTabAreaBorder(SynthContext context,
1718                                  Graphics g, int x, int y,
1719                                  int w, int h) {
1720     }
1721 
1722     /**
1723      * Paints the border of the area behind the tabs of a tabbed pane. This
1724      * implementation invokes the method of the same name without the orientation.
1725      *
1726      * @param context SynthContext identifying the <code>JComponent</code> and
1727      *        <code>Region</code> to paint to
1728      * @param g <code>Graphics</code> to paint to
1729      * @param x X coordinate of the area to paint to
1730      * @param y Y coordinate of the area to paint to
1731      * @param w Width of the area to paint to
1732      * @param h Height of the area to paint to
1733      * @param orientation One of <code>JTabbedPane.TOP</code>,
1734      *                    <code>JTabbedPane.LEFT</code>,
1735      *                    <code>JTabbedPane.BOTTOM</code>, or
1736      *                    <code>JTabbedPane.RIGHT</code>
1737      * @since 1.6
1738      */
paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)1739     public void paintTabbedPaneTabAreaBorder(SynthContext context,
1740                                  Graphics g, int x, int y,
1741                                  int w, int h, int orientation) {
1742         paintTabbedPaneTabAreaBorder(context, g, x, y, w, h);
1743     }
1744 
1745     /**
1746      * Paints the background of a tab of a tabbed pane.
1747      *
1748      * @param context SynthContext identifying the <code>JComponent</code> and
1749      *        <code>Region</code> to paint to
1750      * @param g <code>Graphics</code> to paint to
1751      * @param x X coordinate of the area to paint to
1752      * @param y Y coordinate of the area to paint to
1753      * @param w Width of the area to paint to
1754      * @param h Height of the area to paint to
1755      * @param tabIndex Index of tab being painted.
1756      */
paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)1757     public void paintTabbedPaneTabBackground(SynthContext context, Graphics g,
1758                                          int x, int y, int w, int h,
1759                                          int tabIndex) {
1760     }
1761 
1762     /**
1763      * Paints the background of a tab of a tabbed pane. This implementation
1764      * invokes the method of the same name without the orientation.
1765      *
1766      * @param context SynthContext identifying the <code>JComponent</code> and
1767      *        <code>Region</code> to paint to
1768      * @param g <code>Graphics</code> to paint to
1769      * @param x X coordinate of the area to paint to
1770      * @param y Y coordinate of the area to paint to
1771      * @param w Width of the area to paint to
1772      * @param h Height of the area to paint to
1773      * @param tabIndex Index of tab being painted.
1774      * @param orientation One of <code>JTabbedPane.TOP</code>,
1775      *                    <code>JTabbedPane.LEFT</code>,
1776      *                    <code>JTabbedPane.BOTTOM</code>, or
1777      *                    <code>JTabbedPane.RIGHT</code>
1778      * @since 1.6
1779      */
paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation)1780     public void paintTabbedPaneTabBackground(SynthContext context, Graphics g,
1781                                          int x, int y, int w, int h,
1782                                          int tabIndex, int orientation) {
1783         paintTabbedPaneTabBackground(context, g, x, y, w, h, tabIndex);
1784     }
1785 
1786     /**
1787      * Paints the border of a tab of a tabbed pane.
1788      *
1789      * @param context SynthContext identifying the <code>JComponent</code> and
1790      *        <code>Region</code> to paint to
1791      * @param g <code>Graphics</code> to paint to
1792      * @param x X coordinate of the area to paint to
1793      * @param y Y coordinate of the area to paint to
1794      * @param w Width of the area to paint to
1795      * @param h Height of the area to paint to
1796      * @param tabIndex Index of tab being painted.
1797      */
paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)1798     public void paintTabbedPaneTabBorder(SynthContext context, Graphics g,
1799                                          int x, int y, int w, int h,
1800                                          int tabIndex) {
1801     }
1802 
1803     /**
1804      * Paints the border of a tab of a tabbed pane. This implementation invokes
1805      * the method of the same name without the orientation.
1806      *
1807      * @param context SynthContext identifying the <code>JComponent</code> and
1808      *        <code>Region</code> to paint to
1809      * @param g <code>Graphics</code> to paint to
1810      * @param x X coordinate of the area to paint to
1811      * @param y Y coordinate of the area to paint to
1812      * @param w Width of the area to paint to
1813      * @param h Height of the area to paint to
1814      * @param tabIndex Index of tab being painted.
1815      * @param orientation One of <code>JTabbedPane.TOP</code>,
1816      *                    <code>JTabbedPane.LEFT</code>,
1817      *                    <code>JTabbedPane.BOTTOM</code>, or
1818      *                    <code>JTabbedPane.RIGHT</code>
1819      * @since 1.6
1820      */
paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation)1821     public void paintTabbedPaneTabBorder(SynthContext context, Graphics g,
1822                                          int x, int y, int w, int h,
1823                                          int tabIndex, int orientation) {
1824         paintTabbedPaneTabBorder(context, g, x, y, w, h, tabIndex);
1825     }
1826 
1827     /**
1828      * Paints the background of the area that contains the content of the
1829      * selected tab of a tabbed pane.
1830      *
1831      * @param context SynthContext identifying the <code>JComponent</code> and
1832      *        <code>Region</code> to paint to
1833      * @param g <code>Graphics</code> to paint to
1834      * @param x X coordinate of the area to paint to
1835      * @param y Y coordinate of the area to paint to
1836      * @param w Width of the area to paint to
1837      * @param h Height of the area to paint to
1838      */
paintTabbedPaneContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1839     public void paintTabbedPaneContentBackground(SynthContext context,
1840                                          Graphics g, int x, int y, int w,
1841                                          int h) {
1842     }
1843 
1844     /**
1845      * Paints the border of the area that contains the content of the
1846      * selected tab of a tabbed pane.
1847      *
1848      * @param context SynthContext identifying the <code>JComponent</code> and
1849      *        <code>Region</code> to paint to
1850      * @param g <code>Graphics</code> to paint to
1851      * @param x X coordinate of the area to paint to
1852      * @param y Y coordinate of the area to paint to
1853      * @param w Width of the area to paint to
1854      * @param h Height of the area to paint to
1855      */
paintTabbedPaneContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1856     public void paintTabbedPaneContentBorder(SynthContext context, Graphics g,
1857                                          int x, int y, int w, int h) {
1858     }
1859 
1860     /**
1861      * Paints the background of the header of a table.
1862      *
1863      * @param context SynthContext identifying the <code>JComponent</code> and
1864      *        <code>Region</code> to paint to
1865      * @param g <code>Graphics</code> to paint to
1866      * @param x X coordinate of the area to paint to
1867      * @param y Y coordinate of the area to paint to
1868      * @param w Width of the area to paint to
1869      * @param h Height of the area to paint to
1870      */
paintTableHeaderBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1871     public void paintTableHeaderBackground(SynthContext context,
1872                                      Graphics g, int x, int y,
1873                                      int w, int h) {
1874     }
1875 
1876     /**
1877      * Paints the border of the header of a table.
1878      *
1879      * @param context SynthContext identifying the <code>JComponent</code> and
1880      *        <code>Region</code> to paint to
1881      * @param g <code>Graphics</code> to paint to
1882      * @param x X coordinate of the area to paint to
1883      * @param y Y coordinate of the area to paint to
1884      * @param w Width of the area to paint to
1885      * @param h Height of the area to paint to
1886      */
paintTableHeaderBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1887     public void paintTableHeaderBorder(SynthContext context,
1888                                  Graphics g, int x, int y,
1889                                  int w, int h) {
1890     }
1891 
1892     /**
1893      * Paints the background of a table.
1894      *
1895      * @param context SynthContext identifying the <code>JComponent</code> and
1896      *        <code>Region</code> to paint to
1897      * @param g <code>Graphics</code> to paint to
1898      * @param x X coordinate of the area to paint to
1899      * @param y Y coordinate of the area to paint to
1900      * @param w Width of the area to paint to
1901      * @param h Height of the area to paint to
1902      */
paintTableBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1903     public void paintTableBackground(SynthContext context,
1904                                      Graphics g, int x, int y,
1905                                      int w, int h) {
1906     }
1907 
1908     /**
1909      * Paints the border of a table.
1910      *
1911      * @param context SynthContext identifying the <code>JComponent</code> and
1912      *        <code>Region</code> to paint to
1913      * @param g <code>Graphics</code> to paint to
1914      * @param x X coordinate of the area to paint to
1915      * @param y Y coordinate of the area to paint to
1916      * @param w Width of the area to paint to
1917      * @param h Height of the area to paint to
1918      */
paintTableBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1919     public void paintTableBorder(SynthContext context,
1920                                  Graphics g, int x, int y,
1921                                  int w, int h) {
1922     }
1923 
1924     /**
1925      * Paints the background of a text area.
1926      *
1927      * @param context SynthContext identifying the <code>JComponent</code> and
1928      *        <code>Region</code> to paint to
1929      * @param g <code>Graphics</code> to paint to
1930      * @param x X coordinate of the area to paint to
1931      * @param y Y coordinate of the area to paint to
1932      * @param w Width of the area to paint to
1933      * @param h Height of the area to paint to
1934      */
paintTextAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1935     public void paintTextAreaBackground(SynthContext context,
1936                                      Graphics g, int x, int y,
1937                                      int w, int h) {
1938     }
1939 
1940     /**
1941      * Paints the border of a text area.
1942      *
1943      * @param context SynthContext identifying the <code>JComponent</code> and
1944      *        <code>Region</code> to paint to
1945      * @param g <code>Graphics</code> to paint to
1946      * @param x X coordinate of the area to paint to
1947      * @param y Y coordinate of the area to paint to
1948      * @param w Width of the area to paint to
1949      * @param h Height of the area to paint to
1950      */
paintTextAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1951     public void paintTextAreaBorder(SynthContext context,
1952                                  Graphics g, int x, int y,
1953                                  int w, int h) {
1954     }
1955 
1956     /**
1957      * Paints the background of a text pane.
1958      *
1959      * @param context SynthContext identifying the <code>JComponent</code> and
1960      *        <code>Region</code> to paint to
1961      * @param g <code>Graphics</code> to paint to
1962      * @param x X coordinate of the area to paint to
1963      * @param y Y coordinate of the area to paint to
1964      * @param w Width of the area to paint to
1965      * @param h Height of the area to paint to
1966      */
paintTextPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1967     public void paintTextPaneBackground(SynthContext context,
1968                                      Graphics g, int x, int y,
1969                                      int w, int h) {
1970     }
1971 
1972     /**
1973      * Paints the border of a text pane.
1974      *
1975      * @param context SynthContext identifying the <code>JComponent</code> and
1976      *        <code>Region</code> to paint to
1977      * @param g <code>Graphics</code> to paint to
1978      * @param x X coordinate of the area to paint to
1979      * @param y Y coordinate of the area to paint to
1980      * @param w Width of the area to paint to
1981      * @param h Height of the area to paint to
1982      */
paintTextPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)1983     public void paintTextPaneBorder(SynthContext context,
1984                                  Graphics g, int x, int y,
1985                                  int w, int h) {
1986     }
1987 
1988     /**
1989      * Paints the background of a text field.
1990      *
1991      * @param context SynthContext identifying the <code>JComponent</code> and
1992      *        <code>Region</code> to paint to
1993      * @param g <code>Graphics</code> to paint to
1994      * @param x X coordinate of the area to paint to
1995      * @param y Y coordinate of the area to paint to
1996      * @param w Width of the area to paint to
1997      * @param h Height of the area to paint to
1998      */
paintTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)1999     public void paintTextFieldBackground(SynthContext context,
2000                                           Graphics g, int x, int y,
2001                                           int w, int h) {
2002     }
2003 
2004     /**
2005      * Paints the border of a text field.
2006      *
2007      * @param context SynthContext identifying the <code>JComponent</code> and
2008      *        <code>Region</code> to paint to
2009      * @param g <code>Graphics</code> to paint to
2010      * @param x X coordinate of the area to paint to
2011      * @param y Y coordinate of the area to paint to
2012      * @param w Width of the area to paint to
2013      * @param h Height of the area to paint to
2014      */
paintTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)2015     public void paintTextFieldBorder(SynthContext context,
2016                                       Graphics g, int x, int y,
2017                                       int w, int h) {
2018     }
2019 
2020     /**
2021      * Paints the background of a toggle button.
2022      *
2023      * @param context SynthContext identifying the <code>JComponent</code> and
2024      *        <code>Region</code> to paint to
2025      * @param g <code>Graphics</code> to paint to
2026      * @param x X coordinate of the area to paint to
2027      * @param y Y coordinate of the area to paint to
2028      * @param w Width of the area to paint to
2029      * @param h Height of the area to paint to
2030      */
paintToggleButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)2031     public void paintToggleButtonBackground(SynthContext context,
2032                                      Graphics g, int x, int y,
2033                                      int w, int h) {
2034     }
2035 
2036     /**
2037      * Paints the border of a toggle button.
2038      *
2039      * @param context SynthContext identifying the <code>JComponent</code> and
2040      *        <code>Region</code> to paint to
2041      * @param g <code>Graphics</code> to paint to
2042      * @param x X coordinate of the area to paint to
2043      * @param y Y coordinate of the area to paint to
2044      * @param w Width of the area to paint to
2045      * @param h Height of the area to paint to
2046      */
paintToggleButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)2047     public void paintToggleButtonBorder(SynthContext context,
2048                                  Graphics g, int x, int y,
2049                                  int w, int h) {
2050     }
2051 
2052     /**
2053      * Paints the background of a tool bar.
2054      *
2055      * @param context SynthContext identifying the <code>JComponent</code> and
2056      *        <code>Region</code> to paint to
2057      * @param g <code>Graphics</code> to paint to
2058      * @param x X coordinate of the area to paint to
2059      * @param y Y coordinate of the area to paint to
2060      * @param w Width of the area to paint to
2061      * @param h Height of the area to paint to
2062      */
paintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)2063     public void paintToolBarBackground(SynthContext context,
2064                                      Graphics g, int x, int y,
2065                                      int w, int h) {
2066     }
2067 
2068     /**
2069      * Paints the background of a tool bar. This implementation invokes the
2070      * method of the same name without the orientation.
2071      *
2072      * @param context SynthContext identifying the <code>JComponent</code> and
2073      *        <code>Region</code> to paint to
2074      * @param g <code>Graphics</code> to paint to
2075      * @param x X coordinate of the area to paint to
2076      * @param y Y coordinate of the area to paint to
2077      * @param w Width of the area to paint to
2078      * @param h Height of the area to paint to
2079      * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
2080      *                           <code>JToolBar.VERTICAL</code>
2081      * @since 1.6
2082      */
paintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)2083     public void paintToolBarBackground(SynthContext context,
2084                                      Graphics g, int x, int y,
2085                                      int w, int h, int orientation) {
2086         paintToolBarBackground(context, g, x, y, w, h);
2087     }
2088 
2089     /**
2090      * Paints the border of a tool bar.
2091      *
2092      * @param context SynthContext identifying the <code>JComponent</code> and
2093      *        <code>Region</code> to paint to
2094      * @param g <code>Graphics</code> to paint to
2095      * @param x X coordinate of the area to paint to
2096      * @param y Y coordinate of the area to paint to
2097      * @param w Width of the area to paint to
2098      * @param h Height of the area to paint to
2099      */
paintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)2100     public void paintToolBarBorder(SynthContext context,
2101                                  Graphics g, int x, int y,
2102                                  int w, int h) {
2103     }
2104 
2105     /**
2106      * Paints the border of a tool bar. This implementation invokes the
2107      * method of the same name without the orientation.
2108      *
2109      * @param context SynthContext identifying the <code>JComponent</code> and
2110      *        <code>Region</code> to paint to
2111      * @param g <code>Graphics</code> to paint to
2112      * @param x X coordinate of the area to paint to
2113      * @param y Y coordinate of the area to paint to
2114      * @param w Width of the area to paint to
2115      * @param h Height of the area to paint to
2116      * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
2117      *                           <code>JToolBar.VERTICAL</code>
2118      * @since 1.6
2119      */
paintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)2120     public void paintToolBarBorder(SynthContext context,
2121                                  Graphics g, int x, int y,
2122                                  int w, int h, int orientation) {
2123         paintToolBarBorder(context, g, x, y, w, h);
2124     }
2125 
2126     /**
2127      * Paints the background of the tool bar's content area.
2128      *
2129      * @param context SynthContext identifying the <code>JComponent</code> and
2130      *        <code>Region</code> to paint to
2131      * @param g <code>Graphics</code> to paint to
2132      * @param x X coordinate of the area to paint to
2133      * @param y Y coordinate of the area to paint to
2134      * @param w Width of the area to paint to
2135      * @param h Height of the area to paint to
2136      */
paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)2137     public void paintToolBarContentBackground(SynthContext context,
2138                                      Graphics g, int x, int y,
2139                                      int w, int h) {
2140     }
2141 
2142     /**
2143      * Paints the background of the tool bar's content area. This implementation
2144      * invokes the method of the same name without the orientation.
2145      *
2146      * @param context SynthContext identifying the <code>JComponent</code> and
2147      *        <code>Region</code> to paint to
2148      * @param g <code>Graphics</code> to paint to
2149      * @param x X coordinate of the area to paint to
2150      * @param y Y coordinate of the area to paint to
2151      * @param w Width of the area to paint to
2152      * @param h Height of the area to paint to
2153      * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
2154      *                           <code>JToolBar.VERTICAL</code>
2155      * @since 1.6
2156      */
paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)2157     public void paintToolBarContentBackground(SynthContext context,
2158                                      Graphics g, int x, int y,
2159                                      int w, int h, int orientation) {
2160         paintToolBarContentBackground(context, g, x, y, w, h);
2161     }
2162 
2163     /**
2164      * Paints the border of the content area of a tool bar.
2165      *
2166      * @param context SynthContext identifying the <code>JComponent</code> and
2167      *        <code>Region</code> to paint to
2168      * @param g <code>Graphics</code> to paint to
2169      * @param x X coordinate of the area to paint to
2170      * @param y Y coordinate of the area to paint to
2171      * @param w Width of the area to paint to
2172      * @param h Height of the area to paint to
2173      */
paintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h)2174     public void paintToolBarContentBorder(SynthContext context,
2175                                  Graphics g, int x, int y,
2176                                  int w, int h) {
2177     }
2178 
2179     /**
2180      * Paints the border of the content area of a tool bar. This implementation
2181      * invokes the method of the same name without the orientation.
2182      *
2183      * @param context SynthContext identifying the <code>JComponent</code> and
2184      *        <code>Region</code> to paint to
2185      * @param g <code>Graphics</code> to paint to
2186      * @param x X coordinate of the area to paint to
2187      * @param y Y coordinate of the area to paint to
2188      * @param w Width of the area to paint to
2189      * @param h Height of the area to paint to
2190      * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
2191      *                           <code>JToolBar.VERTICAL</code>
2192      * @since 1.6
2193      */
paintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)2194     public void paintToolBarContentBorder(SynthContext context,
2195                                  Graphics g, int x, int y,
2196                                  int w, int h, int orientation) {
2197         paintToolBarContentBorder(context, g, x, y, w, h);
2198     }
2199 
2200     /**
2201      * Paints the background of the window containing the tool bar when it
2202      * has been detached from its primary frame.
2203      *
2204      * @param context SynthContext identifying the <code>JComponent</code> and
2205      *        <code>Region</code> to paint to
2206      * @param g <code>Graphics</code> to paint to
2207      * @param x X coordinate of the area to paint to
2208      * @param y Y coordinate of the area to paint to
2209      * @param w Width of the area to paint to
2210      * @param h Height of the area to paint to
2211      */
paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h)2212     public void paintToolBarDragWindowBackground(SynthContext context,
2213                                      Graphics g, int x, int y,
2214                                      int w, int h) {
2215     }
2216 
2217     /**
2218      * Paints the background of the window containing the tool bar when it
2219      * has been detached from its primary frame. This implementation invokes the
2220      * method of the same name without the orientation.
2221      *
2222      * @param context SynthContext identifying the <code>JComponent</code> and
2223      *        <code>Region</code> to paint to
2224      * @param g <code>Graphics</code> to paint to
2225      * @param x X coordinate of the area to paint to
2226      * @param y Y coordinate of the area to paint to
2227      * @param w Width of the area to paint to
2228      * @param h Height of the area to paint to
2229      * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
2230      *                           <code>JToolBar.VERTICAL</code>
2231      * @since 1.6
2232      */
paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)2233     public void paintToolBarDragWindowBackground(SynthContext context,
2234                                      Graphics g, int x, int y,
2235                                      int w, int h, int orientation) {
2236         paintToolBarDragWindowBackground(context, g, x, y, w, h);
2237     }
2238 
2239     /**
2240      * Paints the border of the window containing the tool bar when it
2241      * has been detached from it's primary frame.
2242      *
2243      * @param context SynthContext identifying the <code>JComponent</code> and
2244      *        <code>Region</code> to paint to
2245      * @param g <code>Graphics</code> to paint to
2246      * @param x X coordinate of the area to paint to
2247      * @param y Y coordinate of the area to paint to
2248      * @param w Width of the area to paint to
2249      * @param h Height of the area to paint to
2250      */
paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h)2251     public void paintToolBarDragWindowBorder(SynthContext context,
2252                                  Graphics g, int x, int y,
2253                                  int w, int h) {
2254     }
2255 
2256     /**
2257      * Paints the border of the window containing the tool bar when it
2258      * has been detached from it's primary frame. This implementation invokes the
2259      * method of the same name without the orientation.
2260      *
2261      * @param context SynthContext identifying the <code>JComponent</code> and
2262      *        <code>Region</code> to paint to
2263      * @param g <code>Graphics</code> to paint to
2264      * @param x X coordinate of the area to paint to
2265      * @param y Y coordinate of the area to paint to
2266      * @param w Width of the area to paint to
2267      * @param h Height of the area to paint to
2268      * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
2269      *                           <code>JToolBar.VERTICAL</code>
2270      * @since 1.6
2271      */
paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)2272     public void paintToolBarDragWindowBorder(SynthContext context,
2273                                  Graphics g, int x, int y,
2274                                  int w, int h, int orientation) {
2275         paintToolBarDragWindowBorder(context, g, x, y, w, h);
2276     }
2277 
2278     /**
2279      * Paints the background of a tool tip.
2280      *
2281      * @param context SynthContext identifying the <code>JComponent</code> and
2282      *        <code>Region</code> to paint to
2283      * @param g <code>Graphics</code> to paint to
2284      * @param x X coordinate of the area to paint to
2285      * @param y Y coordinate of the area to paint to
2286      * @param w Width of the area to paint to
2287      * @param h Height of the area to paint to
2288      */
paintToolTipBackground(SynthContext context, Graphics g, int x, int y, int w, int h)2289     public void paintToolTipBackground(SynthContext context,
2290                                      Graphics g, int x, int y,
2291                                      int w, int h) {
2292     }
2293 
2294     /**
2295      * Paints the border of a tool tip.
2296      *
2297      * @param context SynthContext identifying the <code>JComponent</code> and
2298      *        <code>Region</code> to paint to
2299      * @param g <code>Graphics</code> to paint to
2300      * @param x X coordinate of the area to paint to
2301      * @param y Y coordinate of the area to paint to
2302      * @param w Width of the area to paint to
2303      * @param h Height of the area to paint to
2304      */
paintToolTipBorder(SynthContext context, Graphics g, int x, int y, int w, int h)2305     public void paintToolTipBorder(SynthContext context,
2306                                  Graphics g, int x, int y,
2307                                  int w, int h) {
2308     }
2309 
2310     /**
2311      * Paints the background of a tree.
2312      *
2313      * @param context SynthContext identifying the <code>JComponent</code> and
2314      *        <code>Region</code> to paint to
2315      * @param g <code>Graphics</code> to paint to
2316      * @param x X coordinate of the area to paint to
2317      * @param y Y coordinate of the area to paint to
2318      * @param w Width of the area to paint to
2319      * @param h Height of the area to paint to
2320      */
paintTreeBackground(SynthContext context, Graphics g, int x, int y, int w, int h)2321     public void paintTreeBackground(SynthContext context,
2322                                      Graphics g, int x, int y,
2323                                      int w, int h) {
2324     }
2325 
2326     /**
2327      * Paints the border of a tree.
2328      *
2329      * @param context SynthContext identifying the <code>JComponent</code> and
2330      *        <code>Region</code> to paint to
2331      * @param g <code>Graphics</code> to paint to
2332      * @param x X coordinate of the area to paint to
2333      * @param y Y coordinate of the area to paint to
2334      * @param w Width of the area to paint to
2335      * @param h Height of the area to paint to
2336      */
paintTreeBorder(SynthContext context, Graphics g, int x, int y, int w, int h)2337     public void paintTreeBorder(SynthContext context,
2338                                  Graphics g, int x, int y,
2339                                  int w, int h) {
2340     }
2341 
2342     /**
2343      * Paints the background of the row containing a cell in a tree.
2344      *
2345      * @param context SynthContext identifying the <code>JComponent</code> and
2346      *        <code>Region</code> to paint to
2347      * @param g <code>Graphics</code> to paint to
2348      * @param x X coordinate of the area to paint to
2349      * @param y Y coordinate of the area to paint to
2350      * @param w Width of the area to paint to
2351      * @param h Height of the area to paint to
2352      */
paintTreeCellBackground(SynthContext context, Graphics g, int x, int y, int w, int h)2353     public void paintTreeCellBackground(SynthContext context,
2354                                      Graphics g, int x, int y,
2355                                      int w, int h) {
2356     }
2357 
2358     /**
2359      * Paints the border of the row containing a cell in a tree.
2360      *
2361      * @param context SynthContext identifying the <code>JComponent</code> and
2362      *        <code>Region</code> to paint to
2363      * @param g <code>Graphics</code> to paint to
2364      * @param x X coordinate of the area to paint to
2365      * @param y Y coordinate of the area to paint to
2366      * @param w Width of the area to paint to
2367      * @param h Height of the area to paint to
2368      */
paintTreeCellBorder(SynthContext context, Graphics g, int x, int y, int w, int h)2369     public void paintTreeCellBorder(SynthContext context,
2370                                  Graphics g, int x, int y,
2371                                  int w, int h) {
2372     }
2373 
2374     /**
2375      * Paints the focus indicator for a cell in a tree when it has focus.
2376      *
2377      * @param context SynthContext identifying the <code>JComponent</code> and
2378      *        <code>Region</code> to paint to
2379      * @param g <code>Graphics</code> to paint to
2380      * @param x X coordinate of the area to paint to
2381      * @param y Y coordinate of the area to paint to
2382      * @param w Width of the area to paint to
2383      * @param h Height of the area to paint to
2384      */
paintTreeCellFocus(SynthContext context, Graphics g, int x, int y, int w, int h)2385     public void paintTreeCellFocus(SynthContext context,
2386                                    Graphics g, int x, int y,
2387                                    int w, int h) {
2388     }
2389 
2390     /**
2391      * Paints the background of the viewport.
2392      *
2393      * @param context SynthContext identifying the <code>JComponent</code> and
2394      *        <code>Region</code> to paint to
2395      * @param g <code>Graphics</code> to paint to
2396      * @param x X coordinate of the area to paint to
2397      * @param y Y coordinate of the area to paint to
2398      * @param w Width of the area to paint to
2399      * @param h Height of the area to paint to
2400      */
paintViewportBackground(SynthContext context, Graphics g, int x, int y, int w, int h)2401     public void paintViewportBackground(SynthContext context,
2402                                      Graphics g, int x, int y,
2403                                      int w, int h) {
2404     }
2405 
2406     /**
2407      * Paints the border of a viewport.
2408      *
2409      * @param context SynthContext identifying the <code>JComponent</code> and
2410      *        <code>Region</code> to paint to
2411      * @param g <code>Graphics</code> to paint to
2412      * @param x X coordinate of the area to paint to
2413      * @param y Y coordinate of the area to paint to
2414      * @param w Width of the area to paint to
2415      * @param h Height of the area to paint to
2416      */
paintViewportBorder(SynthContext context, Graphics g, int x, int y, int w, int h)2417     public void paintViewportBorder(SynthContext context,
2418                                  Graphics g, int x, int y,
2419                                  int w, int h) {
2420     }
2421 }
2422