|
UC Berkeley Group for User Interface Research Updated November 17, 2000 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A marker interface for views that support Semantic Zooming.
This software is distributed under the Berkeley Software License.
Revisions: - SATIN-v1.0-1.0.0, Aug 16 1999, JH Created class - SATIN-v2.1-1.0.0, Aug 11 2000, JH Touched for SATIN release
Inner classes inherited from class edu.berkeley.guir.lib.satin.SatinConstants |
SatinConstants.ObjectPoolAffineTransform, SatinConstants.ObjectPoolPoint2D, SatinConstants.ObjectPoolPolygon2D, SatinConstants.ObjectPoolRectangle2D, SatinConstants.ObjectPoolStringBuffer, SatinConstants.UniqueAffineTransform, SatinConstants.UniquePoint2D, SatinConstants.UniquePolygon2D, SatinConstants.UniqueRectangle2D |
Method Summary | |
double |
getEndScale()
Get the end of the scale range in which the view will stop being displayed fully. |
double |
getFadeIn()
Get the beginning of the scale range in which the view will begin to fade in. |
double |
getFadeOut()
Get the beginning of the scale range in which the view will begin to fade out. |
double |
getStartScale()
Get the beginning of the scale range in which the view will begin being displayed fully. |
void |
setDisplayRange(double startScale,
double endScale)
Calls setDisplayRange(double, double, double, double) , setting
the fade-in value to be startScale, and fadeOut to be endScale. |
void |
setDisplayRange(double fadeIn,
double startScale,
double endScale,
double fadeOut)
Set the range of values. |
Methods inherited from interface edu.berkeley.guir.lib.satin.view.View |
clone, getAttachedGraphicalObject, getBoundingPoints2DRef, getName, getViewDisplayValue, isVisible, render, setAttachedGraphicalObject, setBoundingPoints2DRef, setName, setVisible |
Method Detail |
public void setDisplayRange(double fadeIn, double startScale, double endScale, double fadeOut)
What happens during zooming can be thought of as a trapezoid (see below). Starting from the left, the object appears at fadeIn, becomes more solid until it reaches startScale, remains solid until it reaches endScale, and starts becoming translucent again as it moves towards fadeOut.
______________________ /| |\ / | | \ / | | \ / | | \ / | | \ fadeIn startScale endScale fadeOut
fadeIn
- is the scale value (absolute zoom) to start fading in.startScale
- is the scale value (absolute zoom) to start displaying
without any fade.endScale
- is the scale value (absolute zoom) to stop displaying.fadeOut
- is the scale value (absolute zoom) to start fading out.public void setDisplayRange(double startScale, double endScale)
setDisplayRange(double, double, double, double)
, setting
the fade-in value to be startScale, and fadeOut to be endScale.public double getFadeIn()
public double getStartScale()
public double getEndScale()
public double getFadeOut()
|
Copyright Information | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |