javax.swing.plaf.synth

Class SynthPainter


public abstract class SynthPainter
extends Object

The abstract definition of a delegate that takes the responsibility of painting for the components. This class is defined to be abstract and all methods are no-ops.
Since:
1.5

Constructor Summary

SynthPainter()
Creates a new SynthPainter object.

Method Summary

void
paintArrowButtonBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of an arrow button.
void
paintArrowButtonBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of an arrow button.
void
paintArrowButtonForeground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir)
Paints the foreground of an arrow button.
void
paintButtonBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a button.
void
paintButtonBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a button.
void
paintCheckBoxBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a check box.
void
paintCheckBoxBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a check box.
void
paintCheckBoxMenuItemBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a check box menu item.
void
paintCheckBoxMenuItemBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a check box menu item.
void
paintColorChooserBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a color chooser.
void
paintColorChooserBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a color chooser.
void
paintComboBoxBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a combo box.
void
paintComboBoxBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a combo box.
void
paintDesktopIconBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a desktop icon.
void
paintDesktopIconBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a desktop icon.
void
paintDesktopPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a desktop pane.
void
paintDesktopPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a desktop pane.
void
paintEditorPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of an editor pane.
void
paintEditorPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of an editor pane.
void
paintFileChooserBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a file chooser.
void
paintFileChooserBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a file chooser.
void
paintFormattedTextFieldBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a formatted text field.
void
paintFormattedTextFieldBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a formatted text field.
void
paintInternalFrameBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of an internal frame.
void
paintInternalFrameBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of an internal frame.
void
paintInternalFrameTitlePaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of an internal frame's title pane.
void
paintInternalFrameTitlePaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of an internal frame's title pane.
void
paintLabelBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a label.
void
paintLabelBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a label.
void
paintListBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a list.
void
paintListBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a list.
void
paintMenuBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a menu.
void
paintMenuBarBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a menu bar.
void
paintMenuBarBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a menu bar.
void
paintMenuBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a menu.
void
paintMenuItemBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a menu item.
void
paintMenuItemBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a menu item.
void
paintOptionPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of an option pane.
void
paintOptionPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of an option pane.
void
paintPanelBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a panel.
void
paintPanelBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a panel.
void
paintPasswordFieldBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a password field.
void
paintPasswordFieldBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a password field.
void
paintPopupMenuBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a popup menu.
void
paintPopupMenuBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a popup menu.
void
paintProgressBarBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a progress bar.
void
paintProgressBarBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a progress bar.
void
paintProgressBarForeground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir)
Paints the foreground of a progress bar.
void
paintRadioButtonBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a radio button.
void
paintRadioButtonBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a radio button.
void
paintRadioButtonMenuItemBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a radio button menu item.
void
paintRadioButtonMenuItemBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a radio button menu item.
void
paintRootPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a root pane.
void
paintRootPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a root pane.
void
paintScrollBarBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a scrollbar.
void
paintScrollBarBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a scrollbar.
void
paintScrollBarThumbBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int orientation)
Paints the background of a scrollbar's thumb.
void
paintScrollBarThumbBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h, int orientation)
Paints the border of a scrollbar's thumb.
void
paintScrollBarTrackBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a scrollbar's track.
void
paintScrollBarTrackBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a scrollbar's track.
void
paintScrollPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a scroll pane.
void
paintScrollPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a scroll pane.
void
paintSeparatorBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a separator.
void
paintSeparatorBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a separator.
void
paintSeparatorForeground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir)
Paints the foreground of a separator.
void
paintSliderBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a slider.
void
paintSliderBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a slider.
void
paintSliderThumbBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int orientation)
Paints the background of a slider's thumb.
void
paintSliderThumbBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h, int orientation)
Paints the border of a slider's thumb.
void
paintSliderTrackBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a slider's track.
void
paintSliderTrackBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a slider's track.
void
paintSpinnerBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a spinner.
void
paintSpinnerBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a spinner.
void
paintSplitPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a split pane.
void
paintSplitPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a split pane.
void
paintSplitPaneDividerBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a split pane's divider.
void
paintSplitPaneDividerForeground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir)
Paints the foreground of a split pane's divider.
void
paintSplitPaneDragDivider(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir)
Paints a split pane's divider, when it is being dragged.
void
paintTabbedPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a tabbed pane.
void
paintTabbedPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a tabbed pane.
void
paintTabbedPaneContentBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of the contents of a tabbed pane.
void
paintTabbedPaneContentBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of the contents of a tabbed pane.
void
paintTabbedPaneTabAreaBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of the tab area of a tabbed pane.
void
paintTabbedPaneTabAreaBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of the tab area of a tabbed pane.
void
paintTabbedPaneTabBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int index)
Paints the background of a tab of a tabbed pane.
void
paintTabbedPaneTabBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h, int index)
Paints the border of a tab of a tabbed pane.
void
paintTableBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a table.
void
paintTableBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a table.
void
paintTableHeaderBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a table's header.
void
paintTableHeaderBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a table's header.
void
paintTextAreaBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a text area.
void
paintTextAreaBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a text area.
void
paintTextFieldBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a text field.
void
paintTextFieldBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a text field.
void
paintTextPaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a text pane.
void
paintTextPaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a text pane.
void
paintToggleButtonBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a toggle button.
void
paintToggleButtonBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a toggle button.
void
paintToolBarBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a toolbar.
void
paintToolBarBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a toolbar.
void
paintToolBarContentBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of the contents of a toolbar.
void
paintToolBarContentBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of the contents of a toolbar.
void
paintToolBarDragWindowBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of the window of a detached toolbar.
void
paintToolBarDragWindowBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of the window of a detached toolbar.
void
paintToolTipBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a tool tip.
void
paintToolTipBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a tool tip.
void
paintTreeBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a tree.
void
paintTreeBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a tree.
void
paintTreeCellBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a cell in a tree.
void
paintTreeCellBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a cell in a tree.
void
paintTreeCellFocus(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the indicator for a tree cell which has the focus.
void
paintViewportBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the background of a viewport.
void
paintViewportBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h)
Paints the border of a viewport.

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

