|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.frag.umlplugin.anim.AnimationFactory
public class AnimationFactory
Creates several types of animation objects.
Constructor Summary | |
---|---|
AnimationFactory()
|
Method Summary | |
---|---|
AnimationObject |
exchangeGraph(com.intellij.openapi.graph.view.Graph2DView view,
com.intellij.openapi.graph.view.Graph2D graph2D)
Creates a an animation that exchanges the current graph. |
AnimationObject |
fadeIn(com.intellij.openapi.graph.view.EdgeRealizer realizer,
long preferredDuration)
Creates a fade-in animation for the given edge realizer. |
AnimationObject |
fadeIn(com.intellij.openapi.graph.view.NodeRealizer realizer,
long preferredDuration)
Creates a fade-in animation for the given node realizer. |
AnimationObject |
fadeOut(com.intellij.openapi.graph.view.EdgeRealizer realizer,
long preferredDuration)
Creates a fade-out animation for the given edge realizer. |
AnimationObject |
fadeOut(com.intellij.openapi.graph.view.NodeRealizer realizer,
long preferredDuration)
Creates a fade-out animation for the given node realizer. |
AnimationObject |
fitRectangle(com.intellij.openapi.graph.view.Graph2DView view,
java.awt.Rectangle rectangle,
long preferredDuration)
Creates a an animation that fits the given rectangle in the specified view. |
AnimationObject |
morph(com.intellij.openapi.graph.view.EdgeRealizer source,
com.intellij.openapi.graph.view.EdgeRealizer target,
long preferredDuration)
Creates a morph animation from the given source realizer to the specified target realizer. |
AnimationObject |
morph(com.intellij.openapi.graph.view.NodeRealizer source,
com.intellij.openapi.graph.view.NodeRealizer target,
long preferredDuration)
Creates a morph animation from the given source realizer to the specified target realizer. |
AnimationObject |
zoom(com.intellij.openapi.graph.view.Graph2DView view,
double zoom,
long preferredDuration)
Creates a an animation that zooms to the specified zoom factor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnimationFactory()
Method Detail |
---|
@NotNull public AnimationObject fadeIn(@Nullable com.intellij.openapi.graph.view.NodeRealizer realizer, long preferredDuration)
realizer
- realizer to fade inpreferredDuration
- duration in milli seconds
@NotNull public AnimationObject fadeOut(@Nullable com.intellij.openapi.graph.view.NodeRealizer realizer, long preferredDuration)
realizer
- realizer to fade outpreferredDuration
- duration in milli seconds
@NotNull public AnimationObject fadeIn(@Nullable com.intellij.openapi.graph.view.EdgeRealizer realizer, long preferredDuration)
realizer
- realizer to fade inpreferredDuration
- duration in milli seconds
@NotNull public AnimationObject fadeOut(@Nullable com.intellij.openapi.graph.view.EdgeRealizer realizer, long preferredDuration)
realizer
- realizer to fade outpreferredDuration
- duration in milli seconds
@NotNull public AnimationObject morph(@Nullable com.intellij.openapi.graph.view.NodeRealizer source, @Nullable com.intellij.openapi.graph.view.NodeRealizer target, long preferredDuration)
source
- source realizertarget
- target realizerpreferredDuration
- duration in milli seconds
@NotNull public AnimationObject morph(@Nullable com.intellij.openapi.graph.view.EdgeRealizer source, @Nullable com.intellij.openapi.graph.view.EdgeRealizer target, long preferredDuration)
source
- source realizertarget
- target realizerpreferredDuration
- duration in milli seconds
@NotNull public AnimationObject exchangeGraph(@NotNull com.intellij.openapi.graph.view.Graph2DView view, @NotNull com.intellij.openapi.graph.view.Graph2D graph2D)
view
- replace graph in this viewgraph2D
- replace current graph by this graph
@NotNull public AnimationObject fitRectangle(@NotNull com.intellij.openapi.graph.view.Graph2DView view, @NotNull java.awt.Rectangle rectangle, long preferredDuration)
view
- fit rectangle in this virerectangle
- rectanglepreferredDuration
- duration in milli seconds
@NotNull public AnimationObject zoom(@NotNull com.intellij.openapi.graph.view.Graph2DView view, double zoom, long preferredDuration)
view
- zoom this viewzoom
- target zoom factorpreferredDuration
- duration in milli seconds
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |