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 void
actionPerformed(java.awt.event.ActionEvent e)
int
getDelay()
int
getInitialDelay()
boolean
isRepeats()
boolean
isRunning()
void
setDelay(int delay)
void
setInitialDelay(int initialDelay)
void
setRepeats(boolean repeats)
void
setTimerCallback(TimerCallback callback)
void
start()
void
stop()
-
-
-
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:
actionPerformed
in interfacejava.awt.event.ActionListener
-
getDelay
public int getDelay()
- Specified by:
getDelay
in interfaceGhidraTimer
-
getInitialDelay
public int getInitialDelay()
- Specified by:
getInitialDelay
in interfaceGhidraTimer
-
isRepeats
public boolean isRepeats()
- Specified by:
isRepeats
in interfaceGhidraTimer
-
setDelay
public void setDelay(int delay)
- Specified by:
setDelay
in interfaceGhidraTimer
-
setInitialDelay
public void setInitialDelay(int initialDelay)
- Specified by:
setInitialDelay
in interfaceGhidraTimer
-
setRepeats
public void setRepeats(boolean repeats)
- Specified by:
setRepeats
in interfaceGhidraTimer
-
setTimerCallback
public void setTimerCallback(TimerCallback callback)
- Specified by:
setTimerCallback
in interfaceGhidraTimer
-
start
public void start()
- Specified by:
start
in interfaceGhidraTimer
-
stop
public void stop()
- Specified by:
stop
in interfaceGhidraTimer
-
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interfaceGhidraTimer
-
-