SynthPainter

public SynthPainter()
Creates a new SynthPainter object.

Method Details

paintArrowButtonBackground

public void paintArrowButtonBackground(SynthContext ctx,
                                       Graphics g,
                                       int x,
                                       int y,
                                       int w,
                                       int h)
Paints the background of an arrow button.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintArrowButtonBorder

public void paintArrowButtonBorder(SynthContext ctx,
                                   Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h)
Paints the border of an arrow button.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintArrowButtonForeground

public void paintArrowButtonForeground(SynthContext ctx,
                                       Graphics g,
                                       int x,
                                       int y,
                                       int w,
                                       int h,
                                       int dir)
Paints the foreground of an arrow button.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint
dir - the orientation of the arrow

paintButtonBackground

public void paintButtonBackground(SynthContext ctx,
                                  Graphics g,
                                  int x,
                                  int y,
                                  int w,
                                  int h)
Paints the background of a button.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintButtonBorder

public void paintButtonBorder(SynthContext ctx,
                              Graphics g,
                              int x,
                              int y,
                              int w,
                              int h)
Paints the border of a button.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintCheckBoxBackground

public void paintCheckBoxBackground(SynthContext ctx,
                                    Graphics g,
                                    int x,
                                    int y,
                                    int w,
                                    int h)
Paints the background of a check box.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintCheckBoxBorder

public void paintCheckBoxBorder(SynthContext ctx,
                                Graphics g,
                                int x,
                                int y,
                                int w,
                                int h)
Paints the border of a check box.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintCheckBoxMenuItemBackground

public void paintCheckBoxMenuItemBackground(SynthContext ctx,
                                            Graphics g,
                                            int x,
                                            int y,
                                            int w,
                                            int h)
Paints the background of a check box menu item.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintCheckBoxMenuItemBorder

public void paintCheckBoxMenuItemBorder(SynthContext ctx,
                                        Graphics g,
                                        int x,
                                        int y,
                                        int w,
                                        int h)
Paints the border of a check box menu item.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintColorChooserBackground

public void paintColorChooserBackground(SynthContext ctx,
                                        Graphics g,
                                        int x,
                                        int y,
                                        int w,
                                        int h)
Paints the background of a color chooser.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintColorChooserBorder

public void paintColorChooserBorder(SynthContext ctx,
                                    Graphics g,
                                    int x,
                                    int y,
                                    int w,
                                    int h)
Paints the border of a color chooser.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintComboBoxBackground

public void paintComboBoxBackground(SynthContext ctx,
                                    Graphics g,
                                    int x,
                                    int y,
                                    int w,
                                    int h)
Paints the background of a combo box.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintComboBoxBorder

public void paintComboBoxBorder(SynthContext ctx,
                                Graphics g,
                                int x,
                                int y,
                                int w,
                                int h)
Paints the border of a combo box.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintDesktopIconBackground

public void paintDesktopIconBackground(SynthContext ctx,
                                       Graphics g,
                                       int x,
                                       int y,
                                       int w,
                                       int h)
Paints the background of a desktop icon.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintDesktopIconBorder

public void paintDesktopIconBorder(SynthContext ctx,
                                   Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h)
Paints the border of a desktop icon.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintDesktopPaneBackground

public void paintDesktopPaneBackground(SynthContext ctx,
                                       Graphics g,
                                       int x,
                                       int y,
                                       int w,
                                       int h)
Paints the background of a desktop pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintDesktopPaneBorder

public void paintDesktopPaneBorder(SynthContext ctx,
                                   Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h)
Paints the border of a desktop pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintEditorPaneBackground

public void paintEditorPaneBackground(SynthContext ctx,
                                      Graphics g,
                                      int x,
                                      int y,
                                      int w,
                                      int h)
Paints the background of an editor pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintEditorPaneBorder

public void paintEditorPaneBorder(SynthContext ctx,
                                  Graphics g,
                                  int x,
                                  int y,
                                  int w,
                                  int h)
Paints the border of an editor pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintFileChooserBackground

public void paintFileChooserBackground(SynthContext ctx,
                                       Graphics g,
                                       int x,
                                       int y,
                                       int w,
                                       int h)
Paints the background of a file chooser.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintFileChooserBorder

public void paintFileChooserBorder(SynthContext ctx,
                                   Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h)
Paints the border of a file chooser.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintFormattedTextFieldBackground

public void paintFormattedTextFieldBackground(SynthContext ctx,
                                              Graphics g,
                                              int x,
                                              int y,
                                              int w,
                                              int h)
Paints the background of a formatted text field.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintFormattedTextFieldBorder

public void paintFormattedTextFieldBorder(SynthContext ctx,
                                          Graphics g,
                                          int x,
                                          int y,
                                          int w,
                                          int h)
Paints the border of a formatted text field.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintInternalFrameBackground

public void paintInternalFrameBackground(SynthContext ctx,
                                         Graphics g,
                                         int x,
                                         int y,
                                         int w,
                                         int h)
Paints the background of an internal frame.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintInternalFrameBorder

public void paintInternalFrameBorder(SynthContext ctx,
                                     Graphics g,
                                     int x,
                                     int y,
                                     int w,
                                     int h)
Paints the border of an internal frame.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintInternalFrameTitlePaneBackground

public void paintInternalFrameTitlePaneBackground(SynthContext ctx,
                                                  Graphics g,
                                                  int x,
                                                  int y,
                                                  int w,
                                                  int h)
Paints the background of an internal frame's title pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintInternalFrameTitlePaneBorder

public void paintInternalFrameTitlePaneBorder(SynthContext ctx,
                                              Graphics g,
                                              int x,
                                              int y,
                                              int w,
                                              int h)
Paints the border of an internal frame's title pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintLabelBackground

public void paintLabelBackground(SynthContext ctx,
                                 Graphics g,
                                 int x,
                                 int y,
                                 int w,
                                 int h)
Paints the background of a label.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintLabelBorder

public void paintLabelBorder(SynthContext ctx,
                             Graphics g,
                             int x,
                             int y,
                             int w,
                             int h)
Paints the border of a label.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintListBackground

public void paintListBackground(SynthContext ctx,
                                Graphics g,
                                int x,
                                int y,
                                int w,
                                int h)
Paints the background of a list.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintListBorder

public void paintListBorder(SynthContext ctx,
                            Graphics g,
                            int x,
                            int y,
                            int w,
                            int h)
Paints the border of a list.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintMenuBackground

public void paintMenuBackground(SynthContext ctx,
                                Graphics g,
                                int x,
                                int y,
                                int w,
                                int h)
Paints the background of a menu.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintMenuBarBackground

public void paintMenuBarBackground(SynthContext ctx,
                                   Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h)
Paints the background of a menu bar.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintMenuBarBorder

public void paintMenuBarBorder(SynthContext ctx,
                               Graphics g,
                               int x,
                               int y,
                               int w,
                               int h)
Paints the border of a menu bar.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintMenuBorder

public void paintMenuBorder(SynthContext ctx,
                            Graphics g,
                            int x,
                            int y,
                            int w,
                            int h)
Paints the border of a menu.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintMenuItemBackground

public void paintMenuItemBackground(SynthContext ctx,
                                    Graphics g,
                                    int x,
                                    int y,
                                    int w,
                                    int h)
Paints the background of a menu item.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintMenuItemBorder

public void paintMenuItemBorder(SynthContext ctx,
                                Graphics g,
                                int x,
                                int y,
                                int w,
                                int h)
Paints the border of a menu item.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintOptionPaneBackground

public void paintOptionPaneBackground(SynthContext ctx,
                                      Graphics g,
                                      int x,
                                      int y,
                                      int w,
                                      int h)
Paints the background of an option pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintOptionPaneBorder

public void paintOptionPaneBorder(SynthContext ctx,
                                  Graphics g,
                                  int x,
                                  int y,
                                  int w,
                                  int h)
Paints the border of an option pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintPanelBackground

public void paintPanelBackground(SynthContext ctx,
                                 Graphics g,
                                 int x,
                                 int y,
                                 int w,
                                 int h)
Paints the background of a panel.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintPanelBorder

public void paintPanelBorder(SynthContext ctx,
                             Graphics g,
                             int x,
                             int y,
                             int w,
                             int h)
Paints the border of a panel.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintPasswordFieldBackground

public void paintPasswordFieldBackground(SynthContext ctx,
                                         Graphics g,
                                         int x,
                                         int y,
                                         int w,
                                         int h)
Paints the background of a password field.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintPasswordFieldBorder

public void paintPasswordFieldBorder(SynthContext ctx,
                                     Graphics g,
                                     int x,
                                     int y,
                                     int w,
                                     int h)
Paints the border of a password field.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintPopupMenuBackground

public void paintPopupMenuBackground(SynthContext ctx,
                                     Graphics g,
                                     int x,
                                     int y,
                                     int w,
                                     int h)
Paints the background of a popup menu.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintPopupMenuBorder

public void paintPopupMenuBorder(SynthContext ctx,
                                 Graphics g,
                                 int x,
                                 int y,
                                 int w,
                                 int h)
Paints the border of a popup menu.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintProgressBarBackground

public void paintProgressBarBackground(SynthContext ctx,
                                       Graphics g,
                                       int x,
                                       int y,
                                       int w,
                                       int h)
Paints the background of a progress bar.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintProgressBarBorder

public void paintProgressBarBorder(SynthContext ctx,
                                   Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h)
Paints the border of a progress bar.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintProgressBarForeground

public void paintProgressBarForeground(SynthContext ctx,
                                       Graphics g,
                                       int x,
                                       int y,
                                       int w,
                                       int h,
                                       int dir)
Paints the foreground of a progress bar.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint
dir - the orientation of the progress bar

paintRadioButtonBackground

public void paintRadioButtonBackground(SynthContext ctx,
                                       Graphics g,
                                       int x,
                                       int y,
                                       int w,
                                       int h)
Paints the background of a radio button.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintRadioButtonBorder

public void paintRadioButtonBorder(SynthContext ctx,
                                   Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h)
Paints the border of a radio button.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintRadioButtonMenuItemBackground

public void paintRadioButtonMenuItemBackground(SynthContext ctx,
                                               Graphics g,
                                               int x,
                                               int y,
                                               int w,
                                               int h)
Paints the background of a radio button menu item.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintRadioButtonMenuItemBorder

public void paintRadioButtonMenuItemBorder(SynthContext ctx,
                                           Graphics g,
                                           int x,
                                           int y,
                                           int w,
                                           int h)
Paints the border of a radio button menu item.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintRootPaneBackground

public void paintRootPaneBackground(SynthContext ctx,
                                    Graphics g,
                                    int x,
                                    int y,
                                    int w,
                                    int h)
Paints the background of a root pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintRootPaneBorder

public void paintRootPaneBorder(SynthContext ctx,
                                Graphics g,
                                int x,
                                int y,
                                int w,
                                int h)
Paints the border of a root pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintScrollBarBackground

