public class AdaptivePanelPainter<E extends javax.swing.JPanel> extends AdaptivePainter<E> implements PanelPainter<E>
listeners, margin, opaque, preferredSize| Constructor and Description |
|---|
AdaptivePanelPainter(Painter painter)
Constructs new AdaptivePanelPainter for the specified painter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setPaintBottom(boolean bottom)
Sets whether should paint bottom side or not.
|
void |
setPaintBottomLine(boolean bottom)
Sets whether should paint bottom side line or not.
|
void |
setPaintFocus(boolean paint)
Sets whether focus should be painted or not.
|
void |
setPaintLeft(boolean left)
Sets whether should paint left side or not.
|
void |
setPaintLeftLine(boolean left)
Sets whether should paint left side line or not.
|
void |
setPaintRight(boolean right)
Sets whether should paint right side or not.
|
void |
setPaintRightLine(boolean right)
Sets whether should paint right side line or not.
|
void |
setPaintSideLines(boolean top,
boolean left,
boolean bottom,
boolean right)
Sets whether should paint specific side lines or not.
|
void |
setPaintSides(boolean top,
boolean left,
boolean bottom,
boolean right)
Sets whether should paint specific sides or not.
|
void |
setPaintTop(boolean top)
Sets whether should paint top side or not.
|
void |
setPaintTopLine(boolean top)
Sets whether should paint top side line or not.
|
void |
setUndecorated(boolean undecorated)
Sets whether panel decoration should be painted or not.
|
addPainterListener, getMargin, getPainter, getPreferredSize, install, isOpaque, paint, removePainterListener, uninstallp, repaint, repaint, repaint, revalidate, setMargin, setMargin, setMargin, setOpaque, setPreferredSize, updateAll, updateOpacityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPainterListener, getMargin, getPreferredSize, install, isOpaque, paint, removePainterListener, uninstallpublic AdaptivePanelPainter(Painter painter)
painter - painter to adaptpublic void setUndecorated(boolean undecorated)
setUndecorated in interface PanelPainter<E extends javax.swing.JPanel>undecorated - whether panel decoration should be painted or notpublic void setPaintFocus(boolean paint)
setPaintFocus in interface PanelPainter<E extends javax.swing.JPanel>paint - whether focus should be painted or notpublic void setPaintTop(boolean top)
setPaintTop in interface PartialDecorationtop - whether should paint top side or notpublic void setPaintLeft(boolean left)
setPaintLeft in interface PartialDecorationleft - whether should paint left side or notpublic void setPaintBottom(boolean bottom)
setPaintBottom in interface PartialDecorationbottom - whether should paint bottom side or notpublic void setPaintRight(boolean right)
setPaintRight in interface PartialDecorationright - whether should paint right side or notpublic void setPaintSides(boolean top,
boolean left,
boolean bottom,
boolean right)
setPaintSides in interface PartialDecorationtop - whether should paint top side or notleft - whether should paint left side or notbottom - whether should paint bottom side or notright - whether should paint right side or notpublic void setPaintTopLine(boolean top)
setPaintTopLine in interface PartialDecorationtop - whether should paint top side line or notpublic void setPaintLeftLine(boolean left)
setPaintLeftLine in interface PartialDecorationleft - whether should paint left side line or notpublic void setPaintBottomLine(boolean bottom)
setPaintBottomLine in interface PartialDecorationbottom - whether should paint bottom side line or notpublic void setPaintRightLine(boolean right)
setPaintRightLine in interface PartialDecorationright - whether should paint right side line or notpublic void setPaintSideLines(boolean top,
boolean left,
boolean bottom,
boolean right)
setPaintSideLines in interface PartialDecorationtop - whether should paint top side line or notleft - whether should paint left side line or notbottom - whether should paint bottom side line or notright - whether should paint right side line or not