public interface ScrollBarPainter<E extends javax.swing.JScrollBar> extends Painter<E>, SpecificPainter
| Modifier and Type | Method and Description |
|---|---|
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.
|
addPainterListener, getMargin, getPreferredSize, install, isOpaque, paint, removePainterListener, uninstallvoid 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