public abstract class SynthPainter extends Object
SynthPainter
is used for painting portions of JComponent
s. At a minimum each JComponent
has two paint methods: one for the border and one for the background. Some JComponent
s 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 JButton
s 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.
Modifier | Constructor | Description |
---|---|---|
protected |
Constructor for subclasses to call. |
Modifier and Type | Method | Description |
---|---|---|
void |
paintArrowButtonBackground |
Paints the background of an arrow button. |
void |
paintArrowButtonBorder |
Paints the border of an arrow button. |
void |
paintArrowButtonForeground |
Paints the foreground of an arrow button. |
void |
paintButtonBackground |
Paints the background of a button. |
void |
paintButtonBorder |
Paints the border of a button. |
void |
paintCheckBoxBackground |
Paints the background of a check box. |
void |
paintCheckBoxBorder |
Paints the border of a check box. |
void |
paintCheckBoxMenuItemBackground |
Paints the background of a check box menu item. |
void |
paintCheckBoxMenuItemBorder |
Paints the border of a check box menu item. |
void |
paintColorChooserBackground |
Paints the background of a color chooser. |
void |
paintColorChooserBorder |
Paints the border of a color chooser. |
void |
paintComboBoxBackground |
Paints the background of a combo box. |
void |
paintComboBoxBorder |
Paints the border of a combo box. |
void |
paintDesktopIconBackground |
Paints the background of a desktop icon. |
void |
paintDesktopIconBorder |
Paints the border of a desktop icon. |
void |
paintDesktopPaneBackground |
Paints the background of a desktop pane. |
void |
paintDesktopPaneBorder |
Paints the background of a desktop pane. |
void |
paintEditorPaneBackground |
Paints the background of an editor pane. |
void |
paintEditorPaneBorder |
Paints the border of an editor pane. |
void |
paintFileChooserBackground |
Paints the background of a file chooser. |
void |
paintFileChooserBorder |
Paints the border of a file chooser. |
void |
paintFormattedTextFieldBackground |
Paints the background of a formatted text field. |
void |
paintFormattedTextFieldBorder |
Paints the border of a formatted text field. |
void |
paintInternalFrameBackground |
Paints the background of an internal frame. |
void |
paintInternalFrameBorder |
Paints the border of an internal frame. |
void |
paintInternalFrameTitlePaneBackground |
Paints the background of an internal frame title pane. |
void |
paintInternalFrameTitlePaneBorder |
Paints the border of an internal frame title pane. |
void |
paintLabelBackground |
Paints the background of a label. |
void |
paintLabelBorder |
Paints the border of a label. |
void |
paintListBackground |
Paints the background of a list. |
void |
paintListBorder |
Paints the border of a list. |
void |
paintMenuBackground |
Paints the background of a menu. |
void |
paintMenuBarBackground |
Paints the background of a menu bar. |
void |
paintMenuBarBorder |
Paints the border of a menu bar. |
void |
paintMenuBorder |
Paints the border of a menu. |
void |
paintMenuItemBackground |
Paints the background of a menu item. |
void |
paintMenuItemBorder |
Paints the border of a menu item. |
void |
paintOptionPaneBackground |
Paints the background of an option pane. |
void |
paintOptionPaneBorder |
Paints the border of an option pane. |
void |
paintPanelBackground |
Paints the background of a panel. |
void |
paintPanelBorder |
Paints the border of a panel. |
void |
paintPasswordFieldBackground |
Paints the background of a password field. |
void |
paintPasswordFieldBorder |
Paints the border of a password field. |
void |
paintPopupMenuBackground |
Paints the background of a popup menu. |
void |
paintPopupMenuBorder |
Paints the border of a popup menu. |
void |
paintProgressBarBackground |
Paints the background of a progress bar. |
void |
paintProgressBarBackground |
Paints the background of a progress bar. |
void |
paintProgressBarBorder |
Paints the border of a progress bar. |
void |
paintProgressBarBorder |
Paints the border of a progress bar. |
void |
paintProgressBarForeground |
Paints the foreground of a progress bar. is responsible for providing an indication of the progress of the progress bar. |
void |
paintRadioButtonBackground |
Paints the background of a radio button. |
void |
paintRadioButtonBorder |
Paints the border of a radio button. |
void |
paintRadioButtonMenuItemBackground |
Paints the background of a radio button menu item. |
void |
paintRadioButtonMenuItemBorder |
Paints the border of a radio button menu item. |
void |
paintRootPaneBackground |
Paints the background of a root pane. |
void |
paintRootPaneBorder |
Paints the border of a root pane. |
void |
paintScrollBarBackground |
Paints the background of a scrollbar. |
void |
paintScrollBarBackground |
Paints the background of a scrollbar. |
void |
paintScrollBarBorder |
Paints the border of a scrollbar. |
void |
paintScrollBarBorder |
Paints the border of a scrollbar. |
void |
paintScrollBarThumbBackground |
Paints the background of the thumb of a scrollbar. |
void |
paintScrollBarThumbBorder |
Paints the border of the thumb of a scrollbar. |
void |
paintScrollBarTrackBackground |
Paints the background of the track of a scrollbar. |
void |
paintScrollBarTrackBackground |
Paints the background of the track of a scrollbar. |
void |
paintScrollBarTrackBorder |
Paints the border of the track of a scrollbar. |
void |
paintScrollBarTrackBorder |
Paints the border of the track of a scrollbar. |
void |
paintScrollPaneBackground |
Paints the background of a scroll pane. |
void |
paintScrollPaneBorder |
Paints the border of a scroll pane. |
void |
paintSeparatorBackground |
Paints the background of a separator. |
void |
paintSeparatorBackground |
Paints the background of a separator. |
void |
paintSeparatorBorder |
Paints the border of a separator. |
void |
paintSeparatorBorder |
Paints the border of a separator. |
void |
paintSeparatorForeground |
Paints the foreground of a separator. |
void |
paintSliderBackground |
Paints the background of a slider. |
void |
paintSliderBackground |
Paints the background of a slider. |
void |
paintSliderBorder |
Paints the border of a slider. |
void |
paintSliderBorder |
Paints the border of a slider. |
void |
paintSliderThumbBackground |
Paints the background of the thumb of a slider. |
void |
paintSliderThumbBorder |
Paints the border of the thumb of a slider. |
void |
paintSliderTrackBackground |
Paints the background of the track of a slider. |
void |
paintSliderTrackBackground |
Paints the background of the track of a slider. |
void |
paintSliderTrackBorder |
Paints the border of the track of a slider. |
void |
paintSliderTrackBorder |
Paints the border of the track of a slider. |
void |
paintSpinnerBackground |
Paints the background of a spinner. |
void |
paintSpinnerBorder |
Paints the border of a spinner. |
void |
paintSplitPaneBackground |
Paints the background of a split pane. |
void |
paintSplitPaneBorder |
Paints the border of a split pane. |
void |
paintSplitPaneDividerBackground |
Paints the background of the divider of a split pane. |
void |
paintSplitPaneDividerBackground |
Paints the background of the divider of a split pane. |
void |
paintSplitPaneDividerForeground |
Paints the foreground of the divider of a split pane. |
void |
paintSplitPaneDragDivider |
Paints the divider, when the user is dragging the divider, of a split pane. |
void |
paintTabbedPaneBackground |
Paints the background of a tabbed pane. |
void |
paintTabbedPaneBorder |
Paints the border of a tabbed pane. |
void |
paintTabbedPaneContentBackground |
Paints the background of the area that contains the content of the selected tab of a tabbed pane. |
void |
paintTabbedPaneContentBorder |
Paints the border of the area that contains the content of the selected tab of a tabbed pane. |
void |
paintTabbedPaneTabAreaBackground |
Paints the background of the area behind the tabs of a tabbed pane. |
void |
paintTabbedPaneTabAreaBackground |
Paints the background of the area behind the tabs of a tabbed pane. |
void |
paintTabbedPaneTabAreaBorder |
Paints the border of the area behind the tabs of a tabbed pane. |
void |
paintTabbedPaneTabAreaBorder |
Paints the border of the area behind the tabs of a tabbed pane. |
void |
paintTabbedPaneTabBackground |
Paints the background of a tab of a tabbed pane. |
void |
paintTabbedPaneTabBackground |
Paints the background of a tab of a tabbed pane. |
void |
paintTabbedPaneTabBorder |
Paints the border of a tab of a tabbed pane. |
void |
paintTabbedPaneTabBorder |
Paints the border of a tab of a tabbed pane. |
void |
paintTableBackground |
Paints the background of a table. |
void |
paintTableBorder |
Paints the border of a table. |
void |
paintTableHeaderBackground |
Paints the background of the header of a table. |
void |
paintTableHeaderBorder |
Paints the border of the header of a table. |
void |
paintTextAreaBackground |
Paints the background of a text area. |
void |
paintTextAreaBorder |
Paints the border of a text area. |
void |
paintTextFieldBackground |
Paints the background of a text field. |
void |
paintTextFieldBorder |
Paints the border of a text field. |
void |
paintTextPaneBackground |
Paints the background of a text pane. |
void |
paintTextPaneBorder |
Paints the border of a text pane. |
void |
paintToggleButtonBackground |
Paints the background of a toggle button. |
void |
paintToggleButtonBorder |
Paints the border of a toggle button. |
void |
paintToolBarBackground |
Paints the background of a tool bar. |
void |
paintToolBarBackground |
Paints the background of a tool bar. |
void |
paintToolBarBorder |
Paints the border of a tool bar. |
void |
paintToolBarBorder |
Paints the border of a tool bar. |
void |
paintToolBarContentBackground |
Paints the background of the tool bar's content area. |
void |
paintToolBarContentBackground |
Paints the background of the tool bar's content area. |
void |
paintToolBarContentBorder |
Paints the border of the content area of a tool bar. |
void |
paintToolBarContentBorder |
Paints the border of the content area of a tool bar. |
void |
paintToolBarDragWindowBackground |
Paints the background of the window containing the tool bar when it has been detached from its primary frame. |
void |
paintToolBarDragWindowBackground |
Paints the background of the window containing the tool bar when it has been detached from its primary frame. |
void |
paintToolBarDragWindowBorder |
Paints the border of the window containing the tool bar when it has been detached from it's primary frame. |
void |
paintToolBarDragWindowBorder |
Paints the border of the window containing the tool bar when it has been detached from it's primary frame. |
void |
paintToolTipBackground |
Paints the background of a tool tip. |
void |
paintToolTipBorder |
Paints the border of a tool tip. |
void |
paintTreeBackground |
Paints the background of a tree. |
void |
paintTreeBorder |
Paints the border of a tree. |
void |
paintTreeCellBackground |
Paints the background of the row containing a cell in a tree. |
void |
paintTreeCellBorder |
Paints the border of the row containing a cell in a tree. |
void |
paintTreeCellFocus |
Paints the focus indicator for a cell in a tree when it has focus. |
void |
paintViewportBackground |
Paints the background of the viewport. |
void |
paintViewportBorder |
Paints the border of a viewport. |
protected SynthPainter()
public void paintArrowButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
JScrollBar
.context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintArrowButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
JScrollBar
.context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintArrowButtonForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int direction)
JScrollBar
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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.WESTpublic void paintButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintCheckBoxMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintCheckBoxMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintCheckBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintCheckBoxBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintColorChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintColorChooserBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintComboBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintComboBoxBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintDesktopIconBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintDesktopIconBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintDesktopPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintDesktopPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintEditorPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintEditorPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintFileChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintFileChooserBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintFormattedTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintFormattedTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintInternalFrameTitlePaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintInternalFrameTitlePaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintInternalFrameBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintInternalFrameBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintLabelBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintLabelBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintListBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintListBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintMenuBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintMenuBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintMenuBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintOptionPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintOptionPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintPanelBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintPanelBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintPasswordFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintPasswordFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintPopupMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintPopupMenuBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JProgressBar.HORIZONTAL
or JProgressBar.VERTICAL
public void paintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JProgressBar.HORIZONTAL
or JProgressBar.VERTICAL
public void paintProgressBarForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JProgressBar.HORIZONTAL
or JProgressBar.VERTICAL
public void paintRadioButtonMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintRadioButtonMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintRadioButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintRadioButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintRootPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintRootPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JScrollBar.HORIZONTAL
or JScrollBar.VERTICAL
public void paintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JScrollBar.HORIZONTAL
or JScrollBar.VERTICAL
public void paintScrollBarThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
JScrollPane
.context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JScrollBar.HORIZONTAL
or JScrollBar.VERTICAL
public void paintScrollBarThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
JScrollPane
.context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JScrollBar.HORIZONTAL
or JScrollBar.VERTICAL
public void paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JScrollBar.HORIZONTAL
or JScrollBar.VERTICAL
public void paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JScrollBar.HORIZONTAL
or JScrollBar.VERTICAL
public void paintScrollPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintScrollPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JSeparator.HORIZONTAL
or JSeparator.VERTICAL
public void paintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JSeparator.HORIZONTAL
or JSeparator.VERTICAL
public void paintSeparatorForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JSeparator.HORIZONTAL
or JSeparator.VERTICAL
public void paintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JSlider.HORIZONTAL
or JSlider.VERTICAL
public void paintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JSlider.HORIZONTAL
or JSlider.VERTICAL
public void paintSliderThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JSlider.HORIZONTAL
or JSlider.VERTICAL
public void paintSliderThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JSlider.HORIZONTAL
or JSlider.VERTICAL
public void paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JSlider.HORIZONTAL
or JSlider.VERTICAL
public void paintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JSlider.HORIZONTAL
or JSlider.VERTICAL
public void paintSpinnerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintSpinnerBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JSplitPane.HORIZONTAL_SPLIT
or JSplitPane.VERTICAL_SPLIT
public void paintSplitPaneDividerForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JSplitPane.HORIZONTAL_SPLIT
or JSplitPane.VERTICAL_SPLIT
public void paintSplitPaneDragDivider(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JSplitPane.HORIZONTAL_SPLIT
or JSplitPane.VERTICAL_SPLIT
public void paintSplitPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintSplitPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTabbedPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTabbedPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JTabbedPane.TOP
, JTabbedPane.LEFT
, JTabbedPane.BOTTOM
, or JTabbedPane.RIGHT
public void paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JTabbedPane.TOP
, JTabbedPane.LEFT
, JTabbedPane.BOTTOM
, or JTabbedPane.RIGHT
public void paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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.public void paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JTabbedPane.TOP
, JTabbedPane.LEFT
, JTabbedPane.BOTTOM
, or JTabbedPane.RIGHT
public void paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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.public void paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JTabbedPane.TOP
, JTabbedPane.LEFT
, JTabbedPane.BOTTOM
, or JTabbedPane.RIGHT
public void paintTabbedPaneContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTabbedPaneContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTableHeaderBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTableHeaderBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTableBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTableBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTextAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTextAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTextPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTextPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintToggleButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintToggleButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JToolBar.HORIZONTAL
or JToolBar.VERTICAL
public void paintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JToolBar.HORIZONTAL
or JToolBar.VERTICAL
public void paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JToolBar.HORIZONTAL
or JToolBar.VERTICAL
public void paintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JToolBar.HORIZONTAL
or JToolBar.VERTICAL
public void paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JToolBar.HORIZONTAL
or JToolBar.VERTICAL
public void paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 of JToolBar.HORIZONTAL
or JToolBar.VERTICAL
public void paintToolTipBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintToolTipBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTreeBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTreeBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTreeCellBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTreeCellBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintTreeCellFocus(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintViewportBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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 topublic void paintViewportBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- SynthContext identifying the JComponent
and Region
to paint tog
- Graphics
to 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
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/synth/SynthPainter.html