Save This Page
Home » openjdk-7 » javax » swing » plaf » synth » [javadoc | source]
javax.swing.plaf.synth
abstract public class: SynthPainter [javadoc | source]
java.lang.Object
   javax.swing.plaf.synth.SynthPainter

Direct Known Subclasses:
    PaintersManager, AggregatePainter, ColorPainter, SynthPainterImpl, DelegatingPainter, ImagePainter

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 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.

Field Summary
static  SynthPainter NULL_PAINTER    Used to avoid null painter checks everywhere. 
Method from javax.swing.plaf.synth.SynthPainter Summary:
paintArrowButtonBackground,   paintArrowButtonBorder,   paintArrowButtonForeground,   paintButtonBackground,   paintButtonBorder,   paintCheckBoxBackground,   paintCheckBoxBorder,   paintCheckBoxMenuItemBackground,   paintCheckBoxMenuItemBorder,   paintColorChooserBackground,   paintColorChooserBorder,   paintComboBoxBackground,   paintComboBoxBorder,   paintDesktopIconBackground,   paintDesktopIconBorder,   paintDesktopPaneBackground,   paintDesktopPaneBorder,   paintEditorPaneBackground,   paintEditorPaneBorder,   paintFileChooserBackground,   paintFileChooserBorder,   paintFormattedTextFieldBackground,   paintFormattedTextFieldBorder,   paintInternalFrameBackground,   paintInternalFrameBorder,   paintInternalFrameTitlePaneBackground,   paintInternalFrameTitlePaneBorder,   paintLabelBackground,   paintLabelBorder,   paintListBackground,   paintListBorder,   paintMenuBackground,   paintMenuBarBackground,   paintMenuBarBorder,   paintMenuBorder,   paintMenuItemBackground,   paintMenuItemBorder,   paintOptionPaneBackground,   paintOptionPaneBorder,   paintPanelBackground,   paintPanelBorder,   paintPasswordFieldBackground,   paintPasswordFieldBorder,   paintPopupMenuBackground,   paintPopupMenuBorder,   paintProgressBarBackground,   paintProgressBarBackground,   paintProgressBarBorder,   paintProgressBarBorder,   paintProgressBarForeground,   paintRadioButtonBackground,   paintRadioButtonBorder,   paintRadioButtonMenuItemBackground,   paintRadioButtonMenuItemBorder,   paintRootPaneBackground,   paintRootPaneBorder,   paintScrollBarBackground,   paintScrollBarBackground,   paintScrollBarBorder,   paintScrollBarBorder,   paintScrollBarThumbBackground,   paintScrollBarThumbBorder,   paintScrollBarTrackBackground,   paintScrollBarTrackBackground,   paintScrollBarTrackBorder,   paintScrollBarTrackBorder,   paintScrollPaneBackground,   paintScrollPaneBorder,   paintSeparatorBackground,   paintSeparatorBackground,   paintSeparatorBorder,   paintSeparatorBorder,   paintSeparatorForeground,   paintSliderBackground,   paintSliderBackground,   paintSliderBorder,   paintSliderBorder,   paintSliderThumbBackground,   paintSliderThumbBorder,   paintSliderTrackBackground,   paintSliderTrackBackground,   paintSliderTrackBorder,   paintSliderTrackBorder,   paintSpinnerBackground,   paintSpinnerBorder,   paintSplitPaneBackground,   paintSplitPaneBorder,   paintSplitPaneDividerBackground,   paintSplitPaneDividerBackground,   paintSplitPaneDividerForeground,   paintSplitPaneDragDivider,   paintTabbedPaneBackground,   paintTabbedPaneBorder,   paintTabbedPaneContentBackground,   paintTabbedPaneContentBorder,   paintTabbedPaneTabAreaBackground,   paintTabbedPaneTabAreaBackground,   paintTabbedPaneTabAreaBorder,   paintTabbedPaneTabAreaBorder,   paintTabbedPaneTabBackground,   paintTabbedPaneTabBackground,   paintTabbedPaneTabBorder,   paintTabbedPaneTabBorder,   paintTableBackground,   paintTableBorder,   paintTableHeaderBackground,   paintTableHeaderBorder,   paintTextAreaBackground,   paintTextAreaBorder,   paintTextFieldBackground,   paintTextFieldBorder,   paintTextPaneBackground,   paintTextPaneBorder,   paintToggleButtonBackground,   paintToggleButtonBorder,   paintToolBarBackground,   paintToolBarBackground,   paintToolBarBorder,   paintToolBarBorder,   paintToolBarContentBackground,   paintToolBarContentBackground,   paintToolBarContentBorder,   paintToolBarContentBorder,   paintToolBarDragWindowBackground,   paintToolBarDragWindowBackground,   paintToolBarDragWindowBorder,   paintToolBarDragWindowBorder,   paintToolTipBackground,   paintToolTipBorder,   paintTreeBackground,   paintTreeBorder,   paintTreeCellBackground,   paintTreeCellBorder,   paintTreeCellFocus,   paintViewportBackground,   paintViewportBorder
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.synth.SynthPainter Detail:
 public  void paintArrowButtonBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of an arrow button. Arrow buttons are created by some components, such as JScrollBar.
 public  void paintArrowButtonBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of an arrow button. Arrow buttons are created by some components, such as JScrollBar.
 public  void paintArrowButtonForeground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int direction) 
    Paints the foreground of an arrow button. This method is responsible for drawing a graphical representation of a direction, typically an arrow. Arrow buttons are created by some components, such as JScrollBar
 public  void paintButtonBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a button.
 public  void paintButtonBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a button.
 public  void paintCheckBoxBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a check box.
 public  void paintCheckBoxBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a check box.
 public  void paintCheckBoxMenuItemBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a check box menu item.
 public  void paintCheckBoxMenuItemBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a check box menu item.
 public  void paintColorChooserBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a color chooser.
 public  void paintColorChooserBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a color chooser.
 public  void paintComboBoxBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a combo box.
 public  void paintComboBoxBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a combo box.
 public  void paintDesktopIconBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a desktop icon.
 public  void paintDesktopIconBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a desktop icon.
 public  void paintDesktopPaneBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a desktop pane.
 public  void paintDesktopPaneBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a desktop pane.
 public  void paintEditorPaneBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of an editor pane.
 public  void paintEditorPaneBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of an editor pane.
 public  void paintFileChooserBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a file chooser.
 public  void paintFileChooserBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a file chooser.
 public  void paintFormattedTextFieldBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a formatted text field.
 public  void paintFormattedTextFieldBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a formatted text field.
 public  void paintInternalFrameBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of an internal frame.
 public  void paintInternalFrameBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of an internal frame.
 public  void paintInternalFrameTitlePaneBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of an internal frame title pane.
 public  void paintInternalFrameTitlePaneBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of an internal frame title pane.
 public  void paintLabelBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a label.
 public  void paintLabelBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a label.
 public  void paintListBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a list.
 public  void paintListBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a list.
 public  void paintMenuBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a menu.
 public  void paintMenuBarBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a menu bar.
 public  void paintMenuBarBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a menu bar.
 public  void paintMenuBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a menu.
 public  void paintMenuItemBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a menu item.
 public  void paintMenuItemBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a menu item.
 public  void paintOptionPaneBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of an option pane.
 public  void paintOptionPaneBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of an option pane.
 public  void paintPanelBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a panel.
 public  void paintPanelBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a panel.
 public  void paintPasswordFieldBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a password field.
 public  void paintPasswordFieldBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a password field.
 public  void paintPopupMenuBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a popup menu.
 public  void paintPopupMenuBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a popup menu.
 public  void paintProgressBarBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a progress bar.
 public  void paintProgressBarBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the background of a progress bar. This implementation invokes the method of the same name without the orientation.
 public  void paintProgressBarBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a progress bar.
 public  void paintProgressBarBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the border of a progress bar. This implementation invokes the method of the same name without the orientation.
 public  void paintProgressBarForeground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the foreground of a progress bar. is responsible for providing an indication of the progress of the progress bar.
 public  void paintRadioButtonBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a radio button.
 public  void paintRadioButtonBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a radio button.
 public  void paintRadioButtonMenuItemBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a radio button menu item.
 public  void paintRadioButtonMenuItemBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a radio button menu item.
 public  void paintRootPaneBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a root pane.
 public  void paintRootPaneBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a root pane.
 public  void paintScrollBarBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a scrollbar.
 public  void paintScrollBarBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the background of a scrollbar. This implementation invokes the method of the same name without the orientation.
 public  void paintScrollBarBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a scrollbar.
 public  void paintScrollBarBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the border of a scrollbar. This implementation invokes the method of the same name without the orientation.
 public  void paintScrollBarThumbBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the background of the thumb of a scrollbar. The thumb provides a graphical indication as to how much of the Component is visible in a JScrollPane.
 public  void paintScrollBarThumbBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the border of the thumb of a scrollbar. The thumb provides a graphical indication as to how much of the Component is visible in a JScrollPane.
 public  void paintScrollBarTrackBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of the track of a scrollbar. The track contains the thumb.
 public  void paintScrollBarTrackBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the background of the track of a scrollbar. The track contains the thumb. This implementation invokes the method of the same name without the orientation.
 public  void paintScrollBarTrackBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of the track of a scrollbar. The track contains the thumb.
 public  void paintScrollBarTrackBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the border of the track of a scrollbar. The track contains the thumb. This implementation invokes the method of the same name without the orientation.
 public  void paintScrollPaneBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a scroll pane.
 public  void paintScrollPaneBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a scroll pane.
 public  void paintSeparatorBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a separator.
 public  void paintSeparatorBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the background of a separator. This implementation invokes the method of the same name without the orientation.
 public  void paintSeparatorBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a separator.
 public  void paintSeparatorBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the border of a separator. This implementation invokes the method of the same name without the orientation.
 public  void paintSeparatorForeground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the foreground of a separator.
 public  void paintSliderBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a slider.
 public  void paintSliderBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the background of a slider. This implementation invokes the method of the same name without the orientation.
 public  void paintSliderBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a slider.
 public  void paintSliderBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the border of a slider. This implementation invokes the method of the same name without the orientation.
 public  void paintSliderThumbBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the background of the thumb of a slider.
 public  void paintSliderThumbBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the border of the thumb of a slider.
 public  void paintSliderTrackBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of the track of a slider.
 public  void paintSliderTrackBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the background of the track of a slider. This implementation invokes the method of the same name without the orientation.
 public  void paintSliderTrackBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of the track of a slider.
 public  void paintSliderTrackBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the border of the track of a slider. This implementation invokes the method of the same name without the orientation.
 public  void paintSpinnerBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a spinner.
 public  void paintSpinnerBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a spinner.
 public  void paintSplitPaneBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a split pane.
 public  void paintSplitPaneBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a split pane.
 public  void paintSplitPaneDividerBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of the divider of a split pane.
 public  void paintSplitPaneDividerBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the background of the divider of a split pane. This implementation invokes the method of the same name without the orientation.
 public  void paintSplitPaneDividerForeground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the foreground of the divider of a split pane.
 public  void paintSplitPaneDragDivider(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the divider, when the user is dragging the divider, of a split pane.
 public  void paintTabbedPaneBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a tabbed pane.
 public  void paintTabbedPaneBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a tabbed pane.
 public  void paintTabbedPaneContentBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of the area that contains the content of the selected tab of a tabbed pane.
 public  void paintTabbedPaneContentBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of the area that contains the content of the selected tab of a tabbed pane.
 public  void paintTabbedPaneTabAreaBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of the area behind the tabs of a tabbed pane.
 public  void paintTabbedPaneTabAreaBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the background of the area behind the tabs of a tabbed pane. This implementation invokes the method of the same name without the orientation.
 public  void paintTabbedPaneTabAreaBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of the area behind the tabs of a tabbed pane.
 public  void paintTabbedPaneTabAreaBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the border of the area behind the tabs of a tabbed pane. This implementation invokes the method of the same name without the orientation.
 public  void paintTabbedPaneTabBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int tabIndex) 
    Paints the background of a tab of a tabbed pane.
 public  void paintTabbedPaneTabBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int tabIndex,
    int orientation) 
    Paints the background of a tab of a tabbed pane. This implementation invokes the method of the same name without the orientation.
 public  void paintTabbedPaneTabBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int tabIndex) 
    Paints the border of a tab of a tabbed pane.
 public  void paintTabbedPaneTabBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int tabIndex,
    int orientation) 
    Paints the border of a tab of a tabbed pane. This implementation invokes the method of the same name without the orientation.
 public  void paintTableBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a table.
 public  void paintTableBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a table.
 public  void paintTableHeaderBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of the header of a table.
 public  void paintTableHeaderBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of the header of a table.
 public  void paintTextAreaBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a text area.
 public  void paintTextAreaBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a text area.
 public  void paintTextFieldBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a text field.
 public  void paintTextFieldBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a text field.
 public  void paintTextPaneBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a text pane.
 public  void paintTextPaneBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a text pane.
 public  void paintToggleButtonBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a toggle button.
 public  void paintToggleButtonBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a toggle button.
 public  void paintToolBarBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a tool bar.
 public  void paintToolBarBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the background of a tool bar. This implementation invokes the method of the same name without the orientation.
 public  void paintToolBarBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a tool bar.
 public  void paintToolBarBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the border of a tool bar. This implementation invokes the method of the same name without the orientation.
 public  void paintToolBarContentBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of the tool bar's content area.
 public  void paintToolBarContentBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the background of the tool bar's content area. This implementation invokes the method of the same name without the orientation.
 public  void paintToolBarContentBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of the content area of a tool bar.
 public  void paintToolBarContentBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the border of the content area of a tool bar. This implementation invokes the method of the same name without the orientation.
 public  void paintToolBarDragWindowBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of the window containing the tool bar when it has been detached from its primary frame.
 public  void paintToolBarDragWindowBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the background of the window containing the tool bar when it has been detached from its primary frame. This implementation invokes the method of the same name without the orientation.
 public  void paintToolBarDragWindowBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of the window containing the tool bar when it has been detached from it's primary frame.
 public  void paintToolBarDragWindowBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h,
    int orientation) 
    Paints the border of the window containing the tool bar when it has been detached from it's primary frame. This implementation invokes the method of the same name without the orientation.
 public  void paintToolTipBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a tool tip.
 public  void paintToolTipBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a tool tip.
 public  void paintTreeBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of a tree.
 public  void paintTreeBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a tree.
 public  void paintTreeCellBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of the row containing a cell in a tree.
 public  void paintTreeCellBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of the row containing a cell in a tree.
 public  void paintTreeCellFocus(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the focus indicator for a cell in a tree when it has focus.
 public  void paintViewportBackground(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the background of the viewport.
 public  void paintViewportBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
    Paints the border of a viewport.