Open Source JavaFX Now!

JFXtras Samples Logo

Artifact
Default Tag Set

JFXtras Samples

The goal of the JFXtras Samples project is to provide quality JavaFX sample programs for users to learn and explore the language.  Please feel free to browse the samples, reuse any of the code in your applications (all licenses are commercial friendly), and contribute any additional samples you have back to the community.

« Back

JFXtras Shelf

Untitled Document
Author:Stephen Chin
Homepage:http://jfxtras.org/
License: New BSD License
Description:Early access demo of the JFXtras Shelf Control. Project includes the demo and control code.
Tags: sample, animation, controls, graphics
Modified:Sat, 11 Jul 2009 07:14:17 -0500
Launch Widget Browse Source Launch Widget Download Project
Launch Application


A JavaFX Display Shelf control that supports the following features:

  • Image Titles - Images can have titles that are shown below them on the shelf.
  • Scrollbar - Quick navigation of the list via a scrollbar.
  • 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).
  • Highly scalable - You can add an extremely large list of image urls, and only the images displayed on screen will be loaded or even have Nodes created.  Tested up to 10,000 images with no degredation in performance.
  • Intelligent caching - Uses Soft References to cache images that are offscreen.  This will save images up to available memory, and free the least recently used images on garbage collection.

This version works with the JFXtras 0.5 release, but is not yet included in the base distribution.  As of the next JFXtras release (0.6?) this will become a part of the core.


Average (0 Votes)