public class BarChartAnimator extends DefaultNodeAnimator
Constructor and Description |
---|
BarChartAnimator(ProcessNode toAnimate,
Animator parent) |
Modifier and Type | Method and Description |
---|---|
protected void |
firstStep()
is called after the delay finishes,
which means that the first animation step occurred.
|
void |
setNewData(java.util.List<java.util.List<java.lang.Integer>> newData,
double maxValue) |
protected void |
setNewValues()
performs the main animation.
|
equals, getNewSize, getNode, processRunning, setNewColor, setNewCoords, setNewSize
getTargetAlpha, isIncludeEdges, setTargetAlpha
addListener, getAnimationTime, getAnimator, getCurrentTick, getDelay, getHyperbolicProgress, getLinearProgress, getProcessObject, getSteps, removeListener, resetCurrentTick, setAnimationTime, setAnimator, setDelay, setTick, updateTick
public BarChartAnimator(ProcessNode toAnimate, Animator parent)
toAnimate
- parent
- public void setNewData(java.util.List<java.util.List<java.lang.Integer>> newData, double maxValue)
protected void firstStep()
NodeAnimator
firstStep
in class DefaultNodeAnimator
protected void setNewValues()
DefaultNodeAnimator
setNewValues
in class DefaultNodeAnimator