public void paintScrollBarBackground(SynthContext ctx,
                                     Graphics g,
                                     int x,
                                     int y,
                                     int w,
                                     int h)
Paints the background of a scrollbar.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintScrollBarBorder

public void paintScrollBarBorder(SynthContext ctx,
                                 Graphics g,
                                 int x,
                                 int y,
                                 int w,
                                 int h)
Paints the border of a scrollbar.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintScrollBarThumbBackground

public void paintScrollBarThumbBackground(SynthContext ctx,
                                          Graphics g,
                                          int x,
                                          int y,
                                          int w,
                                          int h,
                                          int orientation)
Paints the background of a scrollbar's thumb.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint
orientation - orientation of the scrollbar

paintScrollBarThumbBorder

public void paintScrollBarThumbBorder(SynthContext ctx,
                                      Graphics g,
                                      int x,
                                      int y,
                                      int w,
                                      int h,
                                      int orientation)
Paints the border of a scrollbar's thumb.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint
orientation - orientation of the scrollbar

paintScrollBarTrackBackground

public void paintScrollBarTrackBackground(SynthContext ctx,
                                          Graphics g,
                                          int x,
                                          int y,
                                          int w,
                                          int h)
Paints the background of a scrollbar's track.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintScrollBarTrackBorder

public void paintScrollBarTrackBorder(SynthContext ctx,
                                      Graphics g,
                                      int x,
                                      int y,
                                      int w,
                                      int h)
Paints the border of a scrollbar's track.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintScrollPaneBackground

public void paintScrollPaneBackground(SynthContext ctx,
                                      Graphics g,
                                      int x,
                                      int y,
                                      int w,
                                      int h)
Paints the background of a scroll pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintScrollPaneBorder

public void paintScrollPaneBorder(SynthContext ctx,
                                  Graphics g,
                                  int x,
                                  int y,
                                  int w,
                                  int h)
Paints the border of a scroll pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintSeparatorBackground

public void paintSeparatorBackground(SynthContext ctx,
                                     Graphics g,
                                     int x,
                                     int y,
                                     int w,
                                     int h)
Paints the background of a separator.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintSeparatorBorder

public void paintSeparatorBorder(SynthContext ctx,
                                 Graphics g,
                                 int x,
                                 int y,
                                 int w,
                                 int h)
Paints the border of a separator.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintSeparatorForeground

public void paintSeparatorForeground(SynthContext ctx,
                                     Graphics g,
                                     int x,
                                     int y,
                                     int w,
                                     int h,
                                     int dir)
Paints the foreground of a separator.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint
dir - the orientation of the separator

paintSliderBackground

public void paintSliderBackground(SynthContext ctx,
                                  Graphics g,
                                  int x,
                                  int y,
                                  int w,
                                  int h)
Paints the background of a slider.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintSliderBorder

public void paintSliderBorder(SynthContext ctx,
                              Graphics g,
                              int x,
                              int y,
                              int w,
                              int h)
Paints the border of a slider.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintSliderThumbBackground

public void paintSliderThumbBackground(SynthContext ctx,
                                       Graphics g,
                                       int x,
                                       int y,
                                       int w,
                                       int h,
                                       int orientation)
Paints the background of a slider's thumb.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint
orientation - orientation of the slider

paintSliderThumbBorder

public void paintSliderThumbBorder(SynthContext ctx,
                                   Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h,
                                   int orientation)
Paints the border of a slider's thumb.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint
orientation - orientation of the slider

paintSliderTrackBackground

public void paintSliderTrackBackground(SynthContext ctx,
                                       Graphics g,
                                       int x,
                                       int y,
                                       int w,
                                       int h)
Paints the background of a slider's track.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintSliderTrackBorder

public void paintSliderTrackBorder(SynthContext ctx,
                                   Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h)
Paints the border of a slider's track.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintSpinnerBackground

public void paintSpinnerBackground(SynthContext ctx,
                                   Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h)
Paints the background of a spinner.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintSpinnerBorder

public void paintSpinnerBorder(SynthContext ctx,
                               Graphics g,
                               int x,
                               int y,
                               int w,
                               int h)
Paints the border of a spinner.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintSplitPaneBackground

public void paintSplitPaneBackground(SynthContext ctx,
                                     Graphics g,
                                     int x,
                                     int y,
                                     int w,
                                     int h)
Paints the background of a split pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintSplitPaneBorder

