Skip to content

Nodes

The base class Node and the nodes that draw shapes, text, images, media, progress bars, charts and 3D models, with their tooltips and their drag settings. Learn: Nodes and the tree, Position and size, Images and media.

BaseModelNode, ChartNode and RadarChartNode need a skin, a subclass that draws the node: see Give your controls a look.

TypeKindSummary
NodeclassBase class of every element of a UI, a box in design pixels with children, fluent properties, input, hover, scroll, drag and effects.
BaseModelNodeclassBase class of the nodes that draw a 3D model in their bounds.
ChartNodeclassBase class of a chart that shows named series of values over the labels of an X axis.
CircleNodeclassDraws a filled disc in its bounds, with a color that fades on hover.
DevNodeclassThe dev panel of a UI in dev mode, with the inspector, the reload button, the grid and the frame rate.
ModelNodeclassDraws a 3D model at a zoom and a rotation that your code sets.
ModelViewerNodeclassDraws a 3D model that the user turns by dragging and zooms with the wheel, within ranges.
ProgressNodeclassShows a progress from 0 to 1 by sizing its fill part over an optional track part.
RadarChartNodeclassBase class of a radar chart, which shows one value per axis around a center.
RectNodeclassDraws a filled rectangle on its bounds, with an optional border, and colors that fade on hover.
ResourceNodeclassDraws an image resource in its bounds, tinted by a color, with an optional image that fades in on hover.
ResourcePlayerNodeclassPlays a video or an animated image in its bounds, with its sound, and controls the playback.
TextNodeclassDraws a Text in its bounds, and takes the size of the text when no size is declared.

The interfaces, enums and helper classes of this family that the main types use.

TypeKindSummary
CustomHoverElementclassPlaces a tooltip element of your own at the mouse, on the node or at a fixed point.
DraggablePropertyclassHow a node is dragged: the area it stays in, whether it moves or leaves a copy, and the targets it snaps to.
HoverSupplierinterfaceFunction that gives the single line of a text tooltip.
IHoverElementinterfaceA tooltip element that draws itself while its node is hovered.
INodeinterfaceThe hooks that JOID calls on a node, all empty by default, that a node of your own overrides.
NodeHoverElementclassTooltip made of a node, loaded and drawn while its owner is hovered.
NodeLayerinterfaceFunction that draws over a node, after its children, in the coordinates of the node.
PositionedHoverElementclassTooltip element placed at the mouse, on the node or at a fixed point, and kept inside the window.

Nested types and listeners that the main types use.

TypeKindSummary
ChartNode.ChartAxisclassThe base of the X and Y axes of a chart, created by ChartAxis.x(...) and ChartAxis.y(...), with the name of the axis.
ChartNode.ChartAxis.XChartAxisclassThe X axis of a chart, which holds its labels and its series.
ChartNode.ChartAxis.YChartAxisclassThe Y axis of a chart, which formats its values.
ChartNode.ChartDataclassOne series of a chart: a value for each label of the X axis.
DraggableProperty.DraggableAreaTypeenumThe area a dragged node stays in.
DraggableProperty.DraggableSnapTypeenumHow a dropped node picks its snap target.
DraggableProperty.DraggableTypeenumWhether a drag moves the node or a copy of it.
PositionedHoverElement.HoverElementPositionenumWhere a tooltip element is placed.
ProgressNode.ProgressDirectionenumThe side that the fill of a progress bar grows from.
RadarChartNode.RadarChartDataclassOne entry of a radar chart: a label and its value.
ResourceNode.StretchTypeenumHow an image or a video fills bounds whose ratio differs from its own.

Report a problem with this page