APIdia Launch Partner
Top Inners Fields Constructors Methods
com.sun.java.swing.plaf.gtk

pack-priv Class GTKPainter

extends SynthPainter
Class Inheritance
Imports
sun.awt.ModalExclude, .SunToolkit, .UNIXToolkit, javax.swing.plaf.synth.*, java.awt.*, javax.swing.*, javax.swing.border.*, javax.swing.plaf.*, com.sun.java.swing.plaf.gtk.GTKConstants.ArrowType, .GTKConstants.ExpanderStyle, .GTKConstants.Orientation, .GTKConstants.PositionType, .GTKConstants.ShadowType, java.awt.image.BufferedImage, java.lang.reflect.InvocationTargetException, .Method

Authors
Joshua Outwater, Scott Violet

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static class

Field Summary

Modifier and TypeField and Description
private static final GTKEngine
pack-priv static final GTKPainter
private static final GTKConstants.PositionType[]
private static final GTKConstants.ShadowType[]

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private void
fillArea(SynthContext context, Graphics g, int x, int y, int w, int h, ColorType colorType)

private String
public void
paintArrowButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintArrowButtonBackground.

Paints the background of an arrow button.

public void
paintArrowButtonForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int direction)

Overrides javax.swing.plaf.synth.SynthPainter.paintArrowButtonForeground.

Paints the foreground of an arrow button.

public void
paintAscendingSortIcon(SynthContext context, Graphics g, int state, int x, int y, int w, int h)

public void
paintButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintButtonBackground.

Paints the background of a button.

private void
paintButtonBackgroundImpl(SynthContext context, Graphics g, Region id, String detail, int x, int y, int w, int h, boolean paintBackground, boolean paintFocus, boolean defaultCapable, boolean toolButton)

public void
paintCheckBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintCheckBoxBackground.

Paints the background of a check box.

public void
paintCheckBoxIcon(SynthContext context, Graphics g, int state, int x, int y, int w, int h)

public void
paintCheckBoxMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintCheckBoxMenuItemBackground.

Paints the background of a check box menu item.

public void
paintCheckBoxMenuItemCheckIcon(SynthContext context, Graphics g, int state, int x, int y, int w, int h)

private void
paintComponentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

public void
paintDescendingSortIcon(SynthContext context, Graphics g, int state, int x, int y, int w, int h)

public void
paintDesktopIconBorder(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintDesktopIconBorder.

Paints the border of a desktop icon.

public void
paintDesktopPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintDesktopPaneBackground.

Paints the background of a desktop pane.

public void
paintEditorPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintEditorPaneBackground.

Paints the background of an editor pane.

pack-priv void
paintFocus(SynthContext context, Graphics g, Region id, int state, String detail, int x, int y, int w, int h)

public void
paintFormattedTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintFormattedTextFieldBackground.

Paints the background of a formatted text field.

pack-priv void
paintIcon(SynthContext context, Graphics g, Method paintMethod, int x, int y, int w, int h)

pack-priv void
paintIcon(SynthContext context, Graphics g, Method paintMethod, int x, int y, int w, int h, Object direction)

public void
paintInternalFrameBorder(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintInternalFrameBorder.

Paints the border of an internal frame.

public void
paintLabelBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintLabelBackground.

Paints the background of a label.

public void
paintListBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintListBackground.

Paints the background of a list.

public void
paintMenuArrowIcon(SynthContext context, Graphics g, int state, int x, int y, int w, int h, GTKConstants.ArrowType dir)

public void
paintMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintMenuBackground.

Paints the background of a menu.

public void
paintMenuBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintMenuBarBackground.

Paints the background of a menu bar.

public void
paintMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintMenuItemBackground.

Paints the background of a menu item.

pack-priv void
paintMetacityElement(SynthContext context, Graphics g, int gtkState, String detail, int x, int y, int w, int h, GTKConstants.ShadowType shadow, GTKConstants.ArrowType direction)

public void
paintPasswordFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintPasswordFieldBackground.

Paints the background of a password field.

public void
paintPopupMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintPopupMenuBackground.

Paints the background of a popup menu.

public void
paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintProgressBarBackground.

Paints the background of a progress bar.

public void
paintProgressBarForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)

Overrides javax.swing.plaf.synth.SynthPainter.paintProgressBarForeground.

Paints the foreground of a progress bar.

public void
paintRadioButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintRadioButtonBackground.

Paints the background of a radio button.

public void
paintRadioButtonIcon(SynthContext context, Graphics g, int state, int x, int y, int w, int h)

public void
paintRadioButtonMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintRadioButtonMenuItemBackground.

Paints the background of a radio button menu item.

public void
paintRadioButtonMenuItemCheckIcon(SynthContext context, Graphics g, int state, int x, int y, int w, int h)

public void
paintRootPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintRootPaneBackground.

Paints the background of a root pane.

public void
paintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintScrollBarBackground.

Paints the background of a scrollbar.

public void
paintScrollBarThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int dir)

Overrides javax.swing.plaf.synth.SynthPainter.paintScrollBarThumbBackground.

Paints the background of the thumb of a scrollbar.

public void
paintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)

Overrides javax.swing.plaf.synth.SynthPainter.paintSeparatorBackground.

Paints the background of a separator.

public void
paintSliderThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int dir)

Overrides javax.swing.plaf.synth.SynthPainter.paintSliderThumbBackground.

Paints the background of the thumb of a slider.

