uk.ac.kcl.cch.jb.pliny.containmentView.layout
Class GraphAnimation
java.lang.Object
uk.ac.kcl.cch.jb.pliny.containmentView.layout.GraphAnimation
- public class GraphAnimation
- extends Object
GraphAnimation class lifted directly from the GEF flow example. The only
modification is in playBackState(): if either the width of height of a final
state figure bounds is greater, then the rectangle during animation is shown
as the final size from the outset. Borrowed for use within Pliny with
thanks to the original author (JB).
- Author:
- hudsonr Created on Apr 28, 2003
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphAnimation
public GraphAnimation()
end
public static void end()
captureLayout
public static boolean captureLayout(org.eclipse.draw2d.IFigure root)
playbackState
public static boolean playbackState(org.eclipse.draw2d.Connection conn)
playbackState
public static boolean playbackState(org.eclipse.draw2d.IFigure container)
recordFinalState
public static void recordFinalState(org.eclipse.draw2d.Connection conn)
recordFinalState
public static void recordFinalState(org.eclipse.draw2d.IFigure child)
recordInitialState
public static void recordInitialState(org.eclipse.draw2d.Connection connection)
recordInitialState
public static void recordInitialState(org.eclipse.draw2d.IFigure container)
swap
public static void swap()
step
public static boolean step()