0001 /*
0002 * Copyright 2002-2005 Sun Microsystems, Inc. All Rights Reserved.
0003 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0004 *
0005 * This code is free software; you can redistribute it and/or modify it
0006 * under the terms of the GNU General Public License version 2 only, as
0007 * published by the Free Software Foundation. Sun designates this
0008 * particular file as subject to the "Classpath" exception as provided
0009 * by Sun in the LICENSE file that accompanied this code.
0010 *
0011 * This code is distributed in the hope that it will be useful, but WITHOUT
0012 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0013 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0014 * version 2 for more details (a copy is included in the LICENSE file that
0015 * accompanied this code).
0016 *
0017 * You should have received a copy of the GNU General Public License version
0018 * 2 along with this work; if not, write to the Free Software Foundation,
0019 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0020 *
0021 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
0022 * CA 95054 USA or visit www.sun.com if you need additional information or
0023 * have any questions.
0024 */
0025 package javax.swing.plaf.synth;
0026
0027 import java.awt.*;
0028 import javax.swing.*;
0029
0030 /**
0031 * <code>SynthPainter</code> is used for painting portions of
0032 * <code>JComponent</code>s. At a minimum each <code>JComponent</code>
0033 * has two paint methods: one for the border and one for the background. Some
0034 * <code>JComponent</code>s have more than one <code>Region</code>, and as
0035 * a consequence more paint methods.
0036 * <p>
0037 * Instances of <code>SynthPainter</code> are obtained from the
0038 * {@link javax.swing.plaf.synth.SynthStyle#getPainter} method.
0039 * <p>
0040 * You typically supply a <code>SynthPainter</code> by way of Synth's
0041 * <a href="doc-files/synthFileFormat.html">file</a> format. The following
0042 * example registers a painter for all <code>JButton</code>s that will
0043 * render the image <code>myImage.png</code>:
0044 * <pre>
0045 * <style id="buttonStyle">
0046 * <imagePainter path="myImage.png" sourceInsets="2 2 2 2"
0047 * paintCenter="true" stretch="true"/>
0048 * <insets top="2" bottom="2" left="2" right="2"/>
0049 * </style>
0050 * <bind style="buttonStyle" type="REGION" key="button"/>
0051 *</pre>
0052 * <p>
0053 * <code>SynthPainter</code> is abstract in so far as it does no painting,
0054 * all the methods
0055 * are empty. While none of these methods are typed to throw an exception,
0056 * subclasses can assume that valid arguments are passed in, and if not
0057 * they can throw a <code>NullPointerException</code> or
0058 * <code>IllegalArgumentException</code> in response to invalid arguments.
0059 *
0060 * @version 1.19, 05/05/07
0061 * @since 1.5
0062 * @author Scott Violet
0063 */
0064 public abstract class SynthPainter {
0065 /**
0066 * Used to avoid null painter checks everywhere.
0067 */
0068 static SynthPainter NULL_PAINTER = new SynthPainter() {
0069 };
0070
0071 /**
0072 * Paints the background of an arrow button. Arrow buttons are created by
0073 * some components, such as <code>JScrollBar</code>.
0074 *
0075 * @param context SynthContext identifying the <code>JComponent</code> and
0076 * <code>Region</code> to paint to
0077 * @param g <code>Graphics</code> to paint to
0078 * @param x X coordinate of the area to paint to
0079 * @param y Y coordinate of the area to paint to
0080 * @param w Width of the area to paint to
0081 * @param h Height of the area to paint to
0082 */
0083 public void paintArrowButtonBackground(SynthContext context,
0084 Graphics g, int x, int y, int w, int h) {
0085 }
0086
0087 /**
0088 * Paints the border of an arrow button. Arrow buttons are created by
0089 * some components, such as <code>JScrollBar</code>.
0090 *
0091 * @param context SynthContext identifying the <code>JComponent</code> and
0092 * <code>Region</code> to paint to
0093 * @param g <code>Graphics</code> to paint to
0094 * @param x X coordinate of the area to paint to
0095 * @param y Y coordinate of the area to paint to
0096 * @param w Width of the area to paint to
0097 * @param h Height of the area to paint to
0098 */
0099 public void paintArrowButtonBorder(SynthContext context,
0100 Graphics g, int x, int y, int w, int h) {
0101 }
0102
0103 /**
0104 * Paints the foreground of an arrow button. This method is responsible
0105 * for drawing a graphical representation of a direction, typically
0106 * an arrow. Arrow buttons are created by
0107 * some components, such as <code>JScrollBar</code>
0108 *
0109 * @param context SynthContext identifying the <code>JComponent</code> and
0110 * <code>Region</code> to paint to
0111 * @param g <code>Graphics</code> to paint to
0112 * @param x X coordinate of the area to paint to
0113 * @param y Y coordinate of the area to paint to
0114 * @param w Width of the area to paint to
0115 * @param h Height of the area to paint to
0116 * @param direction One of SwingConstants.NORTH, SwingConstants.SOUTH
0117 * SwingConstants.EAST or SwingConstants.WEST
0118 */
0119 public void paintArrowButtonForeground(SynthContext context,
0120 Graphics g, int x, int y, int w, int h, int direction) {
0121 }
0122
0123 /**
0124 * Paints the background of a button.
0125 *
0126 * @param context SynthContext identifying the <code>JComponent</code> and
0127 * <code>Region</code> to paint to
0128 * @param g <code>Graphics</code> to paint to
0129 * @param x X coordinate of the area to paint to
0130 * @param y Y coordinate of the area to paint to
0131 * @param w Width of the area to paint to
0132 * @param h Height of the area to paint to
0133 */
0134 public void paintButtonBackground(SynthContext context, Graphics g,
0135 int x, int y, int w, int h) {
0136 }
0137
0138 /**
0139 * Paints the border of a button.
0140 *
0141 * @param context SynthContext identifying the <code>JComponent</code> and
0142 * <code>Region</code> to paint to
0143 * @param g <code>Graphics</code> to paint to
0144 * @param x X coordinate of the area to paint to
0145 * @param y Y coordinate of the area to paint to
0146 * @param w Width of the area to paint to
0147 * @param h Height of the area to paint to
0148 */
0149 public void paintButtonBorder(SynthContext context, Graphics g,
0150 int x, int y, int w, int h) {
0151 }
0152
0153 /**
0154 * Paints the background of a check box menu item.
0155 *
0156 * @param context SynthContext identifying the <code>JComponent</code> and
0157 * <code>Region</code> to paint to
0158 * @param g <code>Graphics</code> to paint to
0159 * @param x X coordinate of the area to paint to
0160 * @param y Y coordinate of the area to paint to
0161 * @param w Width of the area to paint to
0162 * @param h Height of the area to paint to
0163 */
0164 public void paintCheckBoxMenuItemBackground(SynthContext context,
0165 Graphics g, int x, int y, int w, int h) {
0166 }
0167
0168 /**
0169 * Paints the border of a check box menu item.
0170 *
0171 * @param context SynthContext identifying the <code>JComponent</code> and
0172 * <code>Region</code> to paint to
0173 * @param g <code>Graphics</code> to paint to
0174 * @param x X coordinate of the area to paint to
0175 * @param y Y coordinate of the area to paint to
0176 * @param w Width of the area to paint to
0177 * @param h Height of the area to paint to
0178 */
0179 public void paintCheckBoxMenuItemBorder(SynthContext context,
0180 Graphics g, int x, int y, int w, int h) {
0181 }
0182
0183 /**
0184 * Paints the background of a check box.
0185 *
0186 * @param context SynthContext identifying the <code>JComponent</code> and
0187 * <code>Region</code> to paint to
0188 * @param g <code>Graphics</code> to paint to
0189 * @param x X coordinate of the area to paint to
0190 * @param y Y coordinate of the area to paint to
0191 * @param w Width of the area to paint to
0192 * @param h Height of the area to paint to
0193 */
0194 public void paintCheckBoxBackground(SynthContext context,
0195 Graphics g, int x, int y, int w, int h) {
0196 }
0197
0198 /**
0199 * Paints the border of a check box.
0200 *
0201 * @param context SynthContext identifying the <code>JComponent</code> and
0202 * <code>Region</code> to paint to
0203 * @param g <code>Graphics</code> to paint to
0204 * @param x X coordinate of the area to paint to
0205 * @param y Y coordinate of the area to paint to
0206 * @param w Width of the area to paint to
0207 * @param h Height of the area to paint to
0208 */
0209 public void paintCheckBoxBorder(SynthContext context, Graphics g,
0210 int x, int y, int w, int h) {
0211 }
0212
0213 /**
0214 * Paints the background of a color chooser.
0215 *
0216 * @param context SynthContext identifying the <code>JComponent</code> and
0217 * <code>Region</code> to paint to
0218 * @param g <code>Graphics</code> to paint to
0219 * @param x X coordinate of the area to paint to
0220 * @param y Y coordinate of the area to paint to
0221 * @param w Width of the area to paint to
0222 * @param h Height of the area to paint to
0223 */
0224 public void paintColorChooserBackground(SynthContext context,
0225 Graphics g, int x, int y, int w, int h) {
0226 }
0227
0228 /**
0229 * Paints the border of a color chooser.
0230 *
0231 * @param context SynthContext identifying the <code>JComponent</code> and
0232 * <code>Region</code> to paint to
0233 * @param g <code>Graphics</code> to paint to
0234 * @param x X coordinate of the area to paint to
0235 * @param y Y coordinate of the area to paint to
0236 * @param w Width of the area to paint to
0237 * @param h Height of the area to paint to
0238 */
0239 public void paintColorChooserBorder(SynthContext context,
0240 Graphics g, int x, int y, int w, int h) {
0241 }
0242
0243 /**
0244 * Paints the background of a combo box.
0245 *
0246 * @param context SynthContext identifying the <code>JComponent</code> and
0247 * <code>Region</code> to paint to
0248 * @param g <code>Graphics</code> to paint to
0249 * @param x X coordinate of the area to paint to
0250 * @param y Y coordinate of the area to paint to
0251 * @param w Width of the area to paint to
0252 * @param h Height of the area to paint to
0253 */
0254 public void paintComboBoxBackground(SynthContext context,
0255 Graphics g, int x, int y, int w, int h) {
0256 }
0257
0258 /**
0259 * Paints the border of a combo box.
0260 *
0261 * @param context SynthContext identifying the <code>JComponent</code> and
0262 * <code>Region</code> to paint to
0263 * @param g <code>Graphics</code> to paint to
0264 * @param x X coordinate of the area to paint to
0265 * @param y Y coordinate of the area to paint to
0266 * @param w Width of the area to paint to
0267 * @param h Height of the area to paint to
0268 */
0269 public void paintComboBoxBorder(SynthContext context, Graphics g,
0270 int x, int y, int w, int h) {
0271 }
0272
0273 /**
0274 * Paints the background of a desktop icon.
0275 *
0276 * @param context SynthContext identifying the <code>JComponent</code> and
0277 * <code>Region</code> to paint to
0278 * @param g <code>Graphics</code> to paint to
0279 * @param x X coordinate of the area to paint to
0280 * @param y Y coordinate of the area to paint to
0281 * @param w Width of the area to paint to
0282 * @param h Height of the area to paint to
0283 */
0284 public void paintDesktopIconBackground(SynthContext context,
0285 Graphics g, int x, int y, int w, int h) {
0286 }
0287
0288 /**
0289 * Paints the border of a desktop icon.
0290 *
0291 * @param context SynthContext identifying the <code>JComponent</code> and
0292 * <code>Region</code> to paint to
0293 * @param g <code>Graphics</code> to paint to
0294 * @param x X coordinate of the area to paint to
0295 * @param y Y coordinate of the area to paint to
0296 * @param w Width of the area to paint to
0297 * @param h Height of the area to paint to
0298 */
0299 public void paintDesktopIconBorder(SynthContext context,
0300 Graphics g, int x, int y, int w, int h) {
0301 }
0302
0303 /**
0304 * Paints the background of a desktop pane.
0305 *
0306 * @param context SynthContext identifying the <code>JComponent</code> and
0307 * <code>Region</code> to paint to
0308 * @param g <code>Graphics</code> to paint to
0309 * @param x X coordinate of the area to paint to
0310 * @param y Y coordinate of the area to paint to
0311 * @param w Width of the area to paint to
0312 * @param h Height of the area to paint to
0313 */
0314 public void paintDesktopPaneBackground(SynthContext context,
0315 Graphics g, int x, int y, int w, int h) {
0316 }
0317
0318 /**
0319 * Paints the background of a desktop pane.
0320 *
0321 * @param context SynthContext identifying the <code>JComponent</code> and
0322 * <code>Region</code> to paint to
0323 * @param g <code>Graphics</code> to paint to
0324 * @param x X coordinate of the area to paint to
0325 * @param y Y coordinate of the area to paint to
0326 * @param w Width of the area to paint to
0327 * @param h Height of the area to paint to
0328 */
0329 public void paintDesktopPaneBorder(SynthContext context,
0330 Graphics g, int x, int y, int w, int h) {
0331 }
0332
0333 /**
0334 * Paints the background of an editor pane.
0335 *
0336 * @param context SynthContext identifying the <code>JComponent</code> and
0337 * <code>Region</code> to paint to
0338 * @param g <code>Graphics</code> to paint to
0339 * @param x X coordinate of the area to paint to
0340 * @param y Y coordinate of the area to paint to
0341 * @param w Width of the area to paint to
0342 * @param h Height of the area to paint to
0343 */
0344 public void paintEditorPaneBackground(SynthContext context,
0345 Graphics g, int x, int y, int w, int h) {
0346 }
0347
0348 /**
0349 * Paints the border of an editor pane.
0350 *
0351 * @param context SynthContext identifying the <code>JComponent</code> and
0352 * <code>Region</code> to paint to
0353 * @param g <code>Graphics</code> to paint to
0354 * @param x X coordinate of the area to paint to
0355 * @param y Y coordinate of the area to paint to
0356 * @param w Width of the area to paint to
0357 * @param h Height of the area to paint to
0358 */
0359 public void paintEditorPaneBorder(SynthContext context, Graphics g,
0360 int x, int y, int w, int h) {
0361 }
0362
0363 /**
0364 * Paints the background of a file chooser.
0365 *
0366 * @param context SynthContext identifying the <code>JComponent</code> and
0367 * <code>Region</code> to paint to
0368 * @param g <code>Graphics</code> to paint to
0369 * @param x X coordinate of the area to paint to
0370 * @param y Y coordinate of the area to paint to
0371 * @param w Width of the area to paint to
0372 * @param h Height of the area to paint to
0373 */
0374 public void paintFileChooserBackground(SynthContext context,
0375 Graphics g, int x, int y, int w, int h) {
0376 }
0377
0378 /**
0379 * Paints the border of a file chooser.
0380 *
0381 * @param context SynthContext identifying the <code>JComponent</code> and
0382 * <code>Region</code> to paint to
0383 * @param g <code>Graphics</code> to paint to
0384 * @param x X coordinate of the area to paint to
0385 * @param y Y coordinate of the area to paint to
0386 * @param w Width of the area to paint to
0387 * @param h Height of the area to paint to
0388 */
0389 public void paintFileChooserBorder(SynthContext context,
0390 Graphics g, int x, int y, int w, int h) {
0391 }
0392
0393 /**
0394 * Paints the background of a formatted text field.
0395 *
0396 * @param context SynthContext identifying the <code>JComponent</code> and
0397 * <code>Region</code> to paint to
0398 * @param g <code>Graphics</code> to paint to
0399 * @param x X coordinate of the area to paint to
0400 * @param y Y coordinate of the area to paint to
0401 * @param w Width of the area to paint to
0402 * @param h Height of the area to paint to
0403 */
0404 public void paintFormattedTextFieldBackground(SynthContext context,
0405 Graphics g, int x, int y, int w, int h) {
0406 }
0407
0408 /**
0409 * Paints the border of a formatted text field.
0410 *
0411 * @param context SynthContext identifying the <code>JComponent</code> and
0412 * <code>Region</code> to paint to
0413 * @param g <code>Graphics</code> to paint to
0414 * @param x X coordinate of the area to paint to
0415 * @param y Y coordinate of the area to paint to
0416 * @param w Width of the area to paint to
0417 * @param h Height of the area to paint to
0418 */
0419 public void paintFormattedTextFieldBorder(SynthContext context,
0420 Graphics g, int x, int y, int w, int h) {
0421 }
0422
0423 /**
0424 * Paints the background of an internal frame title pane.
0425 *
0426 * @param context SynthContext identifying the <code>JComponent</code> and
0427 * <code>Region</code> to paint to
0428 * @param g <code>Graphics</code> to paint to
0429 * @param x X coordinate of the area to paint to
0430 * @param y Y coordinate of the area to paint to
0431 * @param w Width of the area to paint to
0432 * @param h Height of the area to paint to
0433 */
0434 public void paintInternalFrameTitlePaneBackground(
0435 SynthContext context, Graphics g, int x, int y, int w, int h) {
0436 }
0437
0438 /**
0439 * Paints the border of an internal frame title pane.
0440 *
0441 * @param context SynthContext identifying the <code>JComponent</code> and
0442 * <code>Region</code> to paint to
0443 * @param g <code>Graphics</code> to paint to
0444 * @param x X coordinate of the area to paint to
0445 * @param y Y coordinate of the area to paint to
0446 * @param w Width of the area to paint to
0447 * @param h Height of the area to paint to
0448 */
0449 public void paintInternalFrameTitlePaneBorder(SynthContext context,
0450 Graphics g, int x, int y, int w, int h) {
0451 }
0452
0453 /**
0454 * Paints the background of an internal frame.
0455 *
0456 * @param context SynthContext identifying the <code>JComponent</code> and
0457 * <code>Region</code> to paint to
0458 * @param g <code>Graphics</code> to paint to
0459 * @param x X coordinate of the area to paint to
0460 * @param y Y coordinate of the area to paint to
0461 * @param w Width of the area to paint to
0462 * @param h Height of the area to paint to
0463 */
0464 public void paintInternalFrameBackground(SynthContext context,
0465 Graphics g, int x, int y, int w, int h) {
0466 }
0467
0468 /**
0469 * Paints the border of an internal frame.
0470 *
0471 * @param context SynthContext identifying the <code>JComponent</code> and
0472 * <code>Region</code> to paint to
0473 * @param g <code>Graphics</code> to paint to
0474 * @param x X coordinate of the area to paint to
0475 * @param y Y coordinate of the area to paint to
0476 * @param w Width of the area to paint to
0477 * @param h Height of the area to paint to
0478 */
0479 public void paintInternalFrameBorder(SynthContext context,
0480 Graphics g, int x, int y, int w, int h) {
0481 }
0482
0483 /**
0484 * Paints the background of a label.
0485 *
0486 * @param context SynthContext identifying the <code>JComponent</code> and
0487 * <code>Region</code> to paint to
0488 * @param g <code>Graphics</code> to paint to
0489 * @param x X coordinate of the area to paint to
0490 * @param y Y coordinate of the area to paint to
0491 * @param w Width of the area to paint to
0492 * @param h Height of the area to paint to
0493 */
0494 public void paintLabelBackground(SynthContext context, Graphics g,
0495 int x, int y, int w, int h) {
0496 }
0497
0498 /**
0499 * Paints the border of a label.
0500 *
0501 * @param context SynthContext identifying the <code>JComponent</code> and
0502 * <code>Region</code> to paint to
0503 * @param g <code>Graphics</code> to paint to
0504 * @param x X coordinate of the area to paint to
0505 * @param y Y coordinate of the area to paint to
0506 * @param w Width of the area to paint to
0507 * @param h Height of the area to paint to
0508 */
0509 public void paintLabelBorder(SynthContext context, Graphics g,
0510 int x, int y, int w, int h) {
0511 }
0512
0513 /**
0514 * Paints the background of a list.
0515 *
0516 * @param context SynthContext identifying the <code>JComponent</code> and
0517 * <code>Region</code> to paint to
0518 * @param g <code>Graphics</code> to paint to
0519 * @param x X coordinate of the area to paint to
0520 * @param y Y coordinate of the area to paint to
0521 * @param w Width of the area to paint to
0522 * @param h Height of the area to paint to
0523 */
0524 public void paintListBackground(SynthContext context, Graphics g,
0525 int x, int y, int w, int h) {
0526 }
0527
0528 /**
0529 * Paints the border of a list.
0530 *
0531 * @param context SynthContext identifying the <code>JComponent</code> and
0532 * <code>Region</code> to paint to
0533 * @param g <code>Graphics</code> to paint to
0534 * @param x X coordinate of the area to paint to
0535 * @param y Y coordinate of the area to paint to
0536 * @param w Width of the area to paint to
0537 * @param h Height of the area to paint to
0538 */
0539 public void paintListBorder(SynthContext context, Graphics g,
0540 int x, int y, int w, int h) {
0541 }
0542
0543 /**
0544 * Paints the background of a menu bar.
0545 *
0546 * @param context SynthContext identifying the <code>JComponent</code> and
0547 * <code>Region</code> to paint to
0548 * @param g <code>Graphics</code> to paint to
0549 * @param x X coordinate of the area to paint to
0550 * @param y Y coordinate of the area to paint to
0551 * @param w Width of the area to paint to
0552 * @param h Height of the area to paint to
0553 */
0554 public void paintMenuBarBackground(SynthContext context,
0555 Graphics g, int x, int y, int w, int h) {
0556 }
0557
0558 /**
0559 * Paints the border of a menu bar.
0560 *
0561 * @param context SynthContext identifying the <code>JComponent</code> and
0562 * <code>Region</code> to paint to
0563 * @param g <code>Graphics</code> to paint to
0564 * @param x X coordinate of the area to paint to
0565 * @param y Y coordinate of the area to paint to
0566 * @param w Width of the area to paint to
0567 * @param h Height of the area to paint to
0568 */
0569 public void paintMenuBarBorder(SynthContext context, Graphics g,
0570 int x, int y, int w, int h) {
0571 }
0572
0573 /**
0574 * Paints the background of a menu item.
0575 *
0576 * @param context SynthContext identifying the <code>JComponent</code> and
0577 * <code>Region</code> to paint to
0578 * @param g <code>Graphics</code> to paint to
0579 * @param x X coordinate of the area to paint to
0580 * @param y Y coordinate of the area to paint to
0581 * @param w Width of the area to paint to
0582 * @param h Height of the area to paint to
0583 */
0584 public void paintMenuItemBackground(SynthContext context,
0585 Graphics g, int x, int y, int w, int h) {
0586 }
0587
0588 /**
0589 * Paints the border of a menu item.
0590 *
0591 * @param context SynthContext identifying the <code>JComponent</code> and
0592 * <code>Region</code> to paint to
0593 * @param g <code>Graphics</code> to paint to
0594 * @param x X coordinate of the area to paint to
0595 * @param y Y coordinate of the area to paint to
0596 * @param w Width of the area to paint to
0597 * @param h Height of the area to paint to
0598 */
0599 public void paintMenuItemBorder(SynthContext context, Graphics g,
0600 int x, int y, int w, int h) {
0601 }
0602
0603 /**
0604 * Paints the background of a menu.
0605 *
0606 * @param context SynthContext identifying the <code>JComponent</code> and
0607 * <code>Region</code> to paint to
0608 * @param g <code>Graphics</code> to paint to
0609 * @param x X coordinate of the area to paint to
0610 * @param y Y coordinate of the area to paint to
0611 * @param w Width of the area to paint to
0612 * @param h Height of the area to paint to
0613 */
0614 public void paintMenuBackground(SynthContext context, Graphics g,
0615 int x, int y, int w, int h) {
0616 }
0617
0618 /**
0619 * Paints the border of a menu.
0620 *
0621 * @param context SynthContext identifying the <code>JComponent</code> and
0622 * <code>Region</code> to paint to
0623 * @param g <code>Graphics</code> to paint to
0624 * @param x X coordinate of the area to paint to
0625 * @param y Y coordinate of the area to paint to
0626 * @param w Width of the area to paint to
0627 * @param h Height of the area to paint to
0628 */
0629 public void paintMenuBorder(SynthContext context, Graphics g,
0630 int x, int y, int w, int h) {
0631 }
0632
0633 /**
0634 * Paints the background of an option pane.
0635 *
0636 * @param context SynthContext identifying the <code>JComponent</code> and
0637 * <code>Region</code> to paint to
0638 * @param g <code>Graphics</code> to paint to
0639 * @param x X coordinate of the area to paint to
0640 * @param y Y coordinate of the area to paint to
0641 * @param w Width of the area to paint to
0642 * @param h Height of the area to paint to
0643 */
0644 public void paintOptionPaneBackground(SynthContext context,
0645 Graphics g, int x, int y, int w, int h) {
0646 }
0647
0648 /**
0649 * Paints the border of an option pane.
0650 *
0651 * @param context SynthContext identifying the <code>JComponent</code> and
0652 * <code>Region</code> to paint to
0653 * @param g <code>Graphics</code> to paint to
0654 * @param x X coordinate of the area to paint to
0655 * @param y Y coordinate of the area to paint to
0656 * @param w Width of the area to paint to
0657 * @param h Height of the area to paint to
0658 */
0659 public void paintOptionPaneBorder(SynthContext context, Graphics g,
0660 int x, int y, int w, int h) {
0661 }
0662
0663 /**
0664 * Paints the background of a panel.
0665 *
0666 * @param context SynthContext identifying the <code>JComponent</code> and
0667 * <code>Region</code> to paint to
0668 * @param g <code>Graphics</code> to paint to
0669 * @param x X coordinate of the area to paint to
0670 * @param y Y coordinate of the area to paint to
0671 * @param w Width of the area to paint to
0672 * @param h Height of the area to paint to
0673 */
0674 public void paintPanelBackground(SynthContext context, Graphics g,
0675 int x, int y, int w, int h) {
0676 }
0677
0678 /**
0679 * Paints the border of a panel.
0680 *
0681 * @param context SynthContext identifying the <code>JComponent</code> and
0682 * <code>Region</code> to paint to
0683 * @param g <code>Graphics</code> to paint to
0684 * @param x X coordinate of the area to paint to
0685 * @param y Y coordinate of the area to paint to
0686 * @param w Width of the area to paint to
0687 * @param h Height of the area to paint to
0688 */
0689 public void paintPanelBorder(SynthContext context, Graphics g,
0690 int x, int y, int w, int h) {
0691 }
0692
0693 /**
0694 * Paints the background of a password field.
0695 *
0696 * @param context SynthContext identifying the <code>JComponent</code> and
0697 * <code>Region</code> to paint to
0698 * @param g <code>Graphics</code> to paint to
0699 * @param x X coordinate of the area to paint to
0700 * @param y Y coordinate of the area to paint to
0701 * @param w Width of the area to paint to
0702 * @param h Height of the area to paint to
0703 */
0704 public void paintPasswordFieldBackground(SynthContext context,
0705 Graphics g, int x, int y, int w, int h) {
0706 }
0707
0708 /**
0709 * Paints the border of a password field.
0710 *
0711 * @param context SynthContext identifying the <code>JComponent</code> and
0712 * <code>Region</code> to paint to
0713 * @param g <code>Graphics</code> to paint to
0714 * @param x X coordinate of the area to paint to
0715 * @param y Y coordinate of the area to paint to
0716 * @param w Width of the area to paint to
0717 * @param h Height of the area to paint to
0718 */
0719 public void paintPasswordFieldBorder(SynthContext context,
0720 Graphics g, int x, int y, int w, int h) {
0721 }
0722
0723 /**
0724 * Paints the background of a popup menu.
0725 *
0726 * @param context SynthContext identifying the <code>JComponent</code> and
0727 * <code>Region</code> to paint to
0728 * @param g <code>Graphics</code> to paint to
0729 * @param x X coordinate of the area to paint to
0730 * @param y Y coordinate of the area to paint to
0731 * @param w Width of the area to paint to
0732 * @param h Height of the area to paint to
0733 */
0734 public void paintPopupMenuBackground(SynthContext context,
0735 Graphics g, int x, int y, int w, int h) {
0736 }
0737
0738 /**
0739 * Paints the border of a popup menu.
0740 *
0741 * @param context SynthContext identifying the <code>JComponent</code> and
0742 * <code>Region</code> to paint to
0743 * @param g <code>Graphics</code> to paint to
0744 * @param x X coordinate of the area to paint to
0745 * @param y Y coordinate of the area to paint to
0746 * @param w Width of the area to paint to
0747 * @param h Height of the area to paint to
0748 */
0749 public void paintPopupMenuBorder(SynthContext context, Graphics g,
0750 int x, int y, int w, int h) {
0751 }
0752
0753 /**
0754 * Paints the background of a progress bar.
0755 *
0756 * @param context SynthContext identifying the <code>JComponent</code> and
0757 * <code>Region</code> to paint to
0758 * @param g <code>Graphics</code> to paint to
0759 * @param x X coordinate of the area to paint to
0760 * @param y Y coordinate of the area to paint to
0761 * @param w Width of the area to paint to
0762 * @param h Height of the area to paint to
0763 */
0764 public void paintProgressBarBackground(SynthContext context,
0765 Graphics g, int x, int y, int w, int h) {
0766 }
0767
0768 /**
0769 * Paints the background of a progress bar. This implementation invokes the
0770 * method of the same name without the orientation.
0771 *
0772 * @param context SynthContext identifying the <code>JComponent</code> and
0773 * <code>Region</code> to paint to
0774 * @param g <code>Graphics</code> to paint to
0775 * @param x X coordinate of the area to paint to
0776 * @param y Y coordinate of the area to paint to
0777 * @param w Width of the area to paint to
0778 * @param h Height of the area to paint to
0779 * @param orientation one of <code>JProgressBar.HORIZONTAL</code> or
0780 * <code>JProgressBar.VERTICAL</code>
0781 * @since 1.6
0782 */
0783 public void paintProgressBarBackground(SynthContext context,
0784 Graphics g, int x, int y, int w, int h, int orientation) {
0785 paintProgressBarBackground(context, g, x, y, w, h);
0786 }
0787
0788 /**
0789 * Paints the border of a progress bar.
0790 *
0791 * @param context SynthContext identifying the <code>JComponent</code> and
0792 * <code>Region</code> to paint to
0793 * @param g <code>Graphics</code> to paint to
0794 * @param x X coordinate of the area to paint to
0795 * @param y Y coordinate of the area to paint to
0796 * @param w Width of the area to paint to
0797 * @param h Height of the area to paint to
0798 */
0799 public void paintProgressBarBorder(SynthContext context,
0800 Graphics g, int x, int y, int w, int h) {
0801 }
0802
0803 /**
0804 * Paints the border of a progress bar. This implementation invokes the
0805 * method of the same name without the orientation.
0806 *
0807 * @param context SynthContext identifying the <code>JComponent</code> and
0808 * <code>Region</code> to paint to
0809 * @param g <code>Graphics</code> to paint to
0810 * @param x X coordinate of the area to paint to
0811 * @param y Y coordinate of the area to paint to
0812 * @param w Width of the area to paint to
0813 * @param h Height of the area to paint to
0814 * @param orientation one of <code>JProgressBar.HORIZONTAL</code> or
0815 * <code>JProgressBar.VERTICAL</code>
0816 * @since 1.6
0817 */
0818 public void paintProgressBarBorder(SynthContext context,
0819 Graphics g, int x, int y, int w, int h, int orientation) {
0820 paintProgressBarBorder(context, g, x, y, w, h);
0821 }
0822
0823 /**
0824 * Paints the foreground of a progress bar. is responsible for
0825 * providing an indication of the progress of the progress bar.
0826 *
0827 * @param context SynthContext identifying the <code>JComponent</code> and
0828 * <code>Region</code> to paint to
0829 * @param g <code>Graphics</code> to paint to
0830 * @param x X coordinate of the area to paint to
0831 * @param y Y coordinate of the area to paint to
0832 * @param w Width of the area to paint to
0833 * @param h Height of the area to paint to
0834 * @param orientation one of <code>JProgressBar.HORIZONTAL</code> or
0835 * <code>JProgressBar.VERTICAL</code>
0836 */
0837 public void paintProgressBarForeground(SynthContext context,
0838 Graphics g, int x, int y, int w, int h, int orientation) {
0839 }
0840
0841 /**
0842 * Paints the background of a radio button menu item.
0843 *
0844 * @param context SynthContext identifying the <code>JComponent</code> and
0845 * <code>Region</code> to paint to
0846 * @param g <code>Graphics</code> to paint to
0847 * @param x X coordinate of the area to paint to
0848 * @param y Y coordinate of the area to paint to
0849 * @param w Width of the area to paint to
0850 * @param h Height of the area to paint to
0851 */
0852 public void paintRadioButtonMenuItemBackground(
0853 SynthContext context, Graphics g, int x, int y, int w, int h) {
0854 }
0855
0856 /**
0857 * Paints the border of a radio button menu item.
0858 *
0859 * @param context SynthContext identifying the <code>JComponent</code> and
0860 * <code>Region</code> to paint to
0861 * @param g <code>Graphics</code> to paint to
0862 * @param x X coordinate of the area to paint to
0863 * @param y Y coordinate of the area to paint to
0864 * @param w Width of the area to paint to
0865 * @param h Height of the area to paint to
0866 */
0867 public void paintRadioButtonMenuItemBorder(SynthContext context,
0868 Graphics g, int x, int y, int w, int h) {
0869 }
0870
0871 /**
0872 * Paints the background of a radio button.
0873 *
0874 * @param context SynthContext identifying the <code>JComponent</code> and
0875 * <code>Region</code> to paint to
0876 * @param g <code>Graphics</code> to paint to
0877 * @param x X coordinate of the area to paint to
0878 * @param y Y coordinate of the area to paint to
0879 * @param w Width of the area to paint to
0880 * @param h Height of the area to paint to
0881 */
0882 public void paintRadioButtonBackground(SynthContext context,
0883 Graphics g, int x, int y, int w, int h) {
0884 }
0885
0886 /**
0887 * Paints the border of a radio button.
0888 *
0889 * @param context SynthContext identifying the <code>JComponent</code> and
0890 * <code>Region</code> to paint to
0891 * @param g <code>Graphics</code> to paint to
0892 * @param x X coordinate of the area to paint to
0893 * @param y Y coordinate of the area to paint to
0894 * @param w Width of the area to paint to
0895 * @param h Height of the area to paint to
0896 */
0897 public void paintRadioButtonBorder(SynthContext context,
0898 Graphics g, int x, int y, int w, int h) {
0899 }
0900
0901 /**
0902 * Paints the background of a root pane.
0903 *
0904 * @param context SynthContext identifying the <code>JComponent</code> and
0905 * <code>Region</code> to paint to
0906 * @param g <code>Graphics</code> to paint to
0907 * @param x X coordinate of the area to paint to
0908 * @param y Y coordinate of the area to paint to
0909 * @param w Width of the area to paint to
0910 * @param h Height of the area to paint to
0911 */
0912 public void paintRootPaneBackground(SynthContext context,
0913 Graphics g, int x, int y, int w, int h) {
0914 }
0915
0916 /**
0917 * Paints the border of a root pane.
0918 *
0919 * @param context SynthContext identifying the <code>JComponent</code> and
0920 * <code>Region</code> to paint to
0921 * @param g <code>Graphics</code> to paint to
0922 * @param x X coordinate of the area to paint to
0923 * @param y Y coordinate of the area to paint to
0924 * @param w Width of the area to paint to
0925 * @param h Height of the area to paint to
0926 */
0927 public void paintRootPaneBorder(SynthContext context, Graphics g,
0928 int x, int y, int w, int h) {
0929 }
0930
0931 /**
0932 * Paints the background of a scrollbar.
0933 *
0934 * @param context SynthContext identifying the <code>JComponent</code> and
0935 * <code>Region</code> to paint to
0936 * @param g <code>Graphics</code> to paint to
0937 * @param x X coordinate of the area to paint to
0938 * @param y Y coordinate of the area to paint to
0939 * @param w Width of the area to paint to
0940 * @param h Height of the area to paint to
0941 */
0942 public void paintScrollBarBackground(SynthContext context,
0943 Graphics g, int x, int y, int w, int h) {
0944 }
0945
0946 /**
0947 * Paints the background of a scrollbar. This implementation invokes the
0948 * method of the same name without the orientation.
0949 *
0950 * @param context SynthContext identifying the <code>JComponent</code> and
0951 * <code>Region</code> to paint to
0952 * @param g <code>Graphics</code> to paint to
0953 * @param x X coordinate of the area to paint to
0954 * @param y Y coordinate of the area to paint to
0955 * @param w Width of the area to paint to
0956 * @param h Height of the area to paint to
0957 * @param orientation Orientation of the JScrollBar, one of
0958 * <code>JScrollBar.HORIZONTAL</code> or
0959 * <code>JScrollBar.VERTICAL</code>
0960 * @since 1.6
0961 */
0962 public void paintScrollBarBackground(SynthContext context,
0963 Graphics g, int x, int y, int w, int h, int orientation) {
0964 paintScrollBarBackground(context, g, x, y, w, h);
0965 }
0966
0967 /**
0968 * Paints the border of a scrollbar.
0969 *
0970 * @param context SynthContext identifying the <code>JComponent</code> and
0971 * <code>Region</code> to paint to
0972 * @param g <code>Graphics</code> to paint to
0973 * @param x X coordinate of the area to paint to
0974 * @param y Y coordinate of the area to paint to
0975 * @param w Width of the area to paint to
0976 * @param h Height of the area to paint to
0977 */
0978 public void paintScrollBarBorder(SynthContext context, Graphics g,
0979 int x, int y, int w, int h) {
0980 }
0981
0982 /**
0983 * Paints the border of a scrollbar. This implementation invokes the
0984 * method of the same name without the orientation.
0985 *
0986 * @param context SynthContext identifying the <code>JComponent</code> and
0987 * <code>Region</code> to paint to
0988 * @param g <code>Graphics</code> to paint to
0989 * @param x X coordinate of the area to paint to
0990 * @param y Y coordinate of the area to paint to
0991 * @param w Width of the area to paint to
0992 * @param h Height of the area to paint to
0993 * @param orientation Orientation of the JScrollBar, one of
0994 * <code>JScrollBar.HORIZONTAL</code> or
0995 * <code>JScrollBar.VERTICAL</code>
0996 * @since 1.6
0997 */
0998 public void paintScrollBarBorder(SynthContext context, Graphics g,
0999 int x, int y, int w, int h, int orientation) {
1000 paintScrollBarBorder(context, g, x, y, w, h);
1001 }
1002
1003 /**
1004 * Paints the background of the thumb of a scrollbar. The thumb provides
1005 * a graphical indication as to how much of the Component is visible in a
1006 * <code>JScrollPane</code>.
1007 *
1008 * @param context SynthContext identifying the <code>JComponent</code> and
1009 * <code>Region</code> to paint to
1010 * @param g <code>Graphics</code> to paint to
1011 * @param x X coordinate of the area to paint to
1012 * @param y Y coordinate of the area to paint to
1013 * @param w Width of the area to paint to
1014 * @param h Height of the area to paint to
1015 * @param orientation Orientation of the JScrollBar, one of
1016 * <code>JScrollBar.HORIZONTAL</code> or
1017 * <code>JScrollBar.VERTICAL</code>
1018 */
1019 public void paintScrollBarThumbBackground(SynthContext context,
1020 Graphics g, int x, int y, int w, int h, int orientation) {
1021 }
1022
1023 /**
1024 * Paints the border of the thumb of a scrollbar. The thumb provides
1025 * a graphical indication as to how much of the Component is visible in a
1026 * <code>JScrollPane</code>.
1027 *
1028 * @param context SynthContext identifying the <code>JComponent</code> and
1029 * <code>Region</code> to paint to
1030 * @param g <code>Graphics</code> to paint to
1031 * @param x X coordinate of the area to paint to
1032 * @param y Y coordinate of the area to paint to
1033 * @param w Width of the area to paint to
1034 * @param h Height of the area to paint to
1035 * @param orientation Orientation of the JScrollBar, one of
1036 * <code>JScrollBar.HORIZONTAL</code> or
1037 * <code>JScrollBar.VERTICAL</code>
1038 */
1039 public void paintScrollBarThumbBorder(SynthContext context,
1040 Graphics g, int x, int y, int w, int h, int orientation) {
1041 }
1042
1043 /**
1044 * Paints the background of the track of a scrollbar. The track contains
1045 * the thumb.
1046 *
1047 * @param context SynthContext identifying the <code>JComponent</code> and
1048 * <code>Region</code> to paint to
1049 * @param g <code>Graphics</code> to paint to
1050 * @param x X coordinate of the area to paint to
1051 * @param y Y coordinate of the area to paint to
1052 * @param w Width of the area to paint to
1053 * @param h Height of the area to paint to
1054 */
1055 public void paintScrollBarTrackBackground(SynthContext context,
1056 Graphics g, int x, int y, int w, int h) {
1057 }
1058
1059 /**
1060 * Paints the background of the track of a scrollbar. The track contains
1061 * the thumb. This implementation invokes the method of the same name without
1062 * the orientation.
1063 *
1064 * @param context SynthContext identifying the <code>JComponent</code> and
1065 * <code>Region</code> to paint to
1066 * @param g <code>Graphics</code> to paint to
1067 * @param x X coordinate of the area to paint to
1068 * @param y Y coordinate of the area to paint to
1069 * @param w Width of the area to paint to
1070 * @param h Height of the area to paint to
1071 * @param orientation Orientation of the JScrollBar, one of
1072 * <code>JScrollBar.HORIZONTAL</code> or
1073 * <code>JScrollBar.VERTICAL</code>
1074 * @since 1.6
1075 */
1076 public void paintScrollBarTrackBackground(SynthContext context,
1077 Graphics g, int x, int y, int w, int h, int orientation) {
1078 paintScrollBarTrackBackground(context, g, x, y, w, h);
1079 }
1080
1081 /**
1082 * Paints the border of the track of a scrollbar. The track contains
1083 * the thumb.
1084 *
1085 * @param context SynthContext identifying the <code>JComponent</code> and
1086 * <code>Region</code> to paint to
1087 * @param g <code>Graphics</code> to paint to
1088 * @param x X coordinate of the area to paint to
1089 * @param y Y coordinate of the area to paint to
1090 * @param w Width of the area to paint to
1091 * @param h Height of the area to paint to
1092 */
1093 public void paintScrollBarTrackBorder(SynthContext context,
1094 Graphics g, int x, int y, int w, int h) {
1095 }
1096
1097 /**
1098 * Paints the border of the track of a scrollbar. The track contains
1099 * the thumb. This implementation invokes the method of the same name without
1100 * the orientation.
1101 *
1102 * @param context SynthContext identifying the <code>JComponent</code> and
1103 * <code>Region</code> to paint to
1104 * @param g <code>Graphics</code> to paint to
1105 * @param x X coordinate of the area to paint to
1106 * @param y Y coordinate of the area to paint to
1107 * @param w Width of the area to paint to
1108 * @param h Height of the area to paint to
1109 * @param orientation Orientation of the JScrollBar, one of
1110 * <code>JScrollBar.HORIZONTAL</code> or
1111 * <code>JScrollBar.VERTICAL</code>
1112 * @since 1.6
1113 */
1114 public void paintScrollBarTrackBorder(SynthContext context,
1115 Graphics g, int x, int y, int w, int h, int orientation) {
1116 paintScrollBarTrackBorder(context, g, x, y, w, h);
1117 }
1118
1119 /**
1120 * Paints the background of a scroll pane.
1121 *
1122 * @param context SynthContext identifying the <code>JComponent</code> and
1123 * <code>Region</code> to paint to
1124 * @param g <code>Graphics</code> to paint to
1125 * @param x X coordinate of the area to paint to
1126 * @param y Y coordinate of the area to paint to
1127 * @param w Width of the area to paint to
1128 * @param h Height of the area to paint to
1129 */
1130 public void paintScrollPaneBackground(SynthContext context,
1131 Graphics g, int x, int y, int w, int h) {
1132 }
1133
1134 /**
1135 * Paints the border of a scroll pane.
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 paintScrollPaneBorder(SynthContext context, Graphics g,
1146 int x, int y, int w, int h) {
1147 }
1148
1149 /**
1150 * Paints the background of a separator.
1151 *
1152 * @param context SynthContext identifying the <code>JComponent</code> and
1153 * <code>Region</code> to paint to
1154 * @param g <code>Graphics</code> to paint to
1155 * @param x X coordinate of the area to paint to
1156 * @param y Y coordinate of the area to paint to
1157 * @param w Width of the area to paint to
1158 * @param h Height of the area to paint to
1159 */
1160 public void paintSeparatorBackground(SynthContext context,
1161 Graphics g, int x, int y, int w, int h) {
1162 }
1163
1164 /**
1165 * Paints the background of a separator. This implementation invokes the
1166 * method of the same name without the orientation.
1167 *
1168 * @param context SynthContext identifying the <code>JComponent</code> and
1169 * <code>Region</code> to paint to
1170 * @param g <code>Graphics</code> to paint to
1171 * @param x X coordinate of the area to paint to
1172 * @param y Y coordinate of the area to paint to
1173 * @param w Width of the area to paint to
1174 * @param h Height of the area to paint to
1175 * @param orientation One of <code>JSeparator.HORIZONTAL</code> or
1176 * <code>JSeparator.VERTICAL</code>
1177 * @since 1.6
1178 */
1179 public void paintSeparatorBackground(SynthContext context,
1180 Graphics g, int x, int y, int w, int h, int orientation) {
1181 paintSeparatorBackground(context, g, x, y, w, h);
1182 }
1183
1184 /**
1185 * Paints the border of a separator.
1186 *
1187 * @param context SynthContext identifying the <code>JComponent</code> and
1188 * <code>Region</code> to paint to
1189 * @param g <code>Graphics</code> to paint to
1190 * @param x X coordinate of the area to paint to
1191 * @param y Y coordinate of the area to paint to
1192 * @param w Width of the area to paint to
1193 * @param h Height of the area to paint to
1194 */
1195 public void paintSeparatorBorder(SynthContext context, Graphics g,
1196 int x, int y, int w, int h) {
1197 }
1198
1199 /**
1200 * Paints the border of a separator. This implementation invokes the
1201 * method of the same name without the orientation.
1202 *
1203 * @param context SynthContext identifying the <code>JComponent</code> and
1204 * <code>Region</code> to paint to
1205 * @param g <code>Graphics</code> to paint to
1206 * @param x X coordinate of the area to paint to
1207 * @param y Y coordinate of the area to paint to
1208 * @param w Width of the area to paint to
1209 * @param h Height of the area to paint to
1210 * @param orientation One of <code>JSeparator.HORIZONTAL</code> or
1211 * <code>JSeparator.VERTICAL</code>
1212 * @since 1.6
1213 */
1214 public void paintSeparatorBorder(SynthContext context, Graphics g,
1215 int x, int y, int w, int h, int orientation) {
1216 paintSeparatorBorder(context, g, x, y, w, h);
1217 }
1218
1219 /**
1220 * Paints the foreground of a separator.
1221 *
1222 * @param context SynthContext identifying the <code>JComponent</code> and
1223 * <code>Region</code> to paint to
1224 * @param g <code>Graphics</code> to paint to
1225 * @param x X coordinate of the area to paint to
1226 * @param y Y coordinate of the area to paint to
1227 * @param w Width of the area to paint to
1228 * @param h Height of the area to paint to
1229 * @param orientation One of <code>JSeparator.HORIZONTAL</code> or
1230 * <code>JSeparator.VERTICAL</code>
1231 */
1232 public void paintSeparatorForeground(SynthContext context,
1233 Graphics g, int x, int y, int w, int h, int orientation) {
1234 }
1235
1236 /**
1237 * Paints the background of a slider.
1238 *
1239 * @param context SynthContext identifying the <code>JComponent</code> and
1240 * <code>Region</code> to paint to
1241 * @param g <code>Graphics</code> to paint to
1242 * @param x X coordinate of the area to paint to
1243 * @param y Y coordinate of the area to paint to
1244 * @param w Width of the area to paint to
1245 * @param h Height of the area to paint to
1246 */
1247 public void paintSliderBackground(SynthContext context, Graphics g,
1248 int x, int y, int w, int h) {
1249 }
1250
1251 /**
1252 * Paints the background of a slider. This implementation invokes the
1253 * method of the same name without the orientation.
1254 *
1255 * @param context SynthContext identifying the <code>JComponent</code> and
1256 * <code>Region</code> to paint to
1257 * @param g <code>Graphics</code> to paint to
1258 * @param x X coordinate of the area to paint to
1259 * @param y Y coordinate of the area to paint to
1260 * @param w Width of the area to paint to
1261 * @param h Height of the area to paint to
1262 * @param orientation One of <code>JSlider.HORIZONTAL</code> or
1263 * <code>JSlider.VERTICAL</code>
1264 * @since 1.6
1265 */
1266 public void paintSliderBackground(SynthContext context, Graphics g,
1267 int x, int y, int w, int h, int orientation) {
1268 paintSliderBackground(context, g, x, y, w, h);
1269 }
1270
1271 /**
1272 * Paints the border of a slider.
1273 *
1274 * @param context SynthContext identifying the <code>JComponent</code> and
1275 * <code>Region</code> to paint to
1276 * @param g <code>Graphics</code> to paint to
1277 * @param x X coordinate of the area to paint to
1278 * @param y Y coordinate of the area to paint to
1279 * @param w Width of the area to paint to
1280 * @param h Height of the area to paint to
1281 */
1282 public void paintSliderBorder(SynthContext context, Graphics g,
1283 int x, int y, int w, int h) {
1284 }
1285
1286 /**
1287 * Paints the border of a slider. This implementation invokes the
1288 * method of the same name without the orientation.
1289 *
1290 * @param context SynthContext identifying the <code>JComponent</code> and
1291 * <code>Region</code> to paint to
1292 * @param g <code>Graphics</code> to paint to
1293 * @param x X coordinate of the area to paint to
1294 * @param y Y coordinate of the area to paint to
1295 * @param w Width of the area to paint to
1296 * @param h Height of the area to paint to
1297 * @param orientation One of <code>JSlider.HORIZONTAL</code> or
1298 * <code>JSlider.VERTICAL</code>
1299 * @since 1.6
1300 */
1301 public void paintSliderBorder(SynthContext context, Graphics g,
1302 int x, int y, int w, int h, int orientation) {
1303 paintSliderBorder(context, g, x, y, w, h);
1304 }
1305
1306 /**
1307 * Paints the background of the thumb of a slider.
1308 *
1309 * @param context SynthContext identifying the <code>JComponent</code> and
1310 * <code>Region</code> to paint to
1311 * @param g <code>Graphics</code> to paint to
1312 * @param x X coordinate of the area to paint to
1313 * @param y Y coordinate of the area to paint to
1314 * @param w Width of the area to paint to
1315 * @param h Height of the area to paint to
1316 * @param orientation One of <code>JSlider.HORIZONTAL</code> or
1317 * <code>JSlider.VERTICAL</code>
1318 */
1319 public void paintSliderThumbBackground(SynthContext context,
1320 Graphics g, int x, int y, int w, int h, int orientation) {
1321 }
1322
1323 /**
1324 * Paints the border of the thumb of a slider.
1325 *
1326 * @param context SynthContext identifying the <code>JComponent</code> and
1327 * <code>Region</code> to paint to
1328 * @param g <code>Graphics</code> to paint to
1329 * @param x X coordinate of the area to paint to
1330 * @param y Y coordinate of the area to paint to
1331 * @param w Width of the area to paint to
1332 * @param h Height of the area to paint to
1333 * @param orientation One of <code>JSlider.HORIZONTAL</code> or
1334 * <code>JSlider.VERTICAL</code>
1335 */
1336 public void paintSliderThumbBorder(SynthContext context,
1337 Graphics g, int x, int y, int w, int h, int orientation) {
1338 }
1339
1340 /**
1341 * Paints the background of the track of a slider.
1342 *
1343 * @param context SynthContext identifying the <code>JComponent</code> and
1344 * <code>Region</code> to paint to
1345 * @param g <code>Graphics</code> to paint to
1346 * @param x X coordinate of the area to paint to
1347 * @param y Y coordinate of the area to paint to
1348 * @param w Width of the area to paint to
1349 * @param h Height of the area to paint to
1350 */
1351 public void paintSliderTrackBackground(SynthContext context,
1352 Graphics g, int x, int y, int w, int h) {
1353 }
1354
1355 /**
1356 * Paints the background of the track of a slider. This implementation invokes
1357 * the method of the same name without the orientation.
1358 *
1359 * @param context SynthContext identifying the <code>JComponent</code> and
1360 * <code>Region</code> to paint to
1361 * @param g <code>Graphics</code> to paint to
1362 * @param x X coordinate of the area to paint to
1363 * @param y Y coordinate of the area to paint to
1364 * @param w Width of the area to paint to
1365 * @param h Height of the area to paint to
1366 * @param orientation One of <code>JSlider.HORIZONTAL</code> or
1367 * <code>JSlider.VERTICAL</code>
1368 * @since 1.6
1369 */
1370 public void paintSliderTrackBackground(SynthContext context,
1371 Graphics g, int x, int y, int w, int h, int orientation) {
1372 paintSliderTrackBackground(context, g, x, y, w, h);
1373 }
1374
1375 /**
1376 * Paints the border of the track of a slider.
1377 *
1378 * @param context SynthContext identifying the <code>JComponent</code> and
1379 * <code>Region</code> to paint to
1380 * @param g <code>Graphics</code> to paint to
1381 * @param x X coordinate of the area to paint to
1382 * @param y Y coordinate of the area to paint to
1383 * @param w Width of the area to paint to
1384 * @param h Height of the area to paint to
1385 */
1386 public void paintSliderTrackBorder(SynthContext context,
1387 Graphics g, int x, int y, int w, int h) {
1388 }
1389
1390 /**
1391 * Paints the border of the track of a slider. This implementation invokes the
1392 * method of the same name without the orientation.
1393 *
1394 * @param context SynthContext identifying the <code>JComponent</code> and
1395 * <code>Region</code> to paint to
1396 * @param g <code>Graphics</code> to paint to
1397 * @param x X coordinate of the area to paint to
1398 * @param y Y coordinate of the area to paint to
1399 * @param w Width of the area to paint to
1400 * @param h Height of the area to paint to
1401 * @param orientation One of <code>JSlider.HORIZONTAL</code> or
1402 * <code>JSlider.VERTICAL</code>
1403 * @since 1.6
1404 */
1405 public void paintSliderTrackBorder(SynthContext context,
1406 Graphics g, int x, int y, int w, int h, int orientation) {
1407 paintSliderTrackBorder(context, g, x, y, w, h);
1408 }
1409
1410 /**
1411 * Paints the background of a spinner.
1412 *
1413 * @param context SynthContext identifying the <code>JComponent</code> and
1414 * <code>Region</code> to paint to
1415 * @param g <code>Graphics</code> to paint to
1416 * @param x X coordinate of the area to paint to
1417 * @param y Y coordinate of the area to paint to
1418 * @param w Width of the area to paint to
1419 * @param h Height of the area to paint to
1420 */
1421 public void paintSpinnerBackground(SynthContext context,
1422 Graphics g, int x, int y, int w, int h) {
1423 }
1424
1425 /**
1426 * Paints the border of a spinner.
1427 *
1428 * @param context SynthContext identifying the <code>JComponent</code> and
1429 * <code>Region</code> to paint to
1430 * @param g <code>Graphics</code> to paint to
1431 * @param x X coordinate of the area to paint to
1432 * @param y Y coordinate of the area to paint to
1433 * @param w Width of the area to paint to
1434 * @param h Height of the area to paint to
1435 */
1436 public void paintSpinnerBorder(SynthContext context, Graphics g,
1437 int x, int y, int w, int h) {
1438 }
1439
1440 /**
1441 * Paints the background of the divider of a split pane.
1442 *
1443 * @param context SynthContext identifying the <code>JComponent</code> and
1444 * <code>Region</code> to paint to
1445 * @param g <code>Graphics</code> to paint to
1446 * @param x X coordinate of the area to paint to
1447 * @param y Y coordinate of the area to paint to
1448 * @param w Width of the area to paint to
1449 * @param h Height of the area to paint to
1450 */
1451 public void paintSplitPaneDividerBackground(SynthContext context,
1452 Graphics g, int x, int y, int w, int h) {
1453 }
1454
1455 /**
1456 * Paints the background of the divider of a split pane. This implementation
1457 * invokes the method of the same name without the orientation.
1458 *
1459 * @param context SynthContext identifying the <code>JComponent</code> and
1460 * <code>Region</code> to paint to
1461 * @param g <code>Graphics</code> to paint to
1462 * @param x X coordinate of the area to paint to
1463 * @param y Y coordinate of the area to paint to
1464 * @param w Width of the area to paint to
1465 * @param h Height of the area to paint to
1466 * @param orientation One of <code>JSplitPane.HORIZONTAL_SPLIT</code> or
1467 * <code>JSplitPane.VERTICAL_SPLIT</code>
1468 * @since 1.6
1469 */
1470 public void paintSplitPaneDividerBackground(SynthContext context,
1471 Graphics g, int x, int y, int w, int h, int orientation) {
1472 paintSplitPaneDividerBackground(context, g, x, y, w, h);
1473 }
1474
1475 /**
1476 * Paints the foreground of the divider of a split pane.
1477 *
1478 * @param context SynthContext identifying the <code>JComponent</code> and
1479 * <code>Region</code> to paint to
1480 * @param g <code>Graphics</code> to paint to
1481 * @param x X coordinate of the area to paint to
1482 * @param y Y coordinate of the area to paint to
1483 * @param w Width of the area to paint to
1484 * @param h Height of the area to paint to
1485 * @param orientation One of <code>JSplitPane.HORIZONTAL_SPLIT</code> or
1486 * <code>JSplitPane.VERTICAL_SPLIT</code>
1487 */
1488 public void paintSplitPaneDividerForeground(SynthContext context,
1489 Graphics g, int x, int y, int w, int h, int orientation) {
1490 }
1491
1492 /**
1493 * Paints the divider, when the user is dragging the divider, of a
1494 * split pane.
1495 *
1496 * @param context SynthContext identifying the <code>JComponent</code> and
1497 * <code>Region</code> to paint to
1498 * @param g <code>Graphics</code> to paint to
1499 * @param x X coordinate of the area to paint to
1500 * @param y Y coordinate of the area to paint to
1501 * @param w Width of the area to paint to
1502 * @param h Height of the area to paint to
1503 * @param orientation One of <code>JSplitPane.HORIZONTAL_SPLIT</code> or
1504 * <code>JSplitPane.VERTICAL_SPLIT</code>
1505 */
1506 public void paintSplitPaneDragDivider(SynthContext context,
1507 Graphics g, int x, int y, int w, int h, int orientation) {
1508 }
1509
1510 /**
1511 * Paints the background of a split pane.
1512 *
1513 * @param context SynthContext identifying the <code>JComponent</code> and
1514 * <code>Region</code> to paint to
1515 * @param g <code>Graphics</code> to paint to
1516 * @param x X coordinate of the area to paint to
1517 * @param y Y coordinate of the area to paint to
1518 * @param w Width of the area to paint to
1519 * @param h Height of the area to paint to
1520 */
1521 public void paintSplitPaneBackground(SynthContext context,
1522 Graphics g, int x, int y, int w, int h) {
1523 }
1524
1525 /**
1526 * Paints the border of a split pane.
1527 *
1528 * @param context SynthContext identifying the <code>JComponent</code> and
1529 * <code>Region</code> to paint to
1530 * @param g <code>Graphics</code> to paint to
1531 * @param x X coordinate of the area to paint to
1532 * @param y Y coordinate of the area to paint to
1533 * @param w Width of the area to paint to
1534 * @param h Height of the area to paint to
1535 */
1536 public void paintSplitPaneBorder(SynthContext context, Graphics g,
1537 int x, int y, int w, int h) {
1538 }
1539
1540 /**
1541 * Paints the background of a tabbed pane.
1542 *
1543 * @param context SynthContext identifying the <code>JComponent</code> and
1544 * <code>Region</code> to paint to
1545 * @param g <code>Graphics</code> to paint to
1546 * @param x X coordinate of the area to paint to
1547 * @param y Y coordinate of the area to paint to
1548 * @param w Width of the area to paint to
1549 * @param h Height of the area to paint to
1550 */
1551 public void paintTabbedPaneBackground(SynthContext context,
1552 Graphics g, int x, int y, int w, int h) {
1553 }
1554
1555 /**
1556 * Paints the border of a tabbed pane.
1557 *
1558 * @param context SynthContext identifying the <code>JComponent</code> and
1559 * <code>Region</code> to paint to
1560 * @param g <code>Graphics</code> to paint to
1561 * @param x X coordinate of the area to paint to
1562 * @param y Y coordinate of the area to paint to
1563 * @param w Width of the area to paint to
1564 * @param h Height of the area to paint to
1565 */
1566 public void paintTabbedPaneBorder(SynthContext context, Graphics g,
1567 int x, int y, int w, int h) {
1568 }
1569
1570 /**
1571 * Paints the background of the area behind the tabs of a tabbed pane.
1572 *
1573 * @param context SynthContext identifying the <code>JComponent</code> and
1574 * <code>Region</code> to paint to
1575 * @param g <code>Graphics</code> to paint to
1576 * @param x X coordinate of the area to paint to
1577 * @param y Y coordinate of the area to paint to
1578 * @param w Width of the area to paint to
1579 * @param h Height of the area to paint to
1580 */
1581 public void paintTabbedPaneTabAreaBackground(SynthContext context,
1582 Graphics g, int x, int y, int w, int h) {
1583 }
1584
1585 /**
1586 * Paints the background of the area behind the tabs of a tabbed pane.
1587 * This implementation invokes the method of the same name without the
1588 * orientation.
1589 *
1590 * @param context SynthContext identifying the <code>JComponent</code> and
1591 * <code>Region</code> to paint to
1592 * @param g <code>Graphics</code> to paint to
1593 * @param x X coordinate of the area to paint to
1594 * @param y Y coordinate of the area to paint to
1595 * @param w Width of the area to paint to
1596 * @param h Height of the area to paint to
1597 * @param orientation One of <code>JTabbedPane.TOP</code>,
1598 * <code>JTabbedPane.LEFT</code>,
1599 * <code>JTabbedPane.BOTTOM</code>, or
1600 * <code>JTabbedPane.RIGHT</code>
1601 * @since 1.6
1602 */
1603 public void paintTabbedPaneTabAreaBackground(SynthContext context,
1604 Graphics g, int x, int y, int w, int h, int orientation) {
1605 paintTabbedPaneTabAreaBackground(context, g, x, y, w, h);
1606 }
1607
1608 /**
1609 * Paints the border of the area behind the tabs of a tabbed pane.
1610 *
1611 * @param context SynthContext identifying the <code>JComponent</code> and
1612 * <code>Region</code> to paint to
1613 * @param g <code>Graphics</code> to paint to
1614 * @param x X coordinate of the area to paint to
1615 * @param y Y coordinate of the area to paint to
1616 * @param w Width of the area to paint to
1617 * @param h Height of the area to paint to
1618 */
1619 public void paintTabbedPaneTabAreaBorder(SynthContext context,
1620 Graphics g, int x, int y, int w, int h) {
1621 }
1622
1623 /**
1624 * Paints the border of the area behind the tabs of a tabbed pane. This
1625 * implementation invokes the method of the same name without the orientation.
1626 *
1627 * @param context SynthContext identifying the <code>JComponent</code> and
1628 * <code>Region</code> to paint to
1629 * @param g <code>Graphics</code> to paint to
1630 * @param x X coordinate of the area to paint to
1631 * @param y Y coordinate of the area to paint to
1632 * @param w Width of the area to paint to
1633 * @param h Height of the area to paint to
1634 * @param orientation One of <code>JTabbedPane.TOP</code>,
1635 * <code>JTabbedPane.LEFT</code>,
1636 * <code>JTabbedPane.BOTTOM</code>, or
1637 * <code>JTabbedPane.RIGHT</code>
1638 * @since 1.6
1639 */
1640 public void paintTabbedPaneTabAreaBorder(SynthContext context,
1641 Graphics g, int x, int y, int w, int h, int orientation) {
1642 paintTabbedPaneTabAreaBorder(context, g, x, y, w, h);
1643 }
1644
1645 /**
1646 * Paints the background of a tab of a tabbed pane.
1647 *
1648 * @param context SynthContext identifying the <code>JComponent</code> and
1649 * <code>Region</code> to paint to
1650 * @param g <code>Graphics</code> to paint to
1651 * @param x X coordinate of the area to paint to
1652 * @param y Y coordinate of the area to paint to
1653 * @param w Width of the area to paint to
1654 * @param h Height of the area to paint to
1655 * @param tabIndex Index of tab being painted.
1656 */
1657 public void paintTabbedPaneTabBackground(SynthContext context,
1658 Graphics g, int x, int y, int w, int h, int tabIndex) {
1659 }
1660
1661 /**
1662 * Paints the background of a tab of a tabbed pane. This implementation
1663 * invokes the method of the same name without the orientation.
1664 *
1665 * @param context SynthContext identifying the <code>JComponent</code> and
1666 * <code>Region</code> to paint to
1667 * @param g <code>Graphics</code> to paint to
1668 * @param x X coordinate of the area to paint to
1669 * @param y Y coordinate of the area to paint to
1670 * @param w Width of the area to paint to
1671 * @param h Height of the area to paint to
1672 * @param tabIndex Index of tab being painted.
1673 * @param orientation One of <code>JTabbedPane.TOP</code>,
1674 * <code>JTabbedPane.LEFT</code>,
1675 * <code>JTabbedPane.BOTTOM</code>, or
1676 * <code>JTabbedPane.RIGHT</code>
1677 * @since 1.6
1678 */
1679 public void paintTabbedPaneTabBackground(SynthContext context,
1680 Graphics g, int x, int y, int w, int h, int tabIndex,
1681 int orientation) {
1682 paintTabbedPaneTabBackground(context, g, x, y, w, h, tabIndex);
1683 }
1684
1685 /**
1686 * Paints the border of a tab of a tabbed pane.
1687 *
1688 * @param context SynthContext identifying the <code>JComponent</code> and
1689 * <code>Region</code> to paint to
1690 * @param g <code>Graphics</code> to paint to
1691 * @param x X coordinate of the area to paint to
1692 * @param y Y coordinate of the area to paint to
1693 * @param w Width of the area to paint to
1694 * @param h Height of the area to paint to
1695 * @param tabIndex Index of tab being painted.
1696 */
1697 public void paintTabbedPaneTabBorder(SynthContext context,
1698 Graphics g, int x, int y, int w, int h, int tabIndex) {
1699 }
1700
1701 /**
1702 * Paints the border of a tab of a tabbed pane. This implementation invokes
1703 * the method of the same name without the orientation.
1704 *
1705 * @param context SynthContext identifying the <code>JComponent</code> and
1706 * <code>Region</code> to paint to
1707 * @param g <code>Graphics</code> to paint to
1708 * @param x X coordinate of the area to paint to
1709 * @param y Y coordinate of the area to paint to
1710 * @param w Width of the area to paint to
1711 * @param h Height of the area to paint to
1712 * @param tabIndex Index of tab being painted.
1713 * @param orientation One of <code>JTabbedPane.TOP</code>,
1714 * <code>JTabbedPane.LEFT</code>,
1715 * <code>JTabbedPane.BOTTOM</code>, or
1716 * <code>JTabbedPane.RIGHT</code>
1717 * @since 1.6
1718 */
1719 public void paintTabbedPaneTabBorder(SynthContext context,
1720 Graphics g, int x, int y, int w, int h, int tabIndex,
1721 int orientation) {
1722 paintTabbedPaneTabBorder(context, g, x, y, w, h, tabIndex);
1723 }
1724
1725 /**
1726 * Paints the background of the area that contains the content of the
1727 * selected tab of a tabbed pane.
1728 *
1729 * @param context SynthContext identifying the <code>JComponent</code> and
1730 * <code>Region</code> to paint to
1731 * @param g <code>Graphics</code> to paint to
1732 * @param x X coordinate of the area to paint to
1733 * @param y Y coordinate of the area to paint to
1734 * @param w Width of the area to paint to
1735 * @param h Height of the area to paint to
1736 */
1737 public void paintTabbedPaneContentBackground(SynthContext context,
1738 Graphics g, int x, int y, int w, int h) {
1739 }
1740
1741 /**
1742 * Paints the border of the area that contains the content of the
1743 * selected tab of a tabbed pane.
1744 *
1745 * @param context SynthContext identifying the <code>JComponent</code> and
1746 * <code>Region</code> to paint to
1747 * @param g <code>Graphics</code> to paint to
1748 * @param x X coordinate of the area to paint to
1749 * @param y Y coordinate of the area to paint to
1750 * @param w Width of the area to paint to
1751 * @param h Height of the area to paint to
1752 */
1753 public void paintTabbedPaneContentBorder(SynthContext context,
1754 Graphics g, int x, int y, int w, int h) {
1755 }
1756
1757 /**
1758 * Paints the background of the header of a table.
1759 *
1760 * @param context SynthContext identifying the <code>JComponent</code> and
1761 * <code>Region</code> to paint to
1762 * @param g <code>Graphics</code> to paint to
1763 * @param x X coordinate of the area to paint to
1764 * @param y Y coordinate of the area to paint to
1765 * @param w Width of the area to paint to
1766 * @param h Height of the area to paint to
1767 */
1768 public void paintTableHeaderBackground(SynthContext context,
1769 Graphics g, int x, int y, int w, int h) {
1770 }
1771
1772 /**
1773 * Paints the border of the header of a table.
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 paintTableHeaderBorder(SynthContext context,
1784 Graphics g, int x, int y, int w, int h) {
1785 }
1786
1787 /**
1788 * Paints the background of a table.
1789 *
1790 * @param context SynthContext identifying the <code>JComponent</code> and
1791 * <code>Region</code> to paint to
1792 * @param g <code>Graphics</code> to paint to
1793 * @param x X coordinate of the area to paint to
1794 * @param y Y coordinate of the area to paint to
1795 * @param w Width of the area to paint to
1796 * @param h Height of the area to paint to
1797 */
1798 public void paintTableBackground(SynthContext context, Graphics g,
1799 int x, int y, int w, int h) {
1800 }
1801
1802 /**
1803 * Paints the border of a table.
1804 *
1805 * @param context SynthContext identifying the <code>JComponent</code> and
1806 * <code>Region</code> to paint to
1807 * @param g <code>Graphics</code> to paint to
1808 * @param x X coordinate of the area to paint to
1809 * @param y Y coordinate of the area to paint to
1810 * @param w Width of the area to paint to
1811 * @param h Height of the area to paint to
1812 */
1813 public void paintTableBorder(SynthContext context, Graphics g,
1814 int x, int y, int w, int h) {
1815 }
1816
1817 /**
1818 * Paints the background of a text area.
1819 *
1820 * @param context SynthContext identifying the <code>JComponent</code> and
1821 * <code>Region</code> to paint to
1822 * @param g <code>Graphics</code> to paint to
1823 * @param x X coordinate of the area to paint to
1824 * @param y Y coordinate of the area to paint to
1825 * @param w Width of the area to paint to
1826 * @param h Height of the area to paint to
1827 */
1828 public void paintTextAreaBackground(SynthContext context,
1829 Graphics g, int x, int y, int w, int h) {
1830 }
1831
1832 /**
1833 * Paints the border of a text area.
1834 *
1835 * @param context SynthContext identifying the <code>JComponent</code> and
1836 * <code>Region</code> to paint to
1837 * @param g <code>Graphics</code> to paint to
1838 * @param x X coordinate of the area to paint to
1839 * @param y Y coordinate of the area to paint to
1840 * @param w Width of the area to paint to
1841 * @param h Height of the area to paint to
1842 */
1843 public void paintTextAreaBorder(SynthContext context, Graphics g,
1844 int x, int y, int w, int h) {
1845 }
1846
1847 /**
1848 * Paints the background of a text pane.
1849 *
1850 * @param context SynthContext identifying the <code>JComponent</code> and
1851 * <code>Region</code> to paint to
1852 * @param g <code>Graphics</code> to paint to
1853 * @param x X coordinate of the area to paint to
1854 * @param y Y coordinate of the area to paint to
1855 * @param w Width of the area to paint to
1856 * @param h Height of the area to paint to
1857 */
1858 public void paintTextPaneBackground(SynthContext context,
1859 Graphics g, int x, int y, int w, int h) {
1860 }
1861
1862 /**
1863 * Paints the border of a text pane.
1864 *
1865 * @param context SynthContext identifying the <code>JComponent</code> and
1866 * <code>Region</code> to paint to
1867 * @param g <code>Graphics</code> to paint to
1868 * @param x X coordinate of the area to paint to
1869 * @param y Y coordinate of the area to paint to
1870 * @param w Width of the area to paint to
1871 * @param h Height of the area to paint to
1872 */
1873 public void paintTextPaneBorder(SynthContext context, Graphics g,
1874 int x, int y, int w, int h) {
1875 }
1876
1877 /**
1878 * Paints the background of a text field.
1879 *
1880 * @param context SynthContext identifying the <code>JComponent</code> and
1881 * <code>Region</code> to paint to
1882 * @param g <code>Graphics</code> to paint to
1883 * @param x X coordinate of the area to paint to
1884 * @param y Y coordinate of the area to paint to
1885 * @param w Width of the area to paint to
1886 * @param h Height of the area to paint to
1887 */
1888 public void paintTextFieldBackground(SynthContext context,
1889 Graphics g, int x, int y, int w, int h) {
1890 }
1891
1892 /**
1893 * Paints the border of a text field.
1894 *
1895 * @param context SynthContext identifying the <code>JComponent</code> and
1896 * <code>Region</code> to paint to
1897 * @param g <code>Graphics</code> to paint to
1898 * @param x X coordinate of the area to paint to
1899 * @param y Y coordinate of the area to paint to
1900 * @param w Width of the area to paint to
1901 * @param h Height of the area to paint to
1902 */
1903 public void paintTextFieldBorder(SynthContext context, Graphics g,
1904 int x, int y, int w, int h) {
1905 }
1906
1907 /**
1908 * Paints the background of a toggle button.
1909 *
1910 * @param context SynthContext identifying the <code>JComponent</code> and
1911 * <code>Region</code> to paint to
1912 * @param g <code>Graphics</code> to paint to
1913 * @param x X coordinate of the area to paint to
1914 * @param y Y coordinate of the area to paint to
1915 * @param w Width of the area to paint to
1916 * @param h Height of the area to paint to
1917 */
1918 public void paintToggleButtonBackground(SynthContext context,
1919 Graphics g, int x, int y, int w, int h) {
1920 }
1921
1922 /**
1923 * Paints the border of a toggle button.
1924 *
1925 * @param context SynthContext identifying the <code>JComponent</code> and
1926 * <code>Region</code> to paint to
1927 * @param g <code>Graphics</code> to paint to
1928 * @param x X coordinate of the area to paint to
1929 * @param y Y coordinate of the area to paint to
1930 * @param w Width of the area to paint to
1931 * @param h Height of the area to paint to
1932 */
1933 public void paintToggleButtonBorder(SynthContext context,
1934 Graphics g, int x, int y, int w, int h) {
1935 }
1936
1937 /**
1938 * Paints the background of a tool bar.
1939 *
1940 * @param context SynthContext identifying the <code>JComponent</code> and
1941 * <code>Region</code> to paint to
1942 * @param g <code>Graphics</code> to paint to
1943 * @param x X coordinate of the area to paint to
1944 * @param y Y coordinate of the area to paint to
1945 * @param w Width of the area to paint to
1946 * @param h Height of the area to paint to
1947 */
1948 public void paintToolBarBackground(SynthContext context,
1949 Graphics g, int x, int y, int w, int h) {
1950 }
1951
1952 /**
1953 * Paints the background of a tool bar. This implementation invokes the
1954 * method of the same name without the orientation.
1955 *
1956 * @param context SynthContext identifying the <code>JComponent</code> and
1957 * <code>Region</code> to paint to
1958 * @param g <code>Graphics</code> to paint to
1959 * @param x X coordinate of the area to paint to
1960 * @param y Y coordinate of the area to paint to
1961 * @param w Width of the area to paint to
1962 * @param h Height of the area to paint to
1963 * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
1964 * <code>JToolBar.VERTICAL</code>
1965 * @since 1.6
1966 */
1967 public void paintToolBarBackground(SynthContext context,
1968 Graphics g, int x, int y, int w, int h, int orientation) {
1969 paintToolBarBackground(context, g, x, y, w, h);
1970 }
1971
1972 /**
1973 * Paints the border of a tool bar.
1974 *
1975 * @param context SynthContext identifying the <code>JComponent</code> and
1976 * <code>Region</code> to paint to
1977 * @param g <code>Graphics</code> to paint to
1978 * @param x X coordinate of the area to paint to
1979 * @param y Y coordinate of the area to paint to
1980 * @param w Width of the area to paint to
1981 * @param h Height of the area to paint to
1982 */
1983 public void paintToolBarBorder(SynthContext context, Graphics g,
1984 int x, int y, int w, int h) {
1985 }
1986
1987 /**
1988 * Paints the border of a tool bar. This implementation invokes the
1989 * method of the same name without the orientation.
1990 *
1991 * @param context SynthContext identifying the <code>JComponent</code> and
1992 * <code>Region</code> to paint to
1993 * @param g <code>Graphics</code> to paint to
1994 * @param x X coordinate of the area to paint to
1995 * @param y Y coordinate of the area to paint to
1996 * @param w Width of the area to paint to
1997 * @param h Height of the area to paint to
1998 * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
1999 * <code>JToolBar.VERTICAL</code>
2000 * @since 1.6
2001 */
2002 public void paintToolBarBorder(SynthContext context, Graphics g,
2003 int x, int y, int w, int h, int orientation) {
2004 paintToolBarBorder(context, g, x, y, w, h);
2005 }
2006
2007 /**
2008 * Paints the background of the tool bar's content area.
2009 *
2010 * @param context SynthContext identifying the <code>JComponent</code> and
2011 * <code>Region</code> to paint to
2012 * @param g <code>Graphics</code> to paint to
2013 * @param x X coordinate of the area to paint to
2014 * @param y Y coordinate of the area to paint to
2015 * @param w Width of the area to paint to
2016 * @param h Height of the area to paint to
2017 */
2018 public void paintToolBarContentBackground(SynthContext context,
2019 Graphics g, int x, int y, int w, int h) {
2020 }
2021
2022 /**
2023 * Paints the background of the tool bar's content area. This implementation
2024 * invokes the method of the same name without the orientation.
2025 *
2026 * @param context SynthContext identifying the <code>JComponent</code> and
2027 * <code>Region</code> to paint to
2028 * @param g <code>Graphics</code> to paint to
2029 * @param x X coordinate of the area to paint to
2030 * @param y Y coordinate of the area to paint to
2031 * @param w Width of the area to paint to
2032 * @param h Height of the area to paint to
2033 * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
2034 * <code>JToolBar.VERTICAL</code>
2035 * @since 1.6
2036 */
2037 public void paintToolBarContentBackground(SynthContext context,
2038 Graphics g, int x, int y, int w, int h, int orientation) {
2039 paintToolBarContentBackground(context, g, x, y, w, h);
2040 }
2041
2042 /**
2043 * Paints the border of the content area of a tool bar.
2044 *
2045 * @param context SynthContext identifying the <code>JComponent</code> and
2046 * <code>Region</code> to paint to
2047 * @param g <code>Graphics</code> to paint to
2048 * @param x X coordinate of the area to paint to
2049 * @param y Y coordinate of the area to paint to
2050 * @param w Width of the area to paint to
2051 * @param h Height of the area to paint to
2052 */
2053 public void paintToolBarContentBorder(SynthContext context,
2054 Graphics g, int x, int y, int w, int h) {
2055 }
2056
2057 /**
2058 * Paints the border of the content area of a tool bar. This implementation
2059 * invokes the method of the same name without the orientation.
2060 *
2061 * @param context SynthContext identifying the <code>JComponent</code> and
2062 * <code>Region</code> to paint to
2063 * @param g <code>Graphics</code> to paint to
2064 * @param x X coordinate of the area to paint to
2065 * @param y Y coordinate of the area to paint to
2066 * @param w Width of the area to paint to
2067 * @param h Height of the area to paint to
2068 * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
2069 * <code>JToolBar.VERTICAL</code>
2070 * @since 1.6
2071 */
2072 public void paintToolBarContentBorder(SynthContext context,
2073 Graphics g, int x, int y, int w, int h, int orientation) {
2074 paintToolBarContentBorder(context, g, x, y, w, h);
2075 }
2076
2077 /**
2078 * Paints the background of the window containing the tool bar when it
2079 * has been detached from its primary frame.
2080 *
2081 * @param context SynthContext identifying the <code>JComponent</code> and
2082 * <code>Region</code> to paint to
2083 * @param g <code>Graphics</code> to paint to
2084 * @param x X coordinate of the area to paint to
2085 * @param y Y coordinate of the area to paint to
2086 * @param w Width of the area to paint to
2087 * @param h Height of the area to paint to
2088 */
2089 public void paintToolBarDragWindowBackground(SynthContext context,
2090 Graphics g, int x, int y, int w, int h) {
2091 }
2092
2093 /**
2094 * Paints the background of the window containing the tool bar when it
2095 * has been detached from its primary frame. This implementation invokes the
2096 * method of the same name without the orientation.
2097 *
2098 * @param context SynthContext identifying the <code>JComponent</code> and
2099 * <code>Region</code> to paint to
2100 * @param g <code>Graphics</code> to paint to
2101 * @param x X coordinate of the area to paint to
2102 * @param y Y coordinate of the area to paint to
2103 * @param w Width of the area to paint to
2104 * @param h Height of the area to paint to
2105 * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
2106 * <code>JToolBar.VERTICAL</code>
2107 * @since 1.6
2108 */
2109 public void paintToolBarDragWindowBackground(SynthContext context,
2110 Graphics g, int x, int y, int w, int h, int orientation) {
2111 paintToolBarDragWindowBackground(context, g, x, y, w, h);
2112 }
2113
2114 /**
2115 * Paints the border of the window containing the tool bar when it
2116 * has been detached from it's primary frame.
2117 *
2118 * @param context SynthContext identifying the <code>JComponent</code> and
2119 * <code>Region</code> to paint to
2120 * @param g <code>Graphics</code> to paint to
2121 * @param x X coordinate of the area to paint to
2122 * @param y Y coordinate of the area to paint to
2123 * @param w Width of the area to paint to
2124 * @param h Height of the area to paint to
2125 */
2126 public void paintToolBarDragWindowBorder(SynthContext context,
2127 Graphics g, int x, int y, int w, int h) {
2128 }
2129
2130 /**
2131 * Paints the border of the window containing the tool bar when it
2132 * has been detached from it's primary frame. This implementation invokes the
2133 * method of the same name without the orientation.
2134 *
2135 * @param context SynthContext identifying the <code>JComponent</code> and
2136 * <code>Region</code> to paint to
2137 * @param g <code>Graphics</code> to paint to
2138 * @param x X coordinate of the area to paint to
2139 * @param y Y coordinate of the area to paint to
2140 * @param w Width of the area to paint to
2141 * @param h Height of the area to paint to
2142 * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
2143 * <code>JToolBar.VERTICAL</code>
2144 * @since 1.6
2145 */
2146 public void paintToolBarDragWindowBorder(SynthContext context,
2147 Graphics g, int x, int y, int w, int h, int orientation) {
2148 paintToolBarDragWindowBorder(context, g, x, y, w, h);
2149 }
2150
2151 /**
2152 * Paints the background of a tool tip.
2153 *
2154 * @param context SynthContext identifying the <code>JComponent</code> and
2155 * <code>Region</code> to paint to
2156 * @param g <code>Graphics</code> to paint to
2157 * @param x X coordinate of the area to paint to
2158 * @param y Y coordinate of the area to paint to
2159 * @param w Width of the area to paint to
2160 * @param h Height of the area to paint to
2161 */
2162 public void paintToolTipBackground(SynthContext context,
2163 Graphics g, int x, int y, int w, int h) {
2164 }
2165
2166 /**
2167 * Paints the border of a tool tip.
2168 *
2169 * @param context SynthContext identifying the <code>JComponent</code> and
2170 * <code>Region</code> to paint to
2171 * @param g <code>Graphics</code> to paint to
2172 * @param x X coordinate of the area to paint to
2173 * @param y Y coordinate of the area to paint to
2174 * @param w Width of the area to paint to
2175 * @param h Height of the area to paint to
2176 */
2177 public void paintToolTipBorder(SynthContext context, Graphics g,
2178 int x, int y, int w, int h) {
2179 }
2180
2181 /**
2182 * Paints the background of a tree.
2183 *
2184 * @param context SynthContext identifying the <code>JComponent</code> and
2185 * <code>Region</code> to paint to
2186 * @param g <code>Graphics</code> to paint to
2187 * @param x X coordinate of the area to paint to
2188 * @param y Y coordinate of the area to paint to
2189 * @param w Width of the area to paint to
2190 * @param h Height of the area to paint to
2191 */
2192 public void paintTreeBackground(SynthContext context, Graphics g,
2193 int x, int y, int w, int h) {
2194 }
2195
2196 /**
2197 * Paints the border of a tree.
2198 *
2199 * @param context SynthContext identifying the <code>JComponent</code> and
2200 * <code>Region</code> to paint to
2201 * @param g <code>Graphics</code> to paint to
2202 * @param x X coordinate of the area to paint to
2203 * @param y Y coordinate of the area to paint to
2204 * @param w Width of the area to paint to
2205 * @param h Height of the area to paint to
2206 */
2207 public void paintTreeBorder(SynthContext context, Graphics g,
2208 int x, int y, int w, int h) {
2209 }
2210
2211 /**
2212 * Paints the background of the row containing a cell in a tree.
2213 *
2214 * @param context SynthContext identifying the <code>JComponent</code> and
2215 * <code>Region</code> to paint to
2216 * @param g <code>Graphics</code> to paint to
2217 * @param x X coordinate of the area to paint to
2218 * @param y Y coordinate of the area to paint to
2219 * @param w Width of the area to paint to
2220 * @param h Height of the area to paint to
2221 */
2222 public void paintTreeCellBackground(SynthContext context,
2223 Graphics g, int x, int y, int w, int h) {
2224 }
2225
2226 /**
2227 * Paints the border of the row containing a cell in a tree.
2228 *
2229 * @param context SynthContext identifying the <code>JComponent</code> and
2230 * <code>Region</code> to paint to
2231 * @param g <code>Graphics</code> to paint to
2232 * @param x X coordinate of the area to paint to
2233 * @param y Y coordinate of the area to paint to
2234 * @param w Width of the area to paint to
2235 * @param h Height of the area to paint to
2236 */
2237 public void paintTreeCellBorder(SynthContext context, Graphics g,
2238 int x, int y, int w, int h) {
2239 }
2240
2241 /**
2242 * Paints the focus indicator for a cell in a tree when it has focus.
2243 *
2244 * @param context SynthContext identifying the <code>JComponent</code> and
2245 * <code>Region</code> to paint to
2246 * @param g <code>Graphics</code> to paint to
2247 * @param x X coordinate of the area to paint to
2248 * @param y Y coordinate of the area to paint to
2249 * @param w Width of the area to paint to
2250 * @param h Height of the area to paint to
2251 */
2252 public void paintTreeCellFocus(SynthContext context, Graphics g,
2253 int x, int y, int w, int h) {
2254 }
2255
2256 /**
2257 * Paints the background of the viewport.
2258 *
2259 * @param context SynthContext identifying the <code>JComponent</code> and
2260 * <code>Region</code> to paint to
2261 * @param g <code>Graphics</code> to paint to
2262 * @param x X coordinate of the area to paint to
2263 * @param y Y coordinate of the area to paint to
2264 * @param w Width of the area to paint to
2265 * @param h Height of the area to paint to
2266 */
2267 public void paintViewportBackground(SynthContext context,
2268 Graphics g, int x, int y, int w, int h) {
2269 }
2270
2271 /**
2272 * Paints the border of a viewport.
2273 *
2274 * @param context SynthContext identifying the <code>JComponent</code> and
2275 * <code>Region</code> to paint to
2276 * @param g <code>Graphics</code> to paint to
2277 * @param x X coordinate of the area to paint to
2278 * @param y Y coordinate of the area to paint to
2279 * @param w Width of the area to paint to
2280 * @param h Height of the area to paint to
2281 */
2282 public void paintViewportBorder(SynthContext context, Graphics g,
2283 int x, int y, int w, int h) {
2284 }
2285 }
|