com.alee.laf.scroll
Interface ScrollBarButtonPainter<E extends javax.swing.AbstractButton>

All Superinterfaces:
Painter<E>
All Known Implementing Classes:
AdaptiveScrollBarButtonPainter, NPScrollBarButtonPainter, WebScrollBarButtonPainter

public interface ScrollBarButtonPainter<E extends javax.swing.AbstractButton>
extends Painter<E>

Base interface for JScrollBar arrow button painters.

Author:
Mikle Garin

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 interface com.alee.extended.painter.Painter
addPainterListener, getMargin, getPreferredSize, install, isOpaque, paint, removePainterListener, uninstall
 

Method Detail

setButtonType

void setButtonType(ScrollBarButtonType type)
Sets scroll bar button type.

Parameters:
type - scroll bar button type

setScrollbar

void setScrollbar(javax.swing.JScrollBar scrollbar)
Sets scroll bar which uses this button.

Parameters:
scrollbar - scroll bar which uses this button