All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface jclass.bwt.JCScrollableInterface

public interface JCScrollableInterface
An interface which defines the API for components which have can be internally scrolled. Such components must internally track their vertical and horizontal origins (ie the amount scrolled), and display themselves accordingly. This allows a potentially large component to be physically small, e.g. a list with hundreds of rows is "virtually" many thousands of pixels high but only is physically large enough to display several rows. As the user scrolls it, the list appears to shift position but in reality simply redraws itself to display the newly visible rows.

See Also:
JCListComponent, JCMultiColumnListComponent, JCScrolledWindow, JCOutlinerComponent

Method Index

 o getHorizOrigin()
Gets the horizontal origin.
 o getVertOrigin()
Gets the vertical origin.
 o setHorizOrigin(int)
Sets the horizontal origin prior to scrolling.
 o setVertOrigin(int)
Sets the vertical origin prior to scrolling.

Methods

 o getHorizOrigin
 public abstract int getHorizOrigin()
Gets the horizontal origin.

 o setHorizOrigin
 public abstract void setHorizOrigin(int v)
Sets the horizontal origin prior to scrolling.

 o getVertOrigin
 public abstract int getVertOrigin()
Gets the vertical origin.

 o setVertOrigin
 public abstract void setVertOrigin(int v)
Sets the vertical origin prior to scrolling.


All Packages  Class Hierarchy  This Package  Previous  Next  Index