com.alee.managers.popup
Class WebButtonPopup.WebButtonPopupPainter

java.lang.Object
  extended by com.alee.extended.painter.AbstractPainter<E>
      extended by com.alee.managers.style.skin.web.WebDecorationPainter<E>
          extended by com.alee.managers.style.skin.web.WebPanelPainter<WebButtonPopup>
              extended by com.alee.managers.popup.WebButtonPopup.WebButtonPopupPainter
All Implemented Interfaces:
Painter<WebButtonPopup>, PartialDecoration, SpecificPainter, PanelPainter<WebButtonPopup>, PainterShapeProvider<WebButtonPopup>
Enclosing class:
WebButtonPopup

protected class WebButtonPopup.WebButtonPopupPainter
extends WebPanelPainter<WebButtonPopup>

Custom button popup painter.


Field Summary
 
Fields inherited from class com.alee.managers.style.skin.web.WebDecorationPainter
actualPaintLeft, actualPaintRight, BACKGROUND_SHAPE, BORDER_SHAPE, borderColor, borderStroke, disabledBorderColor, focused, focusTracker, h, ltr, paintBackground, paintBottom, paintBottomLine, paintFocus, paintLeft, paintLeftLine, paintRight, paintRightLine, paintTop, paintTopLine, round, shadeTransparency, shadeWidth, undecorated, w, webColoredBackground
 
Fields inherited from class com.alee.extended.painter.AbstractPainter
listeners, margin, opaque, preferredSize
 
Constructor Summary
protected WebButtonPopup.WebButtonPopupPainter()
           
 
Method Summary
 void paint(java.awt.Graphics2D g2d, java.awt.Rectangle bounds, WebButtonPopup c)
          Paints visual data onto the component graphics.
 
Methods inherited from class com.alee.managers.style.skin.web.WebPanelPainter
isOpaque
 
Methods inherited from class com.alee.managers.style.skin.web.WebDecorationPainter
createShape, getBorderColor, getBorderStroke, getCachedShapeSettings, getDisabledBorderColor, getMargin, getRound, getShadeTransparency, getShadeWidth, getShape, install, isPaintBackground, isPaintBottom, isPaintBottomLine, isPaintFocus, isPaintLeft, isPaintLeftLine, isPaintRight, isPaintRightLine, isPaintTop, isPaintTopLine, isUndecorated, isWebColoredBackground, paintBackground, paintBorder, paintShade, provideShape, setBorderColor, setBorderStroke, setDisabledBorderColor, setPaintBackground, setPaintBottom, setPaintBottomLine, setPaintFocus, setPaintLeft, setPaintLeftLine, setPaintRight, setPaintRightLine, setPaintSideLines, setPaintSides, setPaintTop, setPaintTopLine, setRound, setShadeTransparency, setShadeWidth, setUndecorated, setWebColoredBackground, uninstall
 
Methods inherited from class com.alee.extended.painter.AbstractPainter
addPainterListener, getPreferredSize, p, removePainterListener, repaint, repaint, repaint, revalidate, setMargin, setMargin, setMargin, setOpaque, setPreferredSize, updateAll, updateOpacity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.alee.laf.panel.PanelPainter
setPaintFocus, setUndecorated
 
Methods inherited from interface com.alee.extended.painter.Painter
addPainterListener, getMargin, getPreferredSize, install, removePainterListener, uninstall
 
Methods inherited from interface com.alee.extended.painter.PartialDecoration
setPaintBottom, setPaintBottomLine, setPaintLeft, setPaintLeftLine, setPaintRight, setPaintRightLine, setPaintSideLines, setPaintSides, setPaintTop, setPaintTopLine
 

Constructor Detail

WebButtonPopup.WebButtonPopupPainter

protected WebButtonPopup.WebButtonPopupPainter()
Method Detail

paint

public void paint(java.awt.Graphics2D g2d,
                  java.awt.Rectangle bounds,
                  WebButtonPopup c)
Paints visual data onto the component graphics. Provided graphics and component are taken directly from component UI paint method. Provided bounds are usually fake (zero location, component size) but in some cases it might be specified by componentUI.

Specified by:
paint in interface Painter<WebButtonPopup>
Overrides:
paint in class WebPanelPainter<WebButtonPopup>
Parameters:
g2d - component graphics
bounds - bounds for painter visual data
c - component to process