Groovy Documentation

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

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

public enum ScrollBarToolTip.Position

Enum Constant Summary
CENTER

INSIDE

INSIDE_EDGE

OUTSIDE

OUTSIDE_EDGE

 
Method Summary
Position getOrientationPosition(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

CENTER

ScrollBarToolTip.Position CENTER


INSIDE

ScrollBarToolTip.Position INSIDE


INSIDE_EDGE

ScrollBarToolTip.Position INSIDE_EDGE


OUTSIDE

ScrollBarToolTip.Position OUTSIDE


OUTSIDE_EDGE

ScrollBarToolTip.Position OUTSIDE_EDGE


 
Method Detail

getOrientationPosition

public Position getOrientationPosition(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