|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.sdm.renderer.IlvSDMRenderer
ilog.views.sdm.renderer.IlvFilterSDMRenderer
ilog.views.sdm.renderer.animation.IlvAnimationRenderer
public class IlvAnimationRenderer
The class IlvAnimationRenderer is a
filtering renderer that displays an animation showing
how the nodes of the graph have moved during the last
rendering step.
The animation is especially useful when you use an
IlvGraphLayoutRenderer.
The animation will show how the nodes have been placed
by the graph layout algorithm.
| Field Summary |
|---|
| Fields inherited from class ilog.views.sdm.renderer.IlvFilterSDMRenderer |
|---|
_renderer |
| Constructor Summary | |
|---|---|
IlvAnimationRenderer()
Creates a new animation renderer with a null
filtered renderer. |
|
IlvAnimationRenderer(IlvSDMRenderer renderer)
Creates a new animation renderer for a specified filtered renderer. |
|
| Method Summary | |
|---|---|
int |
getAnimationDelay()
Returns the delay between two steps of the animation. |
int |
getAnimationRate()
Returns the number of animation steps. |
boolean |
isResizingObjects()
Returns true if the animator resizes the objects. |
void |
renderingDone(IlvSDMEngine engine)
This method performs the animation. |
void |
setAnimationDelay(int delay)
Sets the delay between two steps of the animation. |
void |
setAnimationRate(int rate)
Sets the number of animation steps. |
void |
setResizingObjects(boolean resizing)
If resizing is true, the width
and height of the graphic objects are changed linearly
from the initial size to the final size. |
| Methods inherited from class ilog.views.sdm.renderer.IlvSDMRenderer |
|---|
addViewListeners, callMoveResizeNodeGraphic, convert, convert, getAlias, getAuxiliaryBean, getAuxiliaryBeans, getEngine, getLocation, getParameter, needsViewListeners, removeViewListeners, setAlias, setEngine, setLayerName, setParameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvAnimationRenderer(IlvSDMRenderer renderer)
renderer - The filtered renderer.public IlvAnimationRenderer()
null
filtered renderer.
| Method Detail |
|---|
public void setAnimationRate(int rate)
rate - The new animation rate.public int getAnimationRate()
public void setAnimationDelay(int delay)
delay - The new animation delay.public int getAnimationDelay()
public boolean isResizingObjects()
true if the animator resizes the objects.
setResizingObjects(boolean)public void setResizingObjects(boolean resizing)
resizing is true, the width
and height of the graphic objects are changed linearly
from the initial size to the final size. If resizing
is false, the objects are only moved, and not resized.
The default value is true.
resizing - The Boolean value that determines whether the objects
must be resized or not.public void renderingDone(IlvSDMEngine engine)
renderingDone
method of the other filtered renderers), and finally displays an
animation showing how the objects have moved.
renderingDone in class IlvFilterSDMRendererengine - The SDM engine.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||