Skip to content

A JavaFX skin for the Pagination control for use when there are too many pages to traverse easily using the default skin. It augments the default skin with buttons to jump to the first and last entries, as well as fast-forward and rewind buttons to jump forward as backward.

License

Notifications You must be signed in to change notification settings

Jmcleodfoss/VoluminousPaginationSkin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT License Codacy Badge Java CI with Maven Codacy Security Scan CodeQL

VoluminousPaginationSkin Introduction

A JavaFX skin for the Pagination control for use when there are too many pages to traverse easily using the default skin. It augments the default skin with buttons to jump to the first and last entries, as well as fast-forward and rewind buttons to jump forward as backward.

Description

Here is an example that approximates how the VoluminousPaginationSkin compares to the default PaginationSkin

Default PaginationSkin

◀️ 121 122 123 124 125 ▶️

VoluminousPaginationSkin

⏮️ ⏪ ◀️ 121 122 123 124 125 ▶️ ⏩ ⏭️

Important Note

If you are contemplating using this, you should consider reworking your design. The JavaFX Pagination control is not really suitable for large quantities of data, even with this hack to help navigate.

Versions

Version 1.0.0T (the "T" is an accident; the next version on this branch will be 1.0.1 with no "T")

Version 1.0.0 supports Java 8 with JavaFX bundled in it. It has been tested with version 8.44.0.13 of the Zulu distribution of OpenJDK on Windows, and with version 8.42.0.23 on 32-bit CentOS.

Version 1.0.1

This version is for Java 8. Fix typos in version name and in package description; clean up build dependencies.

Version 2.0.0

This version is for JavaFX 9 and higher

Version 2.0.1 (JavaFX 9+)

This version resolves issues found by various static analysis tools (Codacy, Xanitizer). This resulted in some code cleanup and tidying up of README.md. The only change to functionality is that the jumpFraction member of the VolumoinousPaginationSkin class is no longer static; it is now present independently within each instance of the class.

About

A JavaFX skin for the Pagination control for use when there are too many pages to traverse easily using the default skin. It augments the default skin with buttons to jump to the first and last entries, as well as fast-forward and rewind buttons to jump forward as backward.

Resources

License

Stars

Watchers

Forks

Packages

No packages published