Package generic.timer
Class GhidraSwingTimer
java.lang.Object
generic.timer.GhidraSwingTimer
- All Implemented Interfaces:
GhidraTimer,ActionListener,EventListener
- Direct Known Subclasses:
ExpiringSwingTimer
-
Constructor Summary
ConstructorsConstructorDescriptionGhidraSwingTimer(int initialDelay, int delay, TimerCallback callback) GhidraSwingTimer(int delay, TimerCallback callback) -
Method Summary
Modifier and TypeMethodDescriptionvoidintgetDelay()intbooleanbooleanvoidsetDelay(int delay) voidsetInitialDelay(int initialDelay) voidsetRepeats(boolean repeats) voidsetTimerCallback(TimerCallback callback) voidstart()voidstop()
-
Constructor Details
-
GhidraSwingTimer
public GhidraSwingTimer() -
GhidraSwingTimer
-
GhidraSwingTimer
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
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
- 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
-