Package generic.timer
Class GhidraSwingTimer
java.lang.Object
generic.timer.GhidraSwingTimer
- All Implemented Interfaces:
GhidraTimer
,ActionListener
,EventListener
- Direct Known Subclasses:
ExpiringSwingTimer
-
Constructor Summary
ConstructorDescriptionGhidraSwingTimer
(int initialDelay, int delay, TimerCallback callback) GhidraSwingTimer
(int delay, TimerCallback callback) -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
getDelay()
int
boolean
boolean
void
setDelay
(int delay) void
setInitialDelay
(int initialDelay) void
setRepeats
(boolean repeats) void
setTimerCallback
(TimerCallback callback) void
start()
void
stop()
-
Constructor Details
-
GhidraSwingTimer
public GhidraSwingTimer() -
GhidraSwingTimer
-
GhidraSwingTimer
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
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
- 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
-