org.jdesktop.swingx.plaf.nimbus.painters
Class ButtonPainter

java.lang.Object
  extended by javax.swing.plaf.synth.SynthPainter
      extended by org.jdesktop.swingx.plaf.nimbus.painters.ButtonPainter

public class ButtonPainter
extends javax.swing.plaf.synth.SynthPainter

ButtonPainter - handles painting Nimbus style buttons with Java2D

Author:
Created by Jasper Potts (Jan 4, 2007)

Constructor Summary
ButtonPainter()
           
 
Method Summary
 void paintButtonBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
          
 
Methods inherited from class javax.swing.plaf.synth.SynthPainter
paintArrowButtonBackground, paintArrowButtonBorder, paintArrowButtonForeground, paintButtonBorder, paintCheckBoxBackground, paintCheckBoxBorder, paintCheckBoxMenuItemBackground, paintCheckBoxMenuItemBorder, paintColorChooserBackground, paintColorChooserBorder, paintComboBoxBackground, paintComboBoxBorder, paintDesktopIconBackground, paintDesktopIconBorder, paintDesktopPaneBackground, paintDesktopPaneBorder, paintEditorPaneBackground, paintEditorPaneBorder, paintFileChooserBackground, paintFileChooserBorder, paintFormattedTextFieldBackground, paintFormattedTextFieldBorder, paintInternalFrameBackground, paintInternalFrameBorder, paintInternalFrameTitlePaneBackground, paintInternalFrameTitlePaneBorder, paintLabelBackground, paintLabelBorder, paintListBackground, paintListBorder, paintMenuBackground, paintMenuBarBackground, paintMenuBarBorder, paintMenuBorder, paintMenuItemBackground, paintMenuItemBorder, paintOptionPaneBackground, paintOptionPaneBorder, paintPanelBackground, paintPanelBorder, paintPasswordFieldBackground, paintPasswordFieldBorder, paintPopupMenuBackground, paintPopupMenuBorder, paintProgressBarBackground, paintProgressBarBackground, paintProgressBarBorder, paintProgressBarBorder, paintProgressBarForeground, paintRadioButtonBackground, paintRadioButtonBorder, paintRadioButtonMenuItemBackground, paintRadioButtonMenuItemBorder, paintRootPaneBackground, paintRootPaneBorder, paintScrollBarBackground, paintScrollBarBackground, paintScrollBarBorder, paintScrollBarBorder, paintScrollBarThumbBackground, paintScrollBarThumbBorder, paintScrollBarTrackBackground, paintScrollBarTrackBackground, paintScrollBarTrackBorder, paintScrollBarTrackBorder, paintScrollPaneBackground, paintScrollPaneBorder, paintSeparatorBackground, paintSeparatorBackground, paintSeparatorBorder, paintSeparatorBorder, paintSeparatorForeground, paintSliderBackground, paintSliderBackground, paintSliderBorder, paintSliderBorder, paintSliderThumbBackground, paintSliderThumbBorder, paintSliderTrackBackground, paintSliderTrackBackground, paintSliderTrackBorder, paintSliderTrackBorder, paintSpinnerBackground, paintSpinnerBorder, paintSplitPaneBackground, paintSplitPaneBorder, paintSplitPaneDividerBackground, paintSplitPaneDividerBackground, paintSplitPaneDividerForeground, paintSplitPaneDragDivider, paintTabbedPaneBackground, paintTabbedPaneBorder, paintTabbedPaneContentBackground, paintTabbedPaneContentBorder, paintTabbedPaneTabAreaBackground, paintTabbedPaneTabAreaBackground, paintTabbedPaneTabAreaBorder, paintTabbedPaneTabAreaBorder, paintTabbedPaneTabBackground, paintTabbedPaneTabBackground, paintTabbedPaneTabBorder, paintTabbedPaneTabBorder, paintTableBackground, paintTableBorder, paintTableHeaderBackground, paintTableHeaderBorder, paintTextAreaBackground, paintTextAreaBorder, paintTextFieldBackground, paintTextFieldBorder, paintTextPaneBackground, paintTextPaneBorder, paintToggleButtonBackground, paintToggleButtonBorder, paintToolBarBackground, paintToolBarBackground, paintToolBarBorder, paintToolBarBorder, paintToolBarContentBackground, paintToolBarContentBackground, paintToolBarContentBorder, paintToolBarContentBorder, paintToolBarDragWindowBackground, paintToolBarDragWindowBackground, paintToolBarDragWindowBorder, paintToolBarDragWindowBorder, paintToolTipBackground, paintToolTipBorder, paintTreeBackground, paintTreeBorder, paintTreeCellBackground, paintTreeCellBorder, paintTreeCellFocus, paintViewportBackground, paintViewportBorder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ButtonPainter

public ButtonPainter()
Method Detail

paintButtonBackground

public void paintButtonBackground(javax.swing.plaf.synth.SynthContext context,
                                  java.awt.Graphics g,
                                  int x,
                                  int y,
                                  int w,
                                  int h)

Overrides:
paintButtonBackground in class javax.swing.plaf.synth.SynthPainter