    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

##

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

##

getHorizOrigin

      public abstract int getHorizOrigin()

  Gets the horizontal origin.

setHorizOrigin

      public abstract void setHorizOrigin(int v)

  Sets the horizontal origin prior to scrolling.

getVertOrigin

      public abstract int getVertOrigin()

  Gets the vertical origin.

setVertOrigin

      public abstract void setVertOrigin(int v)

  Sets the vertical origin prior to scrolling.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index