Package generic.timer
Class GhidraSwingTimer
- java.lang.Object
-
- generic.timer.GhidraSwingTimer
-
- All Implemented Interfaces:
GhidraTimer,java.awt.event.ActionListener,java.util.EventListener
public class GhidraSwingTimer extends java.lang.Object implements GhidraTimer, java.awt.event.ActionListener
-
-
Constructor Summary
Constructors Constructor Description GhidraSwingTimer()GhidraSwingTimer(int initialDelay, int delay, TimerCallback callback)GhidraSwingTimer(int delay, TimerCallback callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)intgetDelay()intgetInitialDelay()booleanisRepeats()booleanisRunning()voidsetDelay(int delay)voidsetInitialDelay(int initialDelay)voidsetRepeats(boolean repeats)voidsetTimerCallback(TimerCallback callback)voidstart()voidstop()
-
-
-
Constructor Detail
-
GhidraSwingTimer
public GhidraSwingTimer()
-
GhidraSwingTimer
public GhidraSwingTimer(int delay, TimerCallback callback)
-
GhidraSwingTimer
public GhidraSwingTimer(int initialDelay, int delay, TimerCallback callback)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
-
getDelay
public int getDelay()
- Specified by:
getDelayin interfaceGhidraTimer
-
getInitialDelay
public int getInitialDelay()
- Specified by:
getInitialDelayin interfaceGhidraTimer
-
isRepeats
public boolean isRepeats()
- Specified by:
isRepeatsin interfaceGhidraTimer
-
setDelay
public void setDelay(int delay)
- Specified by:
setDelayin interfaceGhidraTimer
-
setInitialDelay
public void setInitialDelay(int initialDelay)
- Specified by:
setInitialDelayin interfaceGhidraTimer
-
setRepeats
public void setRepeats(boolean repeats)
- Specified by:
setRepeatsin interfaceGhidraTimer
-
setTimerCallback
public void setTimerCallback(TimerCallback callback)
- Specified by:
setTimerCallbackin interfaceGhidraTimer
-
start
public void start()
- Specified by:
startin interfaceGhidraTimer
-
stop
public void stop()
- Specified by:
stopin interfaceGhidraTimer
-
isRunning
public boolean isRunning()
- Specified by:
isRunningin interfaceGhidraTimer
-
-