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 Summary
Constructors Constructor Description SynthPainter() -
Method Summary
Modifier 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
-
SynthPainter
public SynthPainter()
-
-
Method Details
-
paintArrowButtonBackground
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 asJScrollBar.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintArrowButtonBorder
Paints the border of an arrow button. Arrow buttons are created by some components, such asJScrollBar.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintArrowButtonForeground
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 asJScrollBar- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint todirection- One of SwingConstants.NORTH, SwingConstants.SOUTH SwingConstants.EAST or SwingConstants.WEST
-
paintButtonBackground
Paints the background of a button.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintButtonBorder
Paints the border of a button.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintCheckBoxMenuItemBackground
public void paintCheckBoxMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a check box menu item.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintCheckBoxMenuItemBorder
public void paintCheckBoxMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a check box menu item.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintCheckBoxBackground
Paints the background of a check box.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintCheckBoxBorder
Paints the border of a check box.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintColorChooserBackground
public void paintColorChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a color chooser.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintColorChooserBorder
Paints the border of a color chooser.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintComboBoxBackground
Paints the background of a combo box.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintComboBoxBorder
Paints the border of a combo box.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintDesktopIconBackground
public void paintDesktopIconBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a desktop icon.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintDesktopIconBorder
Paints the border of a desktop icon.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintDesktopPaneBackground
public void paintDesktopPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a desktop pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintDesktopPaneBorder
Paints the background of a desktop pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintEditorPaneBackground
public void paintEditorPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of an editor pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintEditorPaneBorder
Paints the border of an editor pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintFileChooserBackground
public void paintFileChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a file chooser.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintFileChooserBorder
Paints the border of a file chooser.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintFormattedTextFieldBackground
public void paintFormattedTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a formatted text field.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintFormattedTextFieldBorder
public void paintFormattedTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a formatted text field.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintInternalFrameTitlePaneBackground
public void paintInternalFrameTitlePaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of an internal frame title pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintInternalFrameTitlePaneBorder
public void paintInternalFrameTitlePaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of an internal frame title pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintInternalFrameBackground
public void paintInternalFrameBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of an internal frame.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintInternalFrameBorder
Paints the border of an internal frame.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintLabelBackground
Paints the background of a label.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintLabelBorder
Paints the border of a label.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintListBackground
Paints the background of a list.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintListBorder
Paints the border of a list.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintMenuBarBackground
Paints the background of a menu bar.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintMenuBarBorder
Paints the border of a menu bar.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintMenuItemBackground
Paints the background of a menu item.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintMenuItemBorder
Paints the border of a menu item.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintMenuBackground
Paints the background of a menu.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintMenuBorder
Paints the border of a menu.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintOptionPaneBackground
public void paintOptionPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of an option pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintOptionPaneBorder
Paints the border of an option pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintPanelBackground
Paints the background of a panel.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintPanelBorder
Paints the border of a panel.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintPasswordFieldBackground
public void paintPasswordFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a password field.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintPasswordFieldBorder
Paints the border of a password field.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintPopupMenuBackground
Paints the background of a popup menu.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintPopupMenuBorder
Paints the border of a popup menu.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintProgressBarBackground
public void paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a progress bar.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintProgressBarBackground
public void paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a progress bar. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- one ofJProgressBar.HORIZONTALorJProgressBar.VERTICAL- Since:
- 1.6
-
paintProgressBarBorder
Paints the border of a progress bar.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintProgressBarBorder
public void paintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a progress bar. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- one ofJProgressBar.HORIZONTALorJProgressBar.VERTICAL- Since:
- 1.6
-
paintProgressBarForeground
public void paintProgressBarForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the foreground of a progress bar. is responsible for providing an indication of the progress of the progress bar.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- one ofJProgressBar.HORIZONTALorJProgressBar.VERTICAL
-
paintRadioButtonMenuItemBackground
public void paintRadioButtonMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a radio button menu item.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintRadioButtonMenuItemBorder
public void paintRadioButtonMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of a radio button menu item.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintRadioButtonBackground
public void paintRadioButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a radio button.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintRadioButtonBorder
Paints the border of a radio button.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintRootPaneBackground
Paints the background of a root pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintRootPaneBorder
Paints the border of a root pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintScrollBarBackground
Paints the background of a scrollbar.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintScrollBarBackground
public void paintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a scrollbar. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- Orientation of the JScrollBar, one ofJScrollBar.HORIZONTALorJScrollBar.VERTICAL- Since:
- 1.6
-
paintScrollBarBorder
Paints the border of a scrollbar.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintScrollBarBorder
public void paintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a scrollbar. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- Orientation of the JScrollBar, one ofJScrollBar.HORIZONTALorJScrollBar.VERTICAL- Since:
- 1.6
-
paintScrollBarThumbBackground
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 aJScrollPane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- Orientation of the JScrollBar, one ofJScrollBar.HORIZONTALorJScrollBar.VERTICAL
-
paintScrollBarThumbBorder
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 aJScrollPane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- Orientation of the JScrollBar, one ofJScrollBar.HORIZONTALorJScrollBar.VERTICAL
-
paintScrollBarTrackBackground
public void paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the track of a scrollbar. The track contains the thumb.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintScrollBarTrackBackground
public void paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the track of a scrollbar. The track contains the thumb. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- Orientation of the JScrollBar, one ofJScrollBar.HORIZONTALorJScrollBar.VERTICAL- Since:
- 1.6
-
paintScrollBarTrackBorder
public void paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the track of a scrollbar. The track contains the thumb.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintScrollBarTrackBorder
public void paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the track of a scrollbar. The track contains the thumb. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- Orientation of the JScrollBar, one ofJScrollBar.HORIZONTALorJScrollBar.VERTICAL- Since:
- 1.6
-
paintScrollPaneBackground
public void paintScrollPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a scroll pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintScrollPaneBorder
Paints the border of a scroll pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintSeparatorBackground
Paints the background of a separator.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintSeparatorBackground
public void paintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a separator. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJSeparator.HORIZONTALorJSeparator.VERTICAL- Since:
- 1.6
-
paintSeparatorBorder
Paints the border of a separator.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintSeparatorBorder
public void paintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a separator. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJSeparator.HORIZONTALorJSeparator.VERTICAL- Since:
- 1.6
-
paintSeparatorForeground
public void paintSeparatorForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the foreground of a separator.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJSeparator.HORIZONTALorJSeparator.VERTICAL
-
paintSliderBackground
Paints the background of a slider.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintSliderBackground
public void paintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a slider. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJSlider.HORIZONTALorJSlider.VERTICAL- Since:
- 1.6
-
paintSliderBorder
Paints the border of a slider.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintSliderBorder
public void paintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a slider. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJSlider.HORIZONTALorJSlider.VERTICAL- Since:
- 1.6
-
paintSliderThumbBackground
public void paintSliderThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the thumb of a slider.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJSlider.HORIZONTALorJSlider.VERTICAL
-
paintSliderThumbBorder
public void paintSliderThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the thumb of a slider.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJSlider.HORIZONTALorJSlider.VERTICAL
-
paintSliderTrackBackground
public void paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the track of a slider.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintSliderTrackBackground
public void paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the track of a slider. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJSlider.HORIZONTALorJSlider.VERTICAL- Since:
- 1.6
-
paintSliderTrackBorder
Paints the border of the track of a slider.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintSliderTrackBorder
public void paintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the track of a slider. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJSlider.HORIZONTALorJSlider.VERTICAL- Since:
- 1.6
-
paintSpinnerBackground
Paints the background of a spinner.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintSpinnerBorder
Paints the border of a spinner.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintSplitPaneDividerBackground
public void paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the divider of a split pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintSplitPaneDividerBackground
public void paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the divider of a split pane. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJSplitPane.HORIZONTAL_SPLITorJSplitPane.VERTICAL_SPLIT- Since:
- 1.6
-
paintSplitPaneDividerForeground
public void paintSplitPaneDividerForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the foreground of the divider of a split pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJSplitPane.HORIZONTAL_SPLITorJSplitPane.VERTICAL_SPLIT
-
paintSplitPaneDragDivider
public void paintSplitPaneDragDivider(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the divider, when the user is dragging the divider, of a split pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJSplitPane.HORIZONTAL_SPLITorJSplitPane.VERTICAL_SPLIT
-
paintSplitPaneBackground
Paints the background of a split pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintSplitPaneBorder
Paints the border of a split pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTabbedPaneBackground
public void paintTabbedPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a tabbed pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTabbedPaneBorder
Paints the border of a tabbed pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTabbedPaneTabAreaBackground
public void paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the area behind the tabs of a tabbed pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTabbedPaneTabAreaBackground
public void paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the area behind the tabs of a tabbed pane. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJTabbedPane.TOP,JTabbedPane.LEFT,JTabbedPane.BOTTOM, orJTabbedPane.RIGHT- Since:
- 1.6
-
paintTabbedPaneTabAreaBorder
public void paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the area behind the tabs of a tabbed pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTabbedPaneTabAreaBorder
public void paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the area behind the tabs of a tabbed pane. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJTabbedPane.TOP,JTabbedPane.LEFT,JTabbedPane.BOTTOM, orJTabbedPane.RIGHT- Since:
- 1.6
-
paintTabbedPaneTabBackground
public void paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)Paints the background of a tab of a tabbed pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint totabIndex- Index of tab being painted.
-
paintTabbedPaneTabBackground
public void paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation)Paints the background of a tab of a tabbed pane. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint totabIndex- Index of tab being painted.orientation- One ofJTabbedPane.TOP,JTabbedPane.LEFT,JTabbedPane.BOTTOM, orJTabbedPane.RIGHT- Since:
- 1.6
-
paintTabbedPaneTabBorder
public void paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)Paints the border of a tab of a tabbed pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint totabIndex- Index of tab being painted.
-
paintTabbedPaneTabBorder
public void paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation)Paints the border of a tab of a tabbed pane. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint totabIndex- Index of tab being painted.orientation- One ofJTabbedPane.TOP,JTabbedPane.LEFT,JTabbedPane.BOTTOM, orJTabbedPane.RIGHT- Since:
- 1.6
-
paintTabbedPaneContentBackground
public void paintTabbedPaneContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the area that contains the content of the selected tab of a tabbed pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTabbedPaneContentBorder
public void paintTabbedPaneContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the area that contains the content of the selected tab of a tabbed pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTableHeaderBackground
public void paintTableHeaderBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the header of a table.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTableHeaderBorder
Paints the border of the header of a table.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTableBackground
Paints the background of a table.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTableBorder
Paints the border of a table.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTextAreaBackground
Paints the background of a text area.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTextAreaBorder
Paints the border of a text area.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTextPaneBackground
Paints the background of a text pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTextPaneBorder
Paints the border of a text pane.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTextFieldBackground
Paints the background of a text field.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTextFieldBorder
Paints the border of a text field.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintToggleButtonBackground
public void paintToggleButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of a toggle button.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintToggleButtonBorder
Paints the border of a toggle button.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintToolBarBackground
Paints the background of a tool bar.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintToolBarBackground
public void paintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of a tool bar. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJToolBar.HORIZONTALorJToolBar.VERTICAL- Since:
- 1.6
-
paintToolBarBorder
Paints the border of a tool bar.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintToolBarBorder
public void paintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of a tool bar. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJToolBar.HORIZONTALorJToolBar.VERTICAL- Since:
- 1.6
-
paintToolBarContentBackground
public void paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the tool bar's content area.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintToolBarContentBackground
public void paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the tool bar's content area. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJToolBar.HORIZONTALorJToolBar.VERTICAL- Since:
- 1.6
-
paintToolBarContentBorder
public void paintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the content area of a tool bar.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintToolBarContentBorder
public void paintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the content area of a tool bar. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJToolBar.HORIZONTALorJToolBar.VERTICAL- Since:
- 1.6
-
paintToolBarDragWindowBackground
public void paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the background of the window containing the tool bar when it has been detached from its primary frame.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintToolBarDragWindowBackground
public void paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the background of the window containing the tool bar when it has been detached from its primary frame. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJToolBar.HORIZONTALorJToolBar.VERTICAL- Since:
- 1.6
-
paintToolBarDragWindowBorder
public void paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h)Paints the border of the window containing the tool bar when it has been detached from it's primary frame.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintToolBarDragWindowBorder
public void paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)Paints the border of the window containing the tool bar when it has been detached from it's primary frame. This implementation invokes the method of the same name without the orientation.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint toorientation- One ofJToolBar.HORIZONTALorJToolBar.VERTICAL- Since:
- 1.6
-
paintToolTipBackground
Paints the background of a tool tip.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintToolTipBorder
Paints the border of a tool tip.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTreeBackground
Paints the background of a tree.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTreeBorder
Paints the border of a tree.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTreeCellBackground
Paints the background of the row containing a cell in a tree.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTreeCellBorder
Paints the border of the row containing a cell in a tree.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintTreeCellFocus
Paints the focus indicator for a cell in a tree when it has focus.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintViewportBackground
Paints the background of the viewport.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-
paintViewportBorder
Paints the border of a viewport.- Parameters:
context- SynthContext identifying theJComponentandRegionto paint tog-Graphicsto paint tox- X coordinate of the area to paint toy- Y coordinate of the area to paint tow- Width of the area to paint toh- Height of the area to paint to
-