|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.extended.painter.AbstractPainter<E> com.alee.extended.painter.AdaptivePainter<E> com.alee.laf.panel.AdaptivePanelPainter<E>
public class AdaptivePanelPainter<E extends javax.swing.JPanel>
Simple PanelPainter adapter class. It is used to install simple non-specific painters into WebPanelUI.
Field Summary |
---|
Fields inherited from class com.alee.extended.painter.AbstractPainter |
---|
listeners, margin, opaque, preferredSize |
Constructor Summary | |
---|---|
AdaptivePanelPainter(Painter painter)
Constructs new AdaptivePanelPainter for the specified painter. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.alee.extended.painter.AdaptivePainter |
---|
addPainterListener, getMargin, getPainter, getPreferredSize, install, isOpaque, paint, removePainterListener, uninstall |
Methods inherited from class com.alee.extended.painter.AbstractPainter |
---|
p, 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.extended.painter.Painter |
---|
addPainterListener, getMargin, getPreferredSize, install, isOpaque, paint, removePainterListener, uninstall |
Constructor Detail |
---|
public AdaptivePanelPainter(Painter painter)
painter
- painter to adaptMethod Detail |
---|
public 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 PartialDecoration
top
- whether should paint top side or notpublic void setPaintLeft(boolean left)
setPaintLeft
in interface PartialDecoration
left
- whether should paint left side or notpublic void setPaintBottom(boolean bottom)
setPaintBottom
in interface PartialDecoration
bottom
- whether should paint bottom side or notpublic void setPaintRight(boolean right)
setPaintRight
in interface PartialDecoration
right
- whether should paint right side or notpublic void setPaintSides(boolean top, boolean left, boolean bottom, boolean right)
setPaintSides
in interface PartialDecoration
top
- 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 PartialDecoration
top
- whether should paint top side line or notpublic void setPaintLeftLine(boolean left)
setPaintLeftLine
in interface PartialDecoration
left
- whether should paint left side line or notpublic void setPaintBottomLine(boolean bottom)
setPaintBottomLine
in interface PartialDecoration
bottom
- whether should paint bottom side line or notpublic void setPaintRightLine(boolean right)
setPaintRightLine
in interface PartialDecoration
right
- whether should paint right side line or notpublic void setPaintSideLines(boolean top, boolean left, boolean bottom, boolean right)
setPaintSideLines
in interface PartialDecoration
top
- 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |