FileDocCategorySizeDatePackage
SynthPainter.javaAPI DocJava SE 5 API75765Fri Aug 26 14:58:12 BST 2005javax.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 {@link javax.swing.plaf.synth.SynthStyle#getPainter} 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.

version
1.10, 12/19/03
since
1.5
author
Scott Violet

Fields Summary
static SynthPainter
NULL_PAINTER
Used to avoid null painter checks everywhere.
Constructors Summary
Methods Summary
public voidpaintArrowButtonBackground(javax.swing.plaf.synth.SynthContext context, java.awt.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.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to



                                                                                        
       
                                                
                                               
    
public voidpaintArrowButtonBorder(javax.swing.plaf.synth.SynthContext context, java.awt.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.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintArrowButtonForeground(javax.swing.plaf.synth.SynthContext context, java.awt.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

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to
param
direction One of SwingConstants.NORTH, SwingConstants.SOUTH SwingConstants.EAST or SwingConstants.WEST

    
public voidpaintButtonBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a button.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintButtonBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a button.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintCheckBoxBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a check box.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintCheckBoxBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a check box.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintCheckBoxMenuItemBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a check box menu item.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintCheckBoxMenuItemBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a check box menu item.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintColorChooserBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a color chooser.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintColorChooserBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a color chooser.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintComboBoxBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a combo box.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintComboBoxBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a combo box.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintDesktopIconBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a desktop icon.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintDesktopIconBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a desktop icon.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintDesktopPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a desktop pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintDesktopPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a desktop pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintEditorPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of an editor pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintEditorPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of an editor pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintFileChooserBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a file chooser.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintFileChooserBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a file chooser.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintFormattedTextFieldBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a formatted text field.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintFormattedTextFieldBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a formatted text field.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintInternalFrameBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of an internal frame.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintInternalFrameBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of an internal frame.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintInternalFrameTitlePaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of an internal frame title pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintInternalFrameTitlePaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of an internal frame title pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintLabelBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a label.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintLabelBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a label.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintListBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a list.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintListBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a list.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintMenuBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a menu.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintMenuBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a menu bar.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintMenuBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a menu bar.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintMenuBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a menu.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintMenuItemBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a menu item.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintMenuItemBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a menu item.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintOptionPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of an option pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintOptionPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of an option pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintPanelBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a panel.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintPanelBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a panel.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintPasswordFieldBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a password field.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintPasswordFieldBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a password field.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintPopupMenuBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a popup menu.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintPopupMenuBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a popup menu.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintProgressBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a progress bar.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintProgressBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a progress bar.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintProgressBarForeground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)
Paints the foreground of a progress bar. This is responsible for providing an indication of the progress of the progress bar.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to
param
orientation one of JProgressBar.HORIZONTAL or JProgressBar.VERTICAL

    
public voidpaintRadioButtonBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a radio button.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintRadioButtonBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a radio button.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintRadioButtonMenuItemBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a radio button menu item.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintRadioButtonMenuItemBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a radio button menu item.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintRootPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a root pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintRootPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a root pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintScrollBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a scrollbar.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintScrollBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a scrollbar.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintScrollBarThumbBackground(javax.swing.plaf.synth.SynthContext context, java.awt.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.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to
param
orientation Orientation of the JScrollBar, one of JScrollBar.HORIZONTAL or JScrollBar.VERTICAL

    
public voidpaintScrollBarThumbBorder(javax.swing.plaf.synth.SynthContext context, java.awt.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.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to
param
orientation Orientation of the JScrollBar, one of JScrollBar.HORIZONTAL or JScrollBar.VERTICAL

    
public voidpaintScrollBarTrackBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of the track of a scrollbar. The track contains the thumb.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintScrollBarTrackBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of the track of a scrollbar. The track contains the thumb.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintScrollPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a scroll pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintScrollPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a scroll pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintSeparatorBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a separator.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintSeparatorBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a separator.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintSeparatorForeground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)
Paints the foreground of a separator.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to
param
orientation One of JSeparator.HORIZONTAL or JSeparator.VERTICAL

    
public voidpaintSliderBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a slider.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintSliderBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a slider.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintSliderThumbBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)
Paints the background of the thumb of a slider.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to
param
orientation One of JSlider.HORIZONTAL or JSlider.VERTICAL

    
public voidpaintSliderThumbBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)
Paints the border of the thumb of a slider.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to
param
orientation One of JSlider.HORIZONTAL or JSlider.VERTICAL

    
public voidpaintSliderTrackBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of the track of a slider.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintSliderTrackBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of the track of a slider.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintSpinnerBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a spinner.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintSpinnerBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a spinner.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintSplitPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a split pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintSplitPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a split pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintSplitPaneDividerBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of the divider of a split pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintSplitPaneDividerForeground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)
Paints the foreground of the divider of a split pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to
param
orientation One of JSplitPane.HORIZONTAL_SPLIT or JSplitPane.VERTICAL_SPLIT

    
public voidpaintSplitPaneDragDivider(javax.swing.plaf.synth.SynthContext context, java.awt.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.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to
param
orientation One of JSplitPane.HORIZONTAL_SPLIT or JSplitPane.VERTICAL_SPLIT

    
public voidpaintTabbedPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a tabbed pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTabbedPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a tabbed pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTabbedPaneContentBackground(javax.swing.plaf.synth.SynthContext context, java.awt.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.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTabbedPaneContentBorder(javax.swing.plaf.synth.SynthContext context, java.awt.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.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTabbedPaneTabAreaBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of the area behind the tabs of a tabbed pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTabbedPaneTabAreaBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of the area behind the tabs of a tabbed pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTabbedPaneTabBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int tabIndex)
Paints the background of a tab of a tabbed pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to
param
tabIndex Index of tab being painted.

    
public voidpaintTabbedPaneTabBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int tabIndex)
Paints the border of a tab of a tabbed pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to
param
tabIndex Index of tab being painted.

    
public voidpaintTableBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a table.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTableBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a table.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTableHeaderBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of the header of a table.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTableHeaderBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of the header of a table.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTextAreaBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a text area.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTextAreaBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a text area.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTextFieldBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a text field.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTextFieldBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a text field.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTextPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a text pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTextPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a text pane.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintToggleButtonBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a toggle button.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintToggleButtonBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a toggle button.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintToolBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a tool bar.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintToolBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a tool bar.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintToolBarContentBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of the tool bar's content area.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintToolBarContentBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of the content area of a tool bar.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintToolBarDragWindowBackground(javax.swing.plaf.synth.SynthContext context, java.awt.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.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintToolBarDragWindowBorder(javax.swing.plaf.synth.SynthContext context, java.awt.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.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintToolTipBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a tool tip.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintToolTipBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a tool tip.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTreeBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of a tree.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTreeBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a tree.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTreeCellBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of the row containing a cell in a tree.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTreeCellBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of the row containing a cell in a tree.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintTreeCellFocus(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the focus indicator for a cell in a tree when it has focus.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintViewportBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the background of the viewport.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to

    
public voidpaintViewportBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
Paints the border of a viewport.

param
context SynthContext identifying the JComponent and Region to paint to
param
g Graphics to paint to
param
x X coordinate of the area to paint to
param
y Y coordinate of the area to paint to
param
w Width of the area to paint to
param
h Height of the area to paint to