Groovy Documentation

com.wordpress.tipsforjava.swing
[Java] Enum ScrollBarToolTip.Style

java.lang.Object
  com.wordpress.tipsforjava.swing.ScrollBarToolTip.Style

public enum ScrollBarToolTip.Style

Enum Constant Summary
FIXED_END

FIXED_PRESSED

FIXED_START

FLOAT_END

FLOAT_START

 
Method Summary
Style getOrientationStyle(JScrollBar scrollBar)

The ScrollBarToolTip class allows you to simulate the display of a tooltip as the scrollbar thumb is being dragged.

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Enum Constant Detail

FIXED_END

ScrollBarToolTip.Style FIXED_END


FIXED_PRESSED

ScrollBarToolTip.Style FIXED_PRESSED


FIXED_START

ScrollBarToolTip.Style FIXED_START


FLOAT_END

ScrollBarToolTip.Style FLOAT_END


FLOAT_START

ScrollBarToolTip.Style FLOAT_START


 
Method Detail

getOrientationStyle

public Style getOrientationStyle(JScrollBar scrollBar)
The ScrollBarToolTip class allows you to simulate the display of a tooltip as the scrollbar thumb is being dragged. This may be usefull when scrolling through a large amount of data in a scrollpane. The STYLE of the tooltip can be specified. A "fixed" style implies that the tooltip is fixed at a certain spot when the mouse is pressed on the toolbar thumb. A "floating" style implies that the tooltip will move as the toolbar thumb is dragged. The POSITION of the tooltip indicates how the tooltip is placed relative to the scrollbar. The default tooltip text shows the relationship of the current position of the scrollbar to the maximum scrollbar value as a percentage.
Authors:
Rob Camick
Darryl Burke


 

Groovy Documentation