API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. Scrollable View Source
Author(s)
Hans Muller
Since
Version
1.13 11/17/05
Serial
Hierarchy
 Scrollable
Subinterfaces
Description
public interface Scrollable
  An interface that provides information to a scrolling container like JScrollPane.
Methods
Hide/Show inherited methods
public Dimension getPreferredScrollableViewportSize ()
  Returns the preferred size of the viewport for a view component.
public int getScrollableBlockIncrement (Rectangle visibleRect, int orientation, int direction)
  Components that display logical rows or columns should compute the scroll increment that will completely expose one block of rows or columns, depending on the value of orientation.
public boolean getScrollableTracksViewportHeight ()
  Return true if a viewport should always force the height of this Scrollable to match the height of the viewport.
public boolean getScrollableTracksViewportWidth ()
  Return true if a viewport should always force the width of this Scrollable to match the width of the viewport.
public int getScrollableUnitIncrement (Rectangle visibleRect, int orientation, int direction)
  Components that display logical rows or columns should compute the scroll increment that will completely expose one new row or column, depending on the value of orientation.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar