Skip to content
Andreas edited this page Aug 21, 2017 · 11 revisions

NOTE: The documentation has moved to http://afester.github.io/FranzXaver

Logo

What is it?

FranzXaver is a library of JavaFX components and tools, and also includes a collection of JavaFX example applications. Some of the examples are pure JavaFX API examples, others are using the components provided by the FranzXaver library.

Where does the project name come from?

I did not want to create yet another "MyJavaFXExamples", "JavaFXComponents" or similar project. The street where I live is named after an ambassador from the Baden region in Germany, Franz Xaver Honold. Since his first name initials match the FX in JavaFX, I choose to name this project after him.

Which components are currently available?

  • SvgLoader - An Apache Batik based SVG loader which reads svg files and returns a JavaFX scene graph according to the svg file. With this library, its possible to author JavaFX components with an SVG authoring tool like Inkscape and create new controls based on the svg file.

  • SnapSlider - a javafx.scene.control.Slider based component which makes sure that the final slider value is properly delivered to the application.

  • ColorSeparator - a tool class which separates a given JavaFX image into its color channels and returns distinct images for each color channel.

  • Meter - an example for a custom control which uses the SvgLoader to implement an analog meter.

  • MultiSegmentPanel - an example for a custom control which uses the SvgLoader to implement a 7 segment and a 14 segment display.

Which examples are currently available?

  • afester.javafx.examples.border.BorderExample - An example which demonstrates how to add a border to a JavaFX node, including 9-patch scaling. See 9-patch scaling in JavaFX for more information.

  • afester.javafx.examples.colorchannels.ColorChannelsExample - An example which shows how to separate an image into its red, green and blue color channels. See Separating color channels in JavaFX for more information.

  • afester.javafx.examples.svg.SvgLoaderResultViewer - An application which shows the result of a scene graph which has been loaded with the SVG loader. The svg file can be selected from the file system, and the result can be scaled.

  • afester.javafx.examples.layouts.LayoutExamples - An example which shows the different layout algorithms (panes) supported by JavaFX.

  • afester.javafx.examples.svg.TigerExample - The most simple SVG example which loads an SVG file and renders it as a JavaFX scene graph.

  • afester.javafx.examples.animation.counter.AnimatedCounter - An example which animates a sequence of bitmap graphics to show a count down counter.

  • afester.javafx.examples.animation.game.DrivingCar - An example which shows a simple animation of a driving car where the car can be controlled with the cursor keys (speed and left/right).

  • afester.javafx.examples.animation.game.BouncingBall - An example which shows an animated ball which can be bounced through a platform which can be moved with the cursor keys.

  • afester.javafx.examples.components.sevensegment.SegmentDisplay - An example which shows stylable 7-segment and 14-segment displays.

  • afester.javafx.examples.components.meter.MeterSample - An example which shows the analog meter.