Class ClockManager
- java.lang.Object
-
- net.runelite.client.plugins.timetracking.clocks.ClockManager
-
public class ClockManager extends Object
-
-
Constructor Summary
Constructors Constructor Description ClockManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkCompletion()
Checks if any timers have completed, and send notifications if required.void
checkForWarnings()
Sets the warning flag on each timer that should be in the warning stateboolean
checkTimerOrder()
Checks to ensure the timers are in the correct order.void
clear()
long
getActiveStopwatchCount()
long
getActiveTimerCount()
ClockTabPanel
getClockTabPanel()
List<net.runelite.client.plugins.timetracking.clocks.Stopwatch>
getStopwatches()
List<net.runelite.client.plugins.timetracking.clocks.Timer>
getTimers()
void
loadStopwatches()
void
loadTimers()
-
-
-
Method Detail
-
getActiveTimerCount
public long getActiveTimerCount()
-
getActiveStopwatchCount
public long getActiveStopwatchCount()
-
checkCompletion
public boolean checkCompletion()
Checks if any timers have completed, and send notifications if required.
-
checkTimerOrder
public boolean checkTimerOrder()
Checks to ensure the timers are in the correct order. If they are not, sort them and rebuild the clock panel- Returns:
- whether the timer order was changed or not
-
checkForWarnings
public void checkForWarnings()
Sets the warning flag on each timer that should be in the warning state
-
loadTimers
public void loadTimers()
-
loadStopwatches
public void loadStopwatches()
-
clear
public void clear()
-
getTimers
public List<net.runelite.client.plugins.timetracking.clocks.Timer> getTimers()
-
getStopwatches
public List<net.runelite.client.plugins.timetracking.clocks.Stopwatch> getStopwatches()
-
getClockTabPanel
public ClockTabPanel getClockTabPanel()
-
-