KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > swing > plaf > synth > SynthPainter


1 /*
2  * @(#)SynthPainter.java 1.10 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 package javax.swing.plaf.synth;
8
9 import java.awt.*;
10 import javax.swing.*;
11
12 /**
13  * <code>SynthPainter</code> is used for painting portions of
14  * <code>JComponent</code>s. At a minimum each <code>JComponent</code>
15  * has two paint methods: one for the border and one for the background. Some
16  * <code>JComponent</code>s have more than one <code>Region</code>, and as
17  * a consequence more paint methods.
18  * <p>
19  * Instances of <code>SynthPainter</code> are obtained from the
20  * {@link javax.swing.plaf.synth.SynthStyle#getPainter} method.
21  * <p>
22  * You typically supply a <code>SynthPainter</code> by way of Synth's
23  * <a HREF="doc-files/synthFileFormat.html">file</a> format. The following
24  * example registers a painter for all <code>JButton</code>s that will
25  * render the image <code>myImage.png</code>:
26  * <pre>
27  * &lt;style id="buttonStyle">
28  * &lt;imagePainter path="myImage.png" sourceInsets="2 2 2 2"
29  * paintCenter="true" stretch="true"/>
30  * &lt;insets top="2" bottom="2" left="2" right="2"/>
31  * &lt;/style>
32  * &lt;bind style="buttonStyle" type="REGION" key="button"/>
33  *</pre>
34  * <p>
35  * <code>SynthPainter</code> is abstract in so far as it does no painting,
36  * all the methods
37  * are empty. While none of these methods are typed to throw an exception,
38  * subclasses can assume that valid arguments are passed in, and if not
39  * they can throw a <code>NullPointerException</code> or
40  * <code>IllegalArgumentException</code> in response to invalid arguments.
41  *
42  * @version 1.10, 12/19/03
43  * @since 1.5
44  * @author Scott Violet
45  */

46 public abstract class SynthPainter {
47     /**
48      * Used to avoid null painter checks everywhere.
49      */

50     static SynthPainter JavaDoc NULL_PAINTER = new SynthPainter JavaDoc() {};
51
52
53     /**
54      * Paints the background of an arrow button. Arrow buttons are created by
55      * some components, such as <code>JScrollBar</code>.
56      *
57      * @param context SynthContext identifying the <code>JComponent</code> and
58      * <code>Region</code> to paint to
59      * @param g <code>Graphics</code> to paint to
60      * @param x X coordinate of the area to paint to
61      * @param y Y coordinate of the area to paint to
62      * @param w Width of the area to paint to
63      * @param h Height of the area to paint to
64      */

65     public void paintArrowButtonBackground(SynthContext JavaDoc context,
66                                            Graphics g, int x, int y,
67                                            int w, int h) {
68     }
69
70     /**
71      * Paints the border of an arrow button. Arrow buttons are created by
72      * some components, such as <code>JScrollBar</code>.
73      *
74      * @param context SynthContext identifying the <code>JComponent</code> and
75      * <code>Region</code> to paint to
76      * @param g <code>Graphics</code> to paint to
77      * @param x X coordinate of the area to paint to
78      * @param y Y coordinate of the area to paint to
79      * @param w Width of the area to paint to
80      * @param h Height of the area to paint to
81      */

82     public void paintArrowButtonBorder(SynthContext JavaDoc context,
83                                        Graphics g, int x, int y,
84                                        int w, int h) {
85     }
86
87     /**
88      * Paints the foreground of an arrow button. This method is responsible
89      * for drawing a graphical representation of a direction, typically
90      * an arrow. Arrow buttons are created by
91      * some components, such as <code>JScrollBar</code>
92      *
93      * @param context SynthContext identifying the <code>JComponent</code> and
94      * <code>Region</code> to paint to
95      * @param g <code>Graphics</code> to paint to
96      * @param x X coordinate of the area to paint to
97      * @param y Y coordinate of the area to paint to
98      * @param w Width of the area to paint to
99      * @param h Height of the area to paint to
100      * @param direction One of SwingConstants.NORTH, SwingConstants.SOUTH
101      * SwingConstants.EAST or SwingConstants.WEST
102      */

103     public void paintArrowButtonForeground(SynthContext JavaDoc context,
104                                            Graphics g, int x, int y,
105                                            int w, int h,
106                                            int direction) {
107     }
108
109     /**
110      * Paints the background of a button.
111      *
112      * @param context SynthContext identifying the <code>JComponent</code> and
113      * <code>Region</code> to paint to
114      * @param g <code>Graphics</code> to paint to
115      * @param x X coordinate of the area to paint to
116      * @param y Y coordinate of the area to paint to
117      * @param w Width of the area to paint to
118      * @param h Height of the area to paint to
119      */

120     public void paintButtonBackground(SynthContext JavaDoc context,
121                                       Graphics g, int x, int y,
122                                       int w, int h) {
123     }
124
125     /**
126      * Paints the border 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 paintButtonBorder(SynthContext JavaDoc context,
137                                   Graphics g, int x, int y,
138                                   int w, int h) {
139     }
140
141     /**
142      * Paints the background of a check box menu item.
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 paintCheckBoxMenuItemBackground(SynthContext JavaDoc context,
153                                                 Graphics g, int x, int y,
154                                                 int w, int h) {
155     }
156
157     /**
158      * Paints the border 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 paintCheckBoxMenuItemBorder(SynthContext JavaDoc context,
169                                             Graphics g, int x, int y,
170                                             int w, int h) {
171     }
172
173     /**
174      * Paints the background of a check box.
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 paintCheckBoxBackground(SynthContext JavaDoc context,
185                                         Graphics g, int x, int y,
186                                         int w, int h) {
187     }
188
189     /**
190      * Paints the border 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 paintCheckBoxBorder(SynthContext JavaDoc context,
201                                     Graphics g, int x, int y,
202                                     int w, int h) {
203     }
204
205     /**
206      * Paints the background of a color chooser.
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 paintColorChooserBackground(SynthContext JavaDoc context,
217                                             Graphics g, int x, int y,
218                                             int w, int h) {
219     }
220
221     /**
222      * Paints the border 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 paintColorChooserBorder(SynthContext JavaDoc context,
233                                         Graphics g, int x, int y,
234                                         int w, int h) {
235     }
236
237     /**
238      * Paints the background of a combo box.
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 paintComboBoxBackground(SynthContext JavaDoc context,
249                                         Graphics g, int x, int y,
250                                         int w, int h) {
251     }
252
253     /**
254      * Paints the border 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 paintComboBoxBorder(SynthContext JavaDoc context,
265                                         Graphics g, int x, int y,
266                                         int w, int h) {
267     }
268
269     /**
270      * Paints the background of a desktop icon.
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 paintDesktopIconBackground(SynthContext JavaDoc context,
281                                         Graphics g, int x, int y,
282                                         int w, int h) {
283     }
284
285     /**
286      * Paints the border 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 paintDesktopIconBorder(SynthContext JavaDoc context,
297                                            Graphics g, int x, int y,
298                                            int w, int h) {
299     }
300
301     /**
302      * Paints the background of a desktop pane.
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 paintDesktopPaneBackground(SynthContext JavaDoc 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 paintDesktopPaneBorder(SynthContext JavaDoc context,
329                                        Graphics g, int x, int y,
330                                        int w, int h) {
331     }
332
333     /**
334      * Paints the background of an editor 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 paintEditorPaneBackground(SynthContext JavaDoc context,
345                                           Graphics g, int x, int y,
346                                           int w, int h) {
347     }
348
349     /**
350      * Paints the border 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 paintEditorPaneBorder(SynthContext JavaDoc context,
361                                       Graphics g, int x, int y,
362                                       int w, int h) {
363     }
364
365     /**
366      * Paints the background of a file chooser.
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 paintFileChooserBackground(SynthContext JavaDoc context,
377                                           Graphics g, int x, int y,
378                                           int w, int h) {
379     }
380
381     /**
382      * Paints the border 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 paintFileChooserBorder(SynthContext JavaDoc context,
393                                       Graphics g, int x, int y,
394                                       int w, int h) {
395     }
396
397     /**
398      * Paints the background of a formatted text field.
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 paintFormattedTextFieldBackground(SynthContext JavaDoc context,
409                                           Graphics g, int x, int y,
410                                           int w, int h) {
411     }
412
413     /**
414      * Paints the border 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 paintFormattedTextFieldBorder(SynthContext JavaDoc context,
425                                       Graphics g, int x, int y,
426                                       int w, int h) {
427     }
428
429     /**
430      * Paints the background of an internal frame title pane.
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 paintInternalFrameTitlePaneBackground(SynthContext JavaDoc context,
441                                           Graphics g, int x, int y,
442                                           int w, int h) {
443     }
444
445     /**
446      * Paints the border 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 paintInternalFrameTitlePaneBorder(SynthContext JavaDoc context,
457                                       Graphics g, int x, int y,
458                                       int w, int h) {
459     }
460
461     /**
462      * Paints the background of an internal frame.
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 paintInternalFrameBackground(SynthContext JavaDoc context,
473                                           Graphics g, int x, int y,
474                                           int w, int h) {
475     }
476
477     /**
478      * Paints the border 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 paintInternalFrameBorder(SynthContext JavaDoc context,
489                                       Graphics g, int x, int y,
490                                       int w, int h) {
491     }
492
493     /**
494      * Paints the background of a label.
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 paintLabelBackground(SynthContext JavaDoc context,
505                                      Graphics g, int x, int y,
506                                      int w, int h) {
507     }
508
509     /**
510      * Paints the border 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 paintLabelBorder(SynthContext JavaDoc context,
521                                  Graphics g, int x, int y,
522                                  int w, int h) {
523     }
524
525     /**
526      * Paints the background of a list.
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 paintListBackground(SynthContext JavaDoc context,
537                                      Graphics g, int x, int y,
538                                      int w, int h) {
539     }
540
541     /**
542      * Paints the border 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 paintListBorder(SynthContext JavaDoc context,
553                                  Graphics g, int x, int y,
554                                  int w, int h) {
555     }
556
557     /**
558      * Paints the background of a menu bar.
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 paintMenuBarBackground(SynthContext JavaDoc context,
569                                      Graphics g, int x, int y,
570                                      int w, int h) {
571     }
572
573     /**
574      * Paints the border 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 paintMenuBarBorder(SynthContext JavaDoc context,
585                                  Graphics g, int x, int y,
586                                  int w, int h) {
587     }
588
589     /**
590      * Paints the background of a menu item.
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 paintMenuItemBackground(SynthContext JavaDoc context,
601                                      Graphics g, int x, int y,
602                                      int w, int h) {
603     }
604
605     /**
606      * Paints the border 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 paintMenuItemBorder(SynthContext JavaDoc context,
617                                  Graphics g, int x, int y,
618                                  int w, int h) {
619     }
620
621     /**
622      * Paints the background of a menu.
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 paintMenuBackground(SynthContext JavaDoc context,
633                                      Graphics g, int x, int y,
634                                      int w, int h) {
635     }
636
637     /**
638      * Paints the border 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 paintMenuBorder(SynthContext JavaDoc context,
649                                  Graphics g, int x, int y,
650                                  int w, int h) {
651     }
652
653     /**
654      * Paints the background of an option pane.
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 paintOptionPaneBackground(SynthContext JavaDoc context,
665                                      Graphics g, int x, int y,
666                                      int w, int h) {
667     }
668
669     /**
670      * Paints the border 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 paintOptionPaneBorder(SynthContext JavaDoc context,
681                                  Graphics g, int x, int y,
682                                  int w, int h) {
683     }
684
685     /**
686      * Paints the background of a panel.
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 paintPanelBackground(SynthContext JavaDoc context,
697                                      Graphics g, int x, int y,
698                                      int w, int h) {
699     }
700
701     /**
702      * Paints the border 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 paintPanelBorder(SynthContext JavaDoc context,
713                                  Graphics g, int x, int y,
714                                  int w, int h) {
715     }
716
717     /**
718      * Paints the background of a password field.
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 paintPasswordFieldBackground(SynthContext JavaDoc context,
729                                      Graphics g, int x, int y,
730                                      int w, int h) {
731     }
732
733     /**
734      * Paints the border 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 paintPasswordFieldBorder(SynthContext JavaDoc context,
745                                  Graphics g, int x, int y,
746                                  int w, int h) {
747     }
748
749     /**
750      * Paints the background of a popup menu.
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 paintPopupMenuBackground(SynthContext JavaDoc context,
761                                      Graphics g, int x, int y,
762                                      int w, int h) {
763     }
764
765     /**
766      * Paints the border 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 paintPopupMenuBorder(SynthContext JavaDoc context,
777                                  Graphics g, int x, int y,
778                                  int w, int h) {
779     }
780
781     /**
782      * Paints the background of a progress bar.
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 paintProgressBarBackground(SynthContext JavaDoc context,
793                                      Graphics g, int x, int y,
794                                      int w, int h) {
795     }
796
797     /**
798      * Paints the border 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 paintProgressBarBorder(SynthContext JavaDoc context,
809                                  Graphics g, int x, int y,
810                                  int w, int h) {
811     }
812
813     /**
814      * Paints the foreground of a progress bar. This is responsible for
815      * providing an indication of the progress of the progress bar.
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      */

827     public void paintProgressBarForeground(SynthContext JavaDoc context,
828                                  Graphics g, int x, int y,
829                                  int w, int h, int orientation) {
830     }
831
832     /**
833      * Paints the background of a radio button menu item.
834      *
835      * @param context SynthContext identifying the <code>JComponent</code> and
836      * <code>Region</code> to paint to
837      * @param g <code>Graphics</code> to paint to
838      * @param x X coordinate of the area to paint to
839      * @param y Y coordinate of the area to paint to
840      * @param w Width of the area to paint to
841      * @param h Height of the area to paint to
842      */

843     public void paintRadioButtonMenuItemBackground(SynthContext JavaDoc context,
844                                      Graphics g, int x, int y,
845                                      int w, int h) {
846     }
847
848     /**
849      * Paints the border of a radio button menu item.
850      *
851      * @param context SynthContext identifying the <code>JComponent</code> and
852      * <code>Region</code> to paint to
853      * @param g <code>Graphics</code> to paint to
854      * @param x X coordinate of the area to paint to
855      * @param y Y coordinate of the area to paint to
856      * @param w Width of the area to paint to
857      * @param h Height of the area to paint to
858      */

859     public void paintRadioButtonMenuItemBorder(SynthContext JavaDoc context,
860                                  Graphics g, int x, int y,
861                                  int w, int h) {
862     }
863
864     /**
865      * Paints the background of a radio button.
866      *
867      * @param context SynthContext identifying the <code>JComponent</code> and
868      * <code>Region</code> to paint to
869      * @param g <code>Graphics</code> to paint to
870      * @param x X coordinate of the area to paint to
871      * @param y Y coordinate of the area to paint to
872      * @param w Width of the area to paint to
873      * @param h Height of the area to paint to
874      */

875     public void paintRadioButtonBackground(SynthContext JavaDoc context,
876                                      Graphics g, int x, int y,
877                                      int w, int h) {
878     }
879
880     /**
881      * Paints the border of a radio button.
882      *
883      * @param context SynthContext identifying the <code>JComponent</code> and
884      * <code>Region</code> to paint to
885      * @param g <code>Graphics</code> to paint to
886      * @param x X coordinate of the area to paint to
887      * @param y Y coordinate of the area to paint to
888      * @param w Width of the area to paint to
889      * @param h Height of the area to paint to
890      */

891     public void paintRadioButtonBorder(SynthContext JavaDoc context,
892                                  Graphics g, int x, int y,
893                                  int w, int h) {
894     }
895
896     /**
897      * Paints the background of a root pane.
898      *
899      * @param context SynthContext identifying the <code>JComponent</code> and
900      * <code>Region</code> to paint to
901      * @param g <code>Graphics</code> to paint to
902      * @param x X coordinate of the area to paint to
903      * @param y Y coordinate of the area to paint to
904      * @param w Width of the area to paint to
905      * @param h Height of the area to paint to
906      */

907     public void paintRootPaneBackground(SynthContext JavaDoc context,
908                                      Graphics g, int x, int y,
909                                      int w, int h) {
910     }
911
912     /**
913      * Paints the border of a root pane.
914      *
915      * @param context SynthContext identifying the <code>JComponent</code> and
916      * <code>Region</code> to paint to
917      * @param g <code>Graphics</code> to paint to
918      * @param x X coordinate of the area to paint to
919      * @param y Y coordinate of the area to paint to
920      * @param w Width of the area to paint to
921      * @param h Height of the area to paint to
922      */

923     public void paintRootPaneBorder(SynthContext JavaDoc context,
924                                  Graphics g, int x, int y,
925                                  int w, int h) {
926     }
927
928     /**
929      * Paints the background of a scrollbar.
930      *
931      * @param context SynthContext identifying the <code>JComponent</code> and
932      * <code>Region</code> to paint to
933      * @param g <code>Graphics</code> to paint to
934      * @param x X coordinate of the area to paint to
935      * @param y Y coordinate of the area to paint to
936      * @param w Width of the area to paint to
937      * @param h Height of the area to paint to
938      */

939     public void paintScrollBarBackground(SynthContext JavaDoc context,
940                                      Graphics g, int x, int y,
941                                      int w, int h) {
942     }
943
944     /**
945      * Paints the border of a scrollbar.
946      *
947      * @param context SynthContext identifying the <code>JComponent</code> and
948      * <code>Region</code> to paint to
949      * @param g <code>Graphics</code> to paint to
950      * @param x X coordinate of the area to paint to
951      * @param y Y coordinate of the area to paint to
952      * @param w Width of the area to paint to
953      * @param h Height of the area to paint to
954      */

955     public void paintScrollBarBorder(SynthContext JavaDoc context,
956                                  Graphics g, int x, int y,
957                                  int w, int h) {
958     }
959
960     /**
961      * Paints the background of the thumb of a scrollbar. The thumb provides
962      * a graphical indication as to how much of the Component is visible in a
963      * <code>JScrollPane</code>.
964      *
965      * @param context SynthContext identifying the <code>JComponent</code> and
966      * <code>Region</code> to paint to
967      * @param g <code>Graphics</code> to paint to
968      * @param x X coordinate of the area to paint to
969      * @param y Y coordinate of the area to paint to
970      * @param w Width of the area to paint to
971      * @param h Height of the area to paint to
972      * @param orientation Orientation of the JScrollBar, one of
973      * <code>JScrollBar.HORIZONTAL</code> or
974      * <code>JScrollBar.VERTICAL</code>
975      */

976     public void paintScrollBarThumbBackground(SynthContext JavaDoc context,
977                                      Graphics g, int x, int y,
978                                      int w, int h, int orientation) {
979     }
980
981     /**
982      * Paints the border of the thumb of a scrollbar. The thumb provides
983      * a graphical indication as to how much of the Component is visible in a
984      * <code>JScrollPane</code>.
985      *
986      * @param context SynthContext identifying the <code>JComponent</code> and
987      * <code>Region</code> to paint to
988      * @param g <code>Graphics</code> to paint to
989      * @param x X coordinate of the area to paint to
990      * @param y Y coordinate of the area to paint to
991      * @param w Width of the area to paint to
992      * @param h Height of the area to paint to
993      * @param orientation Orientation of the JScrollBar, one of
994      * <code>JScrollBar.HORIZONTAL</code> or
995      * <code>JScrollBar.VERTICAL</code>
996      */

997     public void paintScrollBarThumbBorder(SynthContext JavaDoc context,
998                                  Graphics g, int x, int y,
999                                  int w, int h, int orientation) {
1000    }
1001
1002    /**
1003     * Paints the background of the track of a scrollbar. The track contains
1004     * the thumb.
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     */

1014    public void paintScrollBarTrackBackground(SynthContext JavaDoc context,
1015                                     Graphics g, int x, int y,
1016                                     int w, int h) {
1017    }
1018
1019    /**
1020     * Paints the border of the track of a scrollbar. The track contains
1021     * the thumb.
1022     *
1023     * @param context SynthContext identifying the <code>JComponent</code> and
1024     * <code>Region</code> to paint to
1025     * @param g <code>Graphics</code> to paint to
1026     * @param x X coordinate of the area to paint to
1027     * @param y Y coordinate of the area to paint to
1028     * @param w Width of the area to paint to
1029     * @param h Height of the area to paint to
1030     */

1031    public void paintScrollBarTrackBorder(SynthContext JavaDoc context,
1032                                 Graphics g, int x, int y,
1033                                 int w, int h) {
1034    }
1035
1036    /**
1037     * Paints the background of a scroll pane.
1038     *
1039     * @param context SynthContext identifying the <code>JComponent</code> and
1040     * <code>Region</code> to paint to
1041     * @param g <code>Graphics</code> to paint to
1042     * @param x X coordinate of the area to paint to
1043     * @param y Y coordinate of the area to paint to
1044     * @param w Width of the area to paint to
1045     * @param h Height of the area to paint to
1046     */

1047    public void paintScrollPaneBackground(SynthContext JavaDoc context,
1048                                     Graphics g, int x, int y,
1049                                     int w, int h) {
1050    }
1051
1052    /**
1053     * Paints the border of a scroll pane.
1054     *
1055     * @param context SynthContext identifying the <code>JComponent</code> and
1056     * <code>Region</code> to paint to
1057     * @param g <code>Graphics</code> to paint to
1058     * @param x X coordinate of the area to paint to
1059     * @param y Y coordinate of the area to paint to
1060     * @param w Width of the area to paint to
1061     * @param h Height of the area to paint to
1062     */

1063    public void paintScrollPaneBorder(SynthContext JavaDoc context,
1064                                 Graphics g, int x, int y,
1065                                 int w, int h) {
1066    }
1067
1068    /**
1069     * Paints the background of a separator.
1070     *
1071     * @param context SynthContext identifying the <code>JComponent</code> and
1072     * <code>Region</code> to paint to
1073     * @param g <code>Graphics</code> to paint to
1074     * @param x X coordinate of the area to paint to
1075     * @param y Y coordinate of the area to paint to
1076     * @param w Width of the area to paint to
1077     * @param h Height of the area to paint to
1078     */

1079    public void paintSeparatorBackground(SynthContext JavaDoc context,
1080                                     Graphics g, int x, int y,
1081                                     int w, int h) {
1082    }
1083
1084    /**
1085     * Paints the border of a separator.
1086     *
1087     * @param context SynthContext identifying the <code>JComponent</code> and
1088     * <code>Region</code> to paint to
1089     * @param g <code>Graphics</code> to paint to
1090     * @param x X coordinate of the area to paint to
1091     * @param y Y coordinate of the area to paint to
1092     * @param w Width of the area to paint to
1093     * @param h Height of the area to paint to
1094     */

1095    public void paintSeparatorBorder(SynthContext JavaDoc context,
1096                                 Graphics g, int x, int y,
1097                                 int w, int h) {
1098    }
1099
1100    /**
1101     * Paints the foreground of a separator.
1102     *
1103     * @param context SynthContext identifying the <code>JComponent</code> and
1104     * <code>Region</code> to paint to
1105     * @param g <code>Graphics</code> to paint to
1106     * @param x X coordinate of the area to paint to
1107     * @param y Y coordinate of the area to paint to
1108     * @param w Width of the area to paint to
1109     * @param h Height of the area to paint to
1110     * @param orientation One of <code>JSeparator.HORIZONTAL</code> or
1111     * <code>JSeparator.VERTICAL</code>
1112     */

1113    public void paintSeparatorForeground(SynthContext JavaDoc context,
1114                                 Graphics g, int x, int y,
1115                                 int w, int h, int orientation) {
1116    }
1117
1118    /**
1119     * Paints the background of a slider.
1120     *
1121     * @param context SynthContext identifying the <code>JComponent</code> and
1122     * <code>Region</code> to paint to
1123     * @param g <code>Graphics</code> to paint to
1124     * @param x X coordinate of the area to paint to
1125     * @param y Y coordinate of the area to paint to
1126     * @param w Width of the area to paint to
1127     * @param h Height of the area to paint to
1128     */

1129    public void paintSliderBackground(SynthContext JavaDoc context,
1130                                     Graphics g, int x, int y,
1131                                     int w, int h) {
1132    }
1133
1134    /**
1135     * Paints the border of a slider.
1136     *
1137     * @param context SynthContext identifying the <code>JComponent</code> and
1138     * <code>Region</code> to paint to
1139     * @param g <code>Graphics</code> to paint to
1140     * @param x X coordinate of the area to paint to
1141     * @param y Y coordinate of the area to paint to
1142     * @param w Width of the area to paint to
1143     * @param h Height of the area to paint to
1144     */

1145    public void paintSliderBorder(SynthContext JavaDoc context,
1146                                 Graphics g, int x, int y,
1147                                 int w, int h) {
1148    }
1149
1150    /**
1151     * Paints the background of the thumb of a slider.
1152     *
1153     * @param context SynthContext identifying the <code>JComponent</code> and
1154     * <code>Region</code> to paint to
1155     * @param g <code>Graphics</code> to paint to
1156     * @param x X coordinate of the area to paint to
1157     * @param y Y coordinate of the area to paint to
1158     * @param w Width of the area to paint to
1159     * @param h Height of the area to paint to
1160     * @param orientation One of <code>JSlider.HORIZONTAL</code> or
1161     * <code>JSlider.VERTICAL</code>
1162     */

1163    public void paintSliderThumbBackground(SynthContext JavaDoc context,
1164                                     Graphics g, int x, int y,
1165                                     int w, int h, int orientation) {
1166    }
1167
1168    /**
1169     * Paints the border of the thumb of a slider.
1170     *
1171     * @param context SynthContext identifying the <code>JComponent</code> and
1172     * <code>Region</code> to paint to
1173     * @param g <code>Graphics</code> to paint to
1174     * @param x X coordinate of the area to paint to
1175     * @param y Y coordinate of the area to paint to
1176     * @param w Width of the area to paint to
1177     * @param h Height of the area to paint to
1178     * @param orientation One of <code>JSlider.HORIZONTAL</code> or
1179     * <code>JSlider.VERTICAL</code>
1180     */

1181    public void paintSliderThumbBorder(SynthContext JavaDoc context,
1182                                 Graphics g, int x, int y,
1183                                 int w, int h, int orientation) {
1184    }
1185
1186    /**
1187     * Paints the background of the track of a slider.
1188     *
1189     * @param context SynthContext identifying the <code>JComponent</code> and
1190     * <code>Region</code> to paint to
1191     * @param g <code>Graphics</code> to paint to
1192     * @param x X coordinate of the area to paint to
1193     * @param y Y coordinate of the area to paint to
1194     * @param w Width of the area to paint to
1195     * @param h Height of the area to paint to
1196     */

1197    public void paintSliderTrackBackground(SynthContext JavaDoc context,
1198                                     Graphics g, int x, int y,
1199                                     int w, int h) {
1200    }
1201
1202    /**
1203     * Paints the border of the track of a slider.
1204     *
1205     * @param context SynthContext identifying the <code>JComponent</code> and
1206     * <code>Region</code> to paint to
1207     * @param g <code>Graphics</code> to paint to
1208     * @param x X coordinate of the area to paint to
1209     * @param y Y coordinate of the area to paint to
1210     * @param w Width of the area to paint to
1211     * @param h Height of the area to paint to
1212     */

1213    public void paintSliderTrackBorder(SynthContext JavaDoc context,
1214                                 Graphics g, int x, int y,
1215                                 int w, int h) {
1216    }
1217
1218    /**
1219     * Paints the background of a spinner.
1220     *
1221     * @param context SynthContext identifying the <code>JComponent</code> and
1222     * <code>Region</code> to paint to
1223     * @param g <code>Graphics</code> to paint to
1224     * @param x X coordinate of the area to paint to
1225     * @param y Y coordinate of the area to paint to
1226     * @param w Width of the area to paint to
1227     * @param h Height of the area to paint to
1228     */

1229    public void paintSpinnerBackground(SynthContext JavaDoc context,
1230                                     Graphics g, int x, int y,
1231                                     int w, int h) {
1232    }
1233
1234    /**
1235     * Paints the border of a spinner.
1236     *
1237     * @param context SynthContext identifying the <code>JComponent</code> and
1238     * <code>Region</code> to paint to
1239     * @param g <code>Graphics</code> to paint to
1240     * @param x X coordinate of the area to paint to
1241     * @param y Y coordinate of the area to paint to
1242     * @param w Width of the area to paint to
1243     * @param h Height of the area to paint to
1244     */

1245    public void paintSpinnerBorder(SynthContext JavaDoc context,
1246                                 Graphics g, int x, int y,
1247                                 int w, int h) {
1248    }
1249
1250    /**
1251     * Paints the background of the divider of a split pane.
1252     *
1253     * @param context SynthContext identifying the <code>JComponent</code> and
1254     * <code>Region</code> to paint to
1255     * @param g <code>Graphics</code> to paint to
1256     * @param x X coordinate of the area to paint to
1257     * @param y Y coordinate of the area to paint to
1258     * @param w Width of the area to paint to
1259     * @param h Height of the area to paint to
1260     */

1261    public void paintSplitPaneDividerBackground(SynthContext JavaDoc context,
1262                                     Graphics g, int x, int y,
1263                                     int w, int h) {
1264    }
1265
1266    /**
1267     * Paints the foreground of the divider of a split pane.
1268     *
1269     * @param context SynthContext identifying the <code>JComponent</code> and
1270     * <code>Region</code> to paint to
1271     * @param g <code>Graphics</code> to paint to
1272     * @param x X coordinate of the area to paint to
1273     * @param y Y coordinate of the area to paint to
1274     * @param w Width of the area to paint to
1275     * @param h Height of the area to paint to
1276     * @param orientation One of <code>JSplitPane.HORIZONTAL_SPLIT</code> or
1277     * <code>JSplitPane.VERTICAL_SPLIT</code>
1278     */

1279    public void paintSplitPaneDividerForeground(SynthContext JavaDoc context,
1280                                     Graphics g, int x, int y,
1281                                     int w, int h, int orientation) {
1282    }
1283
1284    /**
1285     * Paints the divider, when the user is dragging the divider, of a
1286     * split pane.
1287     *
1288     * @param context SynthContext identifying the <code>JComponent</code> and
1289     * <code>Region</code> to paint to
1290     * @param g <code>Graphics</code> to paint to
1291     * @param x X coordinate of the area to paint to
1292     * @param y Y coordinate of the area to paint to
1293     * @param w Width of the area to paint to
1294     * @param h Height of the area to paint to
1295     * @param orientation One of <code>JSplitPane.HORIZONTAL_SPLIT</code> or
1296     * <code>JSplitPane.VERTICAL_SPLIT</code>
1297     */

1298    public void paintSplitPaneDragDivider(SynthContext JavaDoc context,
1299                                     Graphics g, int x, int y,
1300                                     int w, int h, int orientation) {
1301    }
1302
1303    /**
1304     * Paints the background of a split pane.
1305     *
1306     * @param context SynthContext identifying the <code>JComponent</code> and
1307     * <code>Region</code> to paint to
1308     * @param g <code>Graphics</code> to paint to
1309     * @param x X coordinate of the area to paint to
1310     * @param y Y coordinate of the area to paint to
1311     * @param w Width of the area to paint to
1312     * @param h Height of the area to paint to
1313     */

1314    public void paintSplitPaneBackground(SynthContext JavaDoc context,
1315                                     Graphics g, int x, int y,
1316                                     int w, int h) {
1317    }
1318
1319    /**
1320     * Paints the border of a split pane.
1321     *
1322     * @param context SynthContext identifying the <code>JComponent</code> and
1323     * <code>Region</code> to paint to
1324     * @param g <code>Graphics</code> to paint to
1325     * @param x X coordinate of the area to paint to
1326     * @param y Y coordinate of the area to paint to
1327     * @param w Width of the area to paint to
1328     * @param h Height of the area to paint to
1329     */

1330    public void paintSplitPaneBorder(SynthContext JavaDoc context,
1331                                 Graphics g, int x, int y,
1332                                 int w, int h) {
1333    }
1334
1335    /**
1336     * Paints the background of a tabbed pane.
1337     *
1338     * @param context SynthContext identifying the <code>JComponent</code> and
1339     * <code>Region</code> to paint to
1340     * @param g <code>Graphics</code> to paint to
1341     * @param x X coordinate of the area to paint to
1342     * @param y Y coordinate of the area to paint to
1343     * @param w Width of the area to paint to
1344     * @param h Height of the area to paint to
1345     */

1346    public void paintTabbedPaneBackground(SynthContext JavaDoc context,
1347                                     Graphics g, int x, int y,
1348                                     int w, int h) {
1349    }
1350
1351    /**
1352     * Paints the border of a tabbed pane.
1353     *
1354     * @param context SynthContext identifying the <code>JComponent</code> and
1355     * <code>Region</code> to paint to
1356     * @param g <code>Graphics</code> to paint to
1357     * @param x X coordinate of the area to paint to
1358     * @param y Y coordinate of the area to paint to
1359     * @param w Width of the area to paint to
1360     * @param h Height of the area to paint to
1361     */

1362    public void paintTabbedPaneBorder(SynthContext JavaDoc context,
1363                                 Graphics g, int x, int y,
1364                                 int w, int h) {
1365    }
1366
1367    /**
1368     * Paints the background of the area behind the tabs of a tabbed pane.
1369     *
1370     * @param context SynthContext identifying the <code>JComponent</code> and
1371     * <code>Region</code> to paint to
1372     * @param g <code>Graphics</code> to paint to
1373     * @param x X coordinate of the area to paint to
1374     * @param y Y coordinate of the area to paint to
1375     * @param w Width of the area to paint to
1376     * @param h Height of the area to paint to
1377     */

1378    public void paintTabbedPaneTabAreaBackground(SynthContext JavaDoc context,
1379                                     Graphics g, int x, int y,
1380                                     int w, int h) {
1381    }
1382
1383    /**
1384     * Paints the border of the area behind the tabs of a tabbed pane.
1385     *
1386     * @param context SynthContext identifying the <code>JComponent</code> and
1387     * <code>Region</code> to paint to
1388     * @param g <code>Graphics</code> to paint to
1389     * @param x X coordinate of the area to paint to
1390     * @param y Y coordinate of the area to paint to
1391     * @param w Width of the area to paint to
1392     * @param h Height of the area to paint to
1393     */

1394    public void paintTabbedPaneTabAreaBorder(SynthContext JavaDoc context,
1395                                 Graphics g, int x, int y,
1396                                 int w, int h) {
1397    }
1398
1399    /**
1400     * Paints the background of a tab of a tabbed pane.
1401     *
1402     * @param context SynthContext identifying the <code>JComponent</code> and
1403     * <code>Region</code> to paint to
1404     * @param g <code>Graphics</code> to paint to
1405     * @param x X coordinate of the area to paint to
1406     * @param y Y coordinate of the area to paint to
1407     * @param w Width of the area to paint to
1408     * @param h Height of the area to paint to
1409     * @param tabIndex Index of tab being painted.
1410     */

1411    public void paintTabbedPaneTabBackground(SynthContext JavaDoc context, Graphics g,
1412                                         int x, int y, int w, int h,
1413                                         int tabIndex) {
1414    }
1415
1416    /**
1417     * Paints the border of a tab of a tabbed pane.
1418     *
1419     * @param context SynthContext identifying the <code>JComponent</code> and
1420     * <code>Region</code> to paint to
1421     * @param g <code>Graphics</code> to paint to
1422     * @param x X coordinate of the area to paint to
1423     * @param y Y coordinate of the area to paint to
1424     * @param w Width of the area to paint to
1425     * @param h Height of the area to paint to
1426     * @param tabIndex Index of tab being painted.
1427     */

1428    public void paintTabbedPaneTabBorder(SynthContext JavaDoc context, Graphics g,
1429                                         int x, int y, int w, int h,
1430                                         int tabIndex) {
1431    }
1432
1433    /**
1434     * Paints the background of the area that contains the content of the
1435     * selected tab of a tabbed pane.
1436     *
1437     * @param context SynthContext identifying the <code>JComponent</code> and
1438     * <code>Region</code> to paint to
1439     * @param g <code>Graphics</code> to paint to
1440     * @param x X coordinate of the area to paint to
1441     * @param y Y coordinate of the area to paint to
1442     * @param w Width of the area to paint to
1443     * @param h Height of the area to paint to
1444     */

1445    public void paintTabbedPaneContentBackground(SynthContext JavaDoc context,
1446                                         Graphics g, int x, int y, int w,
1447                                         int h) {
1448    }
1449
1450    /**
1451     * Paints the border of the area that contains the content of the
1452     * selected tab of a tabbed pane.
1453     *
1454     * @param context SynthContext identifying the <code>JComponent</code> and
1455     * <code>Region</code> to paint to
1456     * @param g <code>Graphics</code> to paint to
1457     * @param x X coordinate of the area to paint to
1458     * @param y Y coordinate of the area to paint to
1459     * @param w Width of the area to paint to
1460     * @param h Height of the area to paint to
1461     */

1462    public void paintTabbedPaneContentBorder(SynthContext JavaDoc context, Graphics g,
1463                                         int x, int y, int w, int h) {
1464    }
1465
1466    /**
1467     * Paints the background of the header of a table.
1468     *
1469     * @param context SynthContext identifying the <code>JComponent</code> and
1470     * <code>Region</code> to paint to
1471     * @param g <code>Graphics</code> to paint to
1472     * @param x X coordinate of the area to paint to
1473     * @param y Y coordinate of the area to paint to
1474     * @param w Width of the area to paint to
1475     * @param h Height of the area to paint to
1476     */

1477    public void paintTableHeaderBackground(SynthContext JavaDoc context,
1478                                     Graphics g, int x, int y,
1479                                     int w, int h) {
1480    }
1481
1482    /**
1483     * Paints the border of the header of a table.
1484     *
1485     * @param context SynthContext identifying the <code>JComponent</code> and
1486     * <code>Region</code> to paint to
1487     * @param g <code>Graphics</code> to paint to
1488     * @param x X coordinate of the area to paint to
1489     * @param y Y coordinate of the area to paint to
1490     * @param w Width of the area to paint to
1491     * @param h Height of the area to paint to
1492     */

1493    public void paintTableHeaderBorder(SynthContext JavaDoc context,
1494                                 Graphics g, int x, int y,
1495                                 int w, int h) {
1496    }
1497
1498    /**
1499     * Paints the background of a table.
1500     *
1501     * @param context SynthContext identifying the <code>JComponent</code> and
1502     * <code>Region</code> to paint to
1503     * @param g <code>Graphics</code> to paint to
1504     * @param x X coordinate of the area to paint to
1505     * @param y Y coordinate of the area to paint to
1506     * @param w Width of the area to paint to
1507     * @param h Height of the area to paint to
1508     */

1509    public void paintTableBackground(SynthContext JavaDoc context,
1510                                     Graphics g, int x, int y,
1511                                     int w, int h) {
1512    }
1513
1514    /**
1515     * Paints the border of a table.
1516     *
1517     * @param context SynthContext identifying the <code>JComponent</code> and
1518     * <code>Region</code> to paint to
1519     * @param g <code>Graphics</code> to paint to
1520     * @param x X coordinate of the area to paint to
1521     * @param y Y coordinate of the area to paint to
1522     * @param w Width of the area to paint to
1523     * @param h Height of the area to paint to
1524     */

1525    public void paintTableBorder(SynthContext JavaDoc context,
1526                                 Graphics g, int x, int y,
1527                                 int w, int h) {
1528    }
1529
1530    /**
1531     * Paints the background of a text area.
1532     *
1533     * @param context SynthContext identifying the <code>JComponent</code> and
1534     * <code>Region</code> to paint to
1535     * @param g <code>Graphics</code> to paint to
1536     * @param x X coordinate of the area to paint to
1537     * @param y Y coordinate of the area to paint to
1538     * @param w Width of the area to paint to
1539     * @param h Height of the area to paint to
1540     */

1541    public void paintTextAreaBackground(SynthContext JavaDoc context,
1542                                     Graphics g, int x, int y,
1543                                     int w, int h) {
1544    }
1545
1546    /**
1547     * Paints the border of a text area.
1548     *
1549     * @param context SynthContext identifying the <code>JComponent</code> and
1550     * <code>Region</code> to paint to
1551     * @param g <code>Graphics</code> to paint to
1552     * @param x X coordinate of the area to paint to
1553     * @param y Y coordinate of the area to paint to
1554     * @param w Width of the area to paint to
1555     * @param h Height of the area to paint to
1556     */

1557    public void paintTextAreaBorder(SynthContext JavaDoc context,
1558                                 Graphics g, int x, int y,
1559                                 int w, int h) {
1560    }
1561
1562    /**
1563     * Paints the background of a text pane.
1564     *
1565     * @param context SynthContext identifying the <code>JComponent</code> and
1566     * <code>Region</code> to paint to
1567     * @param g <code>Graphics</code> to paint to
1568     * @param x X coordinate of the area to paint to
1569     * @param y Y coordinate of the area to paint to
1570     * @param w Width of the area to paint to
1571     * @param h Height of the area to paint to
1572     */

1573    public void paintTextPaneBackground(SynthContext JavaDoc context,
1574                                     Graphics g, int x, int y,
1575                                     int w, int h) {
1576    }
1577
1578    /**
1579     * Paints the border of a text pane.
1580     *
1581     * @param context SynthContext identifying the <code>JComponent</code> and
1582     * <code>Region</code> to paint to
1583     * @param g <code>Graphics</code> to paint to
1584     * @param x X coordinate of the area to paint to
1585     * @param y Y coordinate of the area to paint to
1586     * @param w Width of the area to paint to
1587     * @param h Height of the area to paint to
1588     */

1589    public void paintTextPaneBorder(SynthContext JavaDoc context,
1590                                 Graphics g, int x, int y,
1591                                 int w, int h) {
1592    }
1593
1594    /**
1595     * Paints the background of a text field.
1596     *
1597     * @param context SynthContext identifying the <code>JComponent</code> and
1598     * <code>Region</code> to paint to
1599     * @param g <code>Graphics</code> to paint to
1600     * @param x X coordinate of the area to paint to
1601     * @param y Y coordinate of the area to paint to
1602     * @param w Width of the area to paint to
1603     * @param h Height of the area to paint to
1604     */

1605    public void paintTextFieldBackground(SynthContext JavaDoc context,
1606                                          Graphics g, int x, int y,
1607                                          int w, int h) {
1608    }
1609
1610    /**
1611     * Paints the border of a text field.
1612     *
1613     * @param context SynthContext identifying the <code>JComponent</code> and
1614     * <code>Region</code> to paint to
1615     * @param g <code>Graphics</code> to paint to
1616     * @param x X coordinate of the area to paint to
1617     * @param y Y coordinate of the area to paint to
1618     * @param w Width of the area to paint to
1619     * @param h Height of the area to paint to
1620     */

1621    public void paintTextFieldBorder(SynthContext JavaDoc context,
1622                                      Graphics g, int x, int y,
1623                                      int w, int h) {
1624    }
1625
1626    /**
1627     * Paints the background of a toggle button.
1628     *
1629     * @param context SynthContext identifying the <code>JComponent</code> and
1630     * <code>Region</code> to paint to
1631     * @param g <code>Graphics</code> to paint to
1632     * @param x X coordinate of the area to paint to
1633     * @param y Y coordinate of the area to paint to
1634     * @param w Width of the area to paint to
1635     * @param h Height of the area to paint to
1636     */

1637    public void paintToggleButtonBackground(SynthContext JavaDoc context,
1638                                     Graphics g, int x, int y,
1639                                     int w, int h) {
1640    }
1641
1642    /**
1643     * Paints the border of a toggle button.
1644     *
1645     * @param context SynthContext identifying the <code>JComponent</code> and
1646     * <code>Region</code> to paint to
1647     * @param g <code>Graphics</code> to paint to
1648     * @param x X coordinate of the area to paint to
1649     * @param y Y coordinate of the area to paint to
1650     * @param w Width of the area to paint to
1651     * @param h Height of the area to paint to
1652     */

1653    public void paintToggleButtonBorder(SynthContext JavaDoc context,
1654                                 Graphics g, int x, int y,
1655                                 int w, int h) {
1656    }
1657
1658    /**
1659     * Paints the background of a tool bar.
1660     *
1661     * @param context SynthContext identifying the <code>JComponent</code> and
1662     * <code>Region</code> to paint to
1663     * @param g <code>Graphics</code> to paint to
1664     * @param x X coordinate of the area to paint to
1665     * @param y Y coordinate of the area to paint to
1666     * @param w Width of the area to paint to
1667     * @param h Height of the area to paint to
1668     */

1669    public void paintToolBarBackground(SynthContext JavaDoc context,
1670                                     Graphics g, int x, int y,
1671                                     int w, int h) {
1672    }
1673
1674    /**
1675     * Paints the border of a tool bar.
1676     *
1677     * @param context SynthContext identifying the <code>JComponent</code> and
1678     * <code>Region</code> to paint to
1679     * @param g <code>Graphics</code> to paint to
1680     * @param x X coordinate of the area to paint to
1681     * @param y Y coordinate of the area to paint to
1682     * @param w Width of the area to paint to
1683     * @param h Height of the area to paint to
1684     */

1685    public void paintToolBarBorder(SynthContext JavaDoc context,
1686                                 Graphics g, int x, int y,
1687                                 int w, int h) {
1688    }
1689
1690    /**
1691     * Paints the background of the tool bar's content area.
1692     *
1693     * @param context SynthContext identifying the <code>JComponent</code> and
1694     * <code>Region</code> to paint to
1695     * @param g <code>Graphics</code> to paint to
1696     * @param x X coordinate of the area to paint to
1697     * @param y Y coordinate of the area to paint to
1698     * @param w Width of the area to paint to
1699     * @param h Height of the area to paint to
1700     */

1701    public void paintToolBarContentBackground(SynthContext JavaDoc context,
1702                                     Graphics g, int x, int y,
1703                                     int w, int h) {
1704    }
1705
1706    /**
1707     * Paints the border of the content area of a tool bar.
1708     *
1709     * @param context SynthContext identifying the <code>JComponent</code> and
1710     * <code>Region</code> to paint to
1711     * @param g <code>Graphics</code> to paint to
1712     * @param x X coordinate of the area to paint to
1713     * @param y Y coordinate of the area to paint to
1714     * @param w Width of the area to paint to
1715     * @param h Height of the area to paint to
1716     */

1717    public void paintToolBarContentBorder(SynthContext JavaDoc context,
1718                                 Graphics g, int x, int y,
1719                                 int w, int h) {
1720    }
1721
1722    /**
1723     * Paints the background of the window containing the tool bar when it
1724     * has been detached from its primary frame.
1725     *
1726     * @param context SynthContext identifying the <code>JComponent</code> and
1727     * <code>Region</code> to paint to
1728     * @param g <code>Graphics</code> to paint to
1729     * @param x X coordinate of the area to paint to
1730     * @param y Y coordinate of the area to paint to
1731     * @param w Width of the area to paint to
1732     * @param h Height of the area to paint to
1733     */

1734    public void paintToolBarDragWindowBackground(SynthContext JavaDoc context,
1735                                     Graphics g, int x, int y,
1736                                     int w, int h) {
1737    }
1738
1739    /**
1740     * Paints the border of the window containing the tool bar when it
1741     * has been detached from it's primary frame.
1742     *
1743     * @param context SynthContext identifying the <code>JComponent</code> and
1744     * <code>Region</code> to paint to
1745     * @param g <code>Graphics</code> to paint to
1746     * @param x X coordinate of the area to paint to
1747     * @param y Y coordinate of the area to paint to
1748     * @param w Width of the area to paint to
1749     * @param h Height of the area to paint to
1750     */

1751    public void paintToolBarDragWindowBorder(SynthContext JavaDoc context,
1752                                 Graphics g, int x, int y,
1753                                 int w, int h) {
1754    }
1755
1756    /**
1757     * Paints the background of a tool tip.
1758     *
1759     * @param context SynthContext identifying the <code>JComponent</code> and
1760     * <code>Region</code> to paint to
1761     * @param g <code>Graphics</code> to paint to
1762     * @param x X coordinate of the area to paint to
1763     * @param y Y coordinate of the area to paint to
1764     * @param w Width of the area to paint to
1765     * @param h Height of the area to paint to
1766     */

1767    public void paintToolTipBackground(SynthContext JavaDoc context,
1768                                     Graphics g, int x, int y,
1769                                     int w, int h) {
1770    }
1771
1772    /**
1773     * Paints the border of a tool tip.
1774     *
1775     * @param context SynthContext identifying the <code>JComponent</code> and
1776     * <code>Region</code> to paint to
1777     * @param g <code>Graphics</code> to paint to
1778     * @param x X coordinate of the area to paint to
1779     * @param y Y coordinate of the area to paint to
1780     * @param w Width of the area to paint to
1781     * @param h Height of the area to paint to
1782     */

1783    public void paintToolTipBorder(SynthContext JavaDoc context,
1784                                 Graphics g, int x, int y,
1785                                 int w, int h) {
1786    }
1787
1788    /**
1789     * Paints the background of a tree.
1790     *
1791     * @param context SynthContext identifying the <code>JComponent</code> and
1792     * <code>Region</code> to paint to
1793     * @param g <code>Graphics</code> to paint to
1794     * @param x X coordinate of the area to paint to
1795     * @param y Y coordinate of the area to paint to
1796     * @param w Width of the area to paint to
1797     * @param h Height of the area to paint to
1798     */

1799    public void paintTreeBackground(SynthContext JavaDoc context,
1800                                     Graphics g, int x, int y,
1801                                     int w, int h) {
1802    }
1803
1804    /**
1805     * Paints the border of a tree.
1806     *
1807     * @param context SynthContext identifying the <code>JComponent</code> and
1808     * <code>Region</code> to paint to
1809     * @param g <code>Graphics</code> to paint to
1810     * @param x X coordinate of the area to paint to
1811     * @param y Y coordinate of the area to paint to
1812     * @param w Width of the area to paint to
1813     * @param h Height of the area to paint to
1814     */

1815    public void paintTreeBorder(SynthContext JavaDoc context,
1816                                 Graphics g, int x, int y,
1817                                 int w, int h) {
1818    }
1819
1820    /**
1821     * Paints the background of the row containing a cell in a tree.
1822     *
1823     * @param context SynthContext identifying the <code>JComponent</code> and
1824     * <code>Region</code> to paint to
1825     * @param g <code>Graphics</code> to paint to
1826     * @param x X coordinate of the area to paint to
1827     * @param y Y coordinate of the area to paint to
1828     * @param w Width of the area to paint to
1829     * @param h Height of the area to paint to
1830     */

1831    public void paintTreeCellBackground(SynthContext JavaDoc context,
1832                                     Graphics g, int x, int y,
1833                                     int w, int h) {
1834    }
1835
1836    /**
1837     * Paints the border of the row containing a cell in a tree.
1838     *
1839     * @param context SynthContext identifying the <code>JComponent</code> and
1840     * <code>Region</code> to paint to
1841     * @param g <code>Graphics</code> to paint to
1842     * @param x X coordinate of the area to paint to
1843     * @param y Y coordinate of the area to paint to
1844     * @param w Width of the area to paint to
1845     * @param h Height of the area to paint to
1846     */

1847    public void paintTreeCellBorder(SynthContext JavaDoc context,
1848                                 Graphics g, int x, int y,
1849                                 int w, int h) {
1850    }
1851
1852    /**
1853     * Paints the focus indicator for a cell in a tree when it has focus.
1854     *
1855     * @param context SynthContext identifying the <code>JComponent</code> and
1856     * <code>Region</code> to paint to
1857     * @param g <code>Graphics</code> to paint to
1858     * @param x X coordinate of the area to paint to
1859     * @param y Y coordinate of the area to paint to
1860     * @param w Width of the area to paint to
1861     * @param h Height of the area to paint to
1862     */

1863    public void paintTreeCellFocus(SynthContext JavaDoc context,
1864                                   Graphics g, int x, int y,
1865                                   int w, int h) {
1866    }
1867
1868    /**
1869     * Paints the background of the viewport.
1870     *
1871     * @param context SynthContext identifying the <code>JComponent</code> and
1872     * <code>Region</code> to paint to
1873     * @param g <code>Graphics</code> to paint to
1874     * @param x X coordinate of the area to paint to
1875     * @param y Y coordinate of the area to paint to
1876     * @param w Width of the area to paint to
1877     * @param h Height of the area to paint to
1878     */

1879    public void paintViewportBackground(SynthContext JavaDoc context,
1880                                     Graphics g, int x, int y,
1881                                     int w, int h) {
1882    }
1883
1884    /**
1885     * Paints the border of a viewport.
1886     *
1887     * @param context SynthContext identifying the <code>JComponent</code> and
1888     * <code>Region</code> to paint to
1889     * @param g <code>Graphics</code> to paint to
1890     * @param x X coordinate of the area to paint to
1891     * @param y Y coordinate of the area to paint to
1892     * @param w Width of the area to paint to
1893     * @param h Height of the area to paint to
1894     */

1895    public void paintViewportBorder(SynthContext JavaDoc context,
1896                                 Graphics g, int x, int y,
1897                                 int w, int h) {
1898    }
1899}
1900
Popular Tags