Class LoadingIcon.Unsafe
- java.lang.Object
-
- com.inductiveautomation.ignition.client.util.gui.LoadingIcon
-
- com.inductiveautomation.ignition.client.util.gui.LoadingIcon.Unsafe
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.util.EventListener,javax.swing.Icon
- Enclosing class:
- LoadingIcon
public static class LoadingIcon.Unsafe extends LoadingIcon
This class is a subclass of LoadingIcon that uses a (shared) java.util.Timer, and issues repaintImmediately commands to the parent component on non-EDT thread.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.client.util.gui.LoadingIcon
LoadingIcon.Unsafe
-
-
Constructor Summary
Constructors Constructor Description Unsafe()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinitTimer(int delay)protected voidrepaintParent()voidstart()Start the animationvoidstop()Stop the animation-
Methods inherited from class com.inductiveautomation.ignition.client.util.gui.LoadingIcon
actionPerformed, getIconHeight, getIconWidth, paintIcon
-
-
-
-
Method Detail
-
initTimer
protected void initTimer(int delay)
- Overrides:
initTimerin classLoadingIcon
-
start
public void start()
Description copied from class:LoadingIconStart the animation- Overrides:
startin classLoadingIcon
-
stop
public void stop()
Description copied from class:LoadingIconStop the animation- Overrides:
stopin classLoadingIcon
-
repaintParent
protected void repaintParent()
- Overrides:
repaintParentin classLoadingIcon
-
-