Interface sgraphics.AdjustmentConstraint
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface sgraphics.AdjustmentConstraint

public interface AdjustmentConstraint
extends Object
An adjustment constraint controls the allowable scrolling region for an adjustment.

Method Index

 o constrain(float, float, float, float)
Constrain the value to be within the allowable scrolling region.
 o scrollBegin(float, float, float)
Return the scroll position to move the view to the beginning of the data.
 o scrollEnd(float, float, float)
Return the scroll position to move the view to the end of the data.

Methods

 o constrain
  public abstract float constrain(float lower,
                                  float length,
                                  float currentLength,
                                  float value)
Constrain the value to be within the allowable scrolling region.
 o scrollBegin
  public abstract float scrollBegin(float lower,
                                    float length,
                                    float currentLength)
Return the scroll position to move the view to the beginning of the data.
 o scrollEnd
  public abstract float scrollEnd(float lower,
                                  float length,
                                  float currentLength)
Return the scroll position to move the view to the end of the data.

All Packages  Class Hierarchy  This Package  Previous  Next  Index