|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.activity.Activity prefuse.action.Action prefuse.action.animate.QualityControlAnimator
public class QualityControlAnimator
Animator that toggles rendering quality to allow for smooth animations but high quality rendering of still images. At the beginning of an animation, high quality rendering (if enabled) is disabled, and at the end the original setting is restored.
Field Summary |
---|
Fields inherited from class prefuse.action.Action |
---|
m_vis |
Fields inherited from class prefuse.activity.Activity |
---|
DEFAULT_STEP_TIME, INFINITY |
Constructor Summary | |
---|---|
QualityControlAnimator()
|
Method Summary | |
---|---|
protected void |
qualityValue(boolean quality)
Callback procedure that subclasses can override to execute custom quality control measures. |
void |
run(double frac)
Runs this Action, triggering whatever processing this Action performs. |
Methods inherited from class prefuse.action.Action |
---|
getVisualization, run, setVisualization |
Methods inherited from class prefuse.activity.Activity |
---|
addActivityListener, alwaysRunAfter, cancel, fireActivityCancelled, fireActivityFinished, fireActivityScheduled, fireActivityStarted, fireActivityStepped, getDuration, getNextTime, getPace, getPacingFunction, getStartTime, getStepTime, getStopTime, isEnabled, isRunning, isScheduled, removeActivityListener, run, runAfter, runAt, setDuration, setEnabled, setPacingFunction, setStartTime, setStepTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QualityControlAnimator()
Method Detail |
---|
public void run(double frac)
Action
run
in class Action
frac
- the fraction of this Action's duration that has elapsed.Action.run(double)
protected void qualityValue(boolean quality)
quality
- true if high quality is desired, false otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |