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