org.pietschy.command.demo

Class ScrollingPanel

Implemented Interfaces:
Scrollable

public class ScrollingPanel
extends JPanel
implements Scrollable

Created by IntelliJ IDEA. User: andrewp Date: 13/04/2004 Time: 15:38:07 To change this template use Options | File Templates.

Constructor Summary

ScrollingPanel()
ScrollingPanel(LayoutManager layout)
ScrollingPanel(LayoutManager layout, boolean isDoubleBuffered)
ScrollingPanel(boolean isDoubleBuffered)

Method Summary

Dimension
getPreferredScrollableViewportSize()
int
getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)
boolean
getScrollableTracksViewportHeight()
boolean
getScrollableTracksViewportWidth()
int
getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)

Constructor Details

ScrollingPanel

public ScrollingPanel()

ScrollingPanel

public ScrollingPanel(LayoutManager layout)

ScrollingPanel

public ScrollingPanel(LayoutManager layout,
                      boolean isDoubleBuffered)

ScrollingPanel

public ScrollingPanel(boolean isDoubleBuffered)

Method Details

getPreferredScrollableViewportSize

public Dimension getPreferredScrollableViewportSize()

getScrollableBlockIncrement

public int getScrollableBlockIncrement(Rectangle visibleRect,
                                       int orientation,
                                       int direction)

getScrollableTracksViewportHeight

public boolean getScrollableTracksViewportHeight()

getScrollableTracksViewportWidth

public boolean getScrollableTracksViewportWidth()

getScrollableUnitIncrement

public int getScrollableUnitIncrement(Rectangle visibleRect,
                                      int orientation,
                                      int direction)