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 void
initTimer(int delay)
protected void
repaintParent()
void
start()
Start the animationvoid
stop()
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:
initTimer
in classLoadingIcon
-
start
public void start()
Description copied from class:LoadingIcon
Start the animation- Overrides:
start
in classLoadingIcon
-
stop
public void stop()
Description copied from class:LoadingIcon
Stop the animation- Overrides:
stop
in classLoadingIcon
-
repaintParent
protected void repaintParent()
- Overrides:
repaintParent
in classLoadingIcon
-
-