public void paintSplitPaneBorder(SynthContext ctx,
                                 Graphics g,
                                 int x,
                                 int y,
                                 int w,
                                 int h)
Paints the border of a split pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintSplitPaneDividerBackground

public void paintSplitPaneDividerBackground(SynthContext ctx,
                                            Graphics g,
                                            int x,
                                            int y,
                                            int w,
                                            int h)
Paints the background of a split pane's divider.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintSplitPaneDividerForeground

public void paintSplitPaneDividerForeground(SynthContext ctx,
                                            Graphics g,
                                            int x,
                                            int y,
                                            int w,
                                            int h,
                                            int dir)
Paints the foreground of a split pane's divider.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint
dir - the orientation of the divider

paintSplitPaneDragDivider

public void paintSplitPaneDragDivider(SynthContext ctx,
                                      Graphics g,
                                      int x,
                                      int y,
                                      int w,
                                      int h,
                                      int dir)
Paints a split pane's divider, when it is being dragged.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint
dir - the orientation of the divider

paintTabbedPaneBackground

public void paintTabbedPaneBackground(SynthContext ctx,
                                      Graphics g,
                                      int x,
                                      int y,
                                      int w,
                                      int h)
Paints the background of a tabbed pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTabbedPaneBorder

public void paintTabbedPaneBorder(SynthContext ctx,
                                  Graphics g,
                                  int x,
                                  int y,
                                  int w,
                                  int h)
Paints the border of a tabbed pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTabbedPaneContentBackground

public void paintTabbedPaneContentBackground(SynthContext ctx,
                                             Graphics g,
                                             int x,
                                             int y,
                                             int w,
                                             int h)
Paints the background of the contents of a tabbed pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTabbedPaneContentBorder

public void paintTabbedPaneContentBorder(SynthContext ctx,
                                         Graphics g,
                                         int x,
                                         int y,
                                         int w,
                                         int h)
Paints the border of the contents of a tabbed pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTabbedPaneTabAreaBackground

public void paintTabbedPaneTabAreaBackground(SynthContext ctx,
                                             Graphics g,
                                             int x,
                                             int y,
                                             int w,
                                             int h)
Paints the background of the tab area of a tabbed pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTabbedPaneTabAreaBorder

public void paintTabbedPaneTabAreaBorder(SynthContext ctx,
                                         Graphics g,
                                         int x,
                                         int y,
                                         int w,
                                         int h)
Paints the border of the tab area of a tabbed pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTabbedPaneTabBackground

public void paintTabbedPaneTabBackground(SynthContext ctx,
                                         Graphics g,
                                         int x,
                                         int y,
                                         int w,
                                         int h,
                                         int index)
Paints the background of a tab of a tabbed pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint
index - the index of the tab to paint

paintTabbedPaneTabBorder

public void paintTabbedPaneTabBorder(SynthContext ctx,
                                     Graphics g,
                                     int x,
                                     int y,
                                     int w,
                                     int h,
                                     int index)
Paints the border of a tab of a tabbed pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint
index - the index of the tab to paint

paintTableBackground

public void paintTableBackground(SynthContext ctx,
                                 Graphics g,
                                 int x,
                                 int y,
                                 int w,
                                 int h)
Paints the background of a table.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTableBorder

public void paintTableBorder(SynthContext ctx,
                             Graphics g,
                             int x,
                             int y,
                             int w,
                             int h)
Paints the border of a table.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTableHeaderBackground

public void paintTableHeaderBackground(SynthContext ctx,
                                       Graphics g,
                                       int x,
                                       int y,
                                       int w,
                                       int h)
Paints the background of a table's header.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTableHeaderBorder

public void paintTableHeaderBorder(SynthContext ctx,
                                   Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h)
Paints the border of a table's header.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTextAreaBackground

public void paintTextAreaBackground(SynthContext ctx,
                                    Graphics g,
                                    int x,
                                    int y,
                                    int w,
                                    int h)
Paints the background of a text area.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTextAreaBorder

public void paintTextAreaBorder(SynthContext ctx,
                                Graphics g,
                                int x,
                                int y,
                                int w,
                                int h)
Paints the border of a text area.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTextFieldBackground

public void paintTextFieldBackground(SynthContext ctx,
                                     Graphics g,
                                     int x,
                                     int y,
                                     int w,
                                     int h)
