public class XTraScrollBarUI
extends javax.swing.plaf.basic.BasicScrollBarUI
| Modifier and Type | Class and Description |
|---|---|
class |
XTraScrollBarUI.MyTrackListener
Track mouse drags.
|
javax.swing.plaf.basic.BasicScrollBarUI.ArrowButtonListener, javax.swing.plaf.basic.BasicScrollBarUI.ModelListener, javax.swing.plaf.basic.BasicScrollBarUI.PropertyChangeHandler, javax.swing.plaf.basic.BasicScrollBarUI.ScrollListener, javax.swing.plaf.basic.BasicScrollBarUI.TrackListener| Modifier and Type | Field and Description |
|---|---|
protected boolean |
useAlternateLayout
Description of the Field
|
buttonListener, decrButton, DECREASE_HIGHLIGHT, decrGap, incrButton, INCREASE_HIGHLIGHT, incrGap, isDragging, maximumThumbSize, minimumThumbSize, modelListener, NO_HIGHLIGHT, propertyChangeListener, scrollbar, scrollBarWidth, scrollListener, scrollTimer, thumbColor, thumbDarkShadowColor, thumbHighlightColor, thumbLightShadowColor, thumbRect, trackColor, trackHighlight, trackHighlightColor, trackListener, trackRect| Constructor and Description |
|---|
XTraScrollBarUI() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
alternateLayoutHScrollbar(javax.swing.JScrollBar sb)
Description of the Method
|
protected void |
alternateLayoutVScrollbar(javax.swing.JScrollBar sb)
Description of the Method
|
protected javax.swing.plaf.basic.BasicScrollBarUI.TrackListener |
createTrackListener()
Description of the Method
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent x)
Description of the Method
|
javax.swing.JButton |
decrButton()
Description of the Method
|
java.awt.Rectangle |
getThumbBounds()
Gets the ThumbBounds attribute of the XTraScrollBarUI object
|
java.awt.Rectangle |
getTrackBounds()
Gets the TrackBounds attribute of the XTraScrollBarUI object
|
javax.swing.JButton |
incrButton()
Description of the Method
|
boolean |
isDragging()
Gets the Dragging attribute of the XTraScrollBarUI object
|
protected void |
layoutHScrollbar(javax.swing.JScrollBar sb)
Description of the Method
|
protected void |
layoutVScrollbar(javax.swing.JScrollBar sb)
Description of the Method
|
javax.swing.JScrollBar |
scrollbar()
Description of the Method
|
void |
setThumbBounds(int x,
int y,
int w,
int h)
Sets the ThumbBounds attribute of the XTraScrollBarUI object
|
addLayoutComponent, configureScrollBarColors, createArrowButtonListener, createDecreaseButton, createIncreaseButton, createModelListener, createPropertyChangeListener, createScrollListener, getMaximumSize, getMaximumThumbSize, getMinimumThumbSize, getPreferredSize, getSupportsAbsolutePositioning, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, isThumbRollover, layoutContainer, minimumLayoutSize, paint, paintDecreaseHighlight, paintIncreaseHighlight, paintThumb, paintTrack, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, setThumbRollover, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIpublic void setThumbBounds(int x,
int y,
int w,
int h)
setThumbBounds in class javax.swing.plaf.basic.BasicScrollBarUIx - The new ThumbBounds valuey - The new ThumbBounds valuew - The new ThumbBounds valueh - The new ThumbBounds valuepublic boolean isDragging()
public java.awt.Rectangle getThumbBounds()
getThumbBounds in class javax.swing.plaf.basic.BasicScrollBarUIpublic java.awt.Rectangle getTrackBounds()
getTrackBounds in class javax.swing.plaf.basic.BasicScrollBarUIpublic javax.swing.JButton decrButton()
public javax.swing.JButton incrButton()
public javax.swing.JScrollBar scrollbar()
protected void layoutVScrollbar(javax.swing.JScrollBar sb)
layoutVScrollbar in class javax.swing.plaf.basic.BasicScrollBarUIsb - Description of Parameterprotected void alternateLayoutVScrollbar(javax.swing.JScrollBar sb)
sb - Description of Parameterprotected void layoutHScrollbar(javax.swing.JScrollBar sb)
layoutHScrollbar in class javax.swing.plaf.basic.BasicScrollBarUIsb - Description of Parameterprotected void alternateLayoutHScrollbar(javax.swing.JScrollBar sb)
sb - Description of Parameterprotected javax.swing.plaf.basic.BasicScrollBarUI.TrackListener createTrackListener()
createTrackListener in class javax.swing.plaf.basic.BasicScrollBarUIpublic static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
x - Description of Parameter