|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.clustermap.export.AnimationFrameExporter
public class AnimationFrameExporter
AnimationFrameExporter is capable of exporting a transition between two or more Graphs to a number of frames that can be used for an animated image (e.g. an animated GIF).
| Field Summary | |
|---|---|
static int |
DEFAULT_FRAME_RATE
|
static int |
DEFAULT_TRANSITION_DURATION
|
| Constructor Summary | |
|---|---|
AnimationFrameExporter(ClusterMap map)
|
|
| Method Summary | |
|---|---|
void |
addListener(AnimationFrameExporterListener l)
Adds an AnimationFrameExporterListener to the list of AnimationFrameExporterListeners. |
void |
export(List<Graph> graphs)
Exports the specified list of graphs to an animation. |
String |
getDirectory()
|
String |
getFileBaseName()
|
int |
getFrameRate()
|
int |
getTransitionDuration()
|
void |
removeListener(AnimationFrameExporterListener l)
Removes an AnimationFrameExporterListener from the list of AnimationFrameExporterListeners. |
void |
setDirectory(String directory)
Sets the directory where the animation files will be stored. |
void |
setFileBaseName(String fileBaseName)
Sets the file base name property. |
void |
setFrameRate(int frameRate)
Sets the frame rate property. |
void |
setTransitionDuration(int duration)
Sets the value of the transition duration property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_TRANSITION_DURATION
public static final int DEFAULT_FRAME_RATE
| Constructor Detail |
|---|
public AnimationFrameExporter(ClusterMap map)
| Method Detail |
|---|
public void setTransitionDuration(int duration)
throws IllegalArgumentException
IllegalArgumentException - when the specified value is less than zero.public int getTransitionDuration()
public void setFrameRate(int frameRate)
throws IllegalArgumentException
IllegalArgumentException - when the specified value is less than zero.public int getFrameRate()
public void setDirectory(String directory)
throws IllegalArgumentException
IllegalArgumentException - when the specified String is 'null'.public String getDirectory()
public void setFileBaseName(String fileBaseName)
throws IllegalArgumentException
IllegalArgumentException - when the specified String is 'null'.public String getFileBaseName()
public void addListener(AnimationFrameExporterListener l)
public void removeListener(AnimationFrameExporterListener l)
public void export(List<Graph> graphs)
throws IllegalArgumentException
IllegalArgumentException - when the specified List contains less than two graphs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||