Skip to content

UI

The classes that describe a UI, open and close it, keep its state and its files, run its tasks and shortcuts, and animate it when it opens and closes. Learn: UIs, Transitions, Stores and remembered properties.

TypeKindSummary
HotReloadclassWatches the class files of open UIs in dev mode and reloads a UI when its classes change.
JOIDclassEntry point that opens and closes UIs, finds the open ones and runs code once JOID has loaded.
JOIDEnvclassThe mode JOID runs in and the folders where it writes its data and its caches.
JOIDLogclassPrints the messages of JOID with the [JOID] prefix, information on the standard output and warnings on the error output.
PopTransitionclassTransition that grows a UI from 75 % of its size when it opens and shrinks it back when it closes, in 130 ms, around its anchor.
ShortcutclassA key combination attached to a UI or a node that fires its listeners when the user presses it.
ShortcutEventclassEvent that a shortcut passes to its listeners when it fires.
TaskclassCode that runs once after a delay, or on a period, while it is attached to a UI or a node.
TaskEventclassEvent that a task passes to its listeners when it runs.
TransitionclassThe pair of steps that a UI plays when it opens and when it closes.
TransitionDrawinginterfaceFunction that draws a UI for a progress of its transition step, around the body that draws its nodes.
TransitionStepclassOne step of a transition, opening or closing, that animates a progress from 0 to 1 and draws the UI through its drawing.
UIclassBase class of a screen, an overlay or a popup that builds its node tree in init() and draws it on the design canvas.
UIPropertyannotationAnnotation that makes JOID remember a field of a UI on disk, from one run of the application to the next.
UIPropertyHookclassReads and writes the @UIProperty fields of a UI in its property file.
UIStoreclassBase class of a store, a container of values that lives as long as its scope and that several UIs can share.
UIStoreDataannotationAnnotation that gives a store its scope and the name of its file.
UIStoreHookclassCreates, caches, saves and destroys the stores that the UIs use.
UIStoreScopeenumHow long a store lives and which UIs share it.
UIViewclassConverts between the screen pixels of the window and the design pixels of a UI, from the window size, the anchor, the interface scale and the zoom.

Report a problem with this page