Package docking.widgets.table

# Class AutoscrollAdapter

java.lang.Object
docking.widgets.table.AutoscrollAdapter

All Implemented Interfaces:
  `Autoscroll`

public class AutoscrollAdapter extends Object implements Autoscroll
Helper class for autoscrolling on a component.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AutoscrollAdapter(JComponent component, int scrollIncrement)`
  Constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `autoscroll(Point p)`
  `Insets`
  `getAutoscrollInsets()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AutoscrollAdapter

    public AutoscrollAdapter(JComponent component, int scrollIncrement)
    Constructor
    Parameters:
      `component` - component that is scrollable
      `scrollIncrement` - value to use to calculate the new visible rectangle for scrolling

- ## Method Details

  - ### getAutoscrollInsets

    public Insets getAutoscrollInsets()
    Specified by:
      `getAutoscrollInsets` in interface `Autoscroll`

  - ### autoscroll

    public void autoscroll(Point p)
    Specified by:
      `autoscroll` in interface `Autoscroll`