java.lang.Object
javax.swing.plaf.synth.SynthPainter
public abstract class SynthPainter extends Object
SynthPainter is used for painting portions of
 JComponents. At a minimum each JComponent
 has two paint methods: one for the border and one for the background. Some
 JComponents have more than one Region, and as
 a consequence more paint methods.
 
 Instances of SynthPainter are obtained from the
 SynthStyle.getPainter(javax.swing.plaf.synth.SynthContext) method.
 
 You typically supply a SynthPainter by way of Synth's
 file format. The following
 example registers a painter for all JButtons that will
 render the image myImage.png:
 
  <style id="buttonStyle">
    <imagePainter path="myImage.png" sourceInsets="2 2 2 2"
                  paintCenter="true" stretch="true"/>
    <insets top="2" bottom="2" left="2" right="2"/>
  </style>
  <bind style="buttonStyle" type="REGION" key="button"/>
 
 SynthPainter is abstract in so far as it does no painting,
 all the methods
 are empty. While none of these methods are typed to throw an exception,
 subclasses can assume that valid arguments are passed in, and if not
 they can throw a NullPointerException or
 IllegalArgumentException in response to invalid arguments.
- Since:
- 1.5
- 
Constructor SummaryConstructors Constructor Description SynthPainter()
- 
Method SummaryModifier and Type Method Description voidpaintArrowButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of an arrow button.voidpaintArrowButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of an arrow button.voidpaintArrowButtonForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int direction)Paints the foreground of an arrow button.voidpaintButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a button.voidpaintButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a button.voidpaintCheckBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a check box.voidpaintCheckBoxBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a check box.voidpaintCheckBoxMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a check box menu item.voidpaintCheckBoxMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a check box menu item.voidpaintColorChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a color chooser.voidpaintColorChooserBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a color chooser.voidpaintComboBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a combo box.voidpaintComboBoxBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a combo box.voidpaintDesktopIconBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a desktop icon.voidpaintDesktopIconBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a desktop icon.voidpaintDesktopPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a desktop pane.voidpaintDesktopPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a desktop pane.voidpaintEditorPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of an editor pane.voidpaintEditorPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of an editor pane.voidpaintFileChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a file chooser.voidpaintFileChooserBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a file chooser.voidpaintFormattedTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a formatted text field.voidpaintFormattedTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a formatted text field.voidpaintInternalFrameBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of an internal frame.voidpaintInternalFrameBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of an internal frame.voidpaintInternalFrameTitlePaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of an internal frame title pane.voidpaintInternalFrameTitlePaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of an internal frame title pane.voidpaintLabelBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a label.voidpaintLabelBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a label.voidpaintListBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a list.voidpaintListBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a list.voidpaintMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a menu.voidpaintMenuBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a menu bar.voidpaintMenuBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a menu bar.voidpaintMenuBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a menu.voidpaintMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a menu item.voidpaintMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a menu item.voidpaintOptionPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of an option pane.voidpaintOptionPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of an option pane.voidpaintPanelBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a panel.voidpaintPanelBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a panel.voidpaintPasswordFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a password field.voidpaintPasswordFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a password field.voidpaintPopupMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a popup menu.voidpaintPopupMenuBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a popup menu.voidpaintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a progress bar.voidpaintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a progress bar.voidpaintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a progress bar.voidpaintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a progress bar.voidpaintProgressBarForeground(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.voidpaintRadioButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a radio button.voidpaintRadioButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a radio button.voidpaintRadioButtonMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a radio button menu item.voidpaintRadioButtonMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a radio button menu item.voidpaintRootPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a root pane.voidpaintRootPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a root pane.voidpaintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a scrollbar.voidpaintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a scrollbar.voidpaintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a scrollbar.voidpaintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a scrollbar.voidpaintScrollBarThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the thumb of a scrollbar.voidpaintScrollBarThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the thumb of a scrollbar.voidpaintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the track of a scrollbar.voidpaintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the track of a scrollbar.voidpaintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the track of a scrollbar.voidpaintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the track of a scrollbar.voidpaintScrollPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a scroll pane.voidpaintScrollPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a scroll pane.voidpaintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a separator.voidpaintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a separator.voidpaintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a separator.voidpaintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a separator.voidpaintSeparatorForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the foreground of a separator.voidpaintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a slider.voidpaintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a slider.voidpaintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a slider.voidpaintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a slider.voidpaintSliderThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the thumb of a slider.voidpaintSliderThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the thumb of a slider.voidpaintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the track of a slider.voidpaintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the track of a slider.voidpaintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the track of a slider.voidpaintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the track of a slider.voidpaintSpinnerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a spinner.voidpaintSpinnerBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a spinner.voidpaintSplitPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a split pane.voidpaintSplitPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a split pane.voidpaintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the divider of a split pane.voidpaintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the divider of a split pane.voidpaintSplitPaneDividerForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the foreground of the divider of a split pane.voidpaintSplitPaneDragDivider(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.voidpaintTabbedPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a tabbed pane.voidpaintTabbedPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a tabbed pane.voidpaintTabbedPaneContentBackground(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.voidpaintTabbedPaneContentBorder(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.voidpaintTabbedPaneTabAreaBackground(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.voidpaintTabbedPaneTabAreaBackground(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.voidpaintTabbedPaneTabAreaBorder(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.voidpaintTabbedPaneTabAreaBorder(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.voidpaintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)Paints the background of a tab of a tabbed pane.voidpaintTabbedPaneTabBackground(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.voidpaintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)Paints the border of a tab of a tabbed pane.voidpaintTabbedPaneTabBorder(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.voidpaintTableBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a table.voidpaintTableBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a table.voidpaintTableHeaderBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the header of a table.voidpaintTableHeaderBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the header of a table.voidpaintTextAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a text area.voidpaintTextAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a text area.voidpaintTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a text field.voidpaintTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a text field.voidpaintTextPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a text pane.voidpaintTextPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a text pane.voidpaintToggleButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a toggle button.voidpaintToggleButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a toggle button.voidpaintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a tool bar.voidpaintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a tool bar.voidpaintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a tool bar.voidpaintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a tool bar.voidpaintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the tool bar's content area.voidpaintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the tool bar's content area.voidpaintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the content area of a tool bar.voidpaintToolBarContentBorder(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.voidpaintToolBarDragWindowBackground(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.voidpaintToolBarDragWindowBackground(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.voidpaintToolBarDragWindowBorder(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.voidpaintToolBarDragWindowBorder(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.voidpaintToolTipBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a tool tip.voidpaintToolTipBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a tool tip.voidpaintTreeBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a tree.voidpaintTreeBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a tree.voidpaintTreeCellBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the row containing a cell in a tree.voidpaintTreeCellBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the row containing a cell in a tree.voidpaintTreeCellFocus(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.voidpaintViewportBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the viewport.voidpaintViewportBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a viewport.
- 
Constructor Details- 
SynthPainterpublic SynthPainter()
 
- 
- 
Method Details- 
paintArrowButtonBackgroundpublic 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 asJScrollBar.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintArrowButtonBorderPaints the border of an arrow button. Arrow buttons are created by some components, such asJScrollBar.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintArrowButtonForegroundpublic 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 asJScrollBar- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- direction- One of SwingConstants.NORTH, SwingConstants.SOUTH SwingConstants.EAST or SwingConstants.WEST
 
- 
paintButtonBackgroundPaints the background of a button.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintButtonBorderPaints the border of a button.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintCheckBoxMenuItemBackgroundpublic void paintCheckBoxMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a check box menu item.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintCheckBoxMenuItemBorderpublic void paintCheckBoxMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a check box menu item.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintCheckBoxBackgroundPaints the background of a check box.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintCheckBoxBorderPaints the border of a check box.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintColorChooserBackgroundpublic void paintColorChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a color chooser.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintColorChooserBorderPaints the border of a color chooser.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintComboBoxBackgroundPaints the background of a combo box.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintComboBoxBorderPaints the border of a combo box.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintDesktopIconBackgroundpublic void paintDesktopIconBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a desktop icon.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintDesktopIconBorderPaints the border of a desktop icon.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintDesktopPaneBackgroundpublic void paintDesktopPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a desktop pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintDesktopPaneBorderPaints the background of a desktop pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintEditorPaneBackgroundpublic void paintEditorPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of an editor pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintEditorPaneBorderPaints the border of an editor pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintFileChooserBackgroundpublic void paintFileChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a file chooser.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintFileChooserBorderPaints the border of a file chooser.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintFormattedTextFieldBackgroundpublic void paintFormattedTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a formatted text field.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintFormattedTextFieldBorderpublic void paintFormattedTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a formatted text field.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintInternalFrameTitlePaneBackgroundpublic void paintInternalFrameTitlePaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of an internal frame title pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintInternalFrameTitlePaneBorderpublic void paintInternalFrameTitlePaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of an internal frame title pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintInternalFrameBackgroundpublic void paintInternalFrameBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of an internal frame.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintInternalFrameBorderPaints the border of an internal frame.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintLabelBackgroundPaints the background of a label.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintLabelBorderPaints the border of a label.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintListBackgroundPaints the background of a list.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintListBorderPaints the border of a list.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintMenuBarBackgroundPaints the background of a menu bar.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintMenuBarBorderPaints the border of a menu bar.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintMenuItemBackgroundPaints the background of a menu item.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintMenuItemBorderPaints the border of a menu item.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintMenuBackgroundPaints the background of a menu.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintMenuBorderPaints the border of a menu.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintOptionPaneBackgroundpublic void paintOptionPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of an option pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintOptionPaneBorderPaints the border of an option pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintPanelBackgroundPaints the background of a panel.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintPanelBorderPaints the border of a panel.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintPasswordFieldBackgroundpublic void paintPasswordFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a password field.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintPasswordFieldBorderPaints the border of a password field.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintPopupMenuBackgroundPaints the background of a popup menu.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintPopupMenuBorderPaints the border of a popup menu.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintProgressBarBackgroundpublic void paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a progress bar.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintProgressBarBackgroundpublic void paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a progress bar. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- one of- JProgressBar.HORIZONTALor- JProgressBar.VERTICAL
- Since:
- 1.6
 
- 
paintProgressBarBorderPaints the border of a progress bar.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintProgressBarBorderpublic void paintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a progress bar. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- one of- JProgressBar.HORIZONTALor- JProgressBar.VERTICAL
- Since:
- 1.6
 
- 
paintProgressBarForegroundpublic void paintProgressBarForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the foreground of a progress bar. is responsible for providing an indication of the progress of the progress bar.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- one of- JProgressBar.HORIZONTALor- JProgressBar.VERTICAL
 
- 
paintRadioButtonMenuItemBackgroundpublic void paintRadioButtonMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a radio button menu item.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintRadioButtonMenuItemBorderpublic void paintRadioButtonMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a radio button menu item.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintRadioButtonBackgroundpublic void paintRadioButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a radio button.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintRadioButtonBorderPaints the border of a radio button.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintRootPaneBackgroundPaints the background of a root pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintRootPaneBorderPaints the border of a root pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintScrollBarBackgroundPaints the background of a scrollbar.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintScrollBarBackgroundpublic void paintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a scrollbar. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- Orientation of the JScrollBar, one of- JScrollBar.HORIZONTALor- JScrollBar.VERTICAL
- Since:
- 1.6
 
- 
paintScrollBarBorderPaints the border of a scrollbar.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintScrollBarBorderpublic void paintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a scrollbar. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- Orientation of the JScrollBar, one of- JScrollBar.HORIZONTALor- JScrollBar.VERTICAL
- Since:
- 1.6
 
- 
paintScrollBarThumbBackgroundpublic 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 aJScrollPane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- Orientation of the JScrollBar, one of- JScrollBar.HORIZONTALor- JScrollBar.VERTICAL
 
- 
paintScrollBarThumbBorderpublic 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 aJScrollPane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- Orientation of the JScrollBar, one of- JScrollBar.HORIZONTALor- JScrollBar.VERTICAL
 
- 
paintScrollBarTrackBackgroundpublic void paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the track of a scrollbar. The track contains the thumb.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintScrollBarTrackBackgroundpublic void paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the track of a scrollbar. The track contains the thumb. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- Orientation of the JScrollBar, one of- JScrollBar.HORIZONTALor- JScrollBar.VERTICAL
- Since:
- 1.6
 
- 
paintScrollBarTrackBorderpublic void paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the track of a scrollbar. The track contains the thumb.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintScrollBarTrackBorderpublic void paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the track of a scrollbar. The track contains the thumb. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- Orientation of the JScrollBar, one of- JScrollBar.HORIZONTALor- JScrollBar.VERTICAL
- Since:
- 1.6
 
- 
paintScrollPaneBackgroundpublic void paintScrollPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a scroll pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintScrollPaneBorderPaints the border of a scroll pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintSeparatorBackgroundPaints the background of a separator.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintSeparatorBackgroundpublic void paintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a separator. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JSeparator.HORIZONTALor- JSeparator.VERTICAL
- Since:
- 1.6
 
- 
paintSeparatorBorderPaints the border of a separator.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintSeparatorBorderpublic void paintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a separator. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JSeparator.HORIZONTALor- JSeparator.VERTICAL
- Since:
- 1.6
 
- 
paintSeparatorForegroundpublic void paintSeparatorForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the foreground of a separator.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JSeparator.HORIZONTALor- JSeparator.VERTICAL
 
- 
paintSliderBackgroundPaints the background of a slider.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintSliderBackgroundpublic void paintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a slider. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JSlider.HORIZONTALor- JSlider.VERTICAL
- Since:
- 1.6
 
- 
paintSliderBorderPaints the border of a slider.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintSliderBorderpublic void paintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a slider. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JSlider.HORIZONTALor- JSlider.VERTICAL
- Since:
- 1.6
 
- 
paintSliderThumbBackgroundpublic void paintSliderThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the thumb of a slider.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JSlider.HORIZONTALor- JSlider.VERTICAL
 
- 
paintSliderThumbBorderpublic void paintSliderThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the thumb of a slider.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JSlider.HORIZONTALor- JSlider.VERTICAL
 
- 
paintSliderTrackBackgroundpublic void paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the track of a slider.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintSliderTrackBackgroundpublic void paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the track of a slider. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JSlider.HORIZONTALor- JSlider.VERTICAL
- Since:
- 1.6
 
- 
paintSliderTrackBorderPaints the border of the track of a slider.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintSliderTrackBorderpublic void paintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the track of a slider. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JSlider.HORIZONTALor- JSlider.VERTICAL
- Since:
- 1.6
 
- 
paintSpinnerBackgroundPaints the background of a spinner.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintSpinnerBorderPaints the border of a spinner.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintSplitPaneDividerBackgroundpublic void paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the divider of a split pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintSplitPaneDividerBackgroundpublic void paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the divider of a split pane. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JSplitPane.HORIZONTAL_SPLITor- JSplitPane.VERTICAL_SPLIT
- Since:
- 1.6
 
- 
paintSplitPaneDividerForegroundpublic void paintSplitPaneDividerForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the foreground of the divider of a split pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JSplitPane.HORIZONTAL_SPLITor- JSplitPane.VERTICAL_SPLIT
 
- 
paintSplitPaneDragDividerpublic void paintSplitPaneDragDivider(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the divider, when the user is dragging the divider, of a split pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JSplitPane.HORIZONTAL_SPLITor- JSplitPane.VERTICAL_SPLIT
 
- 
paintSplitPaneBackgroundPaints the background of a split pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintSplitPaneBorderPaints the border of a split pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTabbedPaneBackgroundpublic void paintTabbedPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a tabbed pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTabbedPaneBorderPaints the border of a tabbed pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTabbedPaneTabAreaBackgroundpublic void paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the area behind the tabs of a tabbed pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTabbedPaneTabAreaBackgroundpublic void paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the area behind the tabs of a tabbed pane. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JTabbedPane.TOP,- JTabbedPane.LEFT,- JTabbedPane.BOTTOM, or- JTabbedPane.RIGHT
- Since:
- 1.6
 
- 
paintTabbedPaneTabAreaBorderpublic void paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the area behind the tabs of a tabbed pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTabbedPaneTabAreaBorderpublic void paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the area behind the tabs of a tabbed pane. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JTabbedPane.TOP,- JTabbedPane.LEFT,- JTabbedPane.BOTTOM, or- JTabbedPane.RIGHT
- Since:
- 1.6
 
- 
paintTabbedPaneTabBackgroundpublic void paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)Paints the background of a tab of a tabbed pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- tabIndex- Index of tab being painted.
 
- 
paintTabbedPaneTabBackgroundpublic void paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation)Paints the background of a tab of a tabbed pane. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- tabIndex- Index of tab being painted.
- orientation- One of- JTabbedPane.TOP,- JTabbedPane.LEFT,- JTabbedPane.BOTTOM, or- JTabbedPane.RIGHT
- Since:
- 1.6
 
- 
paintTabbedPaneTabBorderpublic void paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)Paints the border of a tab of a tabbed pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- tabIndex- Index of tab being painted.
 
- 
paintTabbedPaneTabBorderpublic void paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation)Paints the border of a tab of a tabbed pane. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- tabIndex- Index of tab being painted.
- orientation- One of- JTabbedPane.TOP,- JTabbedPane.LEFT,- JTabbedPane.BOTTOM, or- JTabbedPane.RIGHT
- Since:
- 1.6
 
- 
paintTabbedPaneContentBackgroundpublic void paintTabbedPaneContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the area that contains the content of the selected tab of a tabbed pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTabbedPaneContentBorderpublic void paintTabbedPaneContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the area that contains the content of the selected tab of a tabbed pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTableHeaderBackgroundpublic void paintTableHeaderBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the header of a table.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTableHeaderBorderPaints the border of the header of a table.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTableBackgroundPaints the background of a table.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTableBorderPaints the border of a table.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTextAreaBackgroundPaints the background of a text area.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTextAreaBorderPaints the border of a text area.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTextPaneBackgroundPaints the background of a text pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTextPaneBorderPaints the border of a text pane.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTextFieldBackgroundPaints the background of a text field.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTextFieldBorderPaints the border of a text field.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintToggleButtonBackgroundpublic void paintToggleButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a toggle button.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintToggleButtonBorderPaints the border of a toggle button.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintToolBarBackgroundPaints the background of a tool bar.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintToolBarBackgroundpublic void paintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a tool bar. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JToolBar.HORIZONTALor- JToolBar.VERTICAL
- Since:
- 1.6
 
- 
paintToolBarBorderPaints the border of a tool bar.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintToolBarBorderpublic void paintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a tool bar. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JToolBar.HORIZONTALor- JToolBar.VERTICAL
- Since:
- 1.6
 
- 
paintToolBarContentBackgroundpublic void paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the tool bar's content area.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintToolBarContentBackgroundpublic void paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the tool bar's content area. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JToolBar.HORIZONTALor- JToolBar.VERTICAL
- Since:
- 1.6
 
- 
paintToolBarContentBorderpublic void paintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the content area of a tool bar.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintToolBarContentBorderpublic void paintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the content area of a tool bar. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JToolBar.HORIZONTALor- JToolBar.VERTICAL
- Since:
- 1.6
 
- 
paintToolBarDragWindowBackgroundpublic void paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the window containing the tool bar when it has been detached from its primary frame.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintToolBarDragWindowBackgroundpublic void paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the window containing the tool bar when it has been detached from its primary frame. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JToolBar.HORIZONTALor- JToolBar.VERTICAL
- Since:
- 1.6
 
- 
paintToolBarDragWindowBorderpublic void paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the window containing the tool bar when it has been detached from it's primary frame.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintToolBarDragWindowBorderpublic void paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the window containing the tool bar when it has been detached from it's primary frame. This implementation invokes the method of the same name without the orientation.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
- orientation- One of- JToolBar.HORIZONTALor- JToolBar.VERTICAL
- Since:
- 1.6
 
- 
paintToolTipBackgroundPaints the background of a tool tip.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintToolTipBorderPaints the border of a tool tip.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTreeBackgroundPaints the background of a tree.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTreeBorderPaints the border of a tree.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTreeCellBackgroundPaints the background of the row containing a cell in a tree.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTreeCellBorderPaints the border of the row containing a cell in a tree.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintTreeCellFocusPaints the focus indicator for a cell in a tree when it has focus.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintViewportBackgroundPaints the background of the viewport.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
- 
paintViewportBorderPaints the border of a viewport.- Parameters:
- context- SynthContext identifying the- JComponentand- Regionto paint to
- g-- Graphicsto paint to
- x- X coordinate of the area to paint to
- y- Y coordinate of the area to paint to
- w- Width of the area to paint to
- h- Height of the area to paint to
 
 
-