javawrapper::QuickScrollingPanel Class Reference

This class creates a JPanel that scrolls at a normal speed through a JScrollPane. More...

List of all members.

Public Member Functions

java.awt.Dimension getPreferredScrollableViewportSize ()
 Get preferred size - this is nothing special.
int getScrollableBlockIncrement (java.awt.Rectangle r, int orientation, int direction)
 Scrolls 75% of the visible pane when paging up or down.
boolean getScrollableTracksViewportHeight ()
 Always false.
boolean getScrollableTracksViewportWidth ()
 Always false.
int getScrollableUnitIncrement (java.awt.Rectangle r, int orientation, int direction)
 Causes scrolling to go 20 pixels at a time when scrolling continuously.


Detailed Description

This class creates a JPanel that scrolls at a normal speed through a JScrollPane.

The default scrolling increment for a JPanel is 1 pixel at a time, which is wicked slow. This boosts that number to make scrolling faster.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0


Member Function Documentation

java.awt.Dimension javawrapper::QuickScrollingPanel::getPreferredScrollableViewportSize (  )  [inline]

Get preferred size - this is nothing special.

Returns:
Dimension Preferred size

int javawrapper::QuickScrollingPanel::getScrollableBlockIncrement ( java.awt.Rectangle  r,
int  orientation,
int  direction 
) [inline]

Scrolls 75% of the visible pane when paging up or down.

Parameters:
r Rectangle Ignored
orientation int Ignored
direction int Ignored
Returns:
int 75% of the viewable height, in pixels

boolean javawrapper::QuickScrollingPanel::getScrollableTracksViewportHeight (  )  [inline]

Always false.

Returns:
boolean Always false.

boolean javawrapper::QuickScrollingPanel::getScrollableTracksViewportWidth (  )  [inline]

Always false.

Returns:
boolean Always false.

int javawrapper::QuickScrollingPanel::getScrollableUnitIncrement ( java.awt.Rectangle  r,
int  orientation,
int  direction 
) [inline]

Causes scrolling to go 20 pixels at a time when scrolling continuously.

Parameters:
r Rectangle Ignored
orientation int Ignored
direction int Ignored
Returns:
int 20 pixels


The documentation for this class was generated from the following file:
Generated on Wed Nov 29 08:45:05 2006 for SORTIE Java Interface by  doxygen 1.4.7