|
||||||||||
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.label.AdaptiveLabelPainter<E>
public class AdaptiveLabelPainter<E extends javax.swing.JLabel>
Simple LabelPainter adapter class. It is used to install simple non-specific painters into WebLabelUI.
Field Summary |
---|
Fields inherited from class com.alee.extended.painter.AbstractPainter |
---|
listeners, margin, opaque, preferredSize |
Constructor Summary | |
---|---|
AdaptiveLabelPainter(Painter painter)
Constructs new AdaptiveLabelPainter for the specified painter. |
Method Summary | |
---|---|
void |
setDrawShade(boolean drawShade)
Sets whether text shade should be displayed 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 AdaptiveLabelPainter(Painter painter)
painter
- painter to adaptMethod Detail |
---|
public void setDrawShade(boolean drawShade)
setDrawShade
in interface LabelPainter<E extends javax.swing.JLabel>
drawShade
- whether text shade should be displayed or not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |