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.
| Type | Kind | Summary |
|---|---|---|
HotReload | class | Watches the class files of open UIs in dev mode and reloads a UI when its classes change. |
JOID | class | Entry point that opens and closes UIs, finds the open ones and runs code once JOID has loaded. |
JOIDEnv | class | The mode JOID runs in and the folders where it writes its data and its caches. |
JOIDLog | class | Prints the messages of JOID with the [JOID] prefix, information on the standard output and warnings on the error output. |
PopTransition | class | Transition 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. |
Shortcut | class | A key combination attached to a UI or a node that fires its listeners when the user presses it. |
ShortcutEvent | class | Event that a shortcut passes to its listeners when it fires. |
Task | class | Code that runs once after a delay, or on a period, while it is attached to a UI or a node. |
TaskEvent | class | Event that a task passes to its listeners when it runs. |
Transition | class | The pair of steps that a UI plays when it opens and when it closes. |
TransitionDrawing | interface | Function that draws a UI for a progress of its transition step, around the body that draws its nodes. |
TransitionStep | class | One step of a transition, opening or closing, that animates a progress from 0 to 1 and draws the UI through its drawing. |
UI | class | Base class of a screen, an overlay or a popup that builds its node tree in init() and draws it on the design canvas. |
UIProperty | annotation | Annotation that makes JOID remember a field of a UI on disk, from one run of the application to the next. |
UIPropertyHook | class | Reads and writes the @UIProperty fields of a UI in its property file. |
UIStore | class | Base class of a store, a container of values that lives as long as its scope and that several UIs can share. |
UIStoreData | annotation | Annotation that gives a store its scope and the name of its file. |
UIStoreHook | class | Creates, caches, saves and destroys the stores that the UIs use. |
UIStoreScope | enum | How long a store lives and which UIs share it. |
UIView | class | Converts 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. |
