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.
-
constrain(float, float, float, float)
- Constrain the value to be within the allowable scrolling region.
-
scrollBegin(float, float, float)
- Return the scroll position to move the view to the beginning of
the data.
-
scrollEnd(float, float, float)
- Return the scroll position to move the view to the end of
the data.
constrain
public abstract float constrain(float lower,
float length,
float currentLength,
float value)
- Constrain the value to be within the allowable scrolling region.
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.
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