Paints the background of a text field.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTextFieldBorder

public void paintTextFieldBorder(SynthContext ctx,
                                 Graphics g,
                                 int x,
                                 int y,
                                 int w,
                                 int h)
Paints the border of a text field.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTextPaneBackground

public void paintTextPaneBackground(SynthContext ctx,
                                    Graphics g,
                                    int x,
                                    int y,
                                    int w,
                                    int h)
Paints the background of a text pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTextPaneBorder

public void paintTextPaneBorder(SynthContext ctx,
                                Graphics g,
                                int x,
                                int y,
                                int w,
                                int h)
Paints the border of a text pane.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintToggleButtonBackground

public void paintToggleButtonBackground(SynthContext ctx,
                                        Graphics g,
                                        int x,
                                        int y,
                                        int w,
                                        int h)
Paints the background of a toggle button.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintToggleButtonBorder

public void paintToggleButtonBorder(SynthContext ctx,
                                    Graphics g,
                                    int x,
                                    int y,
                                    int w,
                                    int h)
Paints the border of a toggle button.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintToolBarBackground

public void paintToolBarBackground(SynthContext ctx,
                                   Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h)
Paints the background of a toolbar.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintToolBarBorder

public void paintToolBarBorder(SynthContext ctx,
                               Graphics g,
                               int x,
                               int y,
                               int w,
                               int h)
Paints the border of a toolbar.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintToolBarContentBackground

public void paintToolBarContentBackground(SynthContext ctx,
                                          Graphics g,
                                          int x,
                                          int y,
                                          int w,
                                          int h)
Paints the background of the contents of a toolbar.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintToolBarContentBorder

public void paintToolBarContentBorder(SynthContext ctx,
                                      Graphics g,
                                      int x,
                                      int y,
                                      int w,
                                      int h)
Paints the border of the contents of a toolbar.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintToolBarDragWindowBackground

public void paintToolBarDragWindowBackground(SynthContext ctx,
                                             Graphics g,
                                             int x,
                                             int y,
                                             int w,
                                             int h)
Paints the background of the window of a detached toolbar.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintToolBarDragWindowBorder

public void paintToolBarDragWindowBorder(SynthContext ctx,
                                         Graphics g,
                                         int x,
                                         int y,
                                         int w,
                                         int h)
Paints the border of the window of a detached toolbar.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintToolTipBackground

public void paintToolTipBackground(SynthContext ctx,
                                   Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h)
Paints the background of a tool tip.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintToolTipBorder

public void paintToolTipBorder(SynthContext ctx,
                               Graphics g,
                               int x,
                               int y,
                               int w,
                               int h)
Paints the border of a tool tip.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTreeBackground

public void paintTreeBackground(SynthContext ctx,
                                Graphics g,
                                int x,
                                int y,
                                int w,
                                int h)
Paints the background of a tree.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTreeBorder

public void paintTreeBorder(SynthContext ctx,
                            Graphics g,
                            int x,
                            int y,
                            int w,
                            int h)
Paints the border of a tree.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTreeCellBackground

public void paintTreeCellBackground(SynthContext ctx,
                                    Graphics g,
                                    int x,
                                    int y,
                                    int w,
                                    int h)
Paints the background of a cell in a tree.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTreeCellBorder

public void paintTreeCellBorder(SynthContext ctx,
                                Graphics g,
                                int x,
                                int y,
                                int w,
                                int h)
Paints the border of a cell in a tree.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintTreeCellFocus

public void paintTreeCellFocus(SynthContext ctx,
                               Graphics g,
                               int x,
                               int y,
                               int w,
                               int h)
Paints the indicator for a tree cell which has the focus.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintViewportBackground

public void paintViewportBackground(SynthContext ctx,
                                    Graphics g,
                                    int x,
                                    int y,
                                    int w,
                                    int h)
Paints the background of a viewport.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

paintViewportBorder

public void paintViewportBorder(SynthContext ctx,
                                Graphics g,
                                int x,
                                int y,
                                int w,
                                int h)
Paints the border of a viewport.
Parameters:
ctx - the synth context identifying the component and region for painting
g - the graphics context to use for painting
x - the X coordinate of the area to paint
y - the Y coordinate of the area to paint
w - the width of the area to paint
h - the height of the area to paint

SynthPainter.java -- An abstract painter for synth components Copyright (C) 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.