|
||||||||||
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.scroll.AdaptiveScrollBarButtonPainter<E>
public class AdaptiveScrollBarButtonPainter<E extends javax.swing.AbstractButton>
Simple ScrollBarButtonPainter adapter class. It is used to install simple non-specific button painters into WebScrollBarUI.
Field Summary |
---|
Fields inherited from class com.alee.extended.painter.AbstractPainter |
---|
listeners, margin, opaque, preferredSize |
Constructor Summary | |
---|---|
AdaptiveScrollBarButtonPainter(Painter painter)
Constructs new AdaptiveScrollBarButtonPainter for the specified painter. |
Method Summary | |
---|---|
void |
setButtonType(ScrollBarButtonType type)
Sets scroll bar button type. |
void |
setScrollbar(javax.swing.JScrollBar scrollbar)
Sets scroll bar which uses this button. |
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 AdaptiveScrollBarButtonPainter(Painter painter)
painter
- painter to adaptMethod Detail |
---|
public void setButtonType(ScrollBarButtonType type)
setButtonType
in interface ScrollBarButtonPainter<E extends javax.swing.AbstractButton>
type
- scroll bar button typepublic void setScrollbar(javax.swing.JScrollBar scrollbar)
setScrollbar
in interface ScrollBarButtonPainter<E extends javax.swing.AbstractButton>
scrollbar
- scroll bar which uses this button
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |