Package-level declarations
Types
Draws the background of a Region.
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 border which ignores Region.borderSize, and uses the size passed to the constructor instead. If actualSize is larger than Region.borderSize, then the border will encroach into the node's content/padding.
A Stage which is not backed by a native Window
, but instead lives within a RegularStage.
Very similar to OverlayStageBorder. Everything within the solid rectangle is filled.
Similar to RoundedBorder, but instead of filling the whole of the edges, only fill a thin line (given by thickness). Everything outside the thin line remains un-drawn.
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 two implementations : RegularStage, and OverlayStage.
A thin border, which is always 1 logical pixel (ignoring the size passed to it).
Similar to NinePatchBackground, but the source texture's pixels are multiplied by a color (usually from Region.backgroundColor). Used in two ways :
Similar to NinePatchBorder, but the source texture's pixels are multiplied by a color (usually from Region.borderColor).
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
.