With the GWT-TimeSlider you can start and stop or change the speed of a slider animation. It is build with standard GWT-Elements, so no extra libraries are needed.

The class TestData.java creates a set of dates which are used for the time range of the slider. The starting point is the oldest date and the slider goes over all dates in between. To have a smooth animation of the TimeSlider, enough data is needed as steps in between.

A timer i called every 50 milliseconds and each call of the timer moves the slider handle one step further, which means that the size of the panels left and right of the handle changes.

The speed is configurable, and changes when the speed buttons are used. A number of ticks can be used to show certain dates below the slider animation.

The GWT-TimeSlider.java class shows how to use the TimeSlider.

Import the project as a GWT-project and run it with "run as -> Web Application". An Example-HTML-Page is shown.

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow GWT-TimeSlider

GWT-TimeSlider Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of GWT-TimeSlider!

Additional Project Details

Intended Audience

Developers

User Interface

Web-based

Programming Language

Java

Related Categories

Java User Interface (UI) Software

Registered

2014-01-14