Reference
Java API
The public Java API surface of JDesk, module dev.jdesk.api.
Every type in dev.jdesk.api is dependency-free and stable.
- JDeskApplication —
builder()withid,commands,capabilities,window,lifecycle,run(args). - WindowConfig —
id,title,size,minSize,resizable,rememberBounds,entry. - @DesktopCommand / @RequiresCapability / @PublicDesktopCommand — command annotations.
- InvocationContext —
windowId,requestId,events(),isCancelled(). - EventEmitter —
emit(name, payload). - UiDispatcher —
isUiThread,execute,submit,assertUiThread. - JDeskException / ErrorCode — the only identifiers allowed across the boundary.