Package-level declarations
Types
Draws the background of a Region.
A Background with a flat color, or textured using a tint
to supply the color.
A Border with a flat color, or textured using a tint
to supply the color.
A Background, where each corner uses a different ObservableColor. This is used for the color field
in the CustomColorPicker.
A Background composed of two other Backgrounds.
Draws a Background as a linear gradient. The left/bottom is fromColor and the right/top is toColor depending on orientation.
Draws a Background as a linear gradient. The left/bottom is fromHue and the right/top is toHue depending on orientation.
A Background, for a single hue.
Loads icons from Resources, where a single .png
file contains many icons. These icons should have a gap between them, to prevent bleeding from one icon into its neighbours. You give a name to each icon, via a DSL (domain specific language).
Draws a rectangular region using 9 'patches' the four corner patches are drawn 1:1 (unscaled). The top and bottom patches are stretched (or shrunk) horizontally to fit between the corners. The left and right patches are similarly stretched (or shrunk) vertically. The center path is stretch (or shrunk) in both directions.
The base class for all GUI elements in a Scene. The nodes form a Scene Graph
(which is a misnomer, because it is a tree
structure, not a graph
), starting at the Scene.root Node.
A Stage which is not backed by a native Window
, but instead lives within the regularStage.
A plain, rectangular border using a single color.
A rectangular border, with a 3D effect.
A repeated background pattern from an Image.
Used for images which can be resized on the fly. This is designed to be used by Icons, so that you can build the GUI Nodes, and then later, change the value of an iconSizeProperty
, all icons will change size.
Draws a rounded rectangle. If side is set, then only 1 side of the rectangle is rounded (i.e. two corners).
A Background, for a single saturation value.
Stage is the owner
of a Scene. There are (or will be) two implementations : RegularStage, and OverlayStage.
Similar to NinePatchBackground, but the source texture's pixels are multiplied by tint. Used in two ways :
Similar to NinePatchBorder, but the source texture's pixels are multiplied by tint. Used in two ways :
A Background specifically designed for underlining Text Nodes, where it isn't possible to use a Border.
Implemented by Node subclasses with a settable child called content
.