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

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

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

MenuPainter

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

Constructor Summary
MenuPainter()
           
 
Method Summary
 void paintMenuBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
          
 void paintMenuBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
          
 void paintMenuBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
          
 void paintPopupMenuBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
          
 void paintPopupMenuBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
          
 void paintSeparatorForeground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)
          
 
Methods inherited from class javax.swing.plaf.synth.SynthPainter
paintArrowButtonBackground, paintArrowButtonBorder, paintArrowButtonForeground, paintButtonBackground, 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, paintMenuBorder, paintMenuItemBackground, paintMenuItemBorder, paintOptionPaneBackground, paintOptionPaneBorder, paintPanelBackground, paintPanelBorder, paintPasswordFieldBackground, paintPasswordFieldBorder, 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, 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

MenuPainter

public MenuPainter()
Method Detail

paintMenuBarBackground

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

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

paintMenuBarBorder

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

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

paintPopupMenuBackground

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

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

paintPopupMenuBorder

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

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

paintMenuBackground

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

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

paintSeparatorForeground

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

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