public final class AdaptiveScrollBarPainter<E extends javax.swing.JScrollBar,U extends WebScrollBarUI> extends AdaptivePainter<E,U> implements IScrollBarPainter<E,U>
component, listeners, ltr, propertyChangeListener, ui| Constructor and Description |
|---|
AdaptiveScrollBarPainter(Painter painter)
Constructs new AdaptiveScrollBarPainter for the specified painter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setDragged(boolean dragged)
Sets whether scroll bar thumb is being dragged 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, getBorders, getPainter, getPreferredSize, install, isOpaque, paint, removePainterListener, uninstallb, borderChange, getCompleteBorder, i, i, i, installPropertyChangeListener, isSectionPainter, isSettingsUpdateAllowed, orientationChange, p, propertyChange, repaint, repaint, repaint, revalidate, saveOrientation, uninstallPropertyChangeListener, updateAll, updateBorder, updateOpacity, updateOrientationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPainterListener, getBorders, getPreferredSize, install, isOpaque, paint, removePainterListener, uninstallpublic AdaptiveScrollBarPainter(Painter painter)
painter - painter to adaptpublic void setDragged(boolean dragged)
IScrollBarPaintersetDragged in interface IScrollBarPainter<E extends javax.swing.JScrollBar,U extends WebScrollBarUI>dragged - whether scroll bar thumb is being dragged or notpublic void setTrackBounds(java.awt.Rectangle bounds)
IScrollBarPaintersetTrackBounds in interface IScrollBarPainter<E extends javax.swing.JScrollBar,U extends WebScrollBarUI>bounds - new scroll bar track boundspublic void setThumbBounds(java.awt.Rectangle bounds)
IScrollBarPaintersetThumbBounds in interface IScrollBarPainter<E extends javax.swing.JScrollBar,U extends WebScrollBarUI>bounds - new scroll bar thumb bounds