APIdia Launch Partner
Top Fields Constructors Methods
sun.awt.X11

pack-priv final Class XScrollRepeater

Located in compilation unit of sun.awt.X11.XScrollbar.

extends Object
implements Runnable
Class Inheritance
All Implemented Interfaces
java.lang.Runnable

Field Summary

Modifier and TypeField and Description
pack-priv static int
beginPause

Time to pause before the first scroll repeat.

pack-priv boolean
newScroll

newScroll gets reset when a new scrollbar gets set.

pack-priv static int
repeatPause

Time to pause between each scroll repeat.

pack-priv XScrollbar
sb

The scrollbar that we sending scrolling.

pack-priv boolean

Constructor Summary

AccessConstructor and Description
pack-priv
XScrollRepeater(XScrollbar
the scrollbar that this thread will scroll
sb
)

Creates a new scroll repeater.

Method Summary

Modifier and TypeMethod and Description
public void
run()

Implements java.lang.Runnable.run.

Runs this operation.

public synchronized void
setScrollbar(XScrollbar
the scrollbar that this thread will scroll
sb
)

Sets the scrollbar.

public void
public void
stop()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

beginPauseback to summary
pack-priv static int beginPause

Time to pause before the first scroll repeat.

newScrollback to summary
pack-priv boolean newScroll

newScroll gets reset when a new scrollbar gets set.

repeatPauseback to summary
pack-priv static int repeatPause

Time to pause between each scroll repeat.

sbback to summary
pack-priv XScrollbar sb

The scrollbar that we sending scrolling.

shouldSkipback to summary
pack-priv boolean shouldSkip

Constructor Detail

XScrollRepeaterback to summary
pack-priv XScrollRepeater(XScrollbar sb)

Creates a new scroll repeater.

Parameters
sb:XScrollbar

the scrollbar that this thread will scroll

Method Detail

runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.

Annotations
@Override
setScrollbarback to summary
public synchronized void setScrollbar(XScrollbar sb)

Sets the scrollbar.

Parameters
sb:XScrollbar

the scrollbar that this thread will scroll

startback to summary
public void start()
stopback to summary
public void stop()