|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScrollBarPainter<E extends javax.swing.JScrollBar>
Base interface for JScrollBar component painters.
Method Summary | |
---|---|
void |
setDragged(boolean dragged)
Sets whether scroll bar thumb is being dragged or not. |
void |
setPaintButtons(boolean paint)
Sets whether scroll bar arrow buttons are visible or not. |
void |
setPaintTrack(boolean paint)
Sets whether scroll bar track should be painted or not. |
void |
setThumbBounds(java.awt.Rectangle bounds)
Sets scroll bar thumb bounds. |
void |
setTrackBounds(java.awt.Rectangle bounds)
Sets scroll bar track bounds. |
Methods inherited from interface com.alee.extended.painter.Painter |
---|
addPainterListener, getMargin, getPreferredSize, install, isOpaque, paint, removePainterListener, uninstall |
Method Detail |
---|
void setPaintButtons(boolean paint)
paint
- whether scroll bar arrow buttons are visible or notvoid setPaintTrack(boolean paint)
paint
- whether scroll bar track should be painted or notvoid setDragged(boolean dragged)
dragged
- whether scroll bar thumb is being dragged or notvoid setTrackBounds(java.awt.Rectangle bounds)
bounds
- new scroll bar track boundsvoid setThumbBounds(java.awt.Rectangle bounds)
bounds
- new scroll bar thumb bounds
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |