SORTIE Java Interface  1
Public Member Functions | List of all members
sortie.gui.behaviorsetup.QuickScrollingPanel Class Reference

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

Inheritance diagram for sortie.gui.behaviorsetup.QuickScrollingPanel:

Public Member Functions

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

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: Cary Institute of Ecosystem Studies

Author
Lora E. Murphy
Version
1.0

Member Function Documentation

◆ getPreferredScrollableViewportSize()

Dimension sortie.gui.behaviorsetup.QuickScrollingPanel.getPreferredScrollableViewportSize ( )

Get preferred size - this is nothing special.

Returns
Dimension Preferred size

◆ getScrollableBlockIncrement()

int sortie.gui.behaviorsetup.QuickScrollingPanel.getScrollableBlockIncrement ( Rectangle  r,
int  orientation,
int  direction 
)

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

Parameters
rRectangle Ignored
orientationint Ignored
directionint Ignored
Returns
int 75% of the viewable height, in pixels

◆ getScrollableTracksViewportHeight()

boolean sortie.gui.behaviorsetup.QuickScrollingPanel.getScrollableTracksViewportHeight ( )

Always false.

Returns
boolean Always false.

◆ getScrollableTracksViewportWidth()

boolean sortie.gui.behaviorsetup.QuickScrollingPanel.getScrollableTracksViewportWidth ( )

Always false.

Returns
boolean Always false.

◆ getScrollableUnitIncrement()

int sortie.gui.behaviorsetup.QuickScrollingPanel.getScrollableUnitIncrement ( java.awt.Rectangle  r,
int  orientation,
int  direction 
)

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

Parameters
rRectangle Ignored
orientationint Ignored
directionint Ignored
Returns
int 20 pixels

The documentation for this class was generated from the following file: