com.alee.laf.panel
Interface PanelPainter<E extends javax.swing.JPanel>

All Superinterfaces:
Painter<E>, PartialDecoration, SpecificPainter
All Known Implementing Classes:
AdaptivePanelPainter, NPPanelPainter, WebBreadcrumbPanelPainter, WebButtonPopup.WebButtonPopupPainter, WebPanelPainter, WebPopOverPainter

public interface PanelPainter<E extends javax.swing.JPanel>
extends Painter<E>, PartialDecoration, SpecificPainter

Base interface for JPanel component painters.

Author:
Mikle Garin

Method Summary
 void setPaintFocus(boolean paint)
          Sets whether focus should be painted or not.
 void setUndecorated(boolean undecorated)
          Sets whether panel decoration should be painted or not.
 
Methods inherited from interface com.alee.extended.painter.Painter
addPainterListener, getMargin, getPreferredSize, install, isOpaque, paint, removePainterListener, uninstall
 
Methods inherited from interface com.alee.extended.painter.PartialDecoration
setPaintBottom, setPaintBottomLine, setPaintLeft, setPaintLeftLine, setPaintRight, setPaintRightLine, setPaintSideLines, setPaintSides, setPaintTop, setPaintTopLine
 

Method Detail

setUndecorated

void setUndecorated(boolean undecorated)
Sets whether panel decoration should be painted or not.

Parameters:
undecorated - whether panel decoration should be painted or not

setPaintFocus

void setPaintFocus(boolean paint)
Sets whether focus should be painted or not. Panel focus is displayed when either panel or one of its children are focused.

Parameters:
paint - whether focus should be painted or not