Package ghidra.graph.job
Class RelayoutAndCenterVertexGraphJob<V extends VisualVertex,E extends VisualEdge<V>>
java.lang.Object
ghidra.graph.job.AbstractAnimatorJob
ghidra.graph.job.AbstractGraphVisibilityTransitionJob<V,E>
ghidra.graph.job.AbstractGraphTransitionJob<V,E>
ghidra.graph.job.RelayoutFunctionGraphJob<V,E>
ghidra.graph.job.RelayoutAndCenterVertexGraphJob<V,E>
- All Implemented Interfaces:
GraphJob
public class RelayoutAndCenterVertexGraphJob<V extends VisualVertex,E extends VisualEdge<V>>
extends RelayoutFunctionGraphJob<V,E>
-
Nested Class Summary
Nested classes/interfaces inherited from class ghidra.graph.job.AbstractGraphTransitionJob
AbstractGraphTransitionJob.ArticulationTransitionPoints, AbstractGraphTransitionJob.TransitionPoints -
Field Summary
Fields inherited from class ghidra.graph.job.AbstractGraphTransitionJob
edgeArticulationLocations, finalEdgeArticulations, graphLayout, vertexLocationsFields inherited from class ghidra.graph.job.AbstractGraphVisibilityTransitionJob
duration, FAST_DURATION, graph, NORMAL_DURATION, useAnimation, viewerFields inherited from class ghidra.graph.job.AbstractAnimatorJob
animator, isShortcut, log, TOO_BIG_TO_ANIMATE -
Constructor Summary
ConstructorsConstructorDescriptionRelayoutAndCenterVertexGraphJob(GraphViewer<V, E> viewer, V vertex, boolean useAnimation) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinished()A callback given when this animator has run to completion.protected voidCreate the vertex locations that will be transitioned over the life of this animator.voidsetPercentComplete(double percentComplete) Callback from our animator.Methods inherited from class ghidra.graph.job.AbstractGraphTransitionJob
calculateDefaultLayoutLocations, calculateDefaultLayoutLocations, canShortcut, clearLocationCache, createAnimator, getCurrentLayoutLocations, installFinalEdgeArticulations, shortcut, toLocation, updatePointFromPercentCompleteMethods inherited from class ghidra.graph.job.AbstractGraphVisibilityTransitionJob
getEdges, getEdges, isTooBigToAnimate, updateOpacityMethods inherited from class ghidra.graph.job.AbstractAnimatorJob
dispose, execute, isFinished, setBusyListener, stop, toString, trace
-
Constructor Details
-
RelayoutAndCenterVertexGraphJob
-
-
Method Details
-
initializeVertexLocations
protected void initializeVertexLocations()Description copied from class:AbstractGraphTransitionJobCreate the vertex locations that will be transitioned over the life of this animator. The locations are inlayout space. This method is expected to updateAbstractGraphTransitionJob.vertexLocations(and optionallyAbstractGraphTransitionJob.edgeArticulationLocations).- Overrides:
initializeVertexLocationsin classRelayoutFunctionGraphJob<V extends VisualVertex,E extends VisualEdge<V>>
-
setPercentComplete
public void setPercentComplete(double percentComplete) Description copied from class:AbstractGraphTransitionJobCallback from our animator.- Overrides:
setPercentCompletein classAbstractGraphTransitionJob<V extends VisualVertex,E extends VisualEdge<V>>
-
finished
protected void finished()Description copied from class:AbstractAnimatorJobA callback given when this animator has run to completion. This will be called whether the animator is stopped prematurely or ends naturally.- Overrides:
finishedin classRelayoutFunctionGraphJob<V extends VisualVertex,E extends VisualEdge<V>>
-