1
/* SynthPainter.java -- An abstract painter for synth components
2
Copyright (C) 2006 Free Software Foundation, Inc.
4
This file is part of GNU Classpath.
6
GNU Classpath is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2, or (at your option)
11
GNU Classpath is distributed in the hope that it will be useful, but
12
WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
General Public License for more details.
16
You should have received a copy of the GNU General Public License
17
along with GNU Classpath; see the file COPYING. If not, write to the
18
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21
Linking this library statically or dynamically with other modules is
22
making a combined work based on this library. Thus, the terms and
23
conditions of the GNU General Public License cover the whole
26
As a special exception, the copyright holders of this library give you
27
permission to link this library with independent modules to produce an
28
executable, regardless of the license terms of these independent
29
modules, and to copy and distribute the resulting executable under
30
terms of your choice, provided that you also meet, for each linked
31
independent module, the terms and conditions of the license of that
32
module. An independent module is a module which is not derived from
33
or based on this library. If you modify this library, you may extend
34
this exception to your version of the library, but you are not
35
obligated to do so. If you do not wish to do so, delete this
36
exception statement from your version. */
39
package javax.swing.plaf.synth;
41
import java.awt.Graphics;
44
* The abstract definition of a delegate that takes the responsibility of
45
* painting for the components.
47
* This class is defined to be abstract and all methods are no-ops.
49
* @author Roman Kennke (kennke@aicas.com)
53
public abstract class SynthPainter
57
* Creates a new <code>SynthPainter</code> object.
61
// Nothing to do here.
65
* Paints the foreground of an arrow button.
67
* @param ctx the synth context identifying the component and region for
69
* @param g the graphics context to use for painting
70
* @param x the X coordinate of the area to paint
71
* @param y the Y coordinate of the area to paint
72
* @param w the width of the area to paint
73
* @param h the height of the area to paint
74
* @param dir the orientation of the arrow
76
public void paintArrowButtonForeground(SynthContext ctx, Graphics g, int x,
77
int y, int w, int h, int dir)
79
// Nothing to do here.
83
* Paints the foreground of a progress bar.
85
* @param ctx the synth context identifying the component and region for
87
* @param g the graphics context to use for painting
88
* @param x the X coordinate of the area to paint
89
* @param y the Y coordinate of the area to paint
90
* @param w the width of the area to paint
91
* @param h the height of the area to paint
92
* @param dir the orientation of the progress bar
94
public void paintProgressBarForeground(SynthContext ctx, Graphics g,
95
int x, int y, int w, int h,
98
// Nothing to do here.
102
* Paints the foreground of a separator.
104
* @param ctx the synth context identifying the component and region for
106
* @param g the graphics context to use for painting
107
* @param x the X coordinate of the area to paint
108
* @param y the Y coordinate of the area to paint
109
* @param w the width of the area to paint
110
* @param h the height of the area to paint
111
* @param dir the orientation of the separator
113
public void paintSeparatorForeground(SynthContext ctx, Graphics g,
114
int x, int y, int w, int h,
117
// Nothing to do here.
121
* Paints the foreground of a split pane's divider.
123
* @param ctx the synth context identifying the component and region for
125
* @param g the graphics context to use for painting
126
* @param x the X coordinate of the area to paint
127
* @param y the Y coordinate of the area to paint
128
* @param w the width of the area to paint
129
* @param h the height of the area to paint
130
* @param dir the orientation of the divider
132
public void paintSplitPaneDividerForeground(SynthContext ctx, Graphics g,
133
int x, int y, int w, int h,
136
// Nothing to do here.
140
* Paints a split pane's divider, when it is being dragged.
142
* @param ctx the synth context identifying the component and region for
144
* @param g the graphics context to use for painting
145
* @param x the X coordinate of the area to paint
146
* @param y the Y coordinate of the area to paint
147
* @param w the width of the area to paint
148
* @param h the height of the area to paint
149
* @param dir the orientation of the divider
151
public void paintSplitPaneDragDivider(SynthContext ctx, Graphics g,
152
int x, int y, int w, int h,
155
// Nothing to do here.
159
* Paints the indicator for a tree cell which has the focus.
161
* @param ctx the synth context identifying the component and region for
163
* @param g the graphics context to use for painting
164
* @param x the X coordinate of the area to paint
165
* @param y the Y coordinate of the area to paint
166
* @param w the width of the area to paint
167
* @param h the height of the area to paint
169
public void paintTreeCellFocus(SynthContext ctx, Graphics g,
170
int x, int y, int w, int h)
172
// Nothing to do here.
176
* Paints the background of an arrow button.
178
* @param ctx the synth context identifying the component and region for
180
* @param g the graphics context to use for painting
181
* @param x the X coordinate of the area to paint
182
* @param y the Y coordinate of the area to paint
183
* @param w the width of the area to paint
184
* @param h the height of the area to paint
186
public void paintArrowButtonBackground(SynthContext ctx, Graphics g, int x,
189
// Nothing to do here.
193
* Paints the border of an arrow button.
195
* @param ctx the synth context identifying the component and region for
197
* @param g the graphics context to use for painting
198
* @param x the X coordinate of the area to paint
199
* @param y the Y coordinate of the area to paint
200
* @param w the width of the area to paint
201
* @param h the height of the area to paint
203
public void paintArrowButtonBorder(SynthContext ctx, Graphics g, int x,
206
// Nothing to do here.
210
* Paints the background of a button.
212
* @param ctx the synth context identifying the component and region for
214
* @param g the graphics context to use for painting
215
* @param x the X coordinate of the area to paint
216
* @param y the Y coordinate of the area to paint
217
* @param w the width of the area to paint
218
* @param h the height of the area to paint
220
public void paintButtonBackground(SynthContext ctx, Graphics g, int x,
223
// Nothing to do here.
227
* Paints the border of a button.
229
* @param ctx the synth context identifying the component and region for
231
* @param g the graphics context to use for painting
232
* @param x the X coordinate of the area to paint
233
* @param y the Y coordinate of the area to paint
234
* @param w the width of the area to paint
235
* @param h the height of the area to paint
237
public void paintButtonBorder(SynthContext ctx, Graphics g, int x,
240
// Nothing to do here.
244
* Paints the background of a check box.
246
* @param ctx the synth context identifying the component and region for
248
* @param g the graphics context to use for painting
249
* @param x the X coordinate of the area to paint
250
* @param y the Y coordinate of the area to paint
251
* @param w the width of the area to paint
252
* @param h the height of the area to paint
254
public void paintCheckBoxBackground(SynthContext ctx, Graphics g, int x,
257
// Nothing to do here.
261
* Paints the border of a check box.
263
* @param ctx the synth context identifying the component and region for
265
* @param g the graphics context to use for painting
266
* @param x the X coordinate of the area to paint
267
* @param y the Y coordinate of the area to paint
268
* @param w the width of the area to paint
269
* @param h the height of the area to paint
271
public void paintCheckBoxBorder(SynthContext ctx, Graphics g, int x,
274
// Nothing to do here.
278
* Paints the background of a check box menu item.
280
* @param ctx the synth context identifying the component and region for
282
* @param g the graphics context to use for painting
283
* @param x the X coordinate of the area to paint
284
* @param y the Y coordinate of the area to paint
285
* @param w the width of the area to paint
286
* @param h the height of the area to paint
288
public void paintCheckBoxMenuItemBackground(SynthContext ctx, Graphics g, int x,
291
// Nothing to do here.
295
* Paints the border of a check box menu item.
297
* @param ctx the synth context identifying the component and region for
299
* @param g the graphics context to use for painting
300
* @param x the X coordinate of the area to paint
301
* @param y the Y coordinate of the area to paint
302
* @param w the width of the area to paint
303
* @param h the height of the area to paint
305
public void paintCheckBoxMenuItemBorder(SynthContext ctx, Graphics g, int x,
308
// Nothing to do here.
312
* Paints the background of a color chooser.
314
* @param ctx the synth context identifying the component and region for
316
* @param g the graphics context to use for painting
317
* @param x the X coordinate of the area to paint
318
* @param y the Y coordinate of the area to paint
319
* @param w the width of the area to paint
320
* @param h the height of the area to paint
322
public void paintColorChooserBackground(SynthContext ctx, Graphics g, int x,
325
// Nothing to do here.
329
* Paints the border of a color chooser.
331
* @param ctx the synth context identifying the component and region for
333
* @param g the graphics context to use for painting
334
* @param x the X coordinate of the area to paint
335
* @param y the Y coordinate of the area to paint
336
* @param w the width of the area to paint
337
* @param h the height of the area to paint
339
public void paintColorChooserBorder(SynthContext ctx, Graphics g, int x,
342
// Nothing to do here.
346
* Paints the background of a combo box.
348
* @param ctx the synth context identifying the component and region for
350
* @param g the graphics context to use for painting
351
* @param x the X coordinate of the area to paint
352
* @param y the Y coordinate of the area to paint
353
* @param w the width of the area to paint
354
* @param h the height of the area to paint
356
public void paintComboBoxBackground(SynthContext ctx, Graphics g, int x,
359
// Nothing to do here.
363
* Paints the border of a combo box.
365
* @param ctx the synth context identifying the component and region for
367
* @param g the graphics context to use for painting
368
* @param x the X coordinate of the area to paint
369
* @param y the Y coordinate of the area to paint
370
* @param w the width of the area to paint
371
* @param h the height of the area to paint
373
public void paintComboBoxBorder(SynthContext ctx, Graphics g, int x,
376
// Nothing to do here.
380
* Paints the background of a desktop icon.
382
* @param ctx the synth context identifying the component and region for
384
* @param g the graphics context to use for painting
385
* @param x the X coordinate of the area to paint
386
* @param y the Y coordinate of the area to paint
387
* @param w the width of the area to paint
388
* @param h the height of the area to paint
390
public void paintDesktopIconBackground(SynthContext ctx, Graphics g, int x,
393
// Nothing to do here.
397
* Paints the border of a desktop icon.
399
* @param ctx the synth context identifying the component and region for
401
* @param g the graphics context to use for painting
402
* @param x the X coordinate of the area to paint
403
* @param y the Y coordinate of the area to paint
404
* @param w the width of the area to paint
405
* @param h the height of the area to paint
407
public void paintDesktopIconBorder(SynthContext ctx, Graphics g, int x,
410
// Nothing to do here.
414
* Paints the background of a desktop pane.
416
* @param ctx the synth context identifying the component and region for
418
* @param g the graphics context to use for painting
419
* @param x the X coordinate of the area to paint
420
* @param y the Y coordinate of the area to paint
421
* @param w the width of the area to paint
422
* @param h the height of the area to paint
424
public void paintDesktopPaneBackground(SynthContext ctx, Graphics g, int x,
427
// Nothing to do here.
431
* Paints the border of a desktop pane.
433
* @param ctx the synth context identifying the component and region for
435
* @param g the graphics context to use for painting
436
* @param x the X coordinate of the area to paint
437
* @param y the Y coordinate of the area to paint
438
* @param w the width of the area to paint
439
* @param h the height of the area to paint
441
public void paintDesktopPaneBorder(SynthContext ctx, Graphics g, int x,
444
// Nothing to do here.
448
* Paints the background of an editor pane.
450
* @param ctx the synth context identifying the component and region for
452
* @param g the graphics context to use for painting
453
* @param x the X coordinate of the area to paint
454
* @param y the Y coordinate of the area to paint
455
* @param w the width of the area to paint
456
* @param h the height of the area to paint
458
public void paintEditorPaneBackground(SynthContext ctx, Graphics g, int x,
461
// Nothing to do here.
465
* Paints the border of an editor pane.
467
* @param ctx the synth context identifying the component and region for
469
* @param g the graphics context to use for painting
470
* @param x the X coordinate of the area to paint
471
* @param y the Y coordinate of the area to paint
472
* @param w the width of the area to paint
473
* @param h the height of the area to paint
475
public void paintEditorPaneBorder(SynthContext ctx, Graphics g, int x,
478
// Nothing to do here.
482
* Paints the background of a file chooser.
484
* @param ctx the synth context identifying the component and region for
486
* @param g the graphics context to use for painting
487
* @param x the X coordinate of the area to paint
488
* @param y the Y coordinate of the area to paint
489
* @param w the width of the area to paint
490
* @param h the height of the area to paint
492
public void paintFileChooserBackground(SynthContext ctx, Graphics g, int x,
495
// Nothing to do here.
499
* Paints the border of a file chooser.
501
* @param ctx the synth context identifying the component and region for
503
* @param g the graphics context to use for painting
504
* @param x the X coordinate of the area to paint
505
* @param y the Y coordinate of the area to paint
506
* @param w the width of the area to paint
507
* @param h the height of the area to paint
509
public void paintFileChooserBorder(SynthContext ctx, Graphics g, int x,
512
// Nothing to do here.
516
* Paints the background of a formatted text field.
518
* @param ctx the synth context identifying the component and region for
520
* @param g the graphics context to use for painting
521
* @param x the X coordinate of the area to paint
522
* @param y the Y coordinate of the area to paint
523
* @param w the width of the area to paint
524
* @param h the height of the area to paint
526
public void paintFormattedTextFieldBackground(SynthContext ctx, Graphics g, int x,
529
// Nothing to do here.
533
* Paints the border of a formatted text field.
535
* @param ctx the synth context identifying the component and region for
537
* @param g the graphics context to use for painting
538
* @param x the X coordinate of the area to paint
539
* @param y the Y coordinate of the area to paint
540
* @param w the width of the area to paint
541
* @param h the height of the area to paint
543
public void paintFormattedTextFieldBorder(SynthContext ctx, Graphics g, int x,
546
// Nothing to do here.
550
* Paints the background of an internal frame.
552
* @param ctx the synth context identifying the component and region for
554
* @param g the graphics context to use for painting
555
* @param x the X coordinate of the area to paint
556
* @param y the Y coordinate of the area to paint
557
* @param w the width of the area to paint
558
* @param h the height of the area to paint
560
public void paintInternalFrameBackground(SynthContext ctx, Graphics g, int x,
563
// Nothing to do here.
567
* Paints the border of an internal frame.
569
* @param ctx the synth context identifying the component and region for
571
* @param g the graphics context to use for painting
572
* @param x the X coordinate of the area to paint
573
* @param y the Y coordinate of the area to paint
574
* @param w the width of the area to paint
575
* @param h the height of the area to paint
577
public void paintInternalFrameBorder(SynthContext ctx, Graphics g, int x,
580
// Nothing to do here.
584
* Paints the background of an internal frame's title pane.
586
* @param ctx the synth context identifying the component and region for
588
* @param g the graphics context to use for painting
589
* @param x the X coordinate of the area to paint
590
* @param y the Y coordinate of the area to paint
591
* @param w the width of the area to paint
592
* @param h the height of the area to paint
594
public void paintInternalFrameTitlePaneBackground(SynthContext ctx, Graphics g, int x,
597
// Nothing to do here.
601
* Paints the border of an internal frame's title pane.
603
* @param ctx the synth context identifying the component and region for
605
* @param g the graphics context to use for painting
606
* @param x the X coordinate of the area to paint
607
* @param y the Y coordinate of the area to paint
608
* @param w the width of the area to paint
609
* @param h the height of the area to paint
611
public void paintInternalFrameTitlePaneBorder(SynthContext ctx, Graphics g, int x,
614
// Nothing to do here.
618
* Paints the background of a label.
620
* @param ctx the synth context identifying the component and region for
622
* @param g the graphics context to use for painting
623
* @param x the X coordinate of the area to paint
624
* @param y the Y coordinate of the area to paint
625
* @param w the width of the area to paint
626
* @param h the height of the area to paint
628
public void paintLabelBackground(SynthContext ctx, Graphics g, int x,
631
// Nothing to do here.
635
* Paints the border of a label.
637
* @param ctx the synth context identifying the component and region for
639
* @param g the graphics context to use for painting
640
* @param x the X coordinate of the area to paint
641
* @param y the Y coordinate of the area to paint
642
* @param w the width of the area to paint
643
* @param h the height of the area to paint
645
public void paintLabelBorder(SynthContext ctx, Graphics g, int x,
648
// Nothing to do here.
652
* Paints the background of a list.
654
* @param ctx the synth context identifying the component and region for
656
* @param g the graphics context to use for painting
657
* @param x the X coordinate of the area to paint
658
* @param y the Y coordinate of the area to paint
659
* @param w the width of the area to paint
660
* @param h the height of the area to paint
662
public void paintListBackground(SynthContext ctx, Graphics g, int x,
665
// Nothing to do here.
669
* Paints the border of a list.
671
* @param ctx the synth context identifying the component and region for
673
* @param g the graphics context to use for painting
674
* @param x the X coordinate of the area to paint
675
* @param y the Y coordinate of the area to paint
676
* @param w the width of the area to paint
677
* @param h the height of the area to paint
679
public void paintListBorder(SynthContext ctx, Graphics g, int x,
682
// Nothing to do here.
686
* Paints the background of a menu.
688
* @param ctx the synth context identifying the component and region for
690
* @param g the graphics context to use for painting
691
* @param x the X coordinate of the area to paint
692
* @param y the Y coordinate of the area to paint
693
* @param w the width of the area to paint
694
* @param h the height of the area to paint
696
public void paintMenuBackground(SynthContext ctx, Graphics g, int x,
699
// Nothing to do here.
703
* Paints the border of a menu.
705
* @param ctx the synth context identifying the component and region for
707
* @param g the graphics context to use for painting
708
* @param x the X coordinate of the area to paint
709
* @param y the Y coordinate of the area to paint
710
* @param w the width of the area to paint
711
* @param h the height of the area to paint
713
public void paintMenuBorder(SynthContext ctx, Graphics g, int x,
716
// Nothing to do here.
720
* Paints the background of a menu bar.
722
* @param ctx the synth context identifying the component and region for
724
* @param g the graphics context to use for painting
725
* @param x the X coordinate of the area to paint
726
* @param y the Y coordinate of the area to paint
727
* @param w the width of the area to paint
728
* @param h the height of the area to paint
730
public void paintMenuBarBackground(SynthContext ctx, Graphics g, int x,
733
// Nothing to do here.
737
* Paints the border of a menu bar.
739
* @param ctx the synth context identifying the component and region for
741
* @param g the graphics context to use for painting
742
* @param x the X coordinate of the area to paint
743
* @param y the Y coordinate of the area to paint
744
* @param w the width of the area to paint
745
* @param h the height of the area to paint
747
public void paintMenuBarBorder(SynthContext ctx, Graphics g, int x,
750
// Nothing to do here.
754
* Paints the background of a menu item.
756
* @param ctx the synth context identifying the component and region for
758
* @param g the graphics context to use for painting
759
* @param x the X coordinate of the area to paint
760
* @param y the Y coordinate of the area to paint
761
* @param w the width of the area to paint
762
* @param h the height of the area to paint
764
public void paintMenuItemBackground(SynthContext ctx, Graphics g, int x,
767
// Nothing to do here.
771
* Paints the border of a menu item.
773
* @param ctx the synth context identifying the component and region for
775
* @param g the graphics context to use for painting
776
* @param x the X coordinate of the area to paint
777
* @param y the Y coordinate of the area to paint
778
* @param w the width of the area to paint
779
* @param h the height of the area to paint
781
public void paintMenuItemBorder(SynthContext ctx, Graphics g, int x,
784
// Nothing to do here.
788
* Paints the background of an option pane.
790
* @param ctx the synth context identifying the component and region for
792
* @param g the graphics context to use for painting
793
* @param x the X coordinate of the area to paint
794
* @param y the Y coordinate of the area to paint
795
* @param w the width of the area to paint
796
* @param h the height of the area to paint
798
public void paintOptionPaneBackground(SynthContext ctx, Graphics g, int x,
801
// Nothing to do here.
805
* Paints the border of an option pane.
807
* @param ctx the synth context identifying the component and region for
809
* @param g the graphics context to use for painting
810
* @param x the X coordinate of the area to paint
811
* @param y the Y coordinate of the area to paint
812
* @param w the width of the area to paint
813
* @param h the height of the area to paint
815
public void paintOptionPaneBorder(SynthContext ctx, Graphics g, int x,
818
// Nothing to do here.
822
* Paints the background of a panel.
824
* @param ctx the synth context identifying the component and region for
826
* @param g the graphics context to use for painting
827
* @param x the X coordinate of the area to paint
828
* @param y the Y coordinate of the area to paint
829
* @param w the width of the area to paint
830
* @param h the height of the area to paint
832
public void paintPanelBackground(SynthContext ctx, Graphics g, int x,
835
// Nothing to do here.
839
* Paints the border of a panel.
841
* @param ctx the synth context identifying the component and region for
843
* @param g the graphics context to use for painting
844
* @param x the X coordinate of the area to paint
845
* @param y the Y coordinate of the area to paint
846
* @param w the width of the area to paint
847
* @param h the height of the area to paint
849
public void paintPanelBorder(SynthContext ctx, Graphics g, int x,
852
// Nothing to do here.
856
* Paints the background of a password field.
858
* @param ctx the synth context identifying the component and region for
860
* @param g the graphics context to use for painting
861
* @param x the X coordinate of the area to paint
862
* @param y the Y coordinate of the area to paint
863
* @param w the width of the area to paint
864
* @param h the height of the area to paint
866
public void paintPasswordFieldBackground(SynthContext ctx, Graphics g, int x,
869
// Nothing to do here.
873
* Paints the border of a password field.
875
* @param ctx the synth context identifying the component and region for
877
* @param g the graphics context to use for painting
878
* @param x the X coordinate of the area to paint
879
* @param y the Y coordinate of the area to paint
880
* @param w the width of the area to paint
881
* @param h the height of the area to paint
883
public void paintPasswordFieldBorder(SynthContext ctx, Graphics g, int x,
886
// Nothing to do here.
890
* Paints the background of a popup menu.
892
* @param ctx the synth context identifying the component and region for
894
* @param g the graphics context to use for painting
895
* @param x the X coordinate of the area to paint
896
* @param y the Y coordinate of the area to paint
897
* @param w the width of the area to paint
898
* @param h the height of the area to paint
900
public void paintPopupMenuBackground(SynthContext ctx, Graphics g, int x,
903
// Nothing to do here.
907
* Paints the border of a popup menu.
909
* @param ctx the synth context identifying the component and region for
911
* @param g the graphics context to use for painting
912
* @param x the X coordinate of the area to paint
913
* @param y the Y coordinate of the area to paint
914
* @param w the width of the area to paint
915
* @param h the height of the area to paint
917
public void paintPopupMenuBorder(SynthContext ctx, Graphics g, int x,
920
// Nothing to do here.
924
* Paints the background of a progress bar.
926
* @param ctx the synth context identifying the component and region for
928
* @param g the graphics context to use for painting
929
* @param x the X coordinate of the area to paint
930
* @param y the Y coordinate of the area to paint
931
* @param w the width of the area to paint
932
* @param h the height of the area to paint
934
public void paintProgressBarBackground(SynthContext ctx, Graphics g, int x,
937
// Nothing to do here.
941
* Paints the border of a progress bar.
943
* @param ctx the synth context identifying the component and region for
945
* @param g the graphics context to use for painting
946
* @param x the X coordinate of the area to paint
947
* @param y the Y coordinate of the area to paint
948
* @param w the width of the area to paint
949
* @param h the height of the area to paint
951
public void paintProgressBarBorder(SynthContext ctx, Graphics g, int x,
954
// Nothing to do here.
958
* Paints the background of a radio button.
960
* @param ctx the synth context identifying the component and region for
962
* @param g the graphics context to use for painting
963
* @param x the X coordinate of the area to paint
964
* @param y the Y coordinate of the area to paint
965
* @param w the width of the area to paint
966
* @param h the height of the area to paint
968
public void paintRadioButtonBackground(SynthContext ctx, Graphics g, int x,
971
// Nothing to do here.
975
* Paints the border of a radio button.
977
* @param ctx the synth context identifying the component and region for
979
* @param g the graphics context to use for painting
980
* @param x the X coordinate of the area to paint
981
* @param y the Y coordinate of the area to paint
982
* @param w the width of the area to paint
983
* @param h the height of the area to paint
985
public void paintRadioButtonBorder(SynthContext ctx, Graphics g, int x,
988
// Nothing to do here.
992
* Paints the background of a radio button menu item.
994
* @param ctx the synth context identifying the component and region for
996
* @param g the graphics context to use for painting
997
* @param x the X coordinate of the area to paint
998
* @param y the Y coordinate of the area to paint
999
* @param w the width of the area to paint
1000
* @param h the height of the area to paint
1002
public void paintRadioButtonMenuItemBackground(SynthContext ctx, Graphics g, int x,
1003
int y, int w, int h)
1005
// Nothing to do here.
1009
* Paints the border of a radio button menu item.
1011
* @param ctx the synth context identifying the component and region for
1013
* @param g the graphics context to use for painting
1014
* @param x the X coordinate of the area to paint
1015
* @param y the Y coordinate of the area to paint
1016
* @param w the width of the area to paint
1017
* @param h the height of the area to paint
1019
public void paintRadioButtonMenuItemBorder(SynthContext ctx, Graphics g, int x,
1020
int y, int w, int h)
1022
// Nothing to do here.
1026
* Paints the background of a root pane.
1028
* @param ctx the synth context identifying the component and region for
1030
* @param g the graphics context to use for painting
1031
* @param x the X coordinate of the area to paint
1032
* @param y the Y coordinate of the area to paint
1033
* @param w the width of the area to paint
1034
* @param h the height of the area to paint
1036
public void paintRootPaneBackground(SynthContext ctx, Graphics g, int x,
1037
int y, int w, int h)
1039
// Nothing to do here.
1043
* Paints the border of a root pane.
1045
* @param ctx the synth context identifying the component and region for
1047
* @param g the graphics context to use for painting
1048
* @param x the X coordinate of the area to paint
1049
* @param y the Y coordinate of the area to paint
1050
* @param w the width of the area to paint
1051
* @param h the height of the area to paint
1053
public void paintRootPaneBorder(SynthContext ctx, Graphics g, int x,
1054
int y, int w, int h)
1056
// Nothing to do here.
1060
* Paints the background of a scrollbar.
1062
* @param ctx the synth context identifying the component and region for
1064
* @param g the graphics context to use for painting
1065
* @param x the X coordinate of the area to paint
1066
* @param y the Y coordinate of the area to paint
1067
* @param w the width of the area to paint
1068
* @param h the height of the area to paint
1070
public void paintScrollBarBackground(SynthContext ctx, Graphics g, int x,
1071
int y, int w, int h)
1073
// Nothing to do here.
1077
* Paints the border of a scrollbar.
1079
* @param ctx the synth context identifying the component and region for
1081
* @param g the graphics context to use for painting
1082
* @param x the X coordinate of the area to paint
1083
* @param y the Y coordinate of the area to paint
1084
* @param w the width of the area to paint
1085
* @param h the height of the area to paint
1087
public void paintScrollBarBorder(SynthContext ctx, Graphics g, int x,
1088
int y, int w, int h)
1090
// Nothing to do here.
1094
* Paints the background of a scrollbar's thumb.
1096
* @param ctx the synth context identifying the component and region for
1098
* @param g the graphics context to use for painting
1099
* @param x the X coordinate of the area to paint
1100
* @param y the Y coordinate of the area to paint
1101
* @param w the width of the area to paint
1102
* @param h the height of the area to paint
1103
* @param orientation orientation of the scrollbar
1105
public void paintScrollBarThumbBackground(SynthContext ctx, Graphics g, int x,
1106
int y, int w, int h, int orientation)
1108
// Nothing to do here.
1112
* Paints the border of a scrollbar's thumb.
1114
* @param ctx the synth context identifying the component and region for
1116
* @param g the graphics context to use for painting
1117
* @param x the X coordinate of the area to paint
1118
* @param y the Y coordinate of the area to paint
1119
* @param w the width of the area to paint
1120
* @param h the height of the area to paint
1121
* @param orientation orientation of the scrollbar
1123
public void paintScrollBarThumbBorder(SynthContext ctx, Graphics g, int x,
1124
int y, int w, int h, int orientation)
1126
// Nothing to do here.
1130
* Paints the background of a scrollbar's track.
1132
* @param ctx the synth context identifying the component and region for
1134
* @param g the graphics context to use for painting
1135
* @param x the X coordinate of the area to paint
1136
* @param y the Y coordinate of the area to paint
1137
* @param w the width of the area to paint
1138
* @param h the height of the area to paint
1140
public void paintScrollBarTrackBackground(SynthContext ctx, Graphics g, int x,
1141
int y, int w, int h)
1143
// Nothing to do here.
1147
* Paints the border of a scrollbar's track.
1149
* @param ctx the synth context identifying the component and region for
1151
* @param g the graphics context to use for painting
1152
* @param x the X coordinate of the area to paint
1153
* @param y the Y coordinate of the area to paint
1154
* @param w the width of the area to paint
1155
* @param h the height of the area to paint
1157
public void paintScrollBarTrackBorder(SynthContext ctx, Graphics g, int x,
1158
int y, int w, int h)
1160
// Nothing to do here.
1164
* Paints the background of a scroll pane.
1166
* @param ctx the synth context identifying the component and region for
1168
* @param g the graphics context to use for painting
1169
* @param x the X coordinate of the area to paint
1170
* @param y the Y coordinate of the area to paint
1171
* @param w the width of the area to paint
1172
* @param h the height of the area to paint
1174
public void paintScrollPaneBackground(SynthContext ctx, Graphics g, int x,
1175
int y, int w, int h)
1177
// Nothing to do here.
1181
* Paints the border of a scroll pane.
1183
* @param ctx the synth context identifying the component and region for
1185
* @param g the graphics context to use for painting
1186
* @param x the X coordinate of the area to paint
1187
* @param y the Y coordinate of the area to paint
1188
* @param w the width of the area to paint
1189
* @param h the height of the area to paint
1191
public void paintScrollPaneBorder(SynthContext ctx, Graphics g, int x,
1192
int y, int w, int h)
1194
// Nothing to do here.
1198
* Paints the background of a separator.
1200
* @param ctx the synth context identifying the component and region for
1202
* @param g the graphics context to use for painting
1203
* @param x the X coordinate of the area to paint
1204
* @param y the Y coordinate of the area to paint
1205
* @param w the width of the area to paint
1206
* @param h the height of the area to paint
1208
public void paintSeparatorBackground(SynthContext ctx, Graphics g, int x,
1209
int y, int w, int h)
1211
// Nothing to do here.
1215
* Paints the border of a separator.
1217
* @param ctx the synth context identifying the component and region for
1219
* @param g the graphics context to use for painting
1220
* @param x the X coordinate of the area to paint
1221
* @param y the Y coordinate of the area to paint
1222
* @param w the width of the area to paint
1223
* @param h the height of the area to paint
1225
public void paintSeparatorBorder(SynthContext ctx, Graphics g, int x,
1226
int y, int w, int h)
1228
// Nothing to do here.
1232
* Paints the background of a slider.
1234
* @param ctx the synth context identifying the component and region for
1236
* @param g the graphics context to use for painting
1237
* @param x the X coordinate of the area to paint
1238
* @param y the Y coordinate of the area to paint
1239
* @param w the width of the area to paint
1240
* @param h the height of the area to paint
1242
public void paintSliderBackground(SynthContext ctx, Graphics g, int x,
1243
int y, int w, int h)
1245
// Nothing to do here.
1249
* Paints the border of a slider.
1251
* @param ctx the synth context identifying the component and region for
1253
* @param g the graphics context to use for painting
1254
* @param x the X coordinate of the area to paint
1255
* @param y the Y coordinate of the area to paint
1256
* @param w the width of the area to paint
1257
* @param h the height of the area to paint
1259
public void paintSliderBorder(SynthContext ctx, Graphics g, int x,
1260
int y, int w, int h)
1262
// Nothing to do here.
1266
* Paints the background of a slider's thumb.
1268
* @param ctx the synth context identifying the component and region for
1270
* @param g the graphics context to use for painting
1271
* @param x the X coordinate of the area to paint
1272
* @param y the Y coordinate of the area to paint
1273
* @param w the width of the area to paint
1274
* @param h the height of the area to paint
1275
* @param orientation orientation of the slider
1277
public void paintSliderThumbBackground(SynthContext ctx, Graphics g, int x,
1278
int y, int w, int h, int orientation)
1280
// Nothing to do here.
1284
* Paints the border of a slider's thumb.
1286
* @param ctx the synth context identifying the component and region for
1288
* @param g the graphics context to use for painting
1289
* @param x the X coordinate of the area to paint
1290
* @param y the Y coordinate of the area to paint
1291
* @param w the width of the area to paint
1292
* @param h the height of the area to paint
1293
* @param orientation orientation of the slider
1295
public void paintSliderThumbBorder(SynthContext ctx, Graphics g, int x,
1296
int y, int w, int h, int orientation)
1298
// Nothing to do here.
1302
* Paints the background of a slider's track.
1304
* @param ctx the synth context identifying the component and region for
1306
* @param g the graphics context to use for painting
1307
* @param x the X coordinate of the area to paint
1308
* @param y the Y coordinate of the area to paint
1309
* @param w the width of the area to paint
1310
* @param h the height of the area to paint
1312
public void paintSliderTrackBackground(SynthContext ctx, Graphics g, int x,
1313
int y, int w, int h)
1315
// Nothing to do here.
1319
* Paints the border of a slider's track.
1321
* @param ctx the synth context identifying the component and region for
1323
* @param g the graphics context to use for painting
1324
* @param x the X coordinate of the area to paint
1325
* @param y the Y coordinate of the area to paint
1326
* @param w the width of the area to paint
1327
* @param h the height of the area to paint
1329
public void paintSliderTrackBorder(SynthContext ctx, Graphics g, int x,
1330
int y, int w, int h)
1332
// Nothing to do here.
1336
* Paints the background of a spinner.
1338
* @param ctx the synth context identifying the component and region for
1340
* @param g the graphics context to use for painting
1341
* @param x the X coordinate of the area to paint
1342
* @param y the Y coordinate of the area to paint
1343
* @param w the width of the area to paint
1344
* @param h the height of the area to paint
1346
public void paintSpinnerBackground(SynthContext ctx, Graphics g, int x,
1347
int y, int w, int h)
1349
// Nothing to do here.
1353
* Paints the border of a spinner.
1355
* @param ctx the synth context identifying the component and region for
1357
* @param g the graphics context to use for painting
1358
* @param x the X coordinate of the area to paint
1359
* @param y the Y coordinate of the area to paint
1360
* @param w the width of the area to paint
1361
* @param h the height of the area to paint
1363
public void paintSpinnerBorder(SynthContext ctx, Graphics g, int x,
1364
int y, int w, int h)
1366
// Nothing to do here.
1370
* Paints the background of a split pane.
1372
* @param ctx the synth context identifying the component and region for
1374
* @param g the graphics context to use for painting
1375
* @param x the X coordinate of the area to paint
1376
* @param y the Y coordinate of the area to paint
1377
* @param w the width of the area to paint
1378
* @param h the height of the area to paint
1380
public void paintSplitPaneBackground(SynthContext ctx, Graphics g, int x,
1381
int y, int w, int h)
1383
// Nothing to do here.
1387
* Paints the border of a split pane.
1389
* @param ctx the synth context identifying the component and region for
1391
* @param g the graphics context to use for painting
1392
* @param x the X coordinate of the area to paint
1393
* @param y the Y coordinate of the area to paint
1394
* @param w the width of the area to paint
1395
* @param h the height of the area to paint
1397
public void paintSplitPaneBorder(SynthContext ctx, Graphics g, int x,
1398
int y, int w, int h)
1400
// Nothing to do here.
1404
* Paints the background of a split pane's divider.
1406
* @param ctx the synth context identifying the component and region for
1408
* @param g the graphics context to use for painting
1409
* @param x the X coordinate of the area to paint
1410
* @param y the Y coordinate of the area to paint
1411
* @param w the width of the area to paint
1412
* @param h the height of the area to paint
1414
public void paintSplitPaneDividerBackground(SynthContext ctx, Graphics g, int x,
1415
int y, int w, int h)
1417
// Nothing to do here.
1421
* Paints the background of a tabbed pane.
1423
* @param ctx the synth context identifying the component and region for
1425
* @param g the graphics context to use for painting
1426
* @param x the X coordinate of the area to paint
1427
* @param y the Y coordinate of the area to paint
1428
* @param w the width of the area to paint
1429
* @param h the height of the area to paint
1431
public void paintTabbedPaneBackground(SynthContext ctx, Graphics g, int x,
1432
int y, int w, int h)
1434
// Nothing to do here.
1438
* Paints the border of a tabbed pane.
1440
* @param ctx the synth context identifying the component and region for
1442
* @param g the graphics context to use for painting
1443
* @param x the X coordinate of the area to paint
1444
* @param y the Y coordinate of the area to paint
1445
* @param w the width of the area to paint
1446
* @param h the height of the area to paint
1448
public void paintTabbedPaneBorder(SynthContext ctx, Graphics g, int x,
1449
int y, int w, int h)
1451
// Nothing to do here.
1455
* Paints the background of the contents of a tabbed pane.
1457
* @param ctx the synth context identifying the component and region for
1459
* @param g the graphics context to use for painting
1460
* @param x the X coordinate of the area to paint
1461
* @param y the Y coordinate of the area to paint
1462
* @param w the width of the area to paint
1463
* @param h the height of the area to paint
1465
public void paintTabbedPaneContentBackground(SynthContext ctx, Graphics g, int x,
1466
int y, int w, int h)
1468
// Nothing to do here.
1472
* Paints the border of the contents of a tabbed pane.
1474
* @param ctx the synth context identifying the component and region for
1476
* @param g the graphics context to use for painting
1477
* @param x the X coordinate of the area to paint
1478
* @param y the Y coordinate of the area to paint
1479
* @param w the width of the area to paint
1480
* @param h the height of the area to paint
1482
public void paintTabbedPaneContentBorder(SynthContext ctx, Graphics g, int x,
1483
int y, int w, int h)
1485
// Nothing to do here.
1489
* Paints the background of the tab area of a tabbed pane.
1491
* @param ctx the synth context identifying the component and region for
1493
* @param g the graphics context to use for painting
1494
* @param x the X coordinate of the area to paint
1495
* @param y the Y coordinate of the area to paint
1496
* @param w the width of the area to paint
1497
* @param h the height of the area to paint
1499
public void paintTabbedPaneTabAreaBackground(SynthContext ctx, Graphics g, int x,
1500
int y, int w, int h)
1502
// Nothing to do here.
1506
* Paints the border of the tab area of a tabbed pane.
1508
* @param ctx the synth context identifying the component and region for
1510
* @param g the graphics context to use for painting
1511
* @param x the X coordinate of the area to paint
1512
* @param y the Y coordinate of the area to paint
1513
* @param w the width of the area to paint
1514
* @param h the height of the area to paint
1516
public void paintTabbedPaneTabAreaBorder(SynthContext ctx, Graphics g, int x,
1517
int y, int w, int h)
1519
// Nothing to do here.
1523
* Paints the background of a tab of a tabbed pane.
1525
* @param ctx the synth context identifying the component and region for
1527
* @param g the graphics context to use for painting
1528
* @param x the X coordinate of the area to paint
1529
* @param y the Y coordinate of the area to paint
1530
* @param w the width of the area to paint
1531
* @param h the height of the area to paint
1532
* @param index the index of the tab to paint
1534
public void paintTabbedPaneTabBackground(SynthContext ctx, Graphics g, int x,
1535
int y, int w, int h, int index)
1537
// Nothing to do here.
1541
* Paints the border of a tab of a tabbed pane.
1543
* @param ctx the synth context identifying the component and region for
1545
* @param g the graphics context to use for painting
1546
* @param x the X coordinate of the area to paint
1547
* @param y the Y coordinate of the area to paint
1548
* @param w the width of the area to paint
1549
* @param h the height of the area to paint
1550
* @param index the index of the tab to paint
1552
public void paintTabbedPaneTabBorder(SynthContext ctx, Graphics g, int x,
1553
int y, int w, int h, int index)
1555
// Nothing to do here.
1559
* Paints the background of a table.
1561
* @param ctx the synth context identifying the component and region for
1563
* @param g the graphics context to use for painting
1564
* @param x the X coordinate of the area to paint
1565
* @param y the Y coordinate of the area to paint
1566
* @param w the width of the area to paint
1567
* @param h the height of the area to paint
1569
public void paintTableBackground(SynthContext ctx, Graphics g, int x,
1570
int y, int w, int h)
1572
// Nothing to do here.
1576
* Paints the border of a table.
1578
* @param ctx the synth context identifying the component and region for
1580
* @param g the graphics context to use for painting
1581
* @param x the X coordinate of the area to paint
1582
* @param y the Y coordinate of the area to paint
1583
* @param w the width of the area to paint
1584
* @param h the height of the area to paint
1586
public void paintTableBorder(SynthContext ctx, Graphics g, int x,
1587
int y, int w, int h)
1589
// Nothing to do here.
1593
* Paints the background of a table's header.
1595
* @param ctx the synth context identifying the component and region for
1597
* @param g the graphics context to use for painting
1598
* @param x the X coordinate of the area to paint
1599
* @param y the Y coordinate of the area to paint
1600
* @param w the width of the area to paint
1601
* @param h the height of the area to paint
1603
public void paintTableHeaderBackground(SynthContext ctx, Graphics g, int x,
1604
int y, int w, int h)
1606
// Nothing to do here.
1610
* Paints the border of a table's header.
1612
* @param ctx the synth context identifying the component and region for
1614
* @param g the graphics context to use for painting
1615
* @param x the X coordinate of the area to paint
1616
* @param y the Y coordinate of the area to paint
1617
* @param w the width of the area to paint
1618
* @param h the height of the area to paint
1620
public void paintTableHeaderBorder(SynthContext ctx, Graphics g, int x,
1621
int y, int w, int h)
1623
// Nothing to do here.
1627
* Paints the background of a text area.
1629
* @param ctx the synth context identifying the component and region for
1631
* @param g the graphics context to use for painting
1632
* @param x the X coordinate of the area to paint
1633
* @param y the Y coordinate of the area to paint
1634
* @param w the width of the area to paint
1635
* @param h the height of the area to paint
1637
public void paintTextAreaBackground(SynthContext ctx, Graphics g, int x,
1638
int y, int w, int h)
1640
// Nothing to do here.
1644
* Paints the border of a text area.
1646
* @param ctx the synth context identifying the component and region for
1648
* @param g the graphics context to use for painting
1649
* @param x the X coordinate of the area to paint
1650
* @param y the Y coordinate of the area to paint
1651
* @param w the width of the area to paint
1652
* @param h the height of the area to paint
1654
public void paintTextAreaBorder(SynthContext ctx, Graphics g, int x,
1655
int y, int w, int h)
1657
// Nothing to do here.
1661
* Paints the background of a text field.
1663
* @param ctx the synth context identifying the component and region for
1665
* @param g the graphics context to use for painting
1666
* @param x the X coordinate of the area to paint
1667
* @param y the Y coordinate of the area to paint
1668
* @param w the width of the area to paint
1669
* @param h the height of the area to paint
1671
public void paintTextFieldBackground(SynthContext ctx, Graphics g, int x,
1672
int y, int w, int h)
1674
// Nothing to do here.
1678
* Paints the border of a text field.
1680
* @param ctx the synth context identifying the component and region for
1682
* @param g the graphics context to use for painting
1683
* @param x the X coordinate of the area to paint
1684
* @param y the Y coordinate of the area to paint
1685
* @param w the width of the area to paint
1686
* @param h the height of the area to paint
1688
public void paintTextFieldBorder(SynthContext ctx, Graphics g, int x,
1689
int y, int w, int h)
1691
// Nothing to do here.
1695
* Paints the background of a text pane.
1697
* @param ctx the synth context identifying the component and region for
1699
* @param g the graphics context to use for painting
1700
* @param x the X coordinate of the area to paint
1701
* @param y the Y coordinate of the area to paint
1702
* @param w the width of the area to paint
1703
* @param h the height of the area to paint
1705
public void paintTextPaneBackground(SynthContext ctx, Graphics g, int x,
1706
int y, int w, int h)
1708
// Nothing to do here.
1712
* Paints the border of a text pane.
1714
* @param ctx the synth context identifying the component and region for
1716
* @param g the graphics context to use for painting
1717
* @param x the X coordinate of the area to paint
1718
* @param y the Y coordinate of the area to paint
1719
* @param w the width of the area to paint
1720
* @param h the height of the area to paint
1722
public void paintTextPaneBorder(SynthContext ctx, Graphics g, int x,
1723
int y, int w, int h)
1725
// Nothing to do here.
1729
* Paints the background of a toggle button.
1731
* @param ctx the synth context identifying the component and region for
1733
* @param g the graphics context to use for painting
1734
* @param x the X coordinate of the area to paint
1735
* @param y the Y coordinate of the area to paint
1736
* @param w the width of the area to paint
1737
* @param h the height of the area to paint
1739
public void paintToggleButtonBackground(SynthContext ctx, Graphics g, int x,
1740
int y, int w, int h)
1742
// Nothing to do here.
1746
* Paints the border of a toggle button.
1748
* @param ctx the synth context identifying the component and region for
1750
* @param g the graphics context to use for painting
1751
* @param x the X coordinate of the area to paint
1752
* @param y the Y coordinate of the area to paint
1753
* @param w the width of the area to paint
1754
* @param h the height of the area to paint
1756
public void paintToggleButtonBorder(SynthContext ctx, Graphics g, int x,
1757
int y, int w, int h)
1759
// Nothing to do here.
1763
* Paints the background of a toolbar.
1765
* @param ctx the synth context identifying the component and region for
1767
* @param g the graphics context to use for painting
1768
* @param x the X coordinate of the area to paint
1769
* @param y the Y coordinate of the area to paint
1770
* @param w the width of the area to paint
1771
* @param h the height of the area to paint
1773
public void paintToolBarBackground(SynthContext ctx, Graphics g, int x,
1774
int y, int w, int h)
1776
// Nothing to do here.
1780
* Paints the border of a toolbar.
1782
* @param ctx the synth context identifying the component and region for
1784
* @param g the graphics context to use for painting
1785
* @param x the X coordinate of the area to paint
1786
* @param y the Y coordinate of the area to paint
1787
* @param w the width of the area to paint
1788
* @param h the height of the area to paint
1790
public void paintToolBarBorder(SynthContext ctx, Graphics g, int x,
1791
int y, int w, int h)
1793
// Nothing to do here.
1797
* Paints the background of the contents of a toolbar.
1799
* @param ctx the synth context identifying the component and region for
1801
* @param g the graphics context to use for painting
1802
* @param x the X coordinate of the area to paint
1803
* @param y the Y coordinate of the area to paint
1804
* @param w the width of the area to paint
1805
* @param h the height of the area to paint
1807
public void paintToolBarContentBackground(SynthContext ctx, Graphics g, int x,
1808
int y, int w, int h)
1810
// Nothing to do here.
1814
* Paints the border of the contents of a toolbar.
1816
* @param ctx the synth context identifying the component and region for
1818
* @param g the graphics context to use for painting
1819
* @param x the X coordinate of the area to paint
1820
* @param y the Y coordinate of the area to paint
1821
* @param w the width of the area to paint
1822
* @param h the height of the area to paint
1824
public void paintToolBarContentBorder(SynthContext ctx, Graphics g, int x,
1825
int y, int w, int h)
1827
// Nothing to do here.
1831
* Paints the background of the window of a detached toolbar.
1833
* @param ctx the synth context identifying the component and region for
1835
* @param g the graphics context to use for painting
1836
* @param x the X coordinate of the area to paint
1837
* @param y the Y coordinate of the area to paint
1838
* @param w the width of the area to paint
1839
* @param h the height of the area to paint
1841
public void paintToolBarDragWindowBackground(SynthContext ctx, Graphics g, int x,
1842
int y, int w, int h)
1844
// Nothing to do here.
1848
* Paints the border of the window of a detached toolbar.
1850
* @param ctx the synth context identifying the component and region for
1852
* @param g the graphics context to use for painting
1853
* @param x the X coordinate of the area to paint
1854
* @param y the Y coordinate of the area to paint
1855
* @param w the width of the area to paint
1856
* @param h the height of the area to paint
1858
public void paintToolBarDragWindowBorder(SynthContext ctx, Graphics g, int x,
1859
int y, int w, int h)
1861
// Nothing to do here.
1865
* Paints the background of a tool tip.
1867
* @param ctx the synth context identifying the component and region for
1869
* @param g the graphics context to use for painting
1870
* @param x the X coordinate of the area to paint
1871
* @param y the Y coordinate of the area to paint
1872
* @param w the width of the area to paint
1873
* @param h the height of the area to paint
1875
public void paintToolTipBackground(SynthContext ctx, Graphics g, int x,
1876
int y, int w, int h)
1878
// Nothing to do here.
1882
* Paints the border of a tool tip.
1884
* @param ctx the synth context identifying the component and region for
1886
* @param g the graphics context to use for painting
1887
* @param x the X coordinate of the area to paint
1888
* @param y the Y coordinate of the area to paint
1889
* @param w the width of the area to paint
1890
* @param h the height of the area to paint
1892
public void paintToolTipBorder(SynthContext ctx, Graphics g, int x,
1893
int y, int w, int h)
1895
// Nothing to do here.
1899
* Paints the background of a tree.
1901
* @param ctx the synth context identifying the component and region for
1903
* @param g the graphics context to use for painting
1904
* @param x the X coordinate of the area to paint
1905
* @param y the Y coordinate of the area to paint
1906
* @param w the width of the area to paint
1907
* @param h the height of the area to paint
1909
public void paintTreeBackground(SynthContext ctx, Graphics g, int x,
1910
int y, int w, int h)
1912
// Nothing to do here.
1916
* Paints the border of a tree.
1918
* @param ctx the synth context identifying the component and region for
1920
* @param g the graphics context to use for painting
1921
* @param x the X coordinate of the area to paint
1922
* @param y the Y coordinate of the area to paint
1923
* @param w the width of the area to paint
1924
* @param h the height of the area to paint
1926
public void paintTreeBorder(SynthContext ctx, Graphics g, int x,
1927
int y, int w, int h)
1929
// Nothing to do here.
1933
* Paints the background of a cell in a tree.
1935
* @param ctx the synth context identifying the component and region for
1937
* @param g the graphics context to use for painting
1938
* @param x the X coordinate of the area to paint
1939
* @param y the Y coordinate of the area to paint
1940
* @param w the width of the area to paint
1941
* @param h the height of the area to paint
1943
public void paintTreeCellBackground(SynthContext ctx, Graphics g, int x,
1944
int y, int w, int h)
1946
// Nothing to do here.
1950
* Paints the border of a cell in a tree.
1952
* @param ctx the synth context identifying the component and region for
1954
* @param g the graphics context to use for painting
1955
* @param x the X coordinate of the area to paint
1956
* @param y the Y coordinate of the area to paint
1957
* @param w the width of the area to paint
1958
* @param h the height of the area to paint
1960
public void paintTreeCellBorder(SynthContext ctx, Graphics g, int x,
1961
int y, int w, int h)
1963
// Nothing to do here.
1967
* Paints the background of a viewport.
1969
* @param ctx the synth context identifying the component and region for
1971
* @param g the graphics context to use for painting
1972
* @param x the X coordinate of the area to paint
1973
* @param y the Y coordinate of the area to paint
1974
* @param w the width of the area to paint
1975
* @param h the height of the area to paint
1977
public void paintViewportBackground(SynthContext ctx, Graphics g, int x,
1978
int y, int w, int h)
1980
// Nothing to do here.
1984
* Paints the border of a viewport.
1986
* @param ctx the synth context identifying the component and region for
1988
* @param g the graphics context to use for painting
1989
* @param x the X coordinate of the area to paint
1990
* @param y the Y coordinate of the area to paint
1991
* @param w the width of the area to paint
1992
* @param h the height of the area to paint
1994
public void paintViewportBorder(SynthContext ctx, Graphics g, int x,
1995
int y, int w, int h)
1997
// Nothing to do here.