|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.ScrollBarUI
javax.swing.plaf.basic.BasicScrollBarUI
com.l2fprod.gui.plaf.xtra.XTraScrollBarUI
public class XTraScrollBarUI
XTra Scrollbar.
| Nested Class Summary | |
|---|---|
class |
XTraScrollBarUI.MyTrackListener
Track mouse drags. |
| Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicScrollBarUI |
|---|
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 |
| Field Summary | |
|---|---|
protected boolean |
useAlternateLayout
Description of the Field |
| Fields inherited from class javax.swing.plaf.basic.BasicScrollBarUI |
|---|
buttonListener, decrButton, DECREASE_HIGHLIGHT, incrButton, INCREASE_HIGHLIGHT, isDragging, maximumThumbSize, minimumThumbSize, modelListener, NO_HIGHLIGHT, propertyChangeListener, scrollbar, scrollListener, scrollTimer, thumbColor, thumbDarkShadowColor, thumbHighlightColor, thumbLightShadowColor, thumbRect, trackColor, trackHighlight, trackHighlightColor, trackListener, trackRect |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Constructor Summary | |
|---|---|
XTraScrollBarUI()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class javax.swing.plaf.basic.BasicScrollBarUI |
|---|
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, uninstallUI |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMinimumSize, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean useAlternateLayout
| Constructor Detail |
|---|
public XTraScrollBarUI()
| Method Detail |
|---|
public 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||