joe.win package


This package contains an experimental API for building JavaFX GUIs. It assumes a familiarity with JavaFX.

Topics

Types

Widget Hierarchy


The joe.win widget type hierarchy is a subset of the JavaFX hierarchy.

Styling with CSS


Scripts can style widgets using CSS in several different ways.

  • The Win.css() method associates a CSS stylesheet, passed as a text string, with the application as a whole.
  • Each widget has a styleClasses() method which returns a list of the names of the CSS style classes that apply to the widget; add any desired style class name to this list.
  • Each widget has a #style property which can be set to a string defining one or more CSS style settings, similar to the HTML style attribute.

JavaFX styles widgets using its own peculiar form of CSS, called "FXCSS". See the JavaFX CSS Reference Guide for details.