Class SynthPainter

java.lang.Object
javax.swing.plaf.synth.SynthPainter

public abstract class SynthPainter extends Object
SynthPainter is used for painting portions of JComponents. At a minimum each JComponent has two paint methods: one for the border and one for the background. Some JComponents have more than one Region, and as a consequence more paint methods.

Instances of SynthPainter are obtained from the SynthStyle.getPainter(javax.swing.plaf.synth.SynthContext) method.

You typically supply a SynthPainter by way of Synth's file format. The following example registers a painter for all JButtons that will render the image myImage.png:

  <style id="buttonStyle">
    <imagePainter path="myImage.png" sourceInsets="2 2 2 2"
                  paintCenter="true" stretch="true"/>
    <insets top="2" bottom="2" left="2" right="2"/>
  </style>
  <bind style="buttonStyle" type="REGION" key="button"/>

SynthPainter is abstract in so far as it does no painting, all the methods are empty. While none of these methods are typed to throw an exception, subclasses can assume that valid arguments are passed in, and if not they can throw a NullPointerException or IllegalArgumentException in response to invalid arguments.

Since:
1.5
  • Constructor Details Link icon

    • SynthPainter Link icon

      protected SynthPainter()
      Constructor for subclasses to call.
  • Method Details Link icon

    • paintArrowButtonBackground Link icon

      public void paintArrowButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of an arrow button. Arrow buttons are created by some components, such as JScrollBar.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintArrowButtonBorder Link icon

      public void paintArrowButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of an arrow button. Arrow buttons are created by some components, such as JScrollBar.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintArrowButtonForeground Link icon

      public void paintArrowButtonForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int direction)
      Paints the foreground of an arrow button. This method is responsible for drawing a graphical representation of a direction, typically an arrow. Arrow buttons are created by some components, such as JScrollBar
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      direction - One of SwingConstants.NORTH, SwingConstants.SOUTH SwingConstants.EAST or SwingConstants.WEST
    • paintButtonBackground Link icon

      public void paintButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a button.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintButtonBorder Link icon

      public void paintButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a button.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintCheckBoxMenuItemBackground Link icon

      public void paintCheckBoxMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a check box menu item.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintCheckBoxMenuItemBorder Link icon

      public void paintCheckBoxMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a check box menu item.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintCheckBoxBackground Link icon

      public void paintCheckBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a check box.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintCheckBoxBorder Link icon

      public void paintCheckBoxBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a check box.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintColorChooserBackground Link icon

      public void paintColorChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a color chooser.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintColorChooserBorder Link icon

      public void paintColorChooserBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a color chooser.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintComboBoxBackground Link icon

      public void paintComboBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a combo box.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintComboBoxBorder Link icon

      public void paintComboBoxBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a combo box.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintDesktopIconBackground Link icon

      public void paintDesktopIconBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a desktop icon.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintDesktopIconBorder Link icon

      public void paintDesktopIconBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a desktop icon.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintDesktopPaneBackground Link icon

      public void paintDesktopPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a desktop pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintDesktopPaneBorder Link icon

      public void paintDesktopPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a desktop pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintEditorPaneBackground Link icon

      public void paintEditorPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of an editor pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintEditorPaneBorder Link icon

      public void paintEditorPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of an editor pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintFileChooserBackground Link icon

      public void paintFileChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a file chooser.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintFileChooserBorder Link icon

      public void paintFileChooserBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a file chooser.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintFormattedTextFieldBackground Link icon

      public void paintFormattedTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a formatted text field.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintFormattedTextFieldBorder Link icon

      public void paintFormattedTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a formatted text field.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintInternalFrameTitlePaneBackground Link icon

      public void paintInternalFrameTitlePaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of an internal frame title pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintInternalFrameTitlePaneBorder Link icon

      public void paintInternalFrameTitlePaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of an internal frame title pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintInternalFrameBackground Link icon

      public void paintInternalFrameBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of an internal frame.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintInternalFrameBorder Link icon

      public void paintInternalFrameBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of an internal frame.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintLabelBackground Link icon

      public void paintLabelBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a label.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintLabelBorder Link icon

      public void paintLabelBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a label.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintListBackground Link icon

      public void paintListBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a list.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintListBorder Link icon

      public void paintListBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a list.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintMenuBarBackground Link icon

      public void paintMenuBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a menu bar.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintMenuBarBorder Link icon

      public void paintMenuBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a menu bar.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintMenuItemBackground Link icon

      public void paintMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a menu item.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintMenuItemBorder Link icon

      public void paintMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a menu item.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintMenuBackground Link icon

      public void paintMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a menu.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintMenuBorder Link icon

      public void paintMenuBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a menu.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintOptionPaneBackground Link icon

      public void paintOptionPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of an option pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintOptionPaneBorder Link icon

      public void paintOptionPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of an option pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintPanelBackground Link icon

      public void paintPanelBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a panel.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintPanelBorder Link icon

      public void paintPanelBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a panel.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintPasswordFieldBackground Link icon

      public void paintPasswordFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a password field.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintPasswordFieldBorder Link icon

      public void paintPasswordFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a password field.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintPopupMenuBackground Link icon

      public void paintPopupMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a popup menu.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintPopupMenuBorder Link icon

      public void paintPopupMenuBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a popup menu.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintProgressBarBackground Link icon

      public void paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a progress bar.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintProgressBarBackground Link icon

      public void paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the background of a progress bar. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - one of JProgressBar.HORIZONTAL or JProgressBar.VERTICAL
      Since:
      1.6
    • paintProgressBarBorder Link icon

      public void paintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a progress bar.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintProgressBarBorder Link icon

      public void paintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the border of a progress bar. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - one of JProgressBar.HORIZONTAL or JProgressBar.VERTICAL
      Since:
      1.6
    • paintProgressBarForeground Link icon

      public void paintProgressBarForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the foreground of a progress bar. is responsible for providing an indication of the progress of the progress bar.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - one of JProgressBar.HORIZONTAL or JProgressBar.VERTICAL
    • paintRadioButtonMenuItemBackground Link icon

      public void paintRadioButtonMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a radio button menu item.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintRadioButtonMenuItemBorder Link icon

      public void paintRadioButtonMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a radio button menu item.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintRadioButtonBackground Link icon

      public void paintRadioButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a radio button.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintRadioButtonBorder Link icon

      public void paintRadioButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a radio button.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintRootPaneBackground Link icon

      public void paintRootPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a root pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintRootPaneBorder Link icon

      public void paintRootPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a root pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintScrollBarBackground Link icon

      public void paintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a scrollbar.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintScrollBarBackground Link icon

      public void paintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the background of a scrollbar. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - Orientation of the JScrollBar, one of JScrollBar.HORIZONTAL or JScrollBar.VERTICAL
      Since:
      1.6
    • paintScrollBarBorder Link icon

      public void paintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a scrollbar.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintScrollBarBorder Link icon

      public void paintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the border of a scrollbar. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - Orientation of the JScrollBar, one of JScrollBar.HORIZONTAL or JScrollBar.VERTICAL
      Since:
      1.6
    • paintScrollBarThumbBackground Link icon

      public void paintScrollBarThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the background of the thumb of a scrollbar. The thumb provides a graphical indication as to how much of the Component is visible in a JScrollPane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - Orientation of the JScrollBar, one of JScrollBar.HORIZONTAL or JScrollBar.VERTICAL
    • paintScrollBarThumbBorder Link icon

      public void paintScrollBarThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the border of the thumb of a scrollbar. The thumb provides a graphical indication as to how much of the Component is visible in a JScrollPane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - Orientation of the JScrollBar, one of JScrollBar.HORIZONTAL or JScrollBar.VERTICAL
    • paintScrollBarTrackBackground Link icon

      public void paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of the track of a scrollbar. The track contains the thumb.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintScrollBarTrackBackground Link icon

      public void paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the background of the track of a scrollbar. The track contains the thumb. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - Orientation of the JScrollBar, one of JScrollBar.HORIZONTAL or JScrollBar.VERTICAL
      Since:
      1.6
    • paintScrollBarTrackBorder Link icon

      public void paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of the track of a scrollbar. The track contains the thumb.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintScrollBarTrackBorder Link icon

      public void paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the border of the track of a scrollbar. The track contains the thumb. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - Orientation of the JScrollBar, one of JScrollBar.HORIZONTAL or JScrollBar.VERTICAL
      Since:
      1.6
    • paintScrollPaneBackground Link icon

      public void paintScrollPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a scroll pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintScrollPaneBorder Link icon

      public void paintScrollPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a scroll pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintSeparatorBackground Link icon

      public void paintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a separator.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintSeparatorBackground Link icon

      public void paintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the background of a separator. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JSeparator.HORIZONTAL or JSeparator.VERTICAL
      Since:
      1.6
    • paintSeparatorBorder Link icon

      public void paintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a separator.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintSeparatorBorder Link icon

      public void paintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the border of a separator. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JSeparator.HORIZONTAL or JSeparator.VERTICAL
      Since:
      1.6
    • paintSeparatorForeground Link icon

      public void paintSeparatorForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the foreground of a separator.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JSeparator.HORIZONTAL or JSeparator.VERTICAL
    • paintSliderBackground Link icon

      public void paintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a slider.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintSliderBackground Link icon

      public void paintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the background of a slider. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JSlider.HORIZONTAL or JSlider.VERTICAL
      Since:
      1.6
    • paintSliderBorder Link icon

      public void paintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a slider.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintSliderBorder Link icon

      public void paintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the border of a slider. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JSlider.HORIZONTAL or JSlider.VERTICAL
      Since:
      1.6
    • paintSliderThumbBackground Link icon

      public void paintSliderThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the background of the thumb of a slider.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JSlider.HORIZONTAL or JSlider.VERTICAL
    • paintSliderThumbBorder Link icon

      public void paintSliderThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the border of the thumb of a slider.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JSlider.HORIZONTAL or JSlider.VERTICAL
    • paintSliderTrackBackground Link icon

      public void paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of the track of a slider.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintSliderTrackBackground Link icon

      public void paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the background of the track of a slider. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JSlider.HORIZONTAL or JSlider.VERTICAL
      Since:
      1.6
    • paintSliderTrackBorder Link icon

      public void paintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of the track of a slider.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintSliderTrackBorder Link icon

      public void paintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the border of the track of a slider. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JSlider.HORIZONTAL or JSlider.VERTICAL
      Since:
      1.6
    • paintSpinnerBackground Link icon

      public void paintSpinnerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a spinner.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintSpinnerBorder Link icon

      public void paintSpinnerBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a spinner.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintSplitPaneDividerBackground Link icon

      public void paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of the divider of a split pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintSplitPaneDividerBackground Link icon

      public void paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the background of the divider of a split pane. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JSplitPane.HORIZONTAL_SPLIT or JSplitPane.VERTICAL_SPLIT
      Since:
      1.6
    • paintSplitPaneDividerForeground Link icon

      public void paintSplitPaneDividerForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the foreground of the divider of a split pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JSplitPane.HORIZONTAL_SPLIT or JSplitPane.VERTICAL_SPLIT
    • paintSplitPaneDragDivider Link icon

      public void paintSplitPaneDragDivider(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the divider, when the user is dragging the divider, of a split pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JSplitPane.HORIZONTAL_SPLIT or JSplitPane.VERTICAL_SPLIT
    • paintSplitPaneBackground Link icon

      public void paintSplitPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a split pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintSplitPaneBorder Link icon

      public void paintSplitPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a split pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTabbedPaneBackground Link icon

      public void paintTabbedPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a tabbed pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTabbedPaneBorder Link icon

      public void paintTabbedPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a tabbed pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTabbedPaneTabAreaBackground Link icon

      public void paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of the area behind the tabs of a tabbed pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTabbedPaneTabAreaBackground Link icon

      public void paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the background of the area behind the tabs of a tabbed pane. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JTabbedPane.TOP, JTabbedPane.LEFT, JTabbedPane.BOTTOM, or JTabbedPane.RIGHT
      Since:
      1.6
    • paintTabbedPaneTabAreaBorder Link icon

      public void paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of the area behind the tabs of a tabbed pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTabbedPaneTabAreaBorder Link icon

      public void paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the border of the area behind the tabs of a tabbed pane. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JTabbedPane.TOP, JTabbedPane.LEFT, JTabbedPane.BOTTOM, or JTabbedPane.RIGHT
      Since:
      1.6
    • paintTabbedPaneTabBackground Link icon

      public void paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)
      Paints the background of a tab of a tabbed pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      tabIndex - Index of tab being painted.
    • paintTabbedPaneTabBackground Link icon

      public void paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation)
      Paints the background of a tab of a tabbed pane. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      tabIndex - Index of tab being painted.
      orientation - One of JTabbedPane.TOP, JTabbedPane.LEFT, JTabbedPane.BOTTOM, or JTabbedPane.RIGHT
      Since:
      1.6
    • paintTabbedPaneTabBorder Link icon

      public void paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)
      Paints the border of a tab of a tabbed pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      tabIndex - Index of tab being painted.
    • paintTabbedPaneTabBorder Link icon

      public void paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation)
      Paints the border of a tab of a tabbed pane. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      tabIndex - Index of tab being painted.
      orientation - One of JTabbedPane.TOP, JTabbedPane.LEFT, JTabbedPane.BOTTOM, or JTabbedPane.RIGHT
      Since:
      1.6
    • paintTabbedPaneContentBackground Link icon

      public void paintTabbedPaneContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of the area that contains the content of the selected tab of a tabbed pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTabbedPaneContentBorder Link icon

      public void paintTabbedPaneContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of the area that contains the content of the selected tab of a tabbed pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTableHeaderBackground Link icon

      public void paintTableHeaderBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of the header of a table.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTableHeaderBorder Link icon

      public void paintTableHeaderBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of the header of a table.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTableBackground Link icon

      public void paintTableBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a table.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTableBorder Link icon

      public void paintTableBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a table.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTextAreaBackground Link icon

      public void paintTextAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a text area.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTextAreaBorder Link icon

      public void paintTextAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a text area.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTextPaneBackground Link icon

      public void paintTextPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a text pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTextPaneBorder Link icon

      public void paintTextPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a text pane.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTextFieldBackground Link icon

      public void paintTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a text field.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTextFieldBorder Link icon

      public void paintTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a text field.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintToggleButtonBackground Link icon

      public void paintToggleButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a toggle button.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintToggleButtonBorder Link icon

      public void paintToggleButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a toggle button.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintToolBarBackground Link icon

      public void paintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a tool bar.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintToolBarBackground Link icon

      public void paintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the background of a tool bar. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JToolBar.HORIZONTAL or JToolBar.VERTICAL
      Since:
      1.6
    • paintToolBarBorder Link icon

      public void paintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a tool bar.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintToolBarBorder Link icon

      public void paintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the border of a tool bar. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JToolBar.HORIZONTAL or JToolBar.VERTICAL
      Since:
      1.6
    • paintToolBarContentBackground Link icon

      public void paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of the tool bar's content area.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintToolBarContentBackground Link icon

      public void paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the background of the tool bar's content area. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JToolBar.HORIZONTAL or JToolBar.VERTICAL
      Since:
      1.6
    • paintToolBarContentBorder Link icon

      public void paintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of the content area of a tool bar.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintToolBarContentBorder Link icon

      public void paintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the border of the content area of a tool bar. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JToolBar.HORIZONTAL or JToolBar.VERTICAL
      Since:
      1.6
    • paintToolBarDragWindowBackground Link icon

      public void paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of the window containing the tool bar when it has been detached from its primary frame.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintToolBarDragWindowBackground Link icon

      public void paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the background of the window containing the tool bar when it has been detached from its primary frame. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JToolBar.HORIZONTAL or JToolBar.VERTICAL
      Since:
      1.6
    • paintToolBarDragWindowBorder Link icon

      public void paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of the window containing the tool bar when it has been detached from it's primary frame.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintToolBarDragWindowBorder Link icon

      public void paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
      Paints the border of the window containing the tool bar when it has been detached from it's primary frame. This implementation invokes the method of the same name without the orientation.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
      orientation - One of JToolBar.HORIZONTAL or JToolBar.VERTICAL
      Since:
      1.6
    • paintToolTipBackground Link icon

      public void paintToolTipBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a tool tip.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintToolTipBorder Link icon

      public void paintToolTipBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a tool tip.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTreeBackground Link icon

      public void paintTreeBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of a tree.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTreeBorder Link icon

      public void paintTreeBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a tree.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTreeCellBackground Link icon

      public void paintTreeCellBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of the row containing a cell in a tree.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTreeCellBorder Link icon

      public void paintTreeCellBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of the row containing a cell in a tree.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintTreeCellFocus Link icon

      public void paintTreeCellFocus(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the focus indicator for a cell in a tree when it has focus.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintViewportBackground Link icon

      public void paintViewportBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the background of the viewport.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to
    • paintViewportBorder Link icon

      public void paintViewportBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
      Paints the border of a viewport.
      Parameters:
      context - SynthContext identifying the JComponent and Region to paint to
      g - Graphics to paint to
      x - X coordinate of the area to paint to
      y - Y coordinate of the area to paint to
      w - Width of the area to paint to
      h - Height of the area to paint to