public void
paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintSliderTrackBackground.

Paints the background of the track of a slider.

public void
paintSpinnerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintSpinnerBackground.

Paints the background of a spinner.

public void
paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintSplitPaneDividerBackground.

Paints the background of the divider of a split pane.

public void
paintSplitPaneDragDivider(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)

Overrides javax.swing.plaf.synth.SynthPainter.paintSplitPaneDragDivider.

Paints the divider, when the user is dragging the divider, of a split pane.

public void
paintTabbedPaneContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintTabbedPaneContentBackground.

Paints the background of the area that contains the content of the selected tab of a tabbed pane.

public void
paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)

Overrides javax.swing.plaf.synth.SynthPainter.paintTabbedPaneTabBackground.

Paints the background of a tab of a tabbed pane.

public void
paintTextAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintTextAreaBackground.

Paints the background of a text area.

private void
paintTextBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

public void
paintTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintTextFieldBackground.

Paints the background of a text field.

public void
paintTextPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintTextPaneBackground.

Paints the background of a text pane.

public void
paintToggleButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintToggleButtonBackground.

Paints the background of a toggle button.

public void
paintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintToolBarBackground.

Paints the background of a tool bar.

public void
paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintToolBarContentBackground.

Paints the background of the tool bar's content area.

public void
paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintToolBarDragWindowBackground.

Paints the background of the window containing the tool bar when it has been detached from its primary frame.

public void
paintToolBarHandleIcon(SynthContext context, Graphics g, int state, int x, int y, int w, int h, GTKConstants.Orientation orientation)

public void
paintToolTipBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintToolTipBackground.

Paints the background of a tool tip.

public void
paintTreeBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintTreeBackground.

Paints the background of a tree.

public void
paintTreeCellBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintTreeCellBackground.

Paints the background of the row containing a cell in a tree.

private void
paintTreeCellEditorBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

public void
paintTreeCellFocus(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintTreeCellFocus.

Paints the focus indicator for a cell in a tree when it has focus.

public void
paintTreeCollapsedIcon(SynthContext context, Graphics g, int state, int x, int y, int w, int h)

public void
paintTreeExpandedIcon(SynthContext context, Graphics g, int state, int x, int y, int w, int h)

public void
paintViewportBackground(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintViewportBackground.

Paints the background of the viewport.

public void
paintViewportBorder(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthPainter.paintViewportBorder.

Paints the border of a viewport.

Inherited from javax.swing.plaf.synth.SynthPainter:
paintArrowButtonBorderpaintButtonBorderpaintCheckBoxBorderpaintCheckBoxMenuItemBorderpaintColorChooserBackgroundpaintColorChooserBorderpaintComboBoxBackgroundpaintComboBoxBorderpaintDesktopIconBackgroundpaintDesktopPaneBorderpaintEditorPaneBorderpaintFileChooserBackgroundpaintFileChooserBorderpaintFormattedTextFieldBorderpaintInternalFrameBackgroundpaintInternalFrameTitlePaneBackgroundpaintInternalFrameTitlePaneBorderpaintLabelBorderpaintListBorderpaintMenuBarBorderpaintMenuBorderpaintMenuItemBorderpaintOptionPaneBackgroundpaintOptionPaneBorderpaintPanelBackgroundpaintPanelBorderpaintPasswordFieldBorderpaintPopupMenuBorderpaintProgressBarBackgroundpaintProgressBarBorderpaintProgressBarBorderpaintRadioButtonBorderpaintRadioButtonMenuItemBorderpaintRootPaneBorderpaintScrollBarBackgroundpaintScrollBarBorderpaintScrollBarBorderpaintScrollBarThumbBorderpaintScrollBarTrackBackgroundpaintScrollBarTrackBackgroundpaintScrollBarTrackBorderpaintScrollBarTrackBorderpaintScrollPaneBackgroundpaintScrollPaneBorderpaintSeparatorBackgroundpaintSeparatorBorderpaintSeparatorBorderpaintSeparatorForegroundpaintSliderBackgroundpaintSliderBackgroundpaintSliderBorderpaintSliderBorderpaintSliderThumbBorderpaintSliderTrackBackgroundpaintSliderTrackBorderpaintSliderTrackBorderpaintSpinnerBorderpaintSplitPaneBackgroundpaintSplitPaneBorderpaintSplitPaneDividerBackgroundpaintSplitPaneDividerForegroundpaintTabbedPaneBackgroundpaintTabbedPaneBorderpaintTabbedPaneContentBorderpaintTabbedPaneTabAreaBackgroundpaintTabbedPaneTabAreaBackgroundpaintTabbedPaneTabAreaBorderpaintTabbedPaneTabAreaBorderpaintTabbedPaneTabBackgroundpaintTabbedPaneTabBorderpaintTabbedPaneTabBorderpaintTableBackgroundpaintTableBorderpaintTableHeaderBackgroundpaintTableHeaderBorderpaintTextAreaBorderpaintTextFieldBorderpaintTextPaneBorderpaintToggleButtonBorderpaintToolBarBackgroundpaintToolBarBorderpaintToolBarBorderpaintToolBarContentBackgroundpaintToolBarContentBorderpaintToolBarContentBorderpaintToolBarDragWindowBackgroundpaintToolBarDragWindowBorderpaintToolBarDragWindowBorderpaintToolTipBorderpaintTreeBorderpaintTreeCellBorder