SynthPainter is used for painting portions of
JComponents. At a minimum each JComponent
has two paint methods: one for the border and one for the background. Some
JComponents have more than one Region, and as
a consequence more paint methods.
Instances of SynthPainter are obtained from the
javax. 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.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static SynthPainter | NULL_PAINTER
Used to avoid null painter checks everywhere. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | paintArrowButtonBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of an arrow button. |
| public void | paintArrowButtonBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of an arrow button. |
| public void | paintArrowButtonForeground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of SwingConstants.NORTH, SwingConstants.SOUTH
SwingConstants.EAST or SwingConstants.WEST direction)Paints the foreground of an arrow button. |
| public void | paintButtonBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a button. |
| public void | paintButtonBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a button. |
| public void | paintCheckBoxBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a check box. |
| public void | paintCheckBoxBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a check box. |
| public void | paintCheckBoxMenuItemBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a check box menu item. |
| public void | paintCheckBoxMenuItemBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a check box menu item. |
| public void | paintColorChooserBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a color chooser. |
| public void | paintColorChooserBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a color chooser. |
| public void | paintComboBoxBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a combo box. |
| public void | paintComboBoxBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a combo box. |
| public void | paintDesktopIconBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a desktop icon. |
| public void | paintDesktopIconBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a desktop icon. |
| public void | paintDesktopPaneBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a desktop pane. |
| public void | paintDesktopPaneBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a desktop pane. |
| public void | paintEditorPaneBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of an editor pane. |
| public void | paintEditorPaneBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of an editor pane. |
| public void | paintFileChooserBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a file chooser. |
| public void | paintFileChooserBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a file chooser. |
| public void | paintFormattedTextFieldBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a formatted text field. |
| public void | paintFormattedTextFieldBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a formatted text field. |
| public void | paintInternalFrameBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of an internal frame. |
| public void | paintInternalFrameBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of an internal frame. |
| public void | paintInternalFrameTitlePaneBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of an internal frame title pane. |
| public void | paintInternalFrameTitlePaneBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of an internal frame title pane. |
| public void | paintLabelBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a label. |
| public void | paintLabelBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a label. |
| public void | paintListBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a list. |
| public void | paintListBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a list. |
| public void | paintMenuBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a menu. |
| public void | paintMenuBarBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a menu bar. |
| public void | paintMenuBarBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a menu bar. |
| public void | paintMenuBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a menu. |
| public void | paintMenuItemBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a menu item. |
| public void | paintMenuItemBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a menu item. |
| public void | paintOptionPaneBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of an option pane. |
| public void | paintOptionPaneBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of an option pane. |
| public void | paintPanelBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a panel. |
| public void | paintPanelBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a panel. |
| public void | paintPasswordFieldBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a password field. |
| public void | paintPasswordFieldBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a password field. |
| public void | paintPopupMenuBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a popup menu. |
| public void | paintPopupMenuBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a popup menu. |
| public void | paintProgressBarBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a progress bar. |
| public void | paintProgressBarBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int one of orientation)JProgressBar.HORIZONTAL or
JProgressBar.VERTICALPaints the background of a progress bar. |
| public void | paintProgressBarBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a progress bar. |
| public void | paintProgressBarBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int one of orientation)JProgressBar.HORIZONTAL or
JProgressBar.VERTICALPaints the border of a progress bar. |
| public void | paintProgressBarForeground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int one of orientation)JProgressBar.HORIZONTAL or
JProgressBar.VERTICALPaints the foreground of a progress bar. |
| public void | paintRadioButtonBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a radio button. |
| public void | paintRadioButtonBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a radio button. |
| public void | paintRadioButtonMenuItemBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a radio button menu item. |
| public void | paintRadioButtonMenuItemBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a radio button menu item. |
| public void | paintRootPaneBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a root pane. |
| public void | paintRootPaneBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a root pane. |
| public void | paintScrollBarBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a scrollbar. |
| public void | paintScrollBarBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int Orientation of the JScrollBar, one of
orientation)JScrollBar.HORIZONTAL or
JScrollBar.VERTICALPaints the background of a scrollbar. |
| public void | paintScrollBarBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a scrollbar. |
| public void | paintScrollBarBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int Orientation of the JScrollBar, one of
orientation)JScrollBar.HORIZONTAL or
JScrollBar.VERTICALPaints the border of a scrollbar. |
| public void | paintScrollBarThumbBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int Orientation of the JScrollBar, one of
orientation)JScrollBar.HORIZONTAL or
JScrollBar.VERTICALPaints the background of the thumb of a scrollbar. |
| public void | paintScrollBarThumbBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int Orientation of the JScrollBar, one of
orientation)JScrollBar.HORIZONTAL or
JScrollBar.VERTICALPaints the border of the thumb of a scrollbar. |
| public void | paintScrollBarTrackBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of the track of a scrollbar. |
| public void | paintScrollBarTrackBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int Orientation of the JScrollBar, one of
orientation)JScrollBar.HORIZONTAL or
JScrollBar.VERTICALPaints the background of the track of a scrollbar. |
| public void | paintScrollBarTrackBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of the track of a scrollbar. |
| public void | paintScrollBarTrackBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int Orientation of the JScrollBar, one of
orientation)JScrollBar.HORIZONTAL or
JScrollBar.VERTICALPaints the border of the track of a scrollbar. |
| public void | paintScrollPaneBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a scroll pane. |
| public void | paintScrollPaneBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a scroll pane. |
| public void | paintSeparatorBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a separator. |
| public void | paintSeparatorBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JSeparator.HORIZONTAL or
JSeparator.VERTICALPaints the background of a separator. |
| public void | paintSeparatorBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a separator. |
| public void | paintSeparatorBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JSeparator.HORIZONTAL or
JSeparator.VERTICALPaints the border of a separator. |
| public void | paintSeparatorForeground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JSeparator.HORIZONTAL or
JSeparator.VERTICALPaints the foreground of a separator. |
| public void | paintSliderBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a slider. |
| public void | paintSliderBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JSlider.HORIZONTAL or
JSlider.VERTICALPaints the background of a slider. |
| public void | paintSliderBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a slider. |
| public void | paintSliderBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JSlider.HORIZONTAL or
JSlider.VERTICALPaints the border of a slider. |
| public void | paintSliderThumbBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JSlider.HORIZONTAL or
JSlider.VERTICALPaints the background of the thumb of a slider. |
| public void | paintSliderThumbBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JSlider.HORIZONTAL or
JSlider.VERTICALPaints the border of the thumb of a slider. |
| public void | paintSliderTrackBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of the track of a slider. |
| public void | paintSliderTrackBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JSlider.HORIZONTAL or
JSlider.VERTICALPaints the background of the track of a slider. |
| public void | paintSliderTrackBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of the track of a slider. |
| public void | paintSliderTrackBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JSlider.HORIZONTAL or
JSlider.VERTICALPaints the border of the track of a slider. |
| public void | paintSpinnerBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a spinner. |
| public void | paintSpinnerBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a spinner. |
| public void | paintSplitPaneBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a split pane. |
| public void | paintSplitPaneBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a split pane. |
| public void | paintSplitPaneDividerBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of the divider of a split pane. |
| public void | paintSplitPaneDividerBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JSplitPane.HORIZONTAL_SPLIT or
JSplitPane.VERTICAL_SPLITPaints the background of the divider of a split pane. |
| public void | paintSplitPaneDividerForeground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JSplitPane.HORIZONTAL_SPLIT or
JSplitPane.VERTICAL_SPLITPaints the foreground of the divider of a split pane. |
| public void | paintSplitPaneDragDivider(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JSplitPane.HORIZONTAL_SPLIT or
JSplitPane.VERTICAL_SPLITPaints the divider, when the user is dragging the divider, of a split pane. |
| public void | paintTabbedPaneBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a tabbed pane. |
| public void | paintTabbedPaneBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a tabbed pane. |
| public void | paintTabbedPaneContentBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of the area that contains the content of the selected tab of a tabbed pane. |
| public void | paintTabbedPaneContentBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of the area that contains the content of the selected tab of a tabbed pane. |
| public void | paintTabbedPaneTabAreaBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of the area behind the tabs of a tabbed pane. |
| public void | paintTabbedPaneTabAreaBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JTabbedPane.TOP,
JTabbedPane.LEFT,
JTabbedPane.BOTTOM, or
JTabbedPane.RIGHTPaints the background of the area behind the tabs of a tabbed pane. |
| public void | paintTabbedPaneTabAreaBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of the area behind the tabs of a tabbed pane. |
| public void | paintTabbedPaneTabAreaBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JTabbedPane.TOP,
JTabbedPane.LEFT,
JTabbedPane.BOTTOM, or
JTabbedPane.RIGHTPaints the border of the area behind the tabs of a tabbed pane. |
| public void | paintTabbedPaneTabBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int Index of tab being painted. tabIndex)Paints the background of a tab of a tabbed pane. |
| public void | paintTabbedPaneTabBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int Index of tab being painted. tabIndex, int One of orientation)JTabbedPane.TOP,
JTabbedPane.LEFT,
JTabbedPane.BOTTOM, or
JTabbedPane.RIGHTPaints the background of a tab of a tabbed pane. |
| public void | paintTabbedPaneTabBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int Index of tab being painted. tabIndex)Paints the border of a tab of a tabbed pane. |
| public void | paintTabbedPaneTabBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int Index of tab being painted. tabIndex, int One of orientation)JTabbedPane.TOP,
JTabbedPane.LEFT,
JTabbedPane.BOTTOM, or
JTabbedPane.RIGHTPaints the border of a tab of a tabbed pane. |
| public void | paintTableBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a table. |
| public void | paintTableBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a table. |
| public void | paintTableHeaderBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of the header of a table. |
| public void | paintTableHeaderBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of the header of a table. |
| public void | paintTextAreaBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a text area. |
| public void | paintTextAreaBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a text area. |
| public void | paintTextFieldBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a text field. |
| public void | paintTextFieldBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a text field. |
| public void | paintTextPaneBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a text pane. |
| public void | paintTextPaneBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a text pane. |
| public void | paintToggleButtonBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a toggle button. |
| public void | paintToggleButtonBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a toggle button. |
| public void | paintToolBarBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a tool bar. |
| public void | paintToolBarBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JToolBar.HORIZONTAL or
JToolBar.VERTICALPaints the background of a tool bar. |
| public void | paintToolBarBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a tool bar. |
| public void | paintToolBarBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JToolBar.HORIZONTAL or
JToolBar.VERTICALPaints the border of a tool bar. |
| public void | paintToolBarContentBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of the tool bar's content area. |
| public void | paintToolBarContentBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JToolBar.HORIZONTAL or
JToolBar.VERTICALPaints the background of the tool bar's content area. |
| public void | paintToolBarContentBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of the content area of a tool bar. |
| public void | paintToolBarContentBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JToolBar.HORIZONTAL or
JToolBar.VERTICALPaints the border of the content area of a tool bar. |
| public void | paintToolBarDragWindowBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of the window containing the tool bar when it has been detached from its primary frame. |
| public void | paintToolBarDragWindowBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JToolBar.HORIZONTAL or
JToolBar.VERTICALPaints the background of the window containing the tool bar when it has been detached from its primary frame. |
| public void | paintToolBarDragWindowBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of the window containing the tool bar when it has been detached from it's primary frame. |
| public void | paintToolBarDragWindowBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h, int One of orientation)JToolBar.HORIZONTAL or
JToolBar.VERTICALPaints the border of the window containing the tool bar when it has been detached from it's primary frame. |
| public void | paintToolTipBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a tool tip. |
| public void | paintToolTipBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a tool tip. |
| public void | paintTreeBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of a tree. |
| public void | paintTreeBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a tree. |
| public void | paintTreeCellBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of the row containing a cell in a tree. |
| public void | paintTreeCellBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of the row containing a cell in a tree. |
| public void | paintTreeCellFocus(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the focus indicator for a cell in a tree when it has focus. |
| public void | paintViewportBackground(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the background of the viewport. |
| public void | paintViewportBorder(SynthContext
SynthContext identifying the context, Graphics JComponent and
Region to paint toGraphics to paint toX coordinate of the area to paint to x, int Y coordinate of the area to paint to y, int Width of the area to paint to w, int Height of the area to paint to h)Paints the border of a viewport. |