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 booleancheckCompletion()Checks if any timers have completed, and send notifications if required.voidcheckForWarnings()Sets the warning flag on each timer that should be in the warning statebooleancheckTimerOrder()Checks to ensure the timers are in the correct order.voidclear()longgetActiveStopwatchCount()longgetActiveTimerCount()ClockTabPanelgetClockTabPanel()List<net.runelite.client.plugins.timetracking.clocks.Stopwatch>getStopwatches()List<net.runelite.client.plugins.timetracking.clocks.Timer>getTimers()voidloadStopwatches()voidloadTimers()
-
-
-
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()
-
-