Package docking.util
Class AnimationUtils
- java.lang.Object
- 
- docking.util.AnimationUtils
 
- 
 public class AnimationUtils extends java.lang.Object
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAnimationUtils.BasicAnimationDriverstatic classAnimationUtils.BasicAnimationPainterstatic classAnimationUtils.ComponentToComponentDriverstatic classAnimationUtils.DragonImageDriverstatic classAnimationUtils.FocusDriverstatic classAnimationUtils.PointToComponentDriverstatic classAnimationUtils.PulseDriverstatic classAnimationUtils.RotateDriverstatic classAnimationUtils.ShakeDriverstatic classAnimationUtils.SwingAnimationCallbackDriver
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static org.jdesktop.animation.timing.AnimatorcreatePaintingAnimator(java.awt.Component window, AnimationPainter painter)static org.jdesktop.animation.timing.AnimatorexecuteSwingAnimationCallback(SwingAnimationCallback callback)static org.jdesktop.animation.timing.AnimatorfocusComponent(java.awt.Component component)Focuses the current component by graying out all other components but the given one and bringing that component to the middle of the screen.static GGlassPanegetGlassPane(java.awt.Component c)Returns theGGlassPanefor the given componentstatic booleanisAnimationEnabled()Returns true if animation is enabled; false if animation has been disable, such as by a user optionstatic org.jdesktop.animation.timing.AnimatorpulseAndShakeComponent(java.awt.Component component)static org.jdesktop.animation.timing.AnimatorpulseComponent(java.awt.Component component)static org.jdesktop.animation.timing.AnimatorpulseComponent(java.awt.Component component, int pulseCount)static org.jdesktop.animation.timing.AnimatorrotateComponent(java.awt.Component component)static voidsetAnimationEnabled(boolean enabled)Enables animation for all tools in the Ghidra universe.static org.jdesktop.animation.timing.AnimatorshakeComponent(java.awt.Component component)static org.jdesktop.animation.timing.AnimatorshowTheDragonOverComponent(java.awt.Component component)static org.jdesktop.animation.timing.AnimatortransitionFromComponentToComponent(java.awt.Component fromComponent, java.awt.Component toComponent)static org.jdesktop.animation.timing.AnimatortransitionUserFocusToComponent(java.awt.Component activeComponent, java.awt.Component toFocusComponent)
 
- 
- 
- 
Method Detail- 
isAnimationEnabledpublic static boolean isAnimationEnabled() Returns true if animation is enabled; false if animation has been disable, such as by a user option- Returns:
- true if enabled
 
 - 
setAnimationEnabledpublic static void setAnimationEnabled(boolean enabled) Enables animation for all tools in the Ghidra universe.- Parameters:
- enabled- true if animations should be used
 
 - 
focusComponentpublic static org.jdesktop.animation.timing.Animator focusComponent(java.awt.Component component) Focuses the current component by graying out all other components but the given one and bringing that component to the middle of the screen.- Parameters:
- component- The component to focus
- Returns:
- the new animator
 
 - 
transitionUserFocusToComponentpublic static org.jdesktop.animation.timing.Animator transitionUserFocusToComponent(java.awt.Component activeComponent, java.awt.Component toFocusComponent)
 - 
transitionFromComponentToComponentpublic static org.jdesktop.animation.timing.Animator transitionFromComponentToComponent(java.awt.Component fromComponent, java.awt.Component toComponent)
 - 
createPaintingAnimatorpublic static org.jdesktop.animation.timing.Animator createPaintingAnimator(java.awt.Component window, AnimationPainter painter)
 - 
shakeComponentpublic static org.jdesktop.animation.timing.Animator shakeComponent(java.awt.Component component) 
 - 
rotateComponentpublic static org.jdesktop.animation.timing.Animator rotateComponent(java.awt.Component component) 
 - 
pulseComponentpublic static org.jdesktop.animation.timing.Animator pulseComponent(java.awt.Component component) 
 - 
pulseComponentpublic static org.jdesktop.animation.timing.Animator pulseComponent(java.awt.Component component, int pulseCount)
 - 
pulseAndShakeComponentpublic static org.jdesktop.animation.timing.Animator pulseAndShakeComponent(java.awt.Component component) 
 - 
showTheDragonOverComponentpublic static org.jdesktop.animation.timing.Animator showTheDragonOverComponent(java.awt.Component component) 
 - 
executeSwingAnimationCallbackpublic static org.jdesktop.animation.timing.Animator executeSwingAnimationCallback(SwingAnimationCallback callback) 
 - 
getGlassPanepublic static GGlassPane getGlassPane(java.awt.Component c) Returns theGGlassPanefor the given component- Parameters:
- c- the component
- Returns:
- the glass pane
 
 
- 
 
-