@Deprecated public class NPScrollBarPainter<E extends javax.swing.JScrollBar,U extends WebScrollBarUI> extends ScrollBarPainter<E,U>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
focused
Deprecated.
|
protected FocusTracker |
focusTracker
Deprecated.
Runtime variables.
|
protected NinePatchIcon |
hBackgroundIcon
Deprecated.
Used 9-patch icons.
|
protected NinePatchIcon |
hFocusedBackgroundIcon
Deprecated.
|
protected NinePatchIcon |
hFocusedThumbIcon
Deprecated.
|
protected NinePatchIcon |
hFocusedTrackIcon
Deprecated.
|
protected NinePatchIcon |
hPressedThumbIcon
Deprecated.
|
protected NinePatchIcon |
hThumbIcon
Deprecated.
|
protected NinePatchIcon |
hTrackIcon
Deprecated.
|
protected NinePatchIcon |
vBackgroundIcon
Deprecated.
|
protected NinePatchIcon |
vFocusedBackgroundIcon
Deprecated.
|
protected NinePatchIcon |
vFocusedThumbIcon
Deprecated.
|
protected NinePatchIcon |
vFocusedTrackIcon
Deprecated.
|
protected NinePatchIcon |
vPressedThumbIcon
Deprecated.
|
protected NinePatchIcon |
vThumbIcon
Deprecated.
|
protected NinePatchIcon |
vTrackIcon
Deprecated.
|
animated, dragged, mouseAdapter, pressed, rollover, rolloverAnimator, rolloverState, scrollBarWidth, thumbBackgroundColor, thumbBorderColor, thumbBounds, thumbDisabledBackgroundColor, thumbDisabledBorderColor, thumbMargin, thumbMarginHL, thumbMarginHR, thumbMarginR, thumbPressedBackgroundColor, thumbPressedBorderColor, thumbRolloverBackgroundColor, thumbRolloverBorderColor, thumbRound, trackBackgroundColor, trackBorderColor, trackBoundscomponent, listeners, ltr, propertyChangeListener, ui| Constructor and Description |
|---|
NPScrollBarPainter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected NinePatchIcon |
getCurrentBackgroundIcon(E scrollbar)
Deprecated.
Returns background 9-patch icon that should be painted right now.
|
protected NinePatchIcon |
getCurrentThumbIcon(E scrollbar)
Deprecated.
Returns thumb 9-patch icon that should be painted right now.
|
protected NinePatchIcon |
getCurrentTrackIcon(E scrollbar)
Deprecated.
Returns track 9-patch icon that should be painted right now.
|
NinePatchIcon |
getHBackgroundIcon()
Deprecated.
Returns horizontal scroll bar background icon.
|
NinePatchIcon |
getHFocusedBackgroundIcon()
Deprecated.
Returns horizontal scroll bar focused background icon.
|
NinePatchIcon |
getHFocusedThumbIcon()
Deprecated.
Returns horizontal scroll bar focused thumb icon.
|
NinePatchIcon |
getHFocusedTrackIcon()
Deprecated.
Returns horizontal scroll bar focused track background icon.
|
NinePatchIcon |
getHPressedThumbIcon()
Deprecated.
Returns horizontal scroll bar pressed thumb icon.
|
NinePatchIcon |
getHThumbIcon()
Deprecated.
Returns horizontal scroll bar thumb icon.
|
NinePatchIcon |
getHTrackIcon()
Deprecated.
Returns horizontal scroll bar track background icon.
|
NinePatchIcon |
getVBackgroundIcon()
Deprecated.
Returns vertical scroll bar background icon.
|
NinePatchIcon |
getVFocusedBackgroundIcon()
Deprecated.
Returns vertical scroll bar focused background icon.
|
NinePatchIcon |
getVFocusedThumbIcon()
Deprecated.
Returns vertical scroll bar focused thumb icon.
|
NinePatchIcon |
getVFocusedTrackIcon()
Deprecated.
Returns vertical scroll bar focused track background icon.
|
NinePatchIcon |
getVPressedThumbIcon()
Deprecated.
Returns vertical scroll bar pressed thumb icon.
|
NinePatchIcon |
getVThumbIcon()
Deprecated.
Returns vertical scroll bar thumb icon.
|
NinePatchIcon |
getVTrackIcon()
Deprecated.
Returns vertical scroll bar track background icon.
|
void |
install(E c,
U ui)
Deprecated.
Called when painter is installed onto some component.
|
protected void |
paintBackground(java.awt.Graphics2D g2d,
E scrollbar,
java.awt.Rectangle b)
Deprecated.
Paints scroll bar background.
|
protected void |
paintThumb(java.awt.Graphics2D g2d,
E scrollbar,
java.awt.Rectangle b)
Deprecated.
Paints scroll bar thumb.
|
protected void |
paintTrack(java.awt.Graphics2D g2d,
E scrollbar,
java.awt.Rectangle b)
Deprecated.
Paints scroll bar track.
|
void |
setHBackgroundIcon(NinePatchIcon icon)
Deprecated.
Sets horizontal scroll bar background icon.
|
void |
setHFocusedBackgroundIcon(NinePatchIcon icon)
Deprecated.
Sets horizontal scroll bar focused background icon.
|
void |
setHFocusedThumbIcon(NinePatchIcon icon)
Deprecated.
Sets horizontal scroll bar focused thumb icon.
|
void |
setHFocusedTrackIcon(NinePatchIcon icon)
Deprecated.
Sets horizontal scroll bar focused track background icon.
|
void |
setHPressedThumbIcon(NinePatchIcon icon)
Deprecated.
Sets horizontal scroll bar pressed thumb icon.
|
void |
setHThumbIcon(NinePatchIcon icon)
Deprecated.
Sets horizontal scroll bar thumb icon.
|
void |
setHTrackIcon(NinePatchIcon icon)
Deprecated.
Sets horizontal scroll bar track background icon.
|
void |
setVBackgroundIcon(NinePatchIcon icon)
Deprecated.
Sets vertical scroll bar background icon.
|
void |
setVFocusedBackgroundIcon(NinePatchIcon icon)
Deprecated.
Sets vertical scroll bar focused background icon.
|
void |
setVFocusedThumbIcon(NinePatchIcon icon)
Deprecated.
Sets vertical scroll bar focused thumb icon.
|
void |
setVFocusedTrackIcon(NinePatchIcon icon)
Deprecated.
Sets vertical scroll bar focused track background icon.
|
void |
setVPressedThumbIcon(NinePatchIcon icon)
Deprecated.
Sets vertical scroll bar pressed thumb icon.
|
void |
setVThumbIcon(NinePatchIcon icon)
Deprecated.
Sets vertical scroll bar thumb icon.
|
void |
setVTrackIcon(NinePatchIcon icon)
Deprecated.
Sets vertical scroll bar track background icon.
|
void |
uninstall(E c,
U ui)
Deprecated.
Called when painter is installed into some component.
|
getBorders, getCurrentThumbBackgroundColor, getCurrentThumbBorderColor, getCurrentThumbMargin, getPreferredSize, isOpaque, isPressed, isRollover, paint, repaintThumb, setDragged, setPressed, setRollover, setThumbBounds, setTrackBounds, updateThumbMarginsaddPainterListener, b, borderChange, getCompleteBorder, i, i, i, installPropertyChangeListener, isSectionPainter, isSettingsUpdateAllowed, orientationChange, p, propertyChange, removePainterListener, repaint, repaint, repaint, revalidate, saveOrientation, uninstallPropertyChangeListener, updateAll, updateBorder, updateOpacity, updateOrientationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPainterListener, removePainterListenerprotected NinePatchIcon hBackgroundIcon
protected NinePatchIcon hFocusedBackgroundIcon
protected NinePatchIcon hTrackIcon
protected NinePatchIcon hFocusedTrackIcon
protected NinePatchIcon hThumbIcon
protected NinePatchIcon hFocusedThumbIcon
protected NinePatchIcon hPressedThumbIcon
protected NinePatchIcon vBackgroundIcon
protected NinePatchIcon vFocusedBackgroundIcon
protected NinePatchIcon vTrackIcon
protected NinePatchIcon vFocusedTrackIcon
protected NinePatchIcon vThumbIcon
protected NinePatchIcon vFocusedThumbIcon
protected NinePatchIcon vPressedThumbIcon
protected FocusTracker focusTracker
protected boolean focused
public void install(E c, U ui)
Painterinstall in interface Painter<E extends javax.swing.JScrollBar,U extends WebScrollBarUI>install in class ScrollBarPainter<E extends javax.swing.JScrollBar,U extends WebScrollBarUI>c - component this painter is being installed ontoui - component UIpublic void uninstall(E c, U ui)
Painteruninstall in interface Painter<E extends javax.swing.JScrollBar,U extends WebScrollBarUI>uninstall in class ScrollBarPainter<E extends javax.swing.JScrollBar,U extends WebScrollBarUI>c - component this painter is being uninstalled fromui - component UIpublic NinePatchIcon getHBackgroundIcon()
public void setHBackgroundIcon(NinePatchIcon icon)
icon - horizontal scroll bar background iconpublic NinePatchIcon getHFocusedBackgroundIcon()
null hBackgroundIcon is painted instead.public void setHFocusedBackgroundIcon(NinePatchIcon icon)
null hBackgroundIcon is painted instead.icon - horizontal scroll bar focused background iconpublic NinePatchIcon getHTrackIcon()
public void setHTrackIcon(NinePatchIcon icon)
icon - horizontal scroll bar track background iconpublic NinePatchIcon getHFocusedTrackIcon()
null hTrackIcon is painted instead.public void setHFocusedTrackIcon(NinePatchIcon icon)
null hTrackIcon is painted instead.icon - horizontal scroll bar focused track background iconpublic NinePatchIcon getHThumbIcon()
public void setHThumbIcon(NinePatchIcon icon)
icon - horizontal scroll bar thumb iconpublic NinePatchIcon getHFocusedThumbIcon()
null hThumbIcon is painted instead.public void setHFocusedThumbIcon(NinePatchIcon icon)
null hThumbIcon is painted instead.icon - horizontal scroll bar focused thumb iconpublic NinePatchIcon getHPressedThumbIcon()
null hFocusedThumbIcon or hThumbIcon are painted instead.public void setHPressedThumbIcon(NinePatchIcon icon)
null hFocusedThumbIcon or hThumbIcon are painted instead.icon - horizontal scroll bar pressed thumb iconpublic NinePatchIcon getVBackgroundIcon()
public void setVBackgroundIcon(NinePatchIcon icon)
icon - vertical scroll bar background iconpublic NinePatchIcon getVFocusedBackgroundIcon()
null vBackgroundIcon is painted instead.public void setVFocusedBackgroundIcon(NinePatchIcon icon)
null vBackgroundIcon is painted instead.icon - vertical scroll bar focused background iconpublic NinePatchIcon getVTrackIcon()
public void setVTrackIcon(NinePatchIcon icon)
icon - vertical scroll bar track background iconpublic NinePatchIcon getVFocusedTrackIcon()
null vTrackIcon is painted instead.public void setVFocusedTrackIcon(NinePatchIcon icon)
null vTrackIcon is painted instead.icon - vertical scroll bar focused track background iconpublic NinePatchIcon getVThumbIcon()
public void setVThumbIcon(NinePatchIcon icon)
icon - vertical scroll bar thumb iconpublic NinePatchIcon getVFocusedThumbIcon()
null vThumbIcon is painted instead.public void setVFocusedThumbIcon(NinePatchIcon icon)
null vThumbIcon is painted instead.icon - vertical scroll bar focused thumb iconpublic NinePatchIcon getVPressedThumbIcon()
null vFocusedThumbIcon or vThumbIcon are painted instead.public void setVPressedThumbIcon(NinePatchIcon icon)
null vFocusedThumbIcon or vThumbIcon are painted instead.icon - vertical scroll bar pressed thumb iconprotected void paintBackground(java.awt.Graphics2D g2d,
E scrollbar,
java.awt.Rectangle b)
ScrollBarPainterpaintBackground in class ScrollBarPainter<E extends javax.swing.JScrollBar,U extends WebScrollBarUI>g2d - graphics contextscrollbar - scroll barb - scroll bar boundsprotected NinePatchIcon getCurrentBackgroundIcon(E scrollbar)
scrollbar - painted scrollbarprotected void paintTrack(java.awt.Graphics2D g2d,
E scrollbar,
java.awt.Rectangle b)
ScrollBarPainterpaintTrack in class ScrollBarPainter<E extends javax.swing.JScrollBar,U extends WebScrollBarUI>g2d - graphics contextscrollbar - scroll barb - track boundsprotected NinePatchIcon getCurrentTrackIcon(E scrollbar)
scrollbar - painted scrollbarprotected void paintThumb(java.awt.Graphics2D g2d,
E scrollbar,
java.awt.Rectangle b)
ScrollBarPainterpaintThumb in class ScrollBarPainter<E extends javax.swing.JScrollBar,U extends WebScrollBarUI>g2d - graphics contextscrollbar - scroll bar componentb - thumb boundsprotected NinePatchIcon getCurrentThumbIcon(E scrollbar)
scrollbar - painted scrollbar