LoopTimer

Extends
InfoBox
Methods
6
Fields
None

Getting one

LoopTimer.new(…)

Methods

MethodReturnsDescription
getStartTime()InstantWhen it was made.
getDuration()DurationThe period.
isReverse()booleanWhether it counts down.
toString()stringThe text form: LoopTimer(startTime=..., duration=..., reverse=...).
isInstance(any)booleanWhether obj is an instance of this class or a subclass of it, as made with class.
new(number, ChronoUnit, BufferedImage?, any?, boolean)LoopTimer(number, ChronoUnit, BufferedImage?, any?, boolean) -> LoopTimer: A loop of period units from now; raises IllegalArgumentException…
new(number, ChronoUnit, BufferedImage?, any?)LoopTimer

Returned by

MethodReturnsDescription
LoopTimerClass.newLoopTimer(number, ChronoUnit, BufferedImage?, any?, boolean) -> LoopTimer: A loop of period units from now; raises IllegalArgumentException…

Method details

toString

toString: (LoopTimer) -> string

The text form: LoopTimer(startTime=..., duration=..., reverse=...).

isInstance

isInstance: (any) -> boolean

Whether obj is an instance of this class or a subclass of it, as made with class.

new

new: ((number, ChronoUnit, BufferedImage?, any?, boolean) -> LoopTimer) & ((number, ChronoUnit, BufferedImage?, any?) -> LoopTimer)

(number, ChronoUnit, BufferedImage?, any?, boolean) -> LoopTimer: A loop of period units from now; raises IllegalArgumentException for a period of 0 or less.

(number, ChronoUnit, BufferedImage?, any?) -> LoopTimer: As the five-argument form, not reversed.