org.apache.pivot.wtk
Interface ScrollBarListener

All Known Implementing Classes:
ScrollBarListener.Adapter, TerraScrollBarSkin

public interface ScrollBarListener

Scroll bar listener interface.


Nested Class Summary
static class ScrollBarListener.Adapter
          Scroll bar listener adapter.
 
Method Summary
 void blockIncrementChanged(ScrollBar scrollBar, int previousBlockIncrement)
          Called when a scroll bar's block increment has changed.
 void orientationChanged(ScrollBar scrollBar, Orientation previousOrientation)
          Called when a scroll bar's orientation has changed.
 void scopeChanged(ScrollBar scrollBar, int previousStart, int previousEnd, int previousExtent)
          Called when a scroll bar's scope has changed.
 void unitIncrementChanged(ScrollBar scrollBar, int previousUnitIncrement)
          Called when a scroll bar's unit increment has changed.
 

Method Detail

orientationChanged

void orientationChanged(ScrollBar scrollBar,
                        Orientation previousOrientation)
Called when a scroll bar's orientation has changed.

Parameters:
scrollBar -
previousOrientation -

scopeChanged

void scopeChanged(ScrollBar scrollBar,
                  int previousStart,
                  int previousEnd,
                  int previousExtent)
Called when a scroll bar's scope has changed.

Parameters:
scrollBar -
previousStart -
previousEnd -
previousExtent -

unitIncrementChanged

void unitIncrementChanged(ScrollBar scrollBar,
                          int previousUnitIncrement)
Called when a scroll bar's unit increment has changed.

Parameters:
scrollBar -
previousUnitIncrement -

blockIncrementChanged

void blockIncrementChanged(ScrollBar scrollBar,
                           int previousBlockIncrement)
Called when a scroll bar's block increment has changed.

Parameters:
scrollBar -
previousBlockIncrement -