dlsc-software-consulting-gmbh / GemsFX

A collection of JavaFX controls and utilities.
Apache License 2.0
436 stars 51 forks source link

Feature Add CircleProgressIndicator Control #130

Closed leewyatt closed 1 month ago

leewyatt commented 1 month ago

Considering the addition of a CircleProgressIndicator for intuitive circular-format progress display, beneficial across uses like file transfers and process tracking. The proposal includes enhancing it beyond standard progress states (determinate/indeterminate) by adding a :completed pseudo-class for improved CSS styling upon reaching 100% progress.

Feature Proposal: We propose the development and inclusion of a CircleProgressIndicator component that not only matches the existing functionality found in standard progress indicators (i.e., determinate and indeterminate states) but also introduces a new :completed pseudo-class for better CSS styling capabilities when the progress reaches 1. 0 (100%).

Desired Features: Determinate State: The component should visually represent progress filling up the circle based on a progress value that ranges from 0.0 (no progress) to 1.0 (complete).

Indeterminate State: Progre equals 1.0 ;For tasks where progress cannot be precisely calculated, the component should display a continuous animation, indicating ongoing but undetermined progress.

Completed State: A critical enhancement over existing indicators is the introduction of a :completed pseudo-class. This state will allow for custom styling options to better indicate the completion of a task.