Index

A C G I O P R S T V 
All Classes and Interfaces|All Packages|Serialized Form

A

addCurrentTimeChangeListener(PropertyChangeListener, long, TimeUnit) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Deprecated.
Use SimpleTimer.addTickListener(ComponentEventListener, Duration) instead. The value itself is available on the server through SimpleTimer.getElapsed().
addDisplay(Component) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Shows the value of the timer inside another component as well.
addTickListener(ComponentEventListener<SimpleTimer.TimerTickEvent>, Duration) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Adds a listener that is notified while the timer is running, at most once per period.
addTimerEndEvent(ComponentEventListener<SimpleTimer.TimerEndedEvent>) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
addTimerEndListener(ComponentEventListener<SimpleTimer.TimerEndedEvent>) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Adds a listener that is notified when the timer reaches its limit.

C

com.flowingcode.vaadin.addons.simpletimer - package com.flowingcode.vaadin.addons.simpletimer
 
CONTINUE - Enum constant in enum com.flowingcode.vaadin.addons.simpletimer.SimpleTimer.DetachPolicy
The timer keeps counting while detached.

G

getCurrentTime() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
getCurrentTimeAsync() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
getDetachPolicy() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Returns what the timer does while it is detached.
getElapsed() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Returns the time the timer has been running, up to its limit.
getElapsed() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer.TimerTickEvent
Returns the elapsed time, as computed on the server when this method is called.
getLimit() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Returns the duration the timer counts down from, or counts up to.
getRemaining() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Returns the time left until the timer reaches its limit.
getRemaining() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer.TimerTickEvent
Returns the remaining time, as computed on the server when this method is called.

I

isCountUp() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Returns whether the timer counts up.
isRetroactive() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer.TimerEndedEvent
Returns whether the timer reached its limit while it was detached, in which case the event is fired late, when the component is attached again.
isRunning() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Returns whether the timer is running.
isVisible() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
 

O

onAttach(AttachEvent) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
 
onDetach(DetachEvent) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
 

P

pause() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Pauses the timer, keeping the elapsed time.
PAUSE - Enum constant in enum com.flowingcode.vaadin.addons.simpletimer.SimpleTimer.DetachPolicy
The timer pauses when detached, and resumes when attached again.

R

reset() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Resets the elapsed time to zero.

S

setCountdown(Duration) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Configures the timer to count down from the given duration to zero, and resets it.
setCountUp(Duration) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Configures the timer to count up from zero to the given limit, and resets it.
setDetachPolicy(SimpleTimer.DetachPolicy) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Sets what the timer does while it is detached.
setDoubleDigitHours(boolean) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Use two digits for hours.
setElapsed(Duration) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Sets the elapsed time, for instance to restore a timer whose state was saved elsewhere.
setEndTime(Number) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Deprecated.
setFractions(boolean) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Enables showing fractions of a second.
setHours(boolean) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Enables showing hours and minutes.
setMinutes(boolean) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Enables showing minutes.
setStartTime(Number) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Deprecated.
setVisible(boolean) - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Shows or hides the timer with CSS, so that it keeps running and communicating with the server while hidden.
SimpleTimer - Class in com.flowingcode.vaadin.addons.simpletimer
A timer that counts down to zero or counts up to a limit.
SimpleTimer() - Constructor for class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Creates a timer.
SimpleTimer.DetachPolicy - Enum in com.flowingcode.vaadin.addons.simpletimer
What the timer does while it is detached.
SimpleTimer.TimerEndedEvent - Class in com.flowingcode.vaadin.addons.simpletimer
Event fired when the timer reaches its limit.
SimpleTimer.TimerTickEvent - Class in com.flowingcode.vaadin.addons.simpletimer
Event fired periodically while the timer is running.
start() - Method in class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer
Starts the timer.

T

TimerEndedEvent(SimpleTimer, boolean) - Constructor for class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer.TimerEndedEvent
Creates a new event.
TimerEndedEvent(SimpleTimer, boolean, boolean) - Constructor for class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer.TimerEndedEvent
Creates a new event.
TimerTickEvent(SimpleTimer, boolean) - Constructor for class com.flowingcode.vaadin.addons.simpletimer.SimpleTimer.TimerTickEvent
Creates a new event.

V

valueOf(String) - Static method in enum com.flowingcode.vaadin.addons.simpletimer.SimpleTimer.DetachPolicy
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.flowingcode.vaadin.addons.simpletimer.SimpleTimer.DetachPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
A C G I O P R S T V 
All Classes and Interfaces|All Packages|Serialized Form