Open Source JavaFX Now!

JFXtras Core Logo

XShelf

A display shelf control written entirely in JavaFX. The design goals for this control included:
  • Extreme scalability – WidgetFX supports image lists of up to 10,000 in size (possibly more in the future), so performance had to be independent of list size.
  • Ultra-high performance – If your GUI is slow, users assume your whole application is slow, so this had to be tuned for maximum performance (and minimum resource usage).
  • Visual appeal – Let’s face it, this is an eye-candy control, so if the graphics, transitions, and effects are not breathtaking, it is a failure.
I put together a quick screencast of the finished product: Play Screencast

The Shelf control includes the following features:
  • Image Titles – Images can optionally have titles that are shown below them on the shelf.
  • ScrollBar – Quick navigation of the list via a scroll bar that can be enabled or disabled.
  • Reflection – Supports a reflection effect that can be enabled or disabled
  • Configurable aspect ratio – The aspect ratio of the images in the list can be set based on the type of images loaded. The default value is 1:1 (square).
  • Intelligent caching – Uses Soft References to cache images that are off-screen. This will save images up to available memory, and free the least recently used images on garbage collection.

<< Back to JFXtras FrontPage < Back to Controls
0 Attachments 0 Attachments
377 Views