# Class ComponentScroller

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Container
                       |
                       +----java.awt.Panel
                               |
                               +----Scroller
                                       |
                                       +----ComponentScroller

public class ComponentScroller
extends Scroller

Scrolls any component. Component to be scrolled may be a container, so ultimately many components may be scrolled at once.

Component to be scrolled may be specified at construction time, or may be set after construction via void setComponent(Component).

Version:
  1.0, Apr 1 1996
Author:
  David Geary
See Also:
  BulletinLayout, Scroller, ScrollerLayout, ImageScroller, ComponentScrollerTest

##

ComponentScroller()
ComponentScroller(Component)

##

getScrollAreaSize()
scrollTo(int, int)
setComponent(Component)

##

ComponentScroller

      public ComponentScroller()

ComponentScroller

      public ComponentScroller(Component component)

##

setComponent

      public void setComponent(Component component)

scrollTo

      public void scrollTo(int x,
                           int y)

Overrides:
  scrollTo in class Scroller

getScrollAreaSize

      public Dimension getScrollAreaSize()

Overrides:
  getScrollAreaSize in class Scroller