Home › Packages › gui

Package gui

This package contains 242 source unit(s) defining 243 class(es) / struct(s). Each unit below lists its fields (the values it stores) and methods (the actions it performs), with a plain explanation of each.

gui-app-demo #sleela 2.5 (lib/gui/version-gual/gui-app-demo.sleela)

GuiAppDemo class

Runnable demonstrator for the /lib/gui support structure. It boots an SLGuiApp (application + window + DOM + reconciler + host adapter + script engine), builds a small interface in the SLeeLa DOM, binds an onClick callback, drives part of the UI from a script, refreshes once to project the DOM onto real SleelaUI widgets, and (on a display) hands control to the run loop. On a headless host boot() returns false and it exits cleanly, like gui-demo.sleela. This proves the architectural wiring end to end: DOM -> reconcile -> widgets, and widget activations -> events -> handlers. Family: gui. SLeeLa owns the document and dispatch; SleelaUI renders it.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
boolToStrString boolToStr(boolean b)No description in source.
bannervoid banner(String t)No description in source.
runint run()No description in source.

gui-app-demo #sleela 2.5 (lib/gui/version-mual/gui-app-demo.sleela)

GuiAppDemo class

Runnable demonstrator for the /lib/gui support structure. It boots an SLGuiApp (application + window + DOM + reconciler + host adapter + script engine), builds a small interface in the SLeeLa DOM, binds an onClick callback, drives part of the UI from a script, refreshes once to project the DOM onto real SleelaUI widgets, and (on a display) hands control to the run loop. On a headless host boot() returns false and it exits cleanly, like gui-demo.sleela. This proves the architectural wiring end to end: DOM -> reconcile -> widgets, and widget activations -> events -> handlers. Family: gui. SLeeLa owns the document and dispatch; SleelaUI renders it.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
boolToStrString boolToStr(boolean b)No description in source.
bannervoid banner(String t)No description in source.
runint run()No description in source.

gui-app-demo #sleela 2.5 (lib/gui/version-thual/gui-app-demo.sleela)

GuiAppDemo class

Runnable demonstrator for the /lib/gui support structure. It boots an SLGuiApp (application + window + DOM + reconciler + host adapter + script engine), builds a small interface in the SLeeLa DOM, binds an onClick callback, drives part of the UI from a script, refreshes once to project the DOM onto real SleelaUI widgets, and (on a display) hands control to the run loop. On a headless host boot() returns false and it exits cleanly, like gui-demo.sleela. This proves the architectural wiring end to end: DOM -> reconcile -> widgets, and widget activations -> events -> handlers. Family: gui. SLeeLa owns the document and dispatch; SleelaUI renders it.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
boolToStrString boolToStr(boolean b)No description in source.
bannervoid banner(String t)No description in source.
runint run()No description in source.

gui-app-demo #sleela 2.5 (lib/gui/version-military/gui-app-demo.sleela)

GuiAppDemo class

Runnable demonstrator for the /lib/gui support structure. It boots an SLGuiApp (application + window + DOM + reconciler + host adapter + script engine), builds a small interface in the SLeeLa DOM, binds an onClick callback, drives part of the UI from a script, refreshes once to project the DOM onto real SleelaUI widgets, and (on a display) hands control to the run loop. On a headless host boot() returns false and it exits cleanly, like gui-demo.sleela. This proves the architectural wiring end to end: DOM -> reconcile -> widgets, and widget activations -> events -> handlers. Family: gui. SLeeLa owns the document and dispatch; SleelaUI renders it.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
boolToStrString boolToStr(boolean b)No description in source.
bannervoid banner(String t)No description in source.
runint run()No description in source.

gui-app-demo #sleela 2.5 (lib/gui/version-dual/gui-app-demo.sleela)

GuiAppDemo class

Runnable demonstrator for the /lib/gui support structure. It boots an SLGuiApp (application + window + DOM + reconciler + host adapter + script engine), builds a small interface in the SLeeLa DOM, binds an onClick callback, drives part of the UI from a script, refreshes once to project the DOM onto real SleelaUI widgets, and (on a display) hands control to the run loop. On a headless host boot() returns false and it exits cleanly, like gui-demo.sleela. This proves the architectural wiring end to end: DOM -> reconcile -> widgets, and widget activations -> events -> handlers. Family: gui. SLeeLa owns the document and dispatch; SleelaUI renders it.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
boolToStrString boolToStr(boolean b)No description in source.
bannervoid banner(String t)No description in source.
runint run()No description in source.

gui-components-demo #sleela 2.5 (lib/gui/version-military/gui-components-demo.sleela)

GuiComponentsDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-components-demo #sleela 2.5 (lib/gui/version-dual/gui-components-demo.sleela)

GuiComponentsDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-demo #sleela 2.5 (lib/gui/version-gual/gui-demo.sleela)

GuiDemo class

Runnable demonstrator for the gui package — the SLeeLa-facing consequence of the top-level gui/ work. It walks the three integration paths (Java host, SLeeLa intent, native ABI bridge) and the 1..14 document-change listener that refreshes a running window on an OS call. Self-contained (inline model + main) in the style of moral-capacitor.sleela.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MIN_DOCUMENTSint MIN_DOCUMENTS = 1No description in source.
MAX_DOCUMENTSint MAX_DOCUMENTS = 14No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
intToStrString intToStr(int v)No description in source.
boolToStrString boolToStr(boolean b)No description in source.
resolveBackendString resolveBackend(String kind)The toolkit-neutral backend selector (SleelaGui.create).
backendSupportedboolean backendSupported(String kind)No description in source.
withinBoundboolean withinBound(int count)The hard 1..14 document-count contract.
refreshTextString refreshText(String documentId, String revision)The window's document-change refresh sink (SleelaGui.refresh default).
bannervoid banner(String t)No description in source.
mainvoid main()No description in source.

gui-demo #sleela 2.5 (lib/gui/version-mual/gui-demo.sleela)

GuiDemo class

Runnable demonstrator for the gui package — the SLeeLa-facing consequence of the top-level gui/ work. It walks the three integration paths (Java host, SLeeLa intent, native ABI bridge) and the 1..14 document-change listener that refreshes a running window on an OS call. Self-contained (inline model + main) in the style of moral-capacitor.sleela.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MIN_DOCUMENTSint MIN_DOCUMENTS = 1No description in source.
MAX_DOCUMENTSint MAX_DOCUMENTS = 14No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
intToStrString intToStr(int v)No description in source.
boolToStrString boolToStr(boolean b)No description in source.
resolveBackendString resolveBackend(String kind)The toolkit-neutral backend selector (SleelaGui.create).
backendSupportedboolean backendSupported(String kind)No description in source.
withinBoundboolean withinBound(int count)The hard 1..14 document-count contract.
refreshTextString refreshText(String documentId, String revision)The window's document-change refresh sink (SleelaGui.refresh default).
bannervoid banner(String t)No description in source.
mainvoid main()No description in source.

gui-demo #sleela 2.5 (lib/gui/version-thual/gui-demo.sleela)

GuiDemo class

Runnable demonstrator for the gui package — the SLeeLa-facing consequence of the top-level gui/ work. It walks the three integration paths (Java host, SLeeLa intent, native ABI bridge) and the 1..14 document-change listener that refreshes a running window on an OS call. Self-contained (inline model + main) in the style of moral-capacitor.sleela.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MIN_DOCUMENTSint MIN_DOCUMENTS = 1No description in source.
MAX_DOCUMENTSint MAX_DOCUMENTS = 14No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
intToStrString intToStr(int v)No description in source.
boolToStrString boolToStr(boolean b)No description in source.
resolveBackendString resolveBackend(String kind)The toolkit-neutral backend selector (SleelaGui.create).
backendSupportedboolean backendSupported(String kind)No description in source.
withinBoundboolean withinBound(int count)The hard 1..14 document-count contract.
refreshTextString refreshText(String documentId, String revision)The window's document-change refresh sink (SleelaGui.refresh default).
bannervoid banner(String t)No description in source.
mainvoid main()No description in source.

gui-demo #sleela 2.5 (lib/gui/version-military/gui-demo.sleela)

GuiDemo class

Runnable demonstrator for the gui package — the SLeeLa-facing consequence of the top-level gui/ work. It walks the three integration paths (Java host, SLeeLa intent, native ABI bridge) and the 1..14 document-change listener that refreshes a running window on an OS call. Self-contained (inline model + main) in the style of moral-capacitor.sleela.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MIN_DOCUMENTSint MIN_DOCUMENTS = 1No description in source.
MAX_DOCUMENTSint MAX_DOCUMENTS = 14No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
intToStrString intToStr(int v)No description in source.
boolToStrString boolToStr(boolean b)No description in source.
resolveBackendString resolveBackend(String kind)The toolkit-neutral backend selector (SleelaGui.create).
backendSupportedboolean backendSupported(String kind)No description in source.
withinBoundboolean withinBound(int count)The hard 1..14 document-count contract.
refreshTextString refreshText(String documentId, String revision)The window's document-change refresh sink (SleelaGui.refresh default).
bannervoid banner(String t)No description in source.
mainvoid main()No description in source.

gui-demo #sleela 2.5 (lib/gui/version-dual/gui-demo.sleela)

GuiDemo class

Runnable demonstrator for the gui package — the SLeeLa-facing consequence of the top-level gui/ work. It walks the three integration paths (Java host, SLeeLa intent, native ABI bridge) and the 1..14 document-change listener that refreshes a running window on an OS call. Self-contained (inline model + main) in the style of moral-capacitor.sleela.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MIN_DOCUMENTSint MIN_DOCUMENTS = 1No description in source.
MAX_DOCUMENTSint MAX_DOCUMENTS = 14No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
intToStrString intToStr(int v)No description in source.
boolToStrString boolToStr(boolean b)No description in source.
resolveBackendString resolveBackend(String kind)The toolkit-neutral backend selector (SleelaGui.create).
backendSupportedboolean backendSupported(String kind)No description in source.
withinBoundboolean withinBound(int count)The hard 1..14 document-count contract.
refreshTextString refreshText(String documentId, String revision)The window's document-change refresh sink (SleelaGui.refresh default).
bannervoid banner(String t)No description in source.
mainvoid main()No description in source.

gui-effects-demo #sleela 2.5 (lib/gui/version-thual/gui-effects-demo.sleela)

GuiEffectsDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-effects-demo #sleela 2.5 (lib/gui/version-military/gui-effects-demo.sleela)

GuiEffectsDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-effects-demo #sleela 2.5 (lib/gui/version-dual/gui-effects-demo.sleela)

GuiEffectsDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-events-demo #sleela 2.5 (lib/gui/version-gual/gui-events-demo.sleela)

GuiEventsDemo class

Runnable demonstrator for the /lib/gui event + DHTML + scripting layer. It builds a small document (a window with a button and an entry), binds callbacks (onClick / onInput) the DHTML way, raises events and shows the dispatcher routing them to operations with the take-the-latch latch, demonstrates preventDefault/stopPropagation, mutates the DOM live (setText/setStyle/hide), and finally drives the SAME interface from an SLGuiScript command list — proving the UI can be authored and driven by scripting. Self-contained (inline flow + main), in the style of gui-demo.sleela. Family: gui. SLeeLa owns dispatch and the meaning of events; a host only raises them and mirrors the DOM onto widgets.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
boolToStrString boolToStr(boolean b)No description in source.
bannervoid banner(String t)No description in source.
mainvoid main()No description in source.

gui-events-demo #sleela 2.5 (lib/gui/version-mual/gui-events-demo.sleela)

GuiEventsDemo class

Runnable demonstrator for the /lib/gui event + DHTML + scripting layer. It builds a small document (a window with a button and an entry), binds callbacks (onClick / onInput) the DHTML way, raises events and shows the dispatcher routing them to operations with the take-the-latch latch, demonstrates preventDefault/stopPropagation, mutates the DOM live (setText/setStyle/hide), and finally drives the SAME interface from an SLGuiScript command list — proving the UI can be authored and driven by scripting. Self-contained (inline flow + main), in the style of gui-demo.sleela. Family: gui. SLeeLa owns dispatch and the meaning of events; a host only raises them and mirrors the DOM onto widgets.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
boolToStrString boolToStr(boolean b)No description in source.
bannervoid banner(String t)No description in source.
mainvoid main()No description in source.

gui-events-demo #sleela 2.5 (lib/gui/version-thual/gui-events-demo.sleela)

GuiEventsDemo class

Runnable demonstrator for the /lib/gui event + DHTML + scripting layer. It builds a small document (a window with a button and an entry), binds callbacks (onClick / onInput) the DHTML way, raises events and shows the dispatcher routing them to operations with the take-the-latch latch, demonstrates preventDefault/stopPropagation, mutates the DOM live (setText/setStyle/hide), and finally drives the SAME interface from an SLGuiScript command list — proving the UI can be authored and driven by scripting. Self-contained (inline flow + main), in the style of gui-demo.sleela. Family: gui. SLeeLa owns dispatch and the meaning of events; a host only raises them and mirrors the DOM onto widgets.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
boolToStrString boolToStr(boolean b)No description in source.
bannervoid banner(String t)No description in source.
mainvoid main()No description in source.

gui-events-demo #sleela 2.5 (lib/gui/version-military/gui-events-demo.sleela)

GuiEventsDemo class

Runnable demonstrator for the /lib/gui event + DHTML + scripting layer. It builds a small document (a window with a button and an entry), binds callbacks (onClick / onInput) the DHTML way, raises events and shows the dispatcher routing them to operations with the take-the-latch latch, demonstrates preventDefault/stopPropagation, mutates the DOM live (setText/setStyle/hide), and finally drives the SAME interface from an SLGuiScript command list — proving the UI can be authored and driven by scripting. Self-contained (inline flow + main), in the style of gui-demo.sleela. Family: gui. SLeeLa owns dispatch and the meaning of events; a host only raises them and mirrors the DOM onto widgets.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
boolToStrString boolToStr(boolean b)No description in source.
bannervoid banner(String t)No description in source.
mainvoid main()No description in source.

gui-events-demo #sleela 2.5 (lib/gui/version-dual/gui-events-demo.sleela)

GuiEventsDemo class

Runnable demonstrator for the /lib/gui event + DHTML + scripting layer. It builds a small document (a window with a button and an entry), binds callbacks (onClick / onInput) the DHTML way, raises events and shows the dispatcher routing them to operations with the take-the-latch latch, demonstrates preventDefault/stopPropagation, mutates the DOM live (setText/setStyle/hide), and finally drives the SAME interface from an SLGuiScript command list — proving the UI can be authored and driven by scripting. Self-contained (inline flow + main), in the style of gui-demo.sleela. Family: gui. SLeeLa owns dispatch and the meaning of events; a host only raises them and mirrors the DOM onto widgets.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
boolToStrString boolToStr(boolean b)No description in source.
bannervoid banner(String t)No description in source.
mainvoid main()No description in source.

gui-guide-chain-demo #sleela 2.5 (lib/gui/version-mual/gui-guide-chain-demo.sleela)

GuiGuideChainDemo class

Runnable demonstrator for the philosophers Guide-chain operator (syntax 2.3, SLEELA.syntax section 17) applied to GUI setup. A window is "constructed and guided" in one expression: new GuiPanel() :: window :: title :: listen :: show where each Guide is a zero-argument setup step applied in order, and the chain evaluates to the constructed panel (fluent). This is the gui-family reading of the perfect Constructor: the construction of a GUI surface IS a seated sequence of growths. Self-contained (inline model + main).

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

GuiPanel class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
hasWindowint hasWindowset as each Guide fires
hasTitleint hasTitleNo description in source.
listeningint listeningNo description in source.
shownint shownNo description in source.
seatedint seatedNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
createvoid create()No description in source.
windowvoid window()--- the GUI Guides: zero-arg setup steps seated via :: ---
titlevoid title()No description in source.
listenvoid listen()No description in source.
showvoid show()No description in source.
stepsint steps()No description in source.
describeString describe()No description in source.

gui-html-codecs-demo #sleela 2.5 (lib/gui/version-military/gui-html-codecs-demo.sleela)

GuiHtmlCodecsDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-html-codecs-demo #sleela 2.5 (lib/gui/version-dual/gui-html-codecs-demo.sleela)

GuiHtmlCodecsDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-menu-model-demo #sleela 2.5 (lib/gui/version-military/gui-menu-model-demo.sleela)

GuiMenuModelDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
boolToStrString boolToStr(boolean b)No description in source.
mainvoid main()No description in source.

gui-military-demo #sleela 2.5 (lib/gui/version-military/gui-military-demo.sleela)

GuiMilitaryDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-overflow-scroll-demo #sleela 2.5 (lib/gui/version-gual/gui-overflow-scroll-demo.sleela)

GuiOverflowScrollDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bannervoid banner(String t)No description in source.
axisvoid axis(String name, int viewport, int content, boolean horizontal)Report the implied-scroll decision for a viewport vs. content extent.
mainvoid main()No description in source.

gui-overflow-scroll-demo #sleela 2.5 (lib/gui/version-mual/gui-overflow-scroll-demo.sleela)

GuiOverflowScrollDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bannervoid banner(String t)No description in source.
axisvoid axis(String name, int viewport, int content, boolean horizontal)Report the implied-scroll decision for a viewport vs. content extent.
mainvoid main()No description in source.

gui-overflow-scroll-demo #sleela 2.5 (lib/gui/version-thual/gui-overflow-scroll-demo.sleela)

GuiOverflowScrollDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bannervoid banner(String t)No description in source.
axisvoid axis(String name, int viewport, int content, boolean horizontal)Report the implied-scroll decision for a viewport vs. content extent.
mainvoid main()No description in source.

gui-overflow-scroll-demo #sleela 2.5 (lib/gui/version-military/gui-overflow-scroll-demo.sleela)

GuiOverflowScrollDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bannervoid banner(String t)No description in source.
axisvoid axis(String name, int viewport, int content, boolean horizontal)Report the implied-scroll decision for a viewport vs. content extent.
mainvoid main()No description in source.

gui-overflow-scroll-demo #sleela 2.5 (lib/gui/version-dual/gui-overflow-scroll-demo.sleela)

GuiOverflowScrollDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bannervoid banner(String t)No description in source.
axisvoid axis(String name, int viewport, int content, boolean horizontal)Report the implied-scroll decision for a viewport vs. content extent.
mainvoid main()No description in source.

gui-scroll-screenfit-demo #sleela 2.5 (lib/gui/version-gual/gui-scroll-screenfit-demo.sleela)

GuiScrollScreenFitDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-scroll-screenfit-demo #sleela 2.5 (lib/gui/version-mual/gui-scroll-screenfit-demo.sleela)

GuiScrollScreenFitDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-scroll-screenfit-demo #sleela 2.5 (lib/gui/version-thual/gui-scroll-screenfit-demo.sleela)

GuiScrollScreenFitDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-scroll-screenfit-demo #sleela 2.5 (lib/gui/version-military/gui-scroll-screenfit-demo.sleela)

GuiScrollScreenFitDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-scroll-screenfit-demo #sleela 2.5 (lib/gui/version-dual/gui-scroll-screenfit-demo.sleela)

GuiScrollScreenFitDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-transitions-demo #sleela 2.5 (lib/gui/version-gual/gui-transitions-demo.sleela)

GuiTransitionsDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-transitions-demo #sleela 2.5 (lib/gui/version-mual/gui-transitions-demo.sleela)

GuiTransitionsDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-transitions-demo #sleela 2.5 (lib/gui/version-thual/gui-transitions-demo.sleela)

GuiTransitionsDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-transitions-demo #sleela 2.5 (lib/gui/version-military/gui-transitions-demo.sleela)

GuiTransitionsDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

gui-transitions-demo #sleela 2.5 (lib/gui/version-dual/gui-transitions-demo.sleela)

GuiTransitionsDemo class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainvoid main()No description in source.

SLGuiAction #sleela 2.5 (lib/gui/version-gual/SLGuiAction.sleela)

SLGuiAction class

Defines SLGuiAction — a named, bindable GUI action. Mirrors the SleelaGuiRuntime.action(name, operation) / SleelaGui.onAction(...) binding in gui/: a name the window raises and a SLeeLa operation it maps to. The VM latches each activation so a click (or Enter/Space while focused) is observed exactly once.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
nameString namethe action's stable name
operationString operationthe SLeeLa operation it invokes
pendingint pendingactivation latch (set on raise, cleared on take)
firedint firedtotal activations observed

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String n, String op)No description in source.
getNameString getName()No description in source.
getOperationString getOperation()No description in source.
boundboolean bound()No description in source.
raisevoid raise()The host raises an activation (a click, or Enter/Space while focused).
takeboolean take()Take-the-latch read: true once per activation, then cleared — the VM clears the latch on read, so each click is observed exactly once.
activationsint activations()No description in source.

SLGuiAction #sleela 2.5 (lib/gui/version-mual/SLGuiAction.sleela)

SLGuiAction class

Defines SLGuiAction — a named, bindable GUI action. Mirrors the SleelaGuiRuntime.action(name, operation) / SleelaGui.onAction(...) binding in gui/: a name the window raises and a SLeeLa operation it maps to. The VM latches each activation so a click (or Enter/Space while focused) is observed exactly once.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
nameString namethe action's stable name
operationString operationthe SLeeLa operation it invokes
pendingint pendingactivation latch (set on raise, cleared on take)
firedint firedtotal activations observed

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String n, String op)No description in source.
getNameString getName()No description in source.
getOperationString getOperation()No description in source.
boundboolean bound()No description in source.
raisevoid raise()The host raises an activation (a click, or Enter/Space while focused).
takeboolean take()Take-the-latch read: true once per activation, then cleared — the VM clears the latch on read, so each click is observed exactly once.
activationsint activations()No description in source.

SLGuiAction #sleela 2.5 (lib/gui/version-thual/SLGuiAction.sleela)

SLGuiAction class

Defines SLGuiAction — a named, bindable GUI action. Mirrors the SleelaGuiRuntime.action(name, operation) / SleelaGui.onAction(...) binding in gui/: a name the window raises and a SLeeLa operation it maps to. The VM latches each activation so a click (or Enter/Space while focused) is observed exactly once.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
nameString namethe action's stable name
operationString operationthe SLeeLa operation it invokes
pendingint pendingactivation latch (set on raise, cleared on take)
firedint firedtotal activations observed

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String n, String op)No description in source.
getNameString getName()No description in source.
getOperationString getOperation()No description in source.
boundboolean bound()No description in source.
raisevoid raise()The host raises an activation (a click, or Enter/Space while focused).
takeboolean take()Take-the-latch read: true once per activation, then cleared — the VM clears the latch on read, so each click is observed exactly once.
activationsint activations()No description in source.

SLGuiAction #sleela 2.5 (lib/gui/version-military/SLGuiAction.sleela)

SLGuiAction class

Defines SLGuiAction — a named, bindable GUI action. Mirrors the SleelaGuiRuntime.action(name, operation) / SleelaGui.onAction(...) binding in gui/: a name the window raises and a SLeeLa operation it maps to. The VM latches each activation so a click (or Enter/Space while focused) is observed exactly once.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
nameString namethe action's stable name
operationString operationthe SLeeLa operation it invokes
pendingint pendingactivation latch (set on raise, cleared on take)
firedint firedtotal activations observed

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String n, String op)No description in source.
getNameString getName()No description in source.
getOperationString getOperation()No description in source.
boundboolean bound()No description in source.
raisevoid raise()The host raises an activation (a click, or Enter/Space while focused).
takeboolean take()Take-the-latch read: true once per activation, then cleared — the VM clears the latch on read, so each click is observed exactly once.
activationsint activations()No description in source.

SLGuiAction #sleela 2.5 (lib/gui/version-dual/SLGuiAction.sleela)

SLGuiAction class

Defines SLGuiAction — a named, bindable GUI action. Mirrors the SleelaGuiRuntime.action(name, operation) / SleelaGui.onAction(...) binding in gui/: a name the window raises and a SLeeLa operation it maps to. The VM latches each activation so a click (or Enter/Space while focused) is observed exactly once.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
nameString namethe action's stable name
operationString operationthe SLeeLa operation it invokes
pendingint pendingactivation latch (set on raise, cleared on take)
firedint firedtotal activations observed

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String n, String op)No description in source.
getNameString getName()No description in source.
getOperationString getOperation()No description in source.
boundboolean bound()No description in source.
raisevoid raise()The host raises an activation (a click, or Enter/Space while focused).
takeboolean take()Take-the-latch read: true once per activation, then cleared — the VM clears the latch on read, so each click is observed exactly once.
activationsint activations()No description in source.

SLGuiAdminAuthority #sleela 2.5 (lib/gui/version-military/SLGuiAdminAuthority.sleela)

SLGuiAdminAuthority class

Defines SLGuiAdminAuthority — the 4.0 admin authority surface. It

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_AUDITstatic final int MAX_AUDIT = 128No description in source.
ACT_SIGNINstatic final int ACT_SIGNIN = 1Audit entry kinds. started a process session
ACT_SIGNOFFstatic final int ACT_SIGNOFF = 2approved an operation
ACT_SIGNATUREstatic final int ACT_SIGNATURE= 3legal signature on a record
ACT_SIGNOUTstatic final int ACT_SIGNOUT = 4No description in source.
adminIdString adminIdthe authenticated admin currently signed in ("" = none)
signedInint signedIn1 while a signed-in process session is open
processNameString processNamethe process this session was opened to start
auditActint[] auditActAudit trail (parallel arrays): act kind, admin, subject, token/reason.
auditAdminString[] auditAdminNo description in source.
auditSubjectString[] auditSubjectNo description in source.
auditTokenString[] auditTokenNo description in source.
auditCountint auditCountNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
signInboolean signIn(String admin, String process)---- 1. sign-in to start a process -------------------------------------- An authorised admin opens a session to start a guarded process. Fail-closed: a blank admin id or process name is refused.
signOutvoid signOut()No description in source.
isSignedInboolean isSignedIn()No description in source.
currentAdminString currentAdmin()No description in source.
currentProcessString currentProcess()No description in source.
mayStartProcessboolean mayStartProcess(String process)A guarded process may start only while an admin session is open.
signOffboolean signOff(String operation, String reason)---- 2. sign-off on a component operation ------------------------------- Approve a specific operation. Requires a signed-in admin (fail-closed); the approval is recorded against that admin. Returns false without authority.
isSignedOffboolean isSignedOff(String operation)Was `operation` signed off by an admin (searching the audit trail)?
signForLawboolean signForLaw(String subject, String signatureToken)---- 3. admin signature for Law ----------------------------------------- Attach a legal signature token to a record. Requires a signed-in admin; the token is host-supplied (e.g. a signed hash). Fail-closed on missing inputs.
isLegallySignedboolean isLegallySigned(String subject)No description in source.
signatureOfString signatureOf(String subject)No description in source.
logActvoid logAct(int act, String admin, String subject, String token)---- audit trail --------------------------------------------------------
auditEntriesint auditEntries()No description in source.
auditActAtint auditActAt(int i)No description in source.
auditAdminAtString auditAdminAt(int i)No description in source.
auditSubjectAtString auditSubjectAt(int i)No description in source.
actNameString actName(int act)No description in source.

SLGuiAdminAuthority #sleela 2.5 (lib/gui/version-dual/SLGuiAdminAuthority.sleela)

SLGuiAdminAuthority class

Defines SLGuiAdminAuthority — the 4.0 admin authority surface. It

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_AUDITstatic final int MAX_AUDIT = 128No description in source.
ACT_SIGNINstatic final int ACT_SIGNIN = 1Audit entry kinds. started a process session
ACT_SIGNOFFstatic final int ACT_SIGNOFF = 2approved an operation
ACT_SIGNATUREstatic final int ACT_SIGNATURE= 3legal signature on a record
ACT_SIGNOUTstatic final int ACT_SIGNOUT = 4No description in source.
adminIdString adminIdthe authenticated admin currently signed in ("" = none)
signedInint signedIn1 while a signed-in process session is open
processNameString processNamethe process this session was opened to start
auditActint[] auditActAudit trail (parallel arrays): act kind, admin, subject, token/reason.
auditAdminString[] auditAdminNo description in source.
auditSubjectString[] auditSubjectNo description in source.
auditTokenString[] auditTokenNo description in source.
auditCountint auditCountNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
signInboolean signIn(String admin, String process)---- 1. sign-in to start a process -------------------------------------- An authorised admin opens a session to start a guarded process. Fail-closed: a blank admin id or process name is refused.
signOutvoid signOut()No description in source.
isSignedInboolean isSignedIn()No description in source.
currentAdminString currentAdmin()No description in source.
currentProcessString currentProcess()No description in source.
mayStartProcessboolean mayStartProcess(String process)A guarded process may start only while an admin session is open.
signOffboolean signOff(String operation, String reason)---- 2. sign-off on a component operation ------------------------------- Approve a specific operation. Requires a signed-in admin (fail-closed); the approval is recorded against that admin. Returns false without authority.
isSignedOffboolean isSignedOff(String operation)Was `operation` signed off by an admin (searching the audit trail)?
signForLawboolean signForLaw(String subject, String signatureToken)---- 3. admin signature for Law ----------------------------------------- Attach a legal signature token to a record. Requires a signed-in admin; the token is host-supplied (e.g. a signed hash). Fail-closed on missing inputs.
isLegallySignedboolean isLegallySigned(String subject)No description in source.
signatureOfString signatureOf(String subject)No description in source.
logActvoid logAct(int act, String admin, String subject, String token)---- audit trail --------------------------------------------------------
auditEntriesint auditEntries()No description in source.
auditActAtint auditActAt(int i)No description in source.
auditAdminAtString auditAdminAt(int i)No description in source.
auditSubjectAtString auditSubjectAt(int i)No description in source.
actNameString actName(int act)No description in source.

SLGuiApp #sleela 2.5 (lib/gui/version-gual/SLGuiApp.sleela)

SLGuiApp class

Defines SLGuiApp — the top-level support structure that ties the whole /lib/gui dynamic stack together into one object: it opens a SleelaUI application and window (via /lib/user-interface), owns the SLeeLa DOM (SLGuiDom), the reconciler (SLGuiMount) that projects the DOM onto widgets, the host adapter (SLGuiHostAdapter) that raises widget activations back as events, and an optional script engine (SLGuiScript). Its run loop pumps the toolkit event loop, polls widget activations into the event bus, re-mounts any newly-created nodes, and reconciles dirty nodes each turn. This is the "basic support structure" a program (or the IDE) builds on: construct the DOM declaratively or by script, bind callbacks, and call run(). Family: gui. SLeeLa owns the DOM, dispatch, and script execution; SleelaUI owns presentation; this object is the wiring between them.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
THEME_PRESETstatic final int THEME_PRESET = SLTheme.DEFAULTChoose DEFAULT, WHITE, BLUE, BLACK, or GRAY here for this GUI family.
uiSLUserInterface uiNo description in source.
windowSLWindow windowNo description in source.
domSLGuiDom domNo description in source.
mountSLGuiMount mountNo description in source.
hostSLGuiHostAdapter hostNo description in source.
scriptSLGuiScript scriptNo description in source.
screenFitterSLGuiScreenFit screenFittersizes the window from the actual screen size
readyint readyNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bootboolean boot(String appId, String title, int width, int height)Open the application + window and stand up the DOM/mount/host wiring. Returns true when the toolkit came up (false on a headless host).
bootFittedboolean bootFitted(String appId, String title, int tier)Open the application and size the window to the ACTUAL screen / resolution, at a support tier (0=basic, 1=moderate, 2=advanced; see SLGuiScreenFit). Queries uiScreenWidth/uiScreenHeight through the facade; a headless host falls back to a modeled 1920x1080. Returns true when the toolkit came up.
screenFitSLGuiScreenFit screenFit()The screen-fit helper (primed with the real screen). Call setScreen()/fit() to recompute, then read width()/height()/x()/y() for a resize or re-center.
scrollbarForSLGuiScrollbar scrollbarFor(int viewport, int content, boolean horizontal)Build an IMPLIED scrollbar model for a scrolled surface. `horizontal` selects the axis; `viewport`/`content` are the extents on that axis. The returned SLGuiScrollbar yields orient()/valuePermille()/pagePermille() to paint with uiScrollBar (or an SLScrollBar), and tracks the scroll offset.
setBufferingvoid setBuffering(int mode)Presentation buffering for the live window: 0=single, 1=double (the toolkit default, flicker-free resize), 2=triple (smoother rapid resize). Pass SLGuiSettings.getBufferingMode() here to honor the configured knob.
bufferingint buffering()No description in source.
addScrolledSLGuiNode addScrolled(String parentId, String id)Add a SCROLLED VIEWPORT node to the DOM under `parentId`. Its children become the scroll content and native scrollbars appear AUTOMATICALLY when that content is larger than the viewport. Pin the viewport smaller than its content (e.g. style "min-height") to force scrolling. Equivalent to adding a "scrolled" element; returns the node so the caller can append content to it.
addOverflowBoxSLGuiNode addOverflowBox(String parentId, String id, String overflow)Add a plain container that scrolls on overflow by setting its `overflow` intent (auto|scroll|always|hidden). SLGuiMount promotes it to a native scrolled viewport. Returns the node for appending content.
transitionSLGuiTransition transition()---- fade / transition helpers ------------------------------------------ A reusable enter/exit fade primitive (the shared tween). Returns a default 200ms ease-out fade-in the caller can retarget with fadeIn/fadeOut/between.
toastSLGuiToast toast(String message)A TOAST / SNACKBAR: a small self-dismissing notification that fades in, dwells, and fades out. Driven by tick(); read opacityPct() to paint it.
modalSLGuiModal modal(String title)A MODAL / OVERLAY: a dialog that fades in over a darkened backdrop (scrim).
skeletonSLGuiSkeleton skeleton(int shape, int lines)A SKELETON SCREEN / PLACEHOLDER: a shimmering loading placeholder that dissolves to reveal real content (shape 0=text/1=card/2=avatar/3=list).
isReadyboolean isReady()No description in source.
documentSLGuiDom document()No description in source.
scriptingSLGuiScript scripting()No description in source.
hostWindowSLWindow hostWindow()No description in source.
addSLGuiNode add(String parentId, String tag, String id)Convenience: append an element to a parent in the DOM (then mount+show on the next loop turn, or immediately via refresh()).
onClickSLGuiHandler onClick(String id, String operation)Bind a click callback (DHTML onClick) by node id.
runScriptint runScript()Run a UI script against the DOM (build + bind + fire), then refresh.
runint run()Mount everything, show the window, then run the toolkit event loop: pump -> poll activations -> mount new nodes -> reconcile. Returns the process-style exit code.
refreshvoid refresh()A single synchronous refresh (mount new + reconcile) without the loop, for building a UI up front or driving it from a test/host step.
stepint step(boolean block)Pump one turn (pump + poll + refresh); returns events raised this turn.
quitvoid quit(int code)No description in source.
shutdownvoid shutdown()No description in source.

SLGuiApp #sleela 2.5 (lib/gui/version-mual/SLGuiApp.sleela)

SLGuiApp class

Defines SLGuiApp — the top-level support structure that ties the whole /lib/gui dynamic stack together into one object: it opens a SleelaUI application and window (via /lib/user-interface), owns the SLeeLa DOM (SLGuiDom), the reconciler (SLGuiMount) that projects the DOM onto widgets, the host adapter (SLGuiHostAdapter) that raises widget activations back as events, and an optional script engine (SLGuiScript). Its run loop pumps the toolkit event loop, polls widget activations into the event bus, re-mounts any newly-created nodes, and reconciles dirty nodes each turn. This is the "basic support structure" a program (or the IDE) builds on: construct the DOM declaratively or by script, bind callbacks, and call run(). Family: gui. SLeeLa owns the DOM, dispatch, and script execution; SleelaUI owns presentation; this object is the wiring between them.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
THEME_PRESETstatic final int THEME_PRESET = SLTheme.DEFAULTChoose DEFAULT, WHITE, BLUE, BLACK, or GRAY here for this GUI family.
uiSLUserInterface uiNo description in source.
windowSLWindow windowNo description in source.
domSLGuiDom domNo description in source.
mountSLGuiMount mountNo description in source.
hostSLGuiHostAdapter hostNo description in source.
scriptSLGuiScript scriptNo description in source.
screenFitterSLGuiScreenFit screenFittersizes the window from the actual screen size
readyint readyNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bootboolean boot(String appId, String title, int width, int height)Open the application + window and stand up the DOM/mount/host wiring. Returns true when the toolkit came up (false on a headless host).
bootFittedboolean bootFitted(String appId, String title, int tier)Open the application and size the window to the ACTUAL screen / resolution, at a support tier (0=basic, 1=moderate, 2=advanced; see SLGuiScreenFit). Queries uiScreenWidth/uiScreenHeight through the facade; a headless host falls back to a modeled 1920x1080. Returns true when the toolkit came up.
screenFitSLGuiScreenFit screenFit()The screen-fit helper (primed with the real screen). Call setScreen()/fit() to recompute, then read width()/height()/x()/y() for a resize or re-center.
scrollbarForSLGuiScrollbar scrollbarFor(int viewport, int content, boolean horizontal)Build an IMPLIED scrollbar model for a scrolled surface. `horizontal` selects the axis; `viewport`/`content` are the extents on that axis. The returned SLGuiScrollbar yields orient()/valuePermille()/pagePermille() to paint with uiScrollBar (or an SLScrollBar), and tracks the scroll offset.
setBufferingvoid setBuffering(int mode)Presentation buffering for the live window: 0=single, 1=double (the toolkit default, flicker-free resize), 2=triple (smoother rapid resize). Pass SLGuiSettings.getBufferingMode() here to honor the configured knob.
bufferingint buffering()No description in source.
addScrolledSLGuiNode addScrolled(String parentId, String id)Add a SCROLLED VIEWPORT node to the DOM under `parentId`. Its children become the scroll content and native scrollbars appear AUTOMATICALLY when that content is larger than the viewport. Pin the viewport smaller than its content (e.g. style "min-height") to force scrolling. Equivalent to adding a "scrolled" element; returns the node so the caller can append content to it.
addOverflowBoxSLGuiNode addOverflowBox(String parentId, String id, String overflow)Add a plain container that scrolls on overflow by setting its `overflow` intent (auto|scroll|always|hidden). SLGuiMount promotes it to a native scrolled viewport. Returns the node for appending content.
transitionSLGuiTransition transition()---- fade / transition helpers ------------------------------------------ A reusable enter/exit fade primitive (the shared tween). Returns a default 200ms ease-out fade-in the caller can retarget with fadeIn/fadeOut/between.
toastSLGuiToast toast(String message)A TOAST / SNACKBAR: a small self-dismissing notification that fades in, dwells, and fades out. Driven by tick(); read opacityPct() to paint it.
modalSLGuiModal modal(String title)A MODAL / OVERLAY: a dialog that fades in over a darkened backdrop (scrim).
skeletonSLGuiSkeleton skeleton(int shape, int lines)A SKELETON SCREEN / PLACEHOLDER: a shimmering loading placeholder that dissolves to reveal real content (shape 0=text/1=card/2=avatar/3=list).
isReadyboolean isReady()No description in source.
documentSLGuiDom document()No description in source.
scriptingSLGuiScript scripting()No description in source.
hostWindowSLWindow hostWindow()No description in source.
addSLGuiNode add(String parentId, String tag, String id)Convenience: append an element to a parent in the DOM (then mount+show on the next loop turn, or immediately via refresh()).
onClickSLGuiHandler onClick(String id, String operation)Bind a click callback (DHTML onClick) by node id.
runScriptint runScript()Run a UI script against the DOM (build + bind + fire), then refresh.
runint run()Mount everything, show the window, then run the toolkit event loop: pump -> poll activations -> mount new nodes -> reconcile. Returns the process-style exit code.
refreshvoid refresh()A single synchronous refresh (mount new + reconcile) without the loop, for building a UI up front or driving it from a test/host step.
stepint step(boolean block)Pump one turn (pump + poll + refresh); returns events raised this turn.
quitvoid quit(int code)No description in source.
shutdownvoid shutdown()No description in source.

SLGuiApp #sleela 2.5 (lib/gui/version-thual/SLGuiApp.sleela)

SLGuiApp class

Defines SLGuiApp — the top-level support structure that ties the whole /lib/gui dynamic stack together into one object: it opens a SleelaUI application and window (via /lib/user-interface), owns the SLeeLa DOM (SLGuiDom), the reconciler (SLGuiMount) that projects the DOM onto widgets, the host adapter (SLGuiHostAdapter) that raises widget activations back as events, and an optional script engine (SLGuiScript). Its run loop pumps the toolkit event loop, polls widget activations into the event bus, re-mounts any newly-created nodes, and reconciles dirty nodes each turn. This is the "basic support structure" a program (or the IDE) builds on: construct the DOM declaratively or by script, bind callbacks, and call run(). Family: gui. SLeeLa owns the DOM, dispatch, and script execution; SleelaUI owns presentation; this object is the wiring between them.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
THEME_PRESETstatic final int THEME_PRESET = SLTheme.DEFAULTChoose DEFAULT, WHITE, BLUE, BLACK, or GRAY here for this GUI family.
uiSLUserInterface uiNo description in source.
windowSLWindow windowNo description in source.
domSLGuiDom domNo description in source.
mountSLGuiMount mountNo description in source.
hostSLGuiHostAdapter hostNo description in source.
scriptSLGuiScript scriptNo description in source.
brandingSLGuiBranding branding3.0 logo/brand identity painted into the chrome
audioSLGuiAudioCues audio3.0 activation-audio cue registry
screenFitterSLGuiScreenFit screenFittersizes the window from the actual screen size
frameMillisint frameMillisnominal per-loop tick for scheduled effects
readyint readyNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bootboolean boot(String appId, String title, int width, int height)Open the application + window and stand up the DOM/mount/host wiring. Returns true when the toolkit came up (false on a headless host).
bootFittedboolean bootFitted(String appId, String title, int tier)Open the application and size the window to the ACTUAL screen / resolution, at a support tier (0=basic, 1=moderate, 2=advanced; see SLGuiScreenFit). Queries uiScreenWidth/uiScreenHeight through the facade; a headless host falls back to a modeled 1920x1080. Returns true when the toolkit came up.
screenFitSLGuiScreenFit screenFit()The screen-fit helper (primed with the real screen). Call setScreen()/fit() to recompute, then read width()/height()/x()/y() for a resize or re-center.
scrollbarForSLGuiScrollbar scrollbarFor(int viewport, int content, boolean horizontal)Build an IMPLIED scrollbar model for a scrolled surface. `horizontal` selects the axis; `viewport`/`content` are the extents on that axis. The returned SLGuiScrollbar yields orient()/valuePermille()/pagePermille() to paint with uiScrollBar (or an SLScrollBar), and tracks the scroll offset.
setBufferingvoid setBuffering(int mode)Presentation buffering for the live window: 0=single, 1=double (the toolkit default, flicker-free resize), 2=triple (smoother rapid resize). Pass SLGuiSettings.getBufferingMode() here to honor the configured knob.
bufferingint buffering()No description in source.
addScrolledSLGuiNode addScrolled(String parentId, String id)Add a SCROLLED VIEWPORT node to the DOM under `parentId`. Its children become the scroll content and native scrollbars appear AUTOMATICALLY when that content is larger than the viewport. Pin the viewport smaller than its content (e.g. style "min-height") to force scrolling. Equivalent to adding a "scrolled" element; returns the node so the caller can append content to it.
addOverflowBoxSLGuiNode addOverflowBox(String parentId, String id, String overflow)Add a plain container that scrolls on overflow by setting its `overflow` intent (auto|scroll|always|hidden). SLGuiMount promotes it to a native scrolled viewport. Returns the node for appending content.
transitionSLGuiTransition transition()---- fade / transition helpers ------------------------------------------ A reusable enter/exit fade primitive (the shared tween). Returns a default 200ms ease-out fade-in the caller can retarget with fadeIn/fadeOut/between.
toastSLGuiToast toast(String message)A TOAST / SNACKBAR: a small self-dismissing notification that fades in, dwells, and fades out. Driven by tick(); read opacityPct() to paint it.
modalSLGuiModal modal(String title)A MODAL / OVERLAY: a dialog that fades in over a darkened backdrop (scrim).
skeletonSLGuiSkeleton skeleton(int shape, int lines)A SKELETON SCREEN / PLACEHOLDER: a shimmering loading placeholder that dissolves to reveal real content (shape 0=text/1=card/2=avatar/3=list).
brandSLGuiBranding brand()---- 3.0 branding + audio access ----------------------------------------
audioCuesSLGuiAudioCues audioCues()No description in source.
setFrameMillisvoid setFrameMillis(int ms)No description in source.
setLogovoid setLogo(String asset, String accent)Apply a brand logo + accent in one call (host paints it into the chrome).
effectsForSLGuiEffects effectsFor(String nodeId)Give a node an effects bundle and (optionally) an activation cue, then flatten it into the node's style for the next reconcile.
isReadyboolean isReady()No description in source.
documentSLGuiDom document()No description in source.
scriptingSLGuiScript scripting()No description in source.
hostWindowSLWindow hostWindow()No description in source.
addSLGuiNode add(String parentId, String tag, String id)Convenience: append an element to a parent in the DOM (then mount+show on the next loop turn, or immediately via refresh()).
onClickSLGuiHandler onClick(String id, String operation)Bind a click callback (DHTML onClick) by node id.
runScriptint runScript()Run a UI script against the DOM (build + bind + fire), then refresh.
runint run()Mount everything, show the window, then run the toolkit event loop: pump -> poll activations -> mount new nodes -> reconcile. Returns the process-style exit code.
advanceEffectsint advanceEffects(int elapsedMillis)Advance every node's scheduled effects by `elapsedMillis`: scheduled rotations turn (and their bound memorandum key epoch rotates with them), and the host interpolates fades. Returns how many nodes moved this tick.
refreshvoid refresh()A single synchronous refresh (mount new + reconcile) without the loop, for building a UI up front or driving it from a test/host step.
stepint step(boolean block)Pump one turn (pump + poll + refresh); returns events raised this turn.
quitvoid quit(int code)No description in source.
shutdownvoid shutdown()No description in source.

SLGuiApp #sleela 2.5 (lib/gui/version-military/SLGuiApp.sleela)

SLGuiApp class

Defines SLGuiApp — the top-level support structure that ties the whole /lib/gui dynamic stack together into one object: it opens a SleelaUI application and window (via /lib/user-interface), owns the SLeeLa DOM (SLGuiDom), the reconciler (SLGuiMount) that projects the DOM onto widgets, the host adapter (SLGuiHostAdapter) that raises widget activations back as events, and an optional script engine (SLGuiScript). Its run loop pumps the toolkit event loop, polls widget activations into the event bus, re-mounts any newly-created nodes, and reconciles dirty nodes each turn. This is the "basic support structure" a program (or the IDE) builds on: construct the DOM declaratively or by script, bind callbacks, and call run(). Family: gui. SLeeLa owns the DOM, dispatch, and script execution; SleelaUI owns presentation; this object is the wiring between them.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
THEME_PRESETstatic final int THEME_PRESET = SLTheme.DEFAULTChoose DEFAULT, WHITE, BLUE, BLACK, or GRAY here for this GUI family.
uiSLUserInterface uiNo description in source.
windowSLWindow windowNo description in source.
domSLGuiDom domNo description in source.
mountSLGuiMount mountNo description in source.
hostSLGuiHostAdapter hostNo description in source.
scriptSLGuiScript scriptNo description in source.
brandingSLGuiBranding branding3.0 logo/brand identity painted into the chrome
audioSLGuiAudioCues audio3.0 activation-audio cue registry
codecsSLGuiCodecs codecs4.0 codec registry (mirror of /codecs) GUI can see
htmlSLGuiHtmlRenderer html4.0 HTML/CSS/JS renderer (quick-responsive)
kindsSLGuiKind kinds5.0 Component vs Container taxonomy
cryptoSLGuiCryptoSelector crypto5.0 cryptography selector component
certsSLGuiCertificateStore certs5.0 public-key certificate store
winStateSLGuiWindowState winState5.0 window-state + key listeners (fold/restore)
screenFitterSLGuiScreenFit screenFittersizes the window from the actual screen size
frameMillisint frameMillisnominal per-loop tick for scheduled effects
readyint readyNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bootboolean boot(String appId, String title, int width, int height)Open the application + window and stand up the DOM/mount/host wiring. Returns true when the toolkit came up (false on a headless host).
bootFittedboolean bootFitted(String appId, String title, int tier)Open the application and size the window to the ACTUAL screen / resolution, at a support tier (0=basic, 1=moderate, 2=advanced; see SLGuiScreenFit). Queries uiScreenWidth/uiScreenHeight through the facade; a headless host falls back to a modeled 1920x1080. Returns true when the toolkit came up.
screenFitSLGuiScreenFit screenFit()The screen-fit helper (primed with the real screen). Call setScreen()/fit() to recompute, then read width()/height()/x()/y() for a resize or re-center.
scrollbarForSLGuiScrollbar scrollbarFor(int viewport, int content, boolean horizontal)Build an IMPLIED scrollbar model for a scrolled surface. `horizontal` selects the axis; `viewport`/`content` are the extents on that axis. The returned SLGuiScrollbar yields orient()/valuePermille()/pagePermille() to paint with uiScrollBar (or an SLScrollBar), and tracks the scroll offset.
setBufferingvoid setBuffering(int mode)Presentation buffering for the live window: 0=single, 1=double (the toolkit default, flicker-free resize), 2=triple (smoother rapid resize). Pass SLGuiSettings.getBufferingMode() here to honor the configured knob.
bufferingint buffering()No description in source.
addScrolledSLGuiNode addScrolled(String parentId, String id)Add a SCROLLED VIEWPORT node to the DOM under `parentId`. Its children become the scroll content and native scrollbars appear AUTOMATICALLY when that content is larger than the viewport. Pin the viewport smaller than its content (e.g. style "min-height") to force scrolling. Equivalent to adding a "scrolled" element; returns the node so the caller can append content to it.
addOverflowBoxSLGuiNode addOverflowBox(String parentId, String id, String overflow)Add a plain container that scrolls on overflow by setting its `overflow` intent (auto|scroll|always|hidden). SLGuiMount promotes it to a native scrolled viewport. Returns the node for appending content.
transitionSLGuiTransition transition()---- fade / transition helpers ------------------------------------------ A reusable enter/exit fade primitive (the shared tween). Returns a default 200ms ease-out fade-in the caller can retarget with fadeIn/fadeOut/between.
toastSLGuiToast toast(String message)A TOAST / SNACKBAR: a small self-dismissing notification that fades in, dwells, and fades out. Driven by tick(); read opacityPct() to paint it.
modalSLGuiModal modal(String title)A MODAL / OVERLAY: a dialog that fades in over a darkened backdrop (scrim).
skeletonSLGuiSkeleton skeleton(int shape, int lines)A SKELETON SCREEN / PLACEHOLDER: a shimmering loading placeholder that dissolves to reveal real content (shape 0=text/1=card/2=avatar/3=list).
taxonomySLGuiKind taxonomy()---- 5.0 military surfaces access ---------------------------------------
cryptoSelectorSLGuiCryptoSelector cryptoSelector()No description in source.
certificateStoreSLGuiCertificateStore certificateStore()No description in source.
windowStateSLGuiWindowState windowState()No description in source.
isContainerboolean isContainer(String tag)Is a tag a container or a component (the explicit taxonomy)?
isComponentboolean isComponent(String tag)No description in source.
setIconboolean setIcon(String nodeId, SLGuiIcon icon)Attach an icon to a node — ONLY when the node's tag is icon-eligible (buttons, menu items, clickables). Returns false otherwise (fail-closed), so icons land exactly where they belong.
codecRegistrySLGuiCodecs codecRegistry()---- 4.0 codecs + HTML renderer access ---------------------------------- The codec registry every GUI media component can consult.
htmlRendererSLGuiHtmlRenderer htmlRenderer()No description in source.
canPlayCodecboolean canPlayCodec(String codecName)Convenience capability questions for GUI implementations.
canPlayExtensionboolean canPlayExtension(String ext)No description in source.
supportedCodecsint supportedCodecs()No description in source.
brandSLGuiBranding brand()---- 3.0 branding + audio access ----------------------------------------
audioCuesSLGuiAudioCues audioCues()No description in source.
setFrameMillisvoid setFrameMillis(int ms)No description in source.
setLogovoid setLogo(String asset, String accent)Apply a brand logo + accent in one call (host paints it into the chrome).
effectsForSLGuiEffects effectsFor(String nodeId)Give a node an effects bundle and (optionally) an activation cue, then flatten it into the node's style for the next reconcile.
isReadyboolean isReady()No description in source.
documentSLGuiDom document()No description in source.
scriptingSLGuiScript scripting()No description in source.
hostWindowSLWindow hostWindow()No description in source.
addSLGuiNode add(String parentId, String tag, String id)Convenience: append an element to a parent in the DOM (then mount+show on the next loop turn, or immediately via refresh()).
onClickSLGuiHandler onClick(String id, String operation)Bind a click callback (DHTML onClick) by node id.
runScriptint runScript()Run a UI script against the DOM (build + bind + fire), then refresh.
runint run()Mount everything, show the window, then run the toolkit event loop: pump -> poll activations -> mount new nodes -> reconcile. Returns the process-style exit code.
advanceEffectsint advanceEffects(int elapsedMillis)Advance every node's scheduled effects by `elapsedMillis`: scheduled rotations turn (and their bound memorandum key epoch rotates with them), and the host interpolates fades. Returns how many nodes moved this tick.
refreshvoid refresh()A single synchronous refresh (mount new + reconcile) without the loop, for building a UI up front or driving it from a test/host step.
stepint step(boolean block)Pump one turn (pump + poll + refresh); returns events raised this turn.
quitvoid quit(int code)No description in source.
shutdownvoid shutdown()No description in source.

SLGuiApp #sleela 2.5 (lib/gui/version-dual/SLGuiApp.sleela)

SLGuiApp class

Defines SLGuiApp — the top-level support structure that ties the whole /lib/gui dynamic stack together into one object: it opens a SleelaUI application and window (via /lib/user-interface), owns the SLeeLa DOM (SLGuiDom), the reconciler (SLGuiMount) that projects the DOM onto widgets, the host adapter (SLGuiHostAdapter) that raises widget activations back as events, and an optional script engine (SLGuiScript). Its run loop pumps the toolkit event loop, polls widget activations into the event bus, re-mounts any newly-created nodes, and reconciles dirty nodes each turn. This is the "basic support structure" a program (or the IDE) builds on: construct the DOM declaratively or by script, bind callbacks, and call run(). Family: gui. SLeeLa owns the DOM, dispatch, and script execution; SleelaUI owns presentation; this object is the wiring between them.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
THEME_PRESETstatic final int THEME_PRESET = SLTheme.DEFAULTChoose DEFAULT, WHITE, BLUE, BLACK, or GRAY here for this GUI family.
uiSLUserInterface uiNo description in source.
windowSLWindow windowNo description in source.
domSLGuiDom domNo description in source.
mountSLGuiMount mountNo description in source.
hostSLGuiHostAdapter hostNo description in source.
scriptSLGuiScript scriptNo description in source.
brandingSLGuiBranding branding3.0 logo/brand identity painted into the chrome
audioSLGuiAudioCues audio3.0 activation-audio cue registry
codecsSLGuiCodecs codecs4.0 codec registry (mirror of /codecs) GUI can see
htmlSLGuiHtmlRenderer html4.0 HTML/CSS/JS renderer (quick-responsive)
screenFitterSLGuiScreenFit screenFittersizes the window from the actual screen size
frameMillisint frameMillisnominal per-loop tick for scheduled effects
readyint readyNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bootboolean boot(String appId, String title, int width, int height)Open the application + window and stand up the DOM/mount/host wiring. Returns true when the toolkit came up (false on a headless host).
bootFittedboolean bootFitted(String appId, String title, int tier)Open the application and size the window to the ACTUAL screen / resolution, at a support tier (0=basic, 1=moderate, 2=advanced; see SLGuiScreenFit). Queries uiScreenWidth/uiScreenHeight through the facade; a headless host falls back to a modeled 1920x1080. Returns true when the toolkit came up.
screenFitSLGuiScreenFit screenFit()The screen-fit helper (primed with the real screen). Call setScreen()/fit() to recompute, then read width()/height()/x()/y() for a resize or re-center.
scrollbarForSLGuiScrollbar scrollbarFor(int viewport, int content, boolean horizontal)Build an IMPLIED scrollbar model for a scrolled surface. `horizontal` selects the axis; `viewport`/`content` are the extents on that axis. The returned SLGuiScrollbar yields orient()/valuePermille()/pagePermille() to paint with uiScrollBar (or an SLScrollBar), and tracks the scroll offset.
setBufferingvoid setBuffering(int mode)Presentation buffering for the live window: 0=single, 1=double (the toolkit default, flicker-free resize), 2=triple (smoother rapid resize). Pass SLGuiSettings.getBufferingMode() here to honor the configured knob.
bufferingint buffering()No description in source.
addScrolledSLGuiNode addScrolled(String parentId, String id)Add a SCROLLED VIEWPORT node to the DOM under `parentId`. Its children become the scroll content and native scrollbars appear AUTOMATICALLY when that content is larger than the viewport. Pin the viewport smaller than its content (e.g. style "min-height") to force scrolling. Equivalent to adding a "scrolled" element; returns the node so the caller can append content to it.
addOverflowBoxSLGuiNode addOverflowBox(String parentId, String id, String overflow)Add a plain container that scrolls on overflow by setting its `overflow` intent (auto|scroll|always|hidden). SLGuiMount promotes it to a native scrolled viewport. Returns the node for appending content.
transitionSLGuiTransition transition()---- fade / transition helpers ------------------------------------------ A reusable enter/exit fade primitive (the shared tween). Returns a default 200ms ease-out fade-in the caller can retarget with fadeIn/fadeOut/between.
toastSLGuiToast toast(String message)A TOAST / SNACKBAR: a small self-dismissing notification that fades in, dwells, and fades out. Driven by tick(); read opacityPct() to paint it.
modalSLGuiModal modal(String title)A MODAL / OVERLAY: a dialog that fades in over a darkened backdrop (scrim).
skeletonSLGuiSkeleton skeleton(int shape, int lines)A SKELETON SCREEN / PLACEHOLDER: a shimmering loading placeholder that dissolves to reveal real content (shape 0=text/1=card/2=avatar/3=list).
codecRegistrySLGuiCodecs codecRegistry()---- 4.0 codecs + HTML renderer access ---------------------------------- The codec registry every GUI media component can consult.
htmlRendererSLGuiHtmlRenderer htmlRenderer()No description in source.
canPlayCodecboolean canPlayCodec(String codecName)Convenience capability questions for GUI implementations.
canPlayExtensionboolean canPlayExtension(String ext)No description in source.
supportedCodecsint supportedCodecs()No description in source.
brandSLGuiBranding brand()---- 3.0 branding + audio access ----------------------------------------
audioCuesSLGuiAudioCues audioCues()No description in source.
setFrameMillisvoid setFrameMillis(int ms)No description in source.
setLogovoid setLogo(String asset, String accent)Apply a brand logo + accent in one call (host paints it into the chrome).
effectsForSLGuiEffects effectsFor(String nodeId)Give a node an effects bundle and (optionally) an activation cue, then flatten it into the node's style for the next reconcile.
isReadyboolean isReady()No description in source.
documentSLGuiDom document()No description in source.
scriptingSLGuiScript scripting()No description in source.
hostWindowSLWindow hostWindow()No description in source.
addSLGuiNode add(String parentId, String tag, String id)Convenience: append an element to a parent in the DOM (then mount+show on the next loop turn, or immediately via refresh()).
onClickSLGuiHandler onClick(String id, String operation)Bind a click callback (DHTML onClick) by node id.
runScriptint runScript()Run a UI script against the DOM (build + bind + fire), then refresh.
runint run()Mount everything, show the window, then run the toolkit event loop: pump -> poll activations -> mount new nodes -> reconcile. Returns the process-style exit code.
advanceEffectsint advanceEffects(int elapsedMillis)Advance every node's scheduled effects by `elapsedMillis`: scheduled rotations turn (and their bound memorandum key epoch rotates with them), and the host interpolates fades. Returns how many nodes moved this tick.
refreshvoid refresh()A single synchronous refresh (mount new + reconcile) without the loop, for building a UI up front or driving it from a test/host step.
stepint step(boolean block)Pump one turn (pump + poll + refresh); returns events raised this turn.
quitvoid quit(int code)No description in source.
shutdownvoid shutdown()No description in source.

SLGuiAudioCues #sleela 2.5 (lib/gui/version-thual/SLGuiAudioCues.sleela)

SLGuiAudioCues class

Defines SLGuiAudioCues — the 3.0 activation-audio registry. UI components in the thual line may play a short audio CUE when activated (click/submit/toggle); this registry is the single place that names the available cues and the master audio settings, so an SLGuiEffects on a node references a cue by name and the host plays it through the audio stack. It holds a small bank of named cues (name -> host asset), a master enabled/mute flag, and a master gain. SLeeLa names and gates the cues; the host owns actual playback. Family: gui. Consulted by the host when a component with an activation cue fires; owned by SLGuiApp.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_CUESstatic final int MAX_CUES = 32No description in source.
cueNamesString[] cueNamescue name, e.g. "click", "confirm", "error"
cueAssetsString[] cueAssetshost-resolvable audio asset for the cue
cueCountint cueCountNo description in source.
enabledint enabled1 = activation audio is on globally
mutedint muted1 = temporarily silenced (enabled stays as-is)
masterGainPctint masterGainPct0..100 % master playback gain
playedint playedtotal cues dispatched to the host

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
registerboolean register(String name, String asset)Register (or re-point) a named cue. Returns false when the bank is full.
indexOfint indexOf(String name)No description in source.
hasboolean has(String name)No description in source.
assetForString assetFor(String name)No description in source.
cuesint cues()No description in source.
setEnabledvoid setEnabled(boolean on)Master controls.
isEnabledboolean isEnabled()No description in source.
mutevoid mute()No description in source.
unmutevoid unmute()No description in source.
isMutedboolean isMuted()No description in source.
setMasterGainPctvoid setMasterGainPct(int pct)No description in source.
getMasterGainPctint getMasterGainPct()No description in source.
audibleboolean audible(String name)Whether a given cue would actually sound now (registered, on, not muted).
playint play(String name, int nodeGainPct)Dispatch a cue for the host to play at the given node-level gain, scaled by the master gain. Returns the effective gain (0..100), or -1 when silent.
totalPlayedint totalPlayed()No description in source.

SLGuiAudioCues #sleela 2.5 (lib/gui/version-military/SLGuiAudioCues.sleela)

SLGuiAudioCues class

Defines SLGuiAudioCues — the 3.0 activation-audio registry. UI components in the thual line may play a short audio CUE when activated (click/submit/toggle); this registry is the single place that names the available cues and the master audio settings, so an SLGuiEffects on a node references a cue by name and the host plays it through the audio stack. It holds a small bank of named cues (name -> host asset), a master enabled/mute flag, and a master gain. SLeeLa names and gates the cues; the host owns actual playback. Family: gui. Consulted by the host when a component with an activation cue fires; owned by SLGuiApp.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_CUESstatic final int MAX_CUES = 32No description in source.
cueNamesString[] cueNamescue name, e.g. "click", "confirm", "error"
cueAssetsString[] cueAssetshost-resolvable audio asset for the cue
cueCountint cueCountNo description in source.
enabledint enabled1 = activation audio is on globally
mutedint muted1 = temporarily silenced (enabled stays as-is)
masterGainPctint masterGainPct0..100 % master playback gain
playedint playedtotal cues dispatched to the host

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
registerboolean register(String name, String asset)Register (or re-point) a named cue. Returns false when the bank is full.
indexOfint indexOf(String name)No description in source.
hasboolean has(String name)No description in source.
assetForString assetFor(String name)No description in source.
cuesint cues()No description in source.
setEnabledvoid setEnabled(boolean on)Master controls.
isEnabledboolean isEnabled()No description in source.
mutevoid mute()No description in source.
unmutevoid unmute()No description in source.
isMutedboolean isMuted()No description in source.
setMasterGainPctvoid setMasterGainPct(int pct)No description in source.
getMasterGainPctint getMasterGainPct()No description in source.
audibleboolean audible(String name)Whether a given cue would actually sound now (registered, on, not muted).
playint play(String name, int nodeGainPct)Dispatch a cue for the host to play at the given node-level gain, scaled by the master gain. Returns the effective gain (0..100), or -1 when silent.
totalPlayedint totalPlayed()No description in source.

SLGuiAudioCues #sleela 2.5 (lib/gui/version-dual/SLGuiAudioCues.sleela)

SLGuiAudioCues class

Defines SLGuiAudioCues — the 3.0 activation-audio registry. UI components in the thual line may play a short audio CUE when activated (click/submit/toggle); this registry is the single place that names the available cues and the master audio settings, so an SLGuiEffects on a node references a cue by name and the host plays it through the audio stack. It holds a small bank of named cues (name -> host asset), a master enabled/mute flag, and a master gain. SLeeLa names and gates the cues; the host owns actual playback. Family: gui. Consulted by the host when a component with an activation cue fires; owned by SLGuiApp.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_CUESstatic final int MAX_CUES = 32No description in source.
cueNamesString[] cueNamescue name, e.g. "click", "confirm", "error"
cueAssetsString[] cueAssetshost-resolvable audio asset for the cue
cueCountint cueCountNo description in source.
enabledint enabled1 = activation audio is on globally
mutedint muted1 = temporarily silenced (enabled stays as-is)
masterGainPctint masterGainPct0..100 % master playback gain
playedint playedtotal cues dispatched to the host

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
registerboolean register(String name, String asset)Register (or re-point) a named cue. Returns false when the bank is full.
indexOfint indexOf(String name)No description in source.
hasboolean has(String name)No description in source.
assetForString assetFor(String name)No description in source.
cuesint cues()No description in source.
setEnabledvoid setEnabled(boolean on)Master controls.
isEnabledboolean isEnabled()No description in source.
mutevoid mute()No description in source.
unmutevoid unmute()No description in source.
isMutedboolean isMuted()No description in source.
setMasterGainPctvoid setMasterGainPct(int pct)No description in source.
getMasterGainPctint getMasterGainPct()No description in source.
audibleboolean audible(String name)Whether a given cue would actually sound now (registered, on, not muted).
playint play(String name, int nodeGainPct)Dispatch a cue for the host to play at the given node-level gain, scaled by the master gain. Returns the effective gain (0..100), or -1 when silent.
totalPlayedint totalPlayed()No description in source.

SLGuiAudioRecorder #sleela 2.5 (lib/gui/version-military/SLGuiAudioRecorder.sleela)

SLGuiAudioRecorder class

Defines SLGuiAudioRecorder — the 4.0 standard audio-input record control: a record button with the transport states a professional recorder needs (idle -> recording <-> paused -> stopped), an input device + format (sample rate, channels), a live input level, an elapsed duration, and an armed/monitoring flag. SLeeLa owns the recorder's STATE and the meaning of each transition; the host owns the actual capture device and writes the output asset. Every setting is validated/clamped. Family: gui. A control node's backing model; the host captures audio and reports level/duration back through this object.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_IDLEstatic final int STATE_IDLE = 0No description in source.
STATE_ARMEDstatic final int STATE_ARMED = 1monitoring input, not yet recording
STATE_RECORDINGstatic final int STATE_RECORDING = 2No description in source.
STATE_PAUSEDstatic final int STATE_PAUSED = 3No description in source.
STATE_STOPPEDstatic final int STATE_STOPPED = 4No description in source.
stateint stateNo description in source.
inputDeviceString inputDevicehost-resolvable capture device ("default" = system)
sampleRateint sampleRateHz, 8000..192000
channelsint channels1 mono / 2 stereo
outputAssetString outputAssetwhere the host writes the capture
levelPctint levelPctlive input level 0..100 (host-reported)
durationMsint durationMselapsed recording time
clippingint clipping1 if level hit the ceiling since last clear

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String device, String output)No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
setSampleRatevoid setSampleRate(int hz)No description in source.
setChannelsvoid setChannels(int ch)No description in source.
setOutputAssetvoid setOutputAsset(String a)No description in source.
armboolean arm()---- transport ---------------------------------------------------------- Arm (begin monitoring the input without capturing).
startRecordingboolean startRecording()The record button: start capturing from idle/armed/stopped, or resume paused.
pauseboolean pause()No description in source.
stopboolean stop()No description in source.
resetvoid reset()No description in source.
onLevelvoid onLevel(int pct)Host feeds the live input level + elapsed time while recording.
onElapsedvoid onElapsed(int deltaMs)No description in source.
clearClippingvoid clearClipping()No description in source.
getStateint getState()---- state readers ------------------------------------------------------
isRecordingboolean isRecording()No description in source.
isPausedboolean isPaused()No description in source.
isActiveboolean isActive()No description in source.
levelint level()No description in source.
durationMillisint durationMillis()No description in source.
clippedboolean clipped()No description in source.
deviceString device()No description in source.
getSampleRateint getSampleRate()No description in source.
getChannelsint getChannels()No description in source.
outputString output()No description in source.
stateNameString stateName()No description in source.
buttonLabelString buttonLabel()The record button's label follows the transport state.
validboolean valid()No description in source.

SLGuiAudioRecorder #sleela 2.5 (lib/gui/version-dual/SLGuiAudioRecorder.sleela)

SLGuiAudioRecorder class

Defines SLGuiAudioRecorder — the 4.0 standard audio-input record control: a record button with the transport states a professional recorder needs (idle -> recording <-> paused -> stopped), an input device + format (sample rate, channels), a live input level, an elapsed duration, and an armed/monitoring flag. SLeeLa owns the recorder's STATE and the meaning of each transition; the host owns the actual capture device and writes the output asset. Every setting is validated/clamped. Family: gui. A control node's backing model; the host captures audio and reports level/duration back through this object.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_IDLEstatic final int STATE_IDLE = 0No description in source.
STATE_ARMEDstatic final int STATE_ARMED = 1monitoring input, not yet recording
STATE_RECORDINGstatic final int STATE_RECORDING = 2No description in source.
STATE_PAUSEDstatic final int STATE_PAUSED = 3No description in source.
STATE_STOPPEDstatic final int STATE_STOPPED = 4No description in source.
stateint stateNo description in source.
inputDeviceString inputDevicehost-resolvable capture device ("default" = system)
sampleRateint sampleRateHz, 8000..192000
channelsint channels1 mono / 2 stereo
outputAssetString outputAssetwhere the host writes the capture
levelPctint levelPctlive input level 0..100 (host-reported)
durationMsint durationMselapsed recording time
clippingint clipping1 if level hit the ceiling since last clear

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String device, String output)No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
setSampleRatevoid setSampleRate(int hz)No description in source.
setChannelsvoid setChannels(int ch)No description in source.
setOutputAssetvoid setOutputAsset(String a)No description in source.
armboolean arm()---- transport ---------------------------------------------------------- Arm (begin monitoring the input without capturing).
startRecordingboolean startRecording()The record button: start capturing from idle/armed/stopped, or resume paused.
pauseboolean pause()No description in source.
stopboolean stop()No description in source.
resetvoid reset()No description in source.
onLevelvoid onLevel(int pct)Host feeds the live input level + elapsed time while recording.
onElapsedvoid onElapsed(int deltaMs)No description in source.
clearClippingvoid clearClipping()No description in source.
getStateint getState()---- state readers ------------------------------------------------------
isRecordingboolean isRecording()No description in source.
isPausedboolean isPaused()No description in source.
isActiveboolean isActive()No description in source.
levelint level()No description in source.
durationMillisint durationMillis()No description in source.
clippedboolean clipped()No description in source.
deviceString device()No description in source.
getSampleRateint getSampleRate()No description in source.
getChannelsint getChannels()No description in source.
outputString output()No description in source.
stateNameString stateName()No description in source.
buttonLabelString buttonLabel()The record button's label follows the transport state.
validboolean valid()No description in source.

SLGuiBackend #sleela 2.5 (lib/gui/version-gual/SLGuiBackend.sleela)

SLGuiBackend class

Defines SLGuiBackend — the toolkit-neutral GUI backend identity. Mirrors SleelaGui.create(backend) in gui/: a backend is "swing", "javafx" (alias "fx"), or "native" (the C ABI bridge). SLeeLa names the backend; the Java host or the native bridge supplies the actual desktop controls.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
kindString kind"swing" | "javafx" | "fx" | "native"
validint valid1 once configure() accepted a known kind

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String k)2.0: validated configuration — an unknown kind is REFUSED (fail-closed) rather than stored and only caught later by supported(). Returns true when the kind was accepted. configure(String) keeps the lenient 1.0 behavior for source compatibility; configureStrict() is the 2.0 guarded form.
configureStrictboolean configureStrict(String k)No description in source.
knownboolean known(String k)No description in source.
nameString name()No description in source.
supportedboolean supported()A backend is supported when it is one of the known toolkits/bridges.
isSwingboolean isSwing()No description in source.
isJavaFxboolean isJavaFx()No description in source.
isNativeboolean isNative()No description in source.
resolvedString resolved()Normalized label: the "fx" alias resolves to "javafx".
supportsHiDpiboolean supportsHiDpi()2.0 capability flags — what the chosen backend can honor from SLGuiSettings. The native bridge and JavaFX expose the richest surface; Swing is HiDPI- and theme-capable but has no vsync concept and weaker native menus. all backends scale
supportsThemesboolean supportsThemes()light/dark/system
supportsVsyncboolean supportsVsync()swing has no vsync
supportsAccessibilityboolean supportsAccessibility()a11y tree on all
supportsNativeMenusboolean supportsNativeMenus()richer native menus

SLGuiBackend #sleela 2.5 (lib/gui/version-mual/SLGuiBackend.sleela)

SLGuiBackend class

Defines SLGuiBackend — the toolkit-neutral GUI backend identity. Mirrors SleelaGui.create(backend) in gui/: a backend is "swing", "javafx" (alias "fx"), or "native" (the C ABI bridge). SLeeLa names the backend; the Java host or the native bridge supplies the actual desktop controls.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
kindString kind"swing" | "javafx" | "fx" | "native"

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String k)No description in source.
nameString name()No description in source.
supportedboolean supported()A backend is supported when it is one of the known toolkits/bridges.
isSwingboolean isSwing()No description in source.
isJavaFxboolean isJavaFx()No description in source.
isNativeboolean isNative()No description in source.
resolvedString resolved()Normalized label: the "fx" alias resolves to "javafx".
supportsNativeMenusboolean supportsNativeMenus()1.0 compatibility: JavaFX/native can request host-native menus; Swing uses custom widgets.

SLGuiBackend #sleela 2.5 (lib/gui/version-thual/SLGuiBackend.sleela)

SLGuiBackend class

Defines SLGuiBackend — the toolkit-neutral GUI backend identity. Mirrors SleelaGui.create(backend) in gui/: a backend is "swing", "javafx" (alias "fx"), or "native" (the C ABI bridge). SLeeLa names the backend; the Java host or the native bridge supplies the actual desktop controls.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
kindString kind"swing" | "javafx" | "fx" | "native"
validint valid1 once configure() accepted a known kind

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String k)2.0: validated configuration — an unknown kind is REFUSED (fail-closed) rather than stored and only caught later by supported(). Returns true when the kind was accepted. configure(String) keeps the lenient 1.0 behavior for source compatibility; configureStrict() is the 2.0 guarded form.
configureStrictboolean configureStrict(String k)No description in source.
knownboolean known(String k)No description in source.
nameString name()No description in source.
supportedboolean supported()A backend is supported when it is one of the known toolkits/bridges.
isSwingboolean isSwing()No description in source.
isJavaFxboolean isJavaFx()No description in source.
isNativeboolean isNative()No description in source.
resolvedString resolved()Normalized label: the "fx" alias resolves to "javafx".
supportsHiDpiboolean supportsHiDpi()2.0 capability flags — what the chosen backend can honor from SLGuiSettings. The native bridge and JavaFX expose the richest surface; Swing is HiDPI- and theme-capable but has no vsync concept and weaker native menus. all backends scale
supportsThemesboolean supportsThemes()light/dark/system
supportsVsyncboolean supportsVsync()swing has no vsync
supportsAccessibilityboolean supportsAccessibility()a11y tree on all
supportsNativeMenusboolean supportsNativeMenus()richer native menus

SLGuiBackend #sleela 2.5 (lib/gui/version-military/SLGuiBackend.sleela)

SLGuiBackend class

Defines SLGuiBackend — the toolkit-neutral GUI backend identity. Mirrors SleelaGui.create(backend) in gui/: a backend is "swing", "javafx" (alias "fx"), or "native" (the C ABI bridge). SLeeLa names the backend; the Java host or the native bridge supplies the actual desktop controls.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
kindString kind"swing" | "javafx" | "fx" | "native"
validint valid1 once configure() accepted a known kind

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String k)2.0: validated configuration — an unknown kind is REFUSED (fail-closed) rather than stored and only caught later by supported(). Returns true when the kind was accepted. configure(String) keeps the lenient 1.0 behavior for source compatibility; configureStrict() is the 2.0 guarded form.
configureStrictboolean configureStrict(String k)No description in source.
knownboolean known(String k)No description in source.
nameString name()No description in source.
supportedboolean supported()A backend is supported when it is one of the known toolkits/bridges.
isSwingboolean isSwing()No description in source.
isJavaFxboolean isJavaFx()No description in source.
isNativeboolean isNative()No description in source.
resolvedString resolved()Normalized label: the "fx" alias resolves to "javafx".
supportsHiDpiboolean supportsHiDpi()2.0 capability flags — what the chosen backend can honor from SLGuiSettings. The native bridge and JavaFX expose the richest surface; Swing is HiDPI- and theme-capable but has no vsync concept and weaker native menus. all backends scale
supportsThemesboolean supportsThemes()light/dark/system
supportsVsyncboolean supportsVsync()swing has no vsync
supportsAccessibilityboolean supportsAccessibility()a11y tree on all
supportsNativeMenusboolean supportsNativeMenus()richer native menus

SLGuiBackend #sleela 2.5 (lib/gui/version-dual/SLGuiBackend.sleela)

SLGuiBackend class

Defines SLGuiBackend — the toolkit-neutral GUI backend identity. Mirrors SleelaGui.create(backend) in gui/: a backend is "swing", "javafx" (alias "fx"), or "native" (the C ABI bridge). SLeeLa names the backend; the Java host or the native bridge supplies the actual desktop controls.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
kindString kind"swing" | "javafx" | "fx" | "native"
validint valid1 once configure() accepted a known kind

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String k)2.0: validated configuration — an unknown kind is REFUSED (fail-closed) rather than stored and only caught later by supported(). Returns true when the kind was accepted. configure(String) keeps the lenient 1.0 behavior for source compatibility; configureStrict() is the 2.0 guarded form.
configureStrictboolean configureStrict(String k)No description in source.
knownboolean known(String k)No description in source.
nameString name()No description in source.
supportedboolean supported()A backend is supported when it is one of the known toolkits/bridges.
isSwingboolean isSwing()No description in source.
isJavaFxboolean isJavaFx()No description in source.
isNativeboolean isNative()No description in source.
resolvedString resolved()Normalized label: the "fx" alias resolves to "javafx".
supportsHiDpiboolean supportsHiDpi()2.0 capability flags — what the chosen backend can honor from SLGuiSettings. The native bridge and JavaFX expose the richest surface; Swing is HiDPI- and theme-capable but has no vsync concept and weaker native menus. all backends scale
supportsThemesboolean supportsThemes()light/dark/system
supportsVsyncboolean supportsVsync()swing has no vsync
supportsAccessibilityboolean supportsAccessibility()a11y tree on all
supportsNativeMenusboolean supportsNativeMenus()richer native menus

SLGuiBranding #sleela 2.5 (lib/gui/version-thual/SLGuiBranding.sleela)

SLGuiBranding class

Defines SLGuiBranding — the 3.0 logo + brand-identity surface for a SLeeLa GUI app: a logo asset (by host-resolvable name/path), a placement, a scale, an optional wordmark, brand accent/secondary colors, and a tagline. The host paints the logo into the chrome (title bar / splash / about / app header) at the requested placement and scale; SLeeLa names the brand, the host renders it. Every knob is validated/clamped. Family: gui. Owned by SLGuiApp; read by the host when it dresses the window.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
PLACE_TITLEBARstatic final int PLACE_TITLEBAR = 0Logo placement in the app chrome.
PLACE_HEADERstatic final int PLACE_HEADER = 1No description in source.
PLACE_SPLASHstatic final int PLACE_SPLASH = 2No description in source.
PLACE_ABOUTstatic final int PLACE_ABOUT = 3No description in source.
PLACE_WATERMARKstatic final int PLACE_WATERMARK= 4No description in source.
logoAssetString logoAssethost-resolvable logo name/path (e.g. "brand/logo.svg")
placementint placementPLACE_*
scalePctint scalePctlogo scale, 25..400 %
wordmarkString wordmarktext wordmark shown beside/instead of the logo
accentColorString accentColorprimary brand color "#rrggbb" (or named)
secondaryColorString secondaryColorsecondary brand color
taglineString taglineshort brand tagline
shownint shown1 = branding is active

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String asset)No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
setLogovoid setLogo(String asset)No description in source.
setPlacementvoid setPlacement(int p)No description in source.
setScalePctvoid setScalePct(int pct)No description in source.
setWordmarkvoid setWordmark(String w)No description in source.
setColorsvoid setColors(String accent, String secondary)No description in source.
setTaglinevoid setTagline(String t)No description in source.
showvoid show()No description in source.
hidevoid hide()No description in source.
logoString logo()No description in source.
getPlacementint getPlacement()No description in source.
getScalePctint getScalePct()No description in source.
getWordmarkString getWordmark()No description in source.
getAccentString getAccent()No description in source.
getSecondaryString getSecondary()No description in source.
getTaglineString getTagline()No description in source.
visibleboolean visible()No description in source.
hasLogoboolean hasLogo()No description in source.
placementNameString placementName()No description in source.
validboolean valid()No description in source.
reportString report()No description in source.

SLGuiBranding #sleela 2.5 (lib/gui/version-military/SLGuiBranding.sleela)

SLGuiBranding class

Defines SLGuiBranding — the 3.0 logo + brand-identity surface for a SLeeLa GUI app: a logo asset (by host-resolvable name/path), a placement, a scale, an optional wordmark, brand accent/secondary colors, and a tagline. The host paints the logo into the chrome (title bar / splash / about / app header) at the requested placement and scale; SLeeLa names the brand, the host renders it. Every knob is validated/clamped. Family: gui. Owned by SLGuiApp; read by the host when it dresses the window.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
PLACE_TITLEBARstatic final int PLACE_TITLEBAR = 0Logo placement in the app chrome.
PLACE_HEADERstatic final int PLACE_HEADER = 1No description in source.
PLACE_SPLASHstatic final int PLACE_SPLASH = 2No description in source.
PLACE_ABOUTstatic final int PLACE_ABOUT = 3No description in source.
PLACE_WATERMARKstatic final int PLACE_WATERMARK= 4No description in source.
logoAssetString logoAssethost-resolvable logo name/path (e.g. "brand/logo.svg")
placementint placementPLACE_*
scalePctint scalePctlogo scale, 25..400 %
wordmarkString wordmarktext wordmark shown beside/instead of the logo
accentColorString accentColorprimary brand color "#rrggbb" (or named)
secondaryColorString secondaryColorsecondary brand color
taglineString taglineshort brand tagline
shownint shown1 = branding is active

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String asset)No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
setLogovoid setLogo(String asset)No description in source.
setPlacementvoid setPlacement(int p)No description in source.
setScalePctvoid setScalePct(int pct)No description in source.
setWordmarkvoid setWordmark(String w)No description in source.
setColorsvoid setColors(String accent, String secondary)No description in source.
setTaglinevoid setTagline(String t)No description in source.
showvoid show()No description in source.
hidevoid hide()No description in source.
logoString logo()No description in source.
getPlacementint getPlacement()No description in source.
getScalePctint getScalePct()No description in source.
getWordmarkString getWordmark()No description in source.
getAccentString getAccent()No description in source.
getSecondaryString getSecondary()No description in source.
getTaglineString getTagline()No description in source.
visibleboolean visible()No description in source.
hasLogoboolean hasLogo()No description in source.
placementNameString placementName()No description in source.
validboolean valid()No description in source.
reportString report()No description in source.

SLGuiBranding #sleela 2.5 (lib/gui/version-dual/SLGuiBranding.sleela)

SLGuiBranding class

Defines SLGuiBranding — the 3.0 logo + brand-identity surface for a SLeeLa GUI app: a logo asset (by host-resolvable name/path), a placement, a scale, an optional wordmark, brand accent/secondary colors, and a tagline. The host paints the logo into the chrome (title bar / splash / about / app header) at the requested placement and scale; SLeeLa names the brand, the host renders it. Every knob is validated/clamped. Family: gui. Owned by SLGuiApp; read by the host when it dresses the window.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
PLACE_TITLEBARstatic final int PLACE_TITLEBAR = 0Logo placement in the app chrome.
PLACE_HEADERstatic final int PLACE_HEADER = 1No description in source.
PLACE_SPLASHstatic final int PLACE_SPLASH = 2No description in source.
PLACE_ABOUTstatic final int PLACE_ABOUT = 3No description in source.
PLACE_WATERMARKstatic final int PLACE_WATERMARK= 4No description in source.
logoAssetString logoAssethost-resolvable logo name/path (e.g. "brand/logo.svg")
placementint placementPLACE_*
scalePctint scalePctlogo scale, 25..400 %
wordmarkString wordmarktext wordmark shown beside/instead of the logo
accentColorString accentColorprimary brand color "#rrggbb" (or named)
secondaryColorString secondaryColorsecondary brand color
taglineString taglineshort brand tagline
shownint shown1 = branding is active

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String asset)No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
setLogovoid setLogo(String asset)No description in source.
setPlacementvoid setPlacement(int p)No description in source.
setScalePctvoid setScalePct(int pct)No description in source.
setWordmarkvoid setWordmark(String w)No description in source.
setColorsvoid setColors(String accent, String secondary)No description in source.
setTaglinevoid setTagline(String t)No description in source.
showvoid show()No description in source.
hidevoid hide()No description in source.
logoString logo()No description in source.
getPlacementint getPlacement()No description in source.
getScalePctint getScalePct()No description in source.
getWordmarkString getWordmark()No description in source.
getAccentString getAccent()No description in source.
getSecondaryString getSecondary()No description in source.
getTaglineString getTagline()No description in source.
visibleboolean visible()No description in source.
hasLogoboolean hasLogo()No description in source.
placementNameString placementName()No description in source.
validboolean valid()No description in source.
reportString report()No description in source.

SLGuiBridge #sleela 2.5 (lib/gui/version-gual/SLGuiBridge.sleela)

SLGuiBridge class

Defines SLGuiBridge — Path 3 of gui/INTEGRATION.md: the shared native ABI. Mirrors gui/native/sleela_gui_bridge.h: a C-compatible callback boundary (slgui_bridge_create/call/destroy) plus the document-change refresh hook (slgui_bridge_on_document_change / slgui_bridge_document_changed) that is the native counterpart of SleelaGui.refresh(). The attached document count is bounded 1..14 to match the Java listener.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
SLGUI_MIN_DOCUMENTSint SLGUI_MIN_DOCUMENTS = 1No description in source.
SLGUI_MAX_DOCUMENTSint SLGUI_MAX_DOCUMENTS = 14No description in source.
createdint created1 after slgui_bridge_create succeeds
hasRefreshint hasRefresh1 while a refresh callback is installed
documentsint documentsattached document count (bounded 1..14)
deliveredint deliveredtotal refreshes delivered to the callback

Methods — the actions this unit can perform.

MethodSignatureWhat it does
createboolean create(boolean hasCall)slgui_bridge_create(context, call): a non-null call is required.
isCreatedboolean isCreated()No description in source.
callboolean call(String operation)slgui_bridge_call(operation, arguments): valid only on a created bridge with a non-empty operation (null arguments are treated as empty).
attachDocumentsboolean attachDocuments(int count)Attach the watched-document count; enforces the 1..14 ABI bound.
documentCountint documentCount()No description in source.
onDocumentChangevoid onDocumentChange(boolean installRefresh)slgui_bridge_on_document_change(refresh): install (or clear with false).
documentChangedint documentChanged(String documentId)slgui_bridge_document_changed(id, revision): forwards one change; returns 1 when delivered, else 0 (no-op when no callback is installed).
totalDeliveredint totalDelivered()No description in source.
destroyvoid destroy()slgui_bridge_destroy(bridge).

SLGuiBridge #sleela 2.5 (lib/gui/version-mual/SLGuiBridge.sleela)

SLGuiBridge class

Defines SLGuiBridge — Path 3 of gui/INTEGRATION.md: the shared native ABI. Mirrors gui/native/sleela_gui_bridge.h: a C-compatible callback boundary (slgui_bridge_create/call/destroy) plus the document-change refresh hook (slgui_bridge_on_document_change / slgui_bridge_document_changed) that is the native counterpart of SleelaGui.refresh(). The attached document count is bounded 1..14 to match the Java listener.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
SLGUI_MIN_DOCUMENTSint SLGUI_MIN_DOCUMENTS = 1No description in source.
SLGUI_MAX_DOCUMENTSint SLGUI_MAX_DOCUMENTS = 14No description in source.
createdint created1 after slgui_bridge_create succeeds
hasRefreshint hasRefresh1 while a refresh callback is installed
documentsint documentsattached document count (bounded 1..14)
deliveredint deliveredtotal refreshes delivered to the callback

Methods — the actions this unit can perform.

MethodSignatureWhat it does
createboolean create(boolean hasCall)slgui_bridge_create(context, call): a non-null call is required.
isCreatedboolean isCreated()No description in source.
callboolean call(String operation)slgui_bridge_call(operation, arguments): valid only on a created bridge with a non-empty operation (null arguments are treated as empty).
attachDocumentsboolean attachDocuments(int count)Attach the watched-document count; enforces the 1..14 ABI bound.
documentCountint documentCount()No description in source.
onDocumentChangevoid onDocumentChange(boolean installRefresh)slgui_bridge_on_document_change(refresh): install (or clear with false).
documentChangedint documentChanged(String documentId)slgui_bridge_document_changed(id, revision): forwards one change; returns 1 when delivered, else 0 (no-op when no callback is installed).
totalDeliveredint totalDelivered()No description in source.
destroyvoid destroy()slgui_bridge_destroy(bridge).

SLGuiBridge #sleela 2.5 (lib/gui/version-thual/SLGuiBridge.sleela)

SLGuiBridge class

Defines SLGuiBridge — Path 3 of gui/INTEGRATION.md: the shared native ABI. Mirrors gui/native/sleela_gui_bridge.h: a C-compatible callback boundary (slgui_bridge_create/call/destroy) plus the document-change refresh hook (slgui_bridge_on_document_change / slgui_bridge_document_changed) that is the native counterpart of SleelaGui.refresh(). The attached document count is bounded 1..14 to match the Java listener.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
SLGUI_MIN_DOCUMENTSint SLGUI_MIN_DOCUMENTS = 1No description in source.
SLGUI_MAX_DOCUMENTSint SLGUI_MAX_DOCUMENTS = 14No description in source.
createdint created1 after slgui_bridge_create succeeds
hasRefreshint hasRefresh1 while a refresh callback is installed
documentsint documentsattached document count (bounded 1..14)
deliveredint deliveredtotal refreshes delivered to the callback

Methods — the actions this unit can perform.

MethodSignatureWhat it does
createboolean create(boolean hasCall)slgui_bridge_create(context, call): a non-null call is required.
isCreatedboolean isCreated()No description in source.
callboolean call(String operation)slgui_bridge_call(operation, arguments): valid only on a created bridge with a non-empty operation (null arguments are treated as empty).
attachDocumentsboolean attachDocuments(int count)Attach the watched-document count; enforces the 1..14 ABI bound.
documentCountint documentCount()No description in source.
onDocumentChangevoid onDocumentChange(boolean installRefresh)slgui_bridge_on_document_change(refresh): install (or clear with false).
documentChangedint documentChanged(String documentId)slgui_bridge_document_changed(id, revision): forwards one change; returns 1 when delivered, else 0 (no-op when no callback is installed).
totalDeliveredint totalDelivered()No description in source.
destroyvoid destroy()slgui_bridge_destroy(bridge).

SLGuiBridge #sleela 2.5 (lib/gui/version-military/SLGuiBridge.sleela)

SLGuiBridge class

Defines SLGuiBridge — Path 3 of gui/INTEGRATION.md: the shared native ABI. Mirrors gui/native/sleela_gui_bridge.h: a C-compatible callback boundary (slgui_bridge_create/call/destroy) plus the document-change refresh hook (slgui_bridge_on_document_change / slgui_bridge_document_changed) that is the native counterpart of SleelaGui.refresh(). The attached document count is bounded 1..14 to match the Java listener.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
SLGUI_MIN_DOCUMENTSint SLGUI_MIN_DOCUMENTS = 1No description in source.
SLGUI_MAX_DOCUMENTSint SLGUI_MAX_DOCUMENTS = 14No description in source.
createdint created1 after slgui_bridge_create succeeds
hasRefreshint hasRefresh1 while a refresh callback is installed
documentsint documentsattached document count (bounded 1..14)
deliveredint deliveredtotal refreshes delivered to the callback

Methods — the actions this unit can perform.

MethodSignatureWhat it does
createboolean create(boolean hasCall)slgui_bridge_create(context, call): a non-null call is required.
isCreatedboolean isCreated()No description in source.
callboolean call(String operation)slgui_bridge_call(operation, arguments): valid only on a created bridge with a non-empty operation (null arguments are treated as empty).
attachDocumentsboolean attachDocuments(int count)Attach the watched-document count; enforces the 1..14 ABI bound.
documentCountint documentCount()No description in source.
onDocumentChangevoid onDocumentChange(boolean installRefresh)slgui_bridge_on_document_change(refresh): install (or clear with false).
documentChangedint documentChanged(String documentId)slgui_bridge_document_changed(id, revision): forwards one change; returns 1 when delivered, else 0 (no-op when no callback is installed).
totalDeliveredint totalDelivered()No description in source.
destroyvoid destroy()slgui_bridge_destroy(bridge).

SLGuiBridge #sleela 2.5 (lib/gui/version-dual/SLGuiBridge.sleela)

SLGuiBridge class

Defines SLGuiBridge — Path 3 of gui/INTEGRATION.md: the shared native ABI. Mirrors gui/native/sleela_gui_bridge.h: a C-compatible callback boundary (slgui_bridge_create/call/destroy) plus the document-change refresh hook (slgui_bridge_on_document_change / slgui_bridge_document_changed) that is the native counterpart of SleelaGui.refresh(). The attached document count is bounded 1..14 to match the Java listener.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
SLGUI_MIN_DOCUMENTSint SLGUI_MIN_DOCUMENTS = 1No description in source.
SLGUI_MAX_DOCUMENTSint SLGUI_MAX_DOCUMENTS = 14No description in source.
createdint created1 after slgui_bridge_create succeeds
hasRefreshint hasRefresh1 while a refresh callback is installed
documentsint documentsattached document count (bounded 1..14)
deliveredint deliveredtotal refreshes delivered to the callback

Methods — the actions this unit can perform.

MethodSignatureWhat it does
createboolean create(boolean hasCall)slgui_bridge_create(context, call): a non-null call is required.
isCreatedboolean isCreated()No description in source.
callboolean call(String operation)slgui_bridge_call(operation, arguments): valid only on a created bridge with a non-empty operation (null arguments are treated as empty).
attachDocumentsboolean attachDocuments(int count)Attach the watched-document count; enforces the 1..14 ABI bound.
documentCountint documentCount()No description in source.
onDocumentChangevoid onDocumentChange(boolean installRefresh)slgui_bridge_on_document_change(refresh): install (or clear with false).
documentChangedint documentChanged(String documentId)slgui_bridge_document_changed(id, revision): forwards one change; returns 1 when delivered, else 0 (no-op when no callback is installed).
totalDeliveredint totalDelivered()No description in source.
destroyvoid destroy()slgui_bridge_destroy(bridge).

SLGuiCertificateStore #sleela 2.5 (lib/gui/version-military/SLGuiCertificateStore.sleela)

SLGuiCertificateStore class

Defines SLGuiCertificateStore — a military-line COMPONENT that holds and presents public-key certificates (an X.509-style store). Each entry carries a subject, an issuer, a key algorithm, a fingerprint, a trust state (trusted / untrusted / revoked / expired), and whether it is a CA. The store lets the program import a certificate, mark trust, select one for use, and query validity. SLeeLa owns the store CONTENTS and trust STATE; the host/crypto layer performs chain building and signature verification and reports the result back as a trust state. It is fail-closed: a certificate is untrusted until explicitly trusted, and a revoked/expired certificate is never reported valid. Family: gui. A "certstore" node's backing model; partners SLGuiCryptoSelector and SLGuiAdminAuthority (an admin signature for Law may reference a cert).

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_CERTSstatic final int MAX_CERTS = 64No description in source.
TRUST_UNTRUSTEDstatic final int TRUST_UNTRUSTED = 0Trust state of an entry. present but not trusted (default)
TRUST_TRUSTEDstatic final int TRUST_TRUSTED = 1explicitly trusted by the operator
TRUST_REVOKEDstatic final int TRUST_REVOKED = 2on a revocation list
TRUST_EXPIREDstatic final int TRUST_EXPIRED = 3past its validity window
subjectString[] subjectcertificate subject (CN/O)
issuerString[] issuerissuing authority
keyAlgString[] keyAlge.g. "RSA-2048", "ECDSA-P256", "Ed25519", "ML-DSA-65"
fingerprintString[] fingerprinthost-supplied hash (e.g. SHA-256 hex)
trustint[] trustTRUST_*
isCaint[] isCa1 = certificate authority
countint countNo description in source.
selectedint selectedselected entry index (-1 = none)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
importCertint importCert(String subj, String iss, String alg, String fp, boolean ca)Import a certificate. Fail-closed: blank subject/fingerprint is refused, and a new entry starts UNTRUSTED. Returns the new index, or -1 on refusal/full.
certCountint certCount()No description in source.
subjectAtString subjectAt(int i)No description in source.
issuerAtString issuerAt(int i)No description in source.
keyAlgAtString keyAlgAt(int i)No description in source.
fingerprintAtString fingerprintAt(int i)No description in source.
trustAtint trustAt(int i)No description in source.
isCaAtboolean isCaAt(int i)No description in source.
indexOfFingerprintint indexOfFingerprint(String fp)No description in source.
trustCertboolean trustCert(int i)---- trust (the operator / host chain-verifier sets these) --------------
untrustCertboolean untrustCert(int i)No description in source.
markRevokedvoid markRevoked(int i)Host reports a revocation / expiry (irreversible trust downgrade).
markExpiredvoid markExpired(int i)No description in source.
validboolean valid(int i)A certificate is VALID for use only when explicitly trusted (never when untrusted, revoked, or expired) — fail-closed.
selectboolean select(int i)---- selection ---------------------------------------------------------- Select a certificate for use; only a valid (trusted) entry may be selected.
clearSelectionvoid clearSelection()No description in source.
hasSelectionboolean hasSelection()No description in source.
selectedIndexint selectedIndex()No description in source.
selectedSubjectString selectedSubject()No description in source.
selectedFingerprintString selectedFingerprint()No description in source.
validCountint validCount()Count of certificates that are currently valid for use.
trustNameString trustName(int t)No description in source.

SLGuiClickObject #sleela 2.5 (lib/gui/version-military/SLGuiClickObject.sleela)

SLGuiClickObject class

Defines SLGuiClickObject — a 4.0 custom click object: a small circle with its own position, radius, architecturally-driven MOTION, and a staged TIMER. The timer runs through a sequence of "System Apprentice" stages — subtle, escalating activations — and when the final stage elapses it fires the FINAL CALL (a named SLeeLa operation). The motion is a declared architecture (static / drift / orbit / pulse) advanced by the app tick, so the circle moves predictably rather than by ad-hoc animation. SLeeLa owns position, motion, the apprentice ladder, and the final-call binding; the host paints the circle and plays any cue. The apprentice model: stage 0 is dormant; each interval advances one apprentice stage (subtle visual/behaviour change); reaching apprenticeMax triggers the final call exactly once. This gives a click object a careful, architecturally-driven build-up to its culminating action. Family: gui. A circle node's backing model; advanced by SLGuiApp's tick.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MOTION_STATICstatic final int MOTION_STATIC = 0Motion architectures. fixed position
MOTION_DRIFTstatic final int MOTION_DRIFT = 1linear drift by (vx,vy) per interval
MOTION_ORBITstatic final int MOTION_ORBIT = 2orbit a center at a radius/step
MOTION_PULSEstatic final int MOTION_PULSE = 3radius pulses between min/max
idString idNo description in source.
radiusPxint radiusPxcircle radius, 2..512
motionint motionMOTION_*
intervalMsint intervalMsStaged apprentice timer. time between apprentice stages, 50..600000
accumMsint accumMsbanked time toward the next stage
apprenticeint apprenticecurrent apprentice stage (0 = dormant)
apprenticeMaxint apprenticeMaxstages before the final call fires, 1..64
finalCallString finalCallSLeeLa operation fired at the culminating stage
firedint fired1 once the final call has fired (fires once)
runningint running1 while the timer advances

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String objId, int cx, int cy, int radius)No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
clampRadiusint clampRadius(int r)No description in source.
wrapDegint wrapDeg(int d)No description in source.
setPositionvoid setPosition(int cx, int cy)---- position ----------------------------------------------------------
setRadiusvoid setRadius(int r)No description in source.
posXint posX()No description in source.
posYint posY()No description in source.
radiusint radius()No description in source.
setStaticvoid setStatic()---- motion architecture ------------------------------------------------
setDriftvoid setDrift(int velX, int velY)No description in source.
setOrbitvoid setOrbit(int centerX, int centerY, int r, int stepDeg)No description in source.
setPulsevoid setPulse(int minR, int maxR)No description in source.
bindFinalCallvoid bindFinalCall(String operation, int stages)---- apprentice ladder -------------------------------------------------- Bind the culminating action and how many apprentice stages precede it.
setIntervalvoid setInterval(int ms)No description in source.
startvoid start()No description in source.
stopvoid stop()No description in source.
resetvoid reset()No description in source.
apprenticeStageint apprenticeStage()No description in source.
apprenticeStagesint apprenticeStages()No description in source.
dormantboolean dormant()No description in source.
finalFiredboolean finalFired()No description in source.
getFinalCallString getFinalCall()No description in source.
advanceint advance(int elapsedMs)---- advance (called by the app tick) ----------------------------------- Advance motion and the apprentice timer by `elapsedMs`. Returns a code: 0 = nothing happened this tick 1 = moved and/or advanced an apprentice stage 2 = the FINAL CALL fired this tick (the host should invoke finalCall)
advanceMotionboolean advanceMotion()Apply one motion step according to the architecture. Returns true if moved.
orbitAngleint orbitAngle()No description in source.
motionKindint motionKind()No description in source.
motionNameString motionName()No description in source.
honoredboolean honored()No description in source.

SLGuiClickObject #sleela 2.5 (lib/gui/version-dual/SLGuiClickObject.sleela)

SLGuiClickObject class

Defines SLGuiClickObject — a 4.0 custom click object: a small circle with its own position, radius, architecturally-driven MOTION, and a staged TIMER. The timer runs through a sequence of "System Apprentice" stages — subtle, escalating activations — and when the final stage elapses it fires the FINAL CALL (a named SLeeLa operation). The motion is a declared architecture (static / drift / orbit / pulse) advanced by the app tick, so the circle moves predictably rather than by ad-hoc animation. SLeeLa owns position, motion, the apprentice ladder, and the final-call binding; the host paints the circle and plays any cue. The apprentice model: stage 0 is dormant; each interval advances one apprentice stage (subtle visual/behaviour change); reaching apprenticeMax triggers the final call exactly once. This gives a click object a careful, architecturally-driven build-up to its culminating action. Family: gui. A circle node's backing model; advanced by SLGuiApp's tick.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MOTION_STATICstatic final int MOTION_STATIC = 0Motion architectures. fixed position
MOTION_DRIFTstatic final int MOTION_DRIFT = 1linear drift by (vx,vy) per interval
MOTION_ORBITstatic final int MOTION_ORBIT = 2orbit a center at a radius/step
MOTION_PULSEstatic final int MOTION_PULSE = 3radius pulses between min/max
idString idNo description in source.
radiusPxint radiusPxcircle radius, 2..512
motionint motionMOTION_*
intervalMsint intervalMsStaged apprentice timer. time between apprentice stages, 50..600000
accumMsint accumMsbanked time toward the next stage
apprenticeint apprenticecurrent apprentice stage (0 = dormant)
apprenticeMaxint apprenticeMaxstages before the final call fires, 1..64
finalCallString finalCallSLeeLa operation fired at the culminating stage
firedint fired1 once the final call has fired (fires once)
runningint running1 while the timer advances

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String objId, int cx, int cy, int radius)No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
clampRadiusint clampRadius(int r)No description in source.
wrapDegint wrapDeg(int d)No description in source.
setPositionvoid setPosition(int cx, int cy)---- position ----------------------------------------------------------
setRadiusvoid setRadius(int r)No description in source.
posXint posX()No description in source.
posYint posY()No description in source.
radiusint radius()No description in source.
setStaticvoid setStatic()---- motion architecture ------------------------------------------------
setDriftvoid setDrift(int velX, int velY)No description in source.
setOrbitvoid setOrbit(int centerX, int centerY, int r, int stepDeg)No description in source.
setPulsevoid setPulse(int minR, int maxR)No description in source.
bindFinalCallvoid bindFinalCall(String operation, int stages)---- apprentice ladder -------------------------------------------------- Bind the culminating action and how many apprentice stages precede it.
setIntervalvoid setInterval(int ms)No description in source.
startvoid start()No description in source.
stopvoid stop()No description in source.
resetvoid reset()No description in source.
apprenticeStageint apprenticeStage()No description in source.
apprenticeStagesint apprenticeStages()No description in source.
dormantboolean dormant()No description in source.
finalFiredboolean finalFired()No description in source.
getFinalCallString getFinalCall()No description in source.
advanceint advance(int elapsedMs)---- advance (called by the app tick) ----------------------------------- Advance motion and the apprentice timer by `elapsedMs`. Returns a code: 0 = nothing happened this tick 1 = moved and/or advanced an apprentice stage 2 = the FINAL CALL fired this tick (the host should invoke finalCall)
advanceMotionboolean advanceMotion()Apply one motion step according to the architecture. Returns true if moved.
orbitAngleint orbitAngle()No description in source.
motionKindint motionKind()No description in source.
motionNameString motionName()No description in source.
honoredboolean honored()No description in source.

SLGuiCodecs #sleela 2.5 (lib/gui/version-military/SLGuiCodecs.sleela)

SLGuiCodecs class

Defines SLGuiCodecs — the GUI-facing view of the SLeeLa codec

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_NATIVEstatic final int STATE_NATIVE = 0Capability state (mirrors sleela_codec_state).
STATE_BACKENDstatic final int STATE_BACKEND = 1No description in source.
STATE_RECOGNIZEDstatic final int STATE_RECOGNIZED = 2No description in source.
STATE_CONTAINERstatic final int STATE_CONTAINER = 3No description in source.
STATE_EVENTstatic final int STATE_EVENT = 4No description in source.
CODEC_COUNTstatic final int CODEC_COUNT = 20== SLEELA_CODEC_COUNT
namesString[] namesParallel registry arrays (the surface language has no record arrays). Index is the sleela_codec_id ordinal, so by-id lookup is O(1).
mimesString[] mimesNo description in source.
extsString[] extsNo description in source.
statesint[] statesNo description in source.
decodeint[] decode1 = can decode
encodeint[] encode1 = can encode
countint countNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
addvoid add(String name, String mime, String ext, int state, int dec, int enc)No description in source.
codecCountint codecCount()No description in source.
idOfint idOf(String name)---- lookup (mirrors sleela_codec_by_id / _by_extension) ----------------
nameAtString nameAt(int id)No description in source.
mimeAtString mimeAt(int id)No description in source.
stateAtint stateAt(int id)No description in source.
hasboolean has(String name)No description in source.
byExtensionint byExtension(String ext)Find the codec id whose extension list contains `ext` (e.g. ".mp3"); -1 none.
byMimeint byMime(String mime)Find a codec id by MIME type; -1 if none matches.
containsboolean contains(String csv, String token)No description in source.
indexOfSubint indexOfSub(String hay, String needle)No description in source.
canDecodeboolean canDecode(String name)---- capability questions GUI components ask ----------------------------
canEncodeboolean canEncode(String name)No description in source.
playableboolean playable(String name)"Playable" = the system can actually decode it (native or backend).
recordableboolean recordable(String name)"Recordable" = the system can encode it to capture audio.
playableExtensionboolean playableExtension(String ext)Can a media file with this extension be played?
stateNameString stateName(int state)No description in source.
playableCountint playableCount()How many codecs are actually playable (native/backend/container decode).

SLGuiCodecs #sleela 2.5 (lib/gui/version-dual/SLGuiCodecs.sleela)

SLGuiCodecs class

Defines SLGuiCodecs — the GUI-facing view of the SLeeLa codec registry in /codecs. It mirrors codecs/include/sleela_codecs.h exactly (the 20 audio-codec ids, their capability STATE — native/backend/recognized/ container/event — MIME type, and file extensions) so GUI components can SEE what the system supports before offering media: a video canvas or audio recorder asks "can we play/record this?" and the URL bar / HTML renderer asks "is this <audio>/<source> type supported?". SLeeLa names the codecs here; the native /codecs backend (sleela_codec_* C ABI) does the actual encode/decode. Capability semantics (from codecs/CODECS.md): native = in-tree encode/ decode; backend = handler contract needs an approved library; recognized = identified only; container = carries audio but is not a codec; event = musical events, not PCM. "supported for playback" means native or backend. Family: gui. The SLeeLa-source mirror of /codecs; consulted by SLGuiVideoCanvas, SLGuiAudioRecorder, and SLGuiHtmlRenderer media elements.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_NATIVEstatic final int STATE_NATIVE = 0Capability state (mirrors sleela_codec_state).
STATE_BACKENDstatic final int STATE_BACKEND = 1No description in source.
STATE_RECOGNIZEDstatic final int STATE_RECOGNIZED = 2No description in source.
STATE_CONTAINERstatic final int STATE_CONTAINER = 3No description in source.
STATE_EVENTstatic final int STATE_EVENT = 4No description in source.
CODEC_COUNTstatic final int CODEC_COUNT = 20== SLEELA_CODEC_COUNT
namesString[] namesParallel registry arrays (the surface language has no record arrays). Index is the sleela_codec_id ordinal, so by-id lookup is O(1).
mimesString[] mimesNo description in source.
extsString[] extsNo description in source.
statesint[] statesNo description in source.
decodeint[] decode1 = can decode
encodeint[] encode1 = can encode
countint countNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
addvoid add(String name, String mime, String ext, int state, int dec, int enc)No description in source.
codecCountint codecCount()No description in source.
idOfint idOf(String name)---- lookup (mirrors sleela_codec_by_id / _by_extension) ----------------
nameAtString nameAt(int id)No description in source.
mimeAtString mimeAt(int id)No description in source.
stateAtint stateAt(int id)No description in source.
hasboolean has(String name)No description in source.
byExtensionint byExtension(String ext)Find the codec id whose extension list contains `ext` (e.g. ".mp3"); -1 none.
byMimeint byMime(String mime)Find a codec id by MIME type; -1 if none matches.
containsboolean contains(String csv, String token)No description in source.
indexOfSubint indexOfSub(String hay, String needle)No description in source.
canDecodeboolean canDecode(String name)---- capability questions GUI components ask ----------------------------
canEncodeboolean canEncode(String name)No description in source.
playableboolean playable(String name)"Playable" = the system can actually decode it (native or backend).
recordableboolean recordable(String name)"Recordable" = the system can encode it to capture audio.
playableExtensionboolean playableExtension(String ext)Can a media file with this extension be played?
stateNameString stateName(int state)No description in source.
playableCountint playableCount()How many codecs are actually playable (native/backend/container decode).

SLGuiCryptoSelector #sleela 2.5 (lib/gui/version-military/SLGuiCryptoSelector.sleela)

SLGuiCryptoSelector class

Defines SLGuiCryptoSelector — a military-line COMPONENT that lets a program choose its cryptography: a careful catalog of named suites (key-exchange + signature + cipher + hash), each with a security STRENGTH class (legacy / standard / strong / top-secret) so the UI can present and gate them. SLeeLa owns the catalog and the SELECTION; the host/crypto layer performs the actual cryptography. The selector is fail-closed: nothing is selected until an available suite is chosen, and a suite below a required minimum strength cannot be selected. The catalog names standards (not implementations) — e.g. AES-256-GCM, ChaCha20-Poly1305, X25519, Ed25519, ML-KEM/ML-DSA (post-quantum). Listing a suite does not imply a bundled implementation; availability is reported separately so the component only offers what the platform can actually run. Family: gui. A "cryptoselector" node's backing model; the host supplies which suites are actually available and performs the selected cryptography.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_SUITESstatic final int MAX_SUITES = 32No description in source.
STRENGTH_LEGACYstatic final int STRENGTH_LEGACY = 0Security strength classes (ascending). deprecated, interop only
STRENGTH_STANDARDstatic final int STRENGTH_STANDARD = 1No description in source.
STRENGTH_STRONGstatic final int STRENGTH_STRONG = 2No description in source.
STRENGTH_TOPSECRETstatic final int STRENGTH_TOPSECRET = 3suite-B / PQC grade
namesString[] namessuite name, e.g. "AES-256-GCM + X25519 + Ed25519"
strengthint[] strengthSTRENGTH_*
availableint[] available1 = the platform can actually run this suite
pqcint[] pqc1 = post-quantum
countint countNo description in source.
selectedint selectedindex of the chosen suite (-1 = none)
minStrengthint minStrengtha suite below this cannot be selected

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
addvoid add(String name, int str, int avail, int isPqc)No description in source.
suiteCountint suiteCount()No description in source.
suiteNameString suiteName(int i)No description in source.
suiteStrengthint suiteStrength(int i)No description in source.
suiteAvailableboolean suiteAvailable(int i)No description in source.
suitePostQuantumboolean suitePostQuantum(int i)No description in source.
indexOfint indexOf(String name)No description in source.
requireMinStrengthvoid requireMinStrength(int s)Require a minimum strength; any current selection below it is cleared.
selectableboolean selectable(int i)A suite is selectable when it exists, is available, and meets the minimum.
selectboolean select(int i)Select by index or name. Fail-closed: returns false (and selects nothing) if the suite is unavailable or below the required strength.
selectByNameboolean selectByName(String name)No description in source.
clearvoid clear()No description in source.
hasSelectionboolean hasSelection()No description in source.
selectedIndexint selectedIndex()No description in source.
selectedSuiteString selectedSuite()No description in source.
selectedStrengthint selectedStrength()No description in source.
selectedIsPostQuantumboolean selectedIsPostQuantum()No description in source.
strengthNameString strengthName(int s)No description in source.

SLGuiDocument #sleela 2.5 (lib/gui/version-gual/SLGuiDocument.sleela)

SLGuiDocument class

Defines SLGuiDocument — one document watched by the GUI document listener. Mirrors SleelaDocument in gui/: a stable id, a resolved host path, and an OS-derived revision fingerprint (lastModifiedMillis:size, or "absent" when the file is gone). A change is a same-id/same-path document whose revision moved; an OS event that does not move the revision is coalesced away.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idSLeeLa-facing identity, stable across revisions
pathString pathresolved, normalized host path
revisionString revision"lastModifiedMillis:size", or "absent"

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String docId, String docPath, String rev)No description in source.
getIdString getId()No description in source.
getPathString getPath()No description in source.
getRevisionString getRevision()No description in source.
absentboolean absent()Absent means the file was gone/unreadable at snapshot time; appearance or disappearance is itself a detectable change.
presentboolean present()No description in source.
changedFromboolean changedFrom(SLGuiDocument other)True when `other` names the same document at a different revision.

SLGuiDocument #sleela 2.5 (lib/gui/version-mual/SLGuiDocument.sleela)

SLGuiDocument class

Defines SLGuiDocument — one document watched by the GUI document listener. Mirrors SleelaDocument in gui/: a stable id, a resolved host path, and an OS-derived revision fingerprint (lastModifiedMillis:size, or "absent" when the file is gone). A change is a same-id/same-path document whose revision moved; an OS event that does not move the revision is coalesced away.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idSLeeLa-facing identity, stable across revisions
pathString pathresolved, normalized host path
revisionString revision"lastModifiedMillis:size", or "absent"

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String docId, String docPath, String rev)No description in source.
getIdString getId()No description in source.
getPathString getPath()No description in source.
getRevisionString getRevision()No description in source.
absentboolean absent()Absent means the file was gone/unreadable at snapshot time; appearance or disappearance is itself a detectable change.
presentboolean present()No description in source.
changedFromboolean changedFrom(SLGuiDocument other)True when `other` names the same document at a different revision.

SLGuiDocument #sleela 2.5 (lib/gui/version-thual/SLGuiDocument.sleela)

SLGuiDocument class

Defines SLGuiDocument — one document watched by the GUI document listener. Mirrors SleelaDocument in gui/: a stable id, a resolved host path, and an OS-derived revision fingerprint (lastModifiedMillis:size, or "absent" when the file is gone). A change is a same-id/same-path document whose revision moved; an OS event that does not move the revision is coalesced away.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idSLeeLa-facing identity, stable across revisions
pathString pathresolved, normalized host path
revisionString revision"lastModifiedMillis:size", or "absent"

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String docId, String docPath, String rev)No description in source.
getIdString getId()No description in source.
getPathString getPath()No description in source.
getRevisionString getRevision()No description in source.
absentboolean absent()Absent means the file was gone/unreadable at snapshot time; appearance or disappearance is itself a detectable change.
presentboolean present()No description in source.
changedFromboolean changedFrom(SLGuiDocument other)True when `other` names the same document at a different revision.

SLGuiDocument #sleela 2.5 (lib/gui/version-military/SLGuiDocument.sleela)

SLGuiDocument class

Defines SLGuiDocument — one document watched by the GUI document listener. Mirrors SleelaDocument in gui/: a stable id, a resolved host path, and an OS-derived revision fingerprint (lastModifiedMillis:size, or "absent" when the file is gone). A change is a same-id/same-path document whose revision moved; an OS event that does not move the revision is coalesced away.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idSLeeLa-facing identity, stable across revisions
pathString pathresolved, normalized host path
revisionString revision"lastModifiedMillis:size", or "absent"

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String docId, String docPath, String rev)No description in source.
getIdString getId()No description in source.
getPathString getPath()No description in source.
getRevisionString getRevision()No description in source.
absentboolean absent()Absent means the file was gone/unreadable at snapshot time; appearance or disappearance is itself a detectable change.
presentboolean present()No description in source.
changedFromboolean changedFrom(SLGuiDocument other)True when `other` names the same document at a different revision.

SLGuiDocument #sleela 2.5 (lib/gui/version-dual/SLGuiDocument.sleela)

SLGuiDocument class

Defines SLGuiDocument — one document watched by the GUI document listener. Mirrors SleelaDocument in gui/: a stable id, a resolved host path, and an OS-derived revision fingerprint (lastModifiedMillis:size, or "absent" when the file is gone). A change is a same-id/same-path document whose revision moved; an OS event that does not move the revision is coalesced away.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idSLeeLa-facing identity, stable across revisions
pathString pathresolved, normalized host path
revisionString revision"lastModifiedMillis:size", or "absent"

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String docId, String docPath, String rev)No description in source.
getIdString getId()No description in source.
getPathString getPath()No description in source.
getRevisionString getRevision()No description in source.
absentboolean absent()Absent means the file was gone/unreadable at snapshot time; appearance or disappearance is itself a detectable change.
presentboolean present()No description in source.
changedFromboolean changedFrom(SLGuiDocument other)True when `other` names the same document at a different revision.

SLGuiDocumentListener #sleela 2.5 (lib/gui/version-gual/SLGuiDocumentListener.sleela)

SLGuiDocumentListener class

Defines SLGuiDocumentListener — the SLeeLa GUI document-change listener option. Mirrors DocumentListener in gui/: watch 1..14 documents and refresh the running GUI whenever any changes on an OS call. Detection is OS-driven (WatchService over inotify / ReadDirectoryChangesW / kqueue/FSEvents), not polling; an OS event that does not move a document's revision is coalesced away. The 1..14 bound is a hard contract.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MIN_DOCUMENTSint MIN_DOCUMENTS = 1lower bound (inclusive)
MAX_DOCUMENTSint MAX_DOCUMENTS = 14upper bound (inclusive)
watchedint watchedhow many documents are attached (1..14)
runningint running1 while the OS watch loop is active
changesint changestotal real changes emitted
coalescedint coalescedtotal OS wakes coalesced away (no revision move)
pollMillisint pollMillisOS wake cadence / coalescing window
debounceMillisint debounceMillissettle window after a change before emitting
coalesceQueueMaxint coalesceQueueMaxmax pending changes before backpressure applies
backpressureint backpressure0 coalesce / 1 drop-oldest / 2 block
droppedint droppedchanges shed by backpressure

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int documentCount)2.0: configure CLAMPS the attached count to the 1..14 contract rather than trusting the caller — withinBound() then always holds after configure().
clampCountint clampCount(int n)No description in source.
applySettingsvoid applySettings(SLGuiSettings s)Adopt the package settings' listener-timing knobs (poll/debounce/queue/bp).
countint count()No description in source.
minDocumentsint minDocuments()No description in source.
maxDocumentsint maxDocuments()No description in source.
withinBoundboolean withinBound()The hard 1..14 contract, enforced at construction and on watch().
watchboolean watch()Start the OS-backed watch; a no-op unless the bound holds and not running.
isRunningboolean isRunning()No description in source.
onOsCallint onOsCall(int realChanges)One OS-call wake delivered `realChanges` revision moves (0 is coalesced away and emits nothing). Returns the number emitted this wake, after the queue cap / backpressure policy is applied. A wake with no revision move is counted as a coalesced no-op.
refreshNowint refreshNow(int realChanges)Force an immediate re-evaluation (an explicit OS/lifecycle refresh).
totalChangesint totalChanges()No description in source.
totalCoalescedint totalCoalesced()No description in source.
totalDroppedint totalDropped()No description in source.
setPollMillisvoid setPollMillis(int ms)No description in source.
getPollMillisint getPollMillis()No description in source.
setDebounceMillisvoid setDebounceMillis(int ms)No description in source.
getDebounceMillisint getDebounceMillis()No description in source.
setCoalesceQueueMaxvoid setCoalesceQueueMax(int n)No description in source.
getCoalesceQueueMaxint getCoalesceQueueMax()No description in source.
setBackpressurevoid setBackpressure(int policy)No description in source.
getBackpressureint getBackpressure()No description in source.
closevoid close()Stop the watch and release the OS watch handle. Idempotent.

SLGuiDocumentListener #sleela 2.5 (lib/gui/version-mual/SLGuiDocumentListener.sleela)

SLGuiDocumentListener class

Defines SLGuiDocumentListener — the SLeeLa GUI document-change listener option. Mirrors DocumentListener in gui/: watch 1..14 documents and refresh the running GUI whenever any changes on an OS call. Detection is OS-driven (WatchService over inotify / ReadDirectoryChangesW / kqueue/FSEvents), not polling; an OS event that does not move a document's revision is coalesced away. The 1..14 bound is a hard contract.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MIN_DOCUMENTSint MIN_DOCUMENTS = 1lower bound (inclusive)
MAX_DOCUMENTSint MAX_DOCUMENTS = 14upper bound (inclusive)
watchedint watchedhow many documents are attached (1..14)
runningint running1 while the OS watch loop is active
changesint changestotal real changes emitted
pollMillisint pollMillisOS wake cadence / coalescing window

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int documentCount)No description in source.
countint count()No description in source.
minDocumentsint minDocuments()No description in source.
maxDocumentsint maxDocuments()No description in source.
withinBoundboolean withinBound()The hard 1..14 contract, enforced at construction and on watch().
watchboolean watch()Start the OS-backed watch; a no-op unless the bound holds and not running.
isRunningboolean isRunning()No description in source.
onOsCallint onOsCall(int realChanges)One OS-call wake delivered `realChanges` revision moves (0 is coalesced away and emits nothing). Returns the number emitted this wake.
refreshNowint refreshNow(int realChanges)Force an immediate re-evaluation (an explicit OS/lifecycle refresh).
totalChangesint totalChanges()No description in source.
setPollMillisvoid setPollMillis(int ms)No description in source.
getPollMillisint getPollMillis()No description in source.
closevoid close()Stop the watch and release the OS watch handle. Idempotent.

SLGuiDocumentListener #sleela 2.5 (lib/gui/version-thual/SLGuiDocumentListener.sleela)

SLGuiDocumentListener class

Defines SLGuiDocumentListener — the SLeeLa GUI document-change listener option. Mirrors DocumentListener in gui/: watch 1..14 documents and refresh the running GUI whenever any changes on an OS call. Detection is OS-driven (WatchService over inotify / ReadDirectoryChangesW / kqueue/FSEvents), not polling; an OS event that does not move a document's revision is coalesced away. The 1..14 bound is a hard contract.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MIN_DOCUMENTSint MIN_DOCUMENTS = 1lower bound (inclusive)
MAX_DOCUMENTSint MAX_DOCUMENTS = 14upper bound (inclusive)
watchedint watchedhow many documents are attached (1..14)
runningint running1 while the OS watch loop is active
changesint changestotal real changes emitted
coalescedint coalescedtotal OS wakes coalesced away (no revision move)
pollMillisint pollMillisOS wake cadence / coalescing window
debounceMillisint debounceMillissettle window after a change before emitting
coalesceQueueMaxint coalesceQueueMaxmax pending changes before backpressure applies
backpressureint backpressure0 coalesce / 1 drop-oldest / 2 block
droppedint droppedchanges shed by backpressure

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int documentCount)2.0: configure CLAMPS the attached count to the 1..14 contract rather than trusting the caller — withinBound() then always holds after configure().
clampCountint clampCount(int n)No description in source.
applySettingsvoid applySettings(SLGuiSettings s)Adopt the package settings' listener-timing knobs (poll/debounce/queue/bp).
countint count()No description in source.
minDocumentsint minDocuments()No description in source.
maxDocumentsint maxDocuments()No description in source.
withinBoundboolean withinBound()The hard 1..14 contract, enforced at construction and on watch().
watchboolean watch()Start the OS-backed watch; a no-op unless the bound holds and not running.
isRunningboolean isRunning()No description in source.
onOsCallint onOsCall(int realChanges)One OS-call wake delivered `realChanges` revision moves (0 is coalesced away and emits nothing). Returns the number emitted this wake, after the queue cap / backpressure policy is applied. A wake with no revision move is counted as a coalesced no-op.
refreshNowint refreshNow(int realChanges)Force an immediate re-evaluation (an explicit OS/lifecycle refresh).
totalChangesint totalChanges()No description in source.
totalCoalescedint totalCoalesced()No description in source.
totalDroppedint totalDropped()No description in source.
setPollMillisvoid setPollMillis(int ms)No description in source.
getPollMillisint getPollMillis()No description in source.
setDebounceMillisvoid setDebounceMillis(int ms)No description in source.
getDebounceMillisint getDebounceMillis()No description in source.
setCoalesceQueueMaxvoid setCoalesceQueueMax(int n)No description in source.
getCoalesceQueueMaxint getCoalesceQueueMax()No description in source.
setBackpressurevoid setBackpressure(int policy)No description in source.
getBackpressureint getBackpressure()No description in source.
closevoid close()Stop the watch and release the OS watch handle. Idempotent.

SLGuiDocumentListener #sleela 2.5 (lib/gui/version-military/SLGuiDocumentListener.sleela)

SLGuiDocumentListener class

Defines SLGuiDocumentListener — the SLeeLa GUI document-change listener option. Mirrors DocumentListener in gui/: watch 1..14 documents and refresh the running GUI whenever any changes on an OS call. Detection is OS-driven (WatchService over inotify / ReadDirectoryChangesW / kqueue/FSEvents), not polling; an OS event that does not move a document's revision is coalesced away. The 1..14 bound is a hard contract.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MIN_DOCUMENTSint MIN_DOCUMENTS = 1lower bound (inclusive)
MAX_DOCUMENTSint MAX_DOCUMENTS = 14upper bound (inclusive)
watchedint watchedhow many documents are attached (1..14)
runningint running1 while the OS watch loop is active
changesint changestotal real changes emitted
coalescedint coalescedtotal OS wakes coalesced away (no revision move)
pollMillisint pollMillisOS wake cadence / coalescing window
debounceMillisint debounceMillissettle window after a change before emitting
coalesceQueueMaxint coalesceQueueMaxmax pending changes before backpressure applies
backpressureint backpressure0 coalesce / 1 drop-oldest / 2 block
droppedint droppedchanges shed by backpressure

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int documentCount)2.0: configure CLAMPS the attached count to the 1..14 contract rather than trusting the caller — withinBound() then always holds after configure().
clampCountint clampCount(int n)No description in source.
applySettingsvoid applySettings(SLGuiSettings s)Adopt the package settings' listener-timing knobs (poll/debounce/queue/bp).
countint count()No description in source.
minDocumentsint minDocuments()No description in source.
maxDocumentsint maxDocuments()No description in source.
withinBoundboolean withinBound()The hard 1..14 contract, enforced at construction and on watch().
watchboolean watch()Start the OS-backed watch; a no-op unless the bound holds and not running.
isRunningboolean isRunning()No description in source.
onOsCallint onOsCall(int realChanges)One OS-call wake delivered `realChanges` revision moves (0 is coalesced away and emits nothing). Returns the number emitted this wake, after the queue cap / backpressure policy is applied. A wake with no revision move is counted as a coalesced no-op.
refreshNowint refreshNow(int realChanges)Force an immediate re-evaluation (an explicit OS/lifecycle refresh).
totalChangesint totalChanges()No description in source.
totalCoalescedint totalCoalesced()No description in source.
totalDroppedint totalDropped()No description in source.
setPollMillisvoid setPollMillis(int ms)No description in source.
getPollMillisint getPollMillis()No description in source.
setDebounceMillisvoid setDebounceMillis(int ms)No description in source.
getDebounceMillisint getDebounceMillis()No description in source.
setCoalesceQueueMaxvoid setCoalesceQueueMax(int n)No description in source.
getCoalesceQueueMaxint getCoalesceQueueMax()No description in source.
setBackpressurevoid setBackpressure(int policy)No description in source.
getBackpressureint getBackpressure()No description in source.
closevoid close()Stop the watch and release the OS watch handle. Idempotent.

SLGuiDocumentListener #sleela 2.5 (lib/gui/version-dual/SLGuiDocumentListener.sleela)

SLGuiDocumentListener class

Defines SLGuiDocumentListener — the SLeeLa GUI document-change listener option. Mirrors DocumentListener in gui/: watch 1..14 documents and refresh the running GUI whenever any changes on an OS call. Detection is OS-driven (WatchService over inotify / ReadDirectoryChangesW / kqueue/FSEvents), not polling; an OS event that does not move a document's revision is coalesced away. The 1..14 bound is a hard contract.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MIN_DOCUMENTSint MIN_DOCUMENTS = 1lower bound (inclusive)
MAX_DOCUMENTSint MAX_DOCUMENTS = 14upper bound (inclusive)
watchedint watchedhow many documents are attached (1..14)
runningint running1 while the OS watch loop is active
changesint changestotal real changes emitted
coalescedint coalescedtotal OS wakes coalesced away (no revision move)
pollMillisint pollMillisOS wake cadence / coalescing window
debounceMillisint debounceMillissettle window after a change before emitting
coalesceQueueMaxint coalesceQueueMaxmax pending changes before backpressure applies
backpressureint backpressure0 coalesce / 1 drop-oldest / 2 block
droppedint droppedchanges shed by backpressure

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int documentCount)2.0: configure CLAMPS the attached count to the 1..14 contract rather than trusting the caller — withinBound() then always holds after configure().
clampCountint clampCount(int n)No description in source.
applySettingsvoid applySettings(SLGuiSettings s)Adopt the package settings' listener-timing knobs (poll/debounce/queue/bp).
countint count()No description in source.
minDocumentsint minDocuments()No description in source.
maxDocumentsint maxDocuments()No description in source.
withinBoundboolean withinBound()The hard 1..14 contract, enforced at construction and on watch().
watchboolean watch()Start the OS-backed watch; a no-op unless the bound holds and not running.
isRunningboolean isRunning()No description in source.
onOsCallint onOsCall(int realChanges)One OS-call wake delivered `realChanges` revision moves (0 is coalesced away and emits nothing). Returns the number emitted this wake, after the queue cap / backpressure policy is applied. A wake with no revision move is counted as a coalesced no-op.
refreshNowint refreshNow(int realChanges)Force an immediate re-evaluation (an explicit OS/lifecycle refresh).
totalChangesint totalChanges()No description in source.
totalCoalescedint totalCoalesced()No description in source.
totalDroppedint totalDropped()No description in source.
setPollMillisvoid setPollMillis(int ms)No description in source.
getPollMillisint getPollMillis()No description in source.
setDebounceMillisvoid setDebounceMillis(int ms)No description in source.
getDebounceMillisint getDebounceMillis()No description in source.
setCoalesceQueueMaxvoid setCoalesceQueueMax(int n)No description in source.
getCoalesceQueueMaxint getCoalesceQueueMax()No description in source.
setBackpressurevoid setBackpressure(int policy)No description in source.
getBackpressureint getBackpressure()No description in source.
closevoid close()Stop the watch and release the OS watch handle. Idempotent.

SLGuiDom #sleela 2.5 (lib/gui/version-gual/SLGuiDom.sleela)

SLGuiDom class

Defines SLGuiDom — the DHTML-style document model for /lib/gui: a flat registry of SLGuiNode elements forming a tree, plus the manipulation API a browser DOM exposes — createElement, getElementById, appendChild, removeChild, setText/setAttribute/setStyle on an id, show/hide, and a simple getElementsByTag / querySelector-by-attribute lookup. It owns an SLGuiEventBus so handlers bind to node ids (onClick, onInput, on(type,...), addEventListener) and raised events route to SLeeLa operations. The DOM is the single SLeeLa-owned source of truth; a host walks the dirty nodes and mirrors them onto real SleelaUI widgets. Family: gui. SLeeLa owns the document and dispatch; the host mounts and paints it.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_NODESstatic final int MAX_NODES = 65536No description in source.
nodesSLGuiNode[] nodesNo description in source.
countint countNo description in source.
rootIdString rootIdNo description in source.
busSLGuiEventBus busNo description in source.
typesSLGuiEventType typesname<->ordinal helper
idSeqint idSeqauto-id counter for createElement without an id

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init()No description in source.
eventsSLGuiEventBus events()No description in source.
sizeint size()No description in source.
createElementSLGuiNode createElement(String tag, String id)createElement(tag, id): id "" generates a stable auto id ("n<seq>").
createRootSLGuiNode createRoot(String tag, String id)The document root (the window element). Created once.
rootSLGuiNode root()No description in source.
getElementByIdSLGuiNode getElementById(String id)No description in source.
indexOfIdint indexOfId(String id)No description in source.
appendChildboolean appendChild(String parentId, String childId)appendChild(parentId, childId): link child under parent in both directions.
appendElementSLGuiNode appendElement(String parentId, String tag, String id)Convenience: create a child element already appended to a parent.
removeChildboolean removeChild(String childId)removeChild: detach from parent, remove its handlers, and drop the node (and recursively its subtree).
setTextvoid setText(String id, String text)No description in source.
setAttributevoid setAttribute(String id, String name, String value)No description in source.
setStylevoid setStyle(String id, String prop, String value)No description in source.
showvoid show(String id)No description in source.
hidevoid hide(String id)No description in source.
setEnabledvoid setEnabled(String id, boolean on)No description in source.
getElementsByTagint getElementsByTag(String tag, String[] out, int cap)Fill `out` with the ids of every node with the given tag; returns the count.
querySelectorByAttrString querySelectorByAttr(String name, String value)Return the first node id whose attribute `name` equals `value` (or null).
addEventListenerSLGuiHandler addEventListener(String id, String eventName, String operation)No description in source.
removeEventListenerboolean removeEventListener(String id, String eventName, String operation)No description in source.
onClickSLGuiHandler onClick(String id, String operation)Shorthands mirroring onclick=/oninput= style bindings.
onInputSLGuiHandler onInput(String id, String operation)No description in source.
onChangeSLGuiHandler onChange(String id, String operation)No description in source.
onKeyDownSLGuiHandler onKeyDown(String id, String operation)No description in source.
onSubmitSLGuiHandler onSubmit(String id, String operation)No description in source.
dispatchEventint dispatchEvent(SLGuiEvent event)The host raises an activation on a node; dispatch it through the bus. Returns how many handlers fired.
fireint fire(int eventType, String targetId, String value)No description in source.
dirtyCountint dirtyCount()The number of nodes needing a host re-sync (dirty), for the mount walk.
nodeAtSLGuiNode nodeAt(int i)No description in source.
autoIdString autoId()No description in source.
removeSubtreevoid removeSubtree(String id)No description in source.
removeNodevoid removeNode(String id)No description in source.

SLGuiDom #sleela 2.5 (lib/gui/version-mual/SLGuiDom.sleela)

SLGuiDom class

Defines SLGuiDom — the DHTML-style document model for /lib/gui: a flat registry of SLGuiNode elements forming a tree, plus the manipulation API a browser DOM exposes — createElement, getElementById, appendChild, removeChild, setText/setAttribute/setStyle on an id, show/hide, and a simple getElementsByTag / querySelector-by-attribute lookup. It owns an SLGuiEventBus so handlers bind to node ids (onClick, onInput, on(type,...), addEventListener) and raised events route to SLeeLa operations. The DOM is the single SLeeLa-owned source of truth; a host walks the dirty nodes and mirrors them onto real SleelaUI widgets. Family: gui. SLeeLa owns the document and dispatch; the host mounts and paints it.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_NODESstatic final int MAX_NODES = 65536No description in source.
nodesSLGuiNode[] nodesNo description in source.
countint countNo description in source.
rootIdString rootIdNo description in source.
busSLGuiEventBus busNo description in source.
typesSLGuiEventType typesname<->ordinal helper
idSeqint idSeqauto-id counter for createElement without an id

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init()No description in source.
eventsSLGuiEventBus events()No description in source.
sizeint size()No description in source.
createElementSLGuiNode createElement(String tag, String id)createElement(tag, id): id "" generates a stable auto id ("n<seq>").
createRootSLGuiNode createRoot(String tag, String id)The document root (the window element). Created once.
rootSLGuiNode root()No description in source.
getElementByIdSLGuiNode getElementById(String id)No description in source.
indexOfIdint indexOfId(String id)No description in source.
appendChildboolean appendChild(String parentId, String childId)appendChild(parentId, childId): link child under parent in both directions.
appendElementSLGuiNode appendElement(String parentId, String tag, String id)Convenience: create a child element already appended to a parent.
removeChildboolean removeChild(String childId)removeChild: detach from parent, remove its handlers, and drop the node (and recursively its subtree).
setTextvoid setText(String id, String text)No description in source.
setAttributevoid setAttribute(String id, String name, String value)No description in source.
setStylevoid setStyle(String id, String prop, String value)No description in source.
showvoid show(String id)No description in source.
hidevoid hide(String id)No description in source.
setEnabledvoid setEnabled(String id, boolean on)No description in source.
getElementsByTagint getElementsByTag(String tag, String[] out, int cap)Fill `out` with the ids of every node with the given tag; returns the count.
querySelectorByAttrString querySelectorByAttr(String name, String value)Return the first node id whose attribute `name` equals `value` (or null).
addEventListenerSLGuiHandler addEventListener(String id, String eventName, String operation)No description in source.
removeEventListenerboolean removeEventListener(String id, String eventName, String operation)No description in source.
onClickSLGuiHandler onClick(String id, String operation)Shorthands mirroring onclick=/oninput= style bindings.
onInputSLGuiHandler onInput(String id, String operation)No description in source.
onChangeSLGuiHandler onChange(String id, String operation)No description in source.
onKeyDownSLGuiHandler onKeyDown(String id, String operation)No description in source.
onSubmitSLGuiHandler onSubmit(String id, String operation)No description in source.
dispatchEventint dispatchEvent(SLGuiEvent event)The host raises an activation on a node; dispatch it through the bus. Returns how many handlers fired.
fireint fire(int eventType, String targetId, String value)No description in source.
dirtyCountint dirtyCount()The number of nodes needing a host re-sync (dirty), for the mount walk.
nodeAtSLGuiNode nodeAt(int i)No description in source.
autoIdString autoId()No description in source.
removeSubtreevoid removeSubtree(String id)No description in source.
removeNodevoid removeNode(String id)No description in source.

SLGuiDom #sleela 2.5 (lib/gui/version-thual/SLGuiDom.sleela)

SLGuiDom class

Defines SLGuiDom — the DHTML-style document model for /lib/gui: a flat registry of SLGuiNode elements forming a tree, plus the manipulation API a browser DOM exposes — createElement, getElementById, appendChild, removeChild, setText/setAttribute/setStyle on an id, show/hide, and a simple getElementsByTag / querySelector-by-attribute lookup. It owns an SLGuiEventBus so handlers bind to node ids (onClick, onInput, on(type,...), addEventListener) and raised events route to SLeeLa operations. The DOM is the single SLeeLa-owned source of truth; a host walks the dirty nodes and mirrors them onto real SleelaUI widgets. Family: gui. SLeeLa owns the document and dispatch; the host mounts and paints it.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_NODESstatic final int MAX_NODES = 65536No description in source.
nodesSLGuiNode[] nodesNo description in source.
countint countNo description in source.
rootIdString rootIdNo description in source.
busSLGuiEventBus busNo description in source.
typesSLGuiEventType typesname<->ordinal helper
idSeqint idSeqauto-id counter for createElement without an id

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init()No description in source.
eventsSLGuiEventBus events()No description in source.
sizeint size()No description in source.
createElementSLGuiNode createElement(String tag, String id)createElement(tag, id): id "" generates a stable auto id ("n<seq>").
createRootSLGuiNode createRoot(String tag, String id)The document root (the window element). Created once.
rootSLGuiNode root()No description in source.
getElementByIdSLGuiNode getElementById(String id)No description in source.
indexOfIdint indexOfId(String id)No description in source.
appendChildboolean appendChild(String parentId, String childId)appendChild(parentId, childId): link child under parent in both directions.
appendElementSLGuiNode appendElement(String parentId, String tag, String id)Convenience: create a child element already appended to a parent.
removeChildboolean removeChild(String childId)removeChild: detach from parent, remove its handlers, and drop the node (and recursively its subtree).
setTextvoid setText(String id, String text)No description in source.
setAttributevoid setAttribute(String id, String name, String value)No description in source.
setStylevoid setStyle(String id, String prop, String value)No description in source.
showvoid show(String id)No description in source.
hidevoid hide(String id)No description in source.
setEnabledvoid setEnabled(String id, boolean on)No description in source.
getElementsByTagint getElementsByTag(String tag, String[] out, int cap)Fill `out` with the ids of every node with the given tag; returns the count.
querySelectorByAttrString querySelectorByAttr(String name, String value)Return the first node id whose attribute `name` equals `value` (or null).
addEventListenerSLGuiHandler addEventListener(String id, String eventName, String operation)No description in source.
removeEventListenerboolean removeEventListener(String id, String eventName, String operation)No description in source.
onClickSLGuiHandler onClick(String id, String operation)Shorthands mirroring onclick=/oninput= style bindings.
onInputSLGuiHandler onInput(String id, String operation)No description in source.
onChangeSLGuiHandler onChange(String id, String operation)No description in source.
onKeyDownSLGuiHandler onKeyDown(String id, String operation)No description in source.
onSubmitSLGuiHandler onSubmit(String id, String operation)No description in source.
dispatchEventint dispatchEvent(SLGuiEvent event)The host raises an activation on a node; dispatch it through the bus. Returns how many handlers fired.
fireint fire(int eventType, String targetId, String value)No description in source.
dirtyCountint dirtyCount()The number of nodes needing a host re-sync (dirty), for the mount walk.
nodeAtSLGuiNode nodeAt(int i)No description in source.
autoIdString autoId()No description in source.
removeSubtreevoid removeSubtree(String id)No description in source.
removeNodevoid removeNode(String id)No description in source.

SLGuiDom #sleela 2.5 (lib/gui/version-military/SLGuiDom.sleela)

SLGuiDom class

Defines SLGuiDom — the DHTML-style document model for /lib/gui: a flat registry of SLGuiNode elements forming a tree, plus the manipulation API a browser DOM exposes — createElement, getElementById, appendChild, removeChild, setText/setAttribute/setStyle on an id, show/hide, and a simple getElementsByTag / querySelector-by-attribute lookup. It owns an SLGuiEventBus so handlers bind to node ids (onClick, onInput, on(type,...), addEventListener) and raised events route to SLeeLa operations. The DOM is the single SLeeLa-owned source of truth; a host walks the dirty nodes and mirrors them onto real SleelaUI widgets. Family: gui. SLeeLa owns the document and dispatch; the host mounts and paints it.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_NODESstatic final int MAX_NODES = 65536No description in source.
nodesSLGuiNode[] nodesNo description in source.
countint countNo description in source.
rootIdString rootIdNo description in source.
busSLGuiEventBus busNo description in source.
typesSLGuiEventType typesname<->ordinal helper
idSeqint idSeqauto-id counter for createElement without an id

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init()No description in source.
eventsSLGuiEventBus events()No description in source.
sizeint size()No description in source.
createElementSLGuiNode createElement(String tag, String id)createElement(tag, id): id "" generates a stable auto id ("n<seq>").
createRootSLGuiNode createRoot(String tag, String id)The document root (the window element). Created once.
rootSLGuiNode root()No description in source.
getElementByIdSLGuiNode getElementById(String id)No description in source.
indexOfIdint indexOfId(String id)No description in source.
appendChildboolean appendChild(String parentId, String childId)appendChild(parentId, childId): link child under parent in both directions.
appendElementSLGuiNode appendElement(String parentId, String tag, String id)Convenience: create a child element already appended to a parent.
removeChildboolean removeChild(String childId)removeChild: detach from parent, remove its handlers, and drop the node (and recursively its subtree).
setTextvoid setText(String id, String text)No description in source.
setAttributevoid setAttribute(String id, String name, String value)No description in source.
setStylevoid setStyle(String id, String prop, String value)No description in source.
showvoid show(String id)No description in source.
hidevoid hide(String id)No description in source.
setEnabledvoid setEnabled(String id, boolean on)No description in source.
getElementsByTagint getElementsByTag(String tag, String[] out, int cap)Fill `out` with the ids of every node with the given tag; returns the count.
querySelectorByAttrString querySelectorByAttr(String name, String value)Return the first node id whose attribute `name` equals `value` (or null).
addEventListenerSLGuiHandler addEventListener(String id, String eventName, String operation)No description in source.
removeEventListenerboolean removeEventListener(String id, String eventName, String operation)No description in source.
onClickSLGuiHandler onClick(String id, String operation)Shorthands mirroring onclick=/oninput= style bindings.
onInputSLGuiHandler onInput(String id, String operation)No description in source.
onChangeSLGuiHandler onChange(String id, String operation)No description in source.
onKeyDownSLGuiHandler onKeyDown(String id, String operation)No description in source.
onSubmitSLGuiHandler onSubmit(String id, String operation)No description in source.
dispatchEventint dispatchEvent(SLGuiEvent event)The host raises an activation on a node; dispatch it through the bus. Returns how many handlers fired.
fireint fire(int eventType, String targetId, String value)No description in source.
dirtyCountint dirtyCount()The number of nodes needing a host re-sync (dirty), for the mount walk.
nodeAtSLGuiNode nodeAt(int i)No description in source.
autoIdString autoId()No description in source.
removeSubtreevoid removeSubtree(String id)No description in source.
removeNodevoid removeNode(String id)No description in source.

SLGuiDom #sleela 2.5 (lib/gui/version-dual/SLGuiDom.sleela)

SLGuiDom class

Defines SLGuiDom — the DHTML-style document model for /lib/gui: a flat registry of SLGuiNode elements forming a tree, plus the manipulation API a browser DOM exposes — createElement, getElementById, appendChild, removeChild, setText/setAttribute/setStyle on an id, show/hide, and a simple getElementsByTag / querySelector-by-attribute lookup. It owns an SLGuiEventBus so handlers bind to node ids (onClick, onInput, on(type,...), addEventListener) and raised events route to SLeeLa operations. The DOM is the single SLeeLa-owned source of truth; a host walks the dirty nodes and mirrors them onto real SleelaUI widgets. Family: gui. SLeeLa owns the document and dispatch; the host mounts and paints it.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_NODESstatic final int MAX_NODES = 65536No description in source.
nodesSLGuiNode[] nodesNo description in source.
countint countNo description in source.
rootIdString rootIdNo description in source.
busSLGuiEventBus busNo description in source.
typesSLGuiEventType typesname<->ordinal helper
idSeqint idSeqauto-id counter for createElement without an id

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init()No description in source.
eventsSLGuiEventBus events()No description in source.
sizeint size()No description in source.
createElementSLGuiNode createElement(String tag, String id)createElement(tag, id): id "" generates a stable auto id ("n<seq>").
createRootSLGuiNode createRoot(String tag, String id)The document root (the window element). Created once.
rootSLGuiNode root()No description in source.
getElementByIdSLGuiNode getElementById(String id)No description in source.
indexOfIdint indexOfId(String id)No description in source.
appendChildboolean appendChild(String parentId, String childId)appendChild(parentId, childId): link child under parent in both directions.
appendElementSLGuiNode appendElement(String parentId, String tag, String id)Convenience: create a child element already appended to a parent.
removeChildboolean removeChild(String childId)removeChild: detach from parent, remove its handlers, and drop the node (and recursively its subtree).
setTextvoid setText(String id, String text)No description in source.
setAttributevoid setAttribute(String id, String name, String value)No description in source.
setStylevoid setStyle(String id, String prop, String value)No description in source.
showvoid show(String id)No description in source.
hidevoid hide(String id)No description in source.
setEnabledvoid setEnabled(String id, boolean on)No description in source.
getElementsByTagint getElementsByTag(String tag, String[] out, int cap)Fill `out` with the ids of every node with the given tag; returns the count.
querySelectorByAttrString querySelectorByAttr(String name, String value)Return the first node id whose attribute `name` equals `value` (or null).
addEventListenerSLGuiHandler addEventListener(String id, String eventName, String operation)No description in source.
removeEventListenerboolean removeEventListener(String id, String eventName, String operation)No description in source.
onClickSLGuiHandler onClick(String id, String operation)Shorthands mirroring onclick=/oninput= style bindings.
onInputSLGuiHandler onInput(String id, String operation)No description in source.
onChangeSLGuiHandler onChange(String id, String operation)No description in source.
onKeyDownSLGuiHandler onKeyDown(String id, String operation)No description in source.
onSubmitSLGuiHandler onSubmit(String id, String operation)No description in source.
dispatchEventint dispatchEvent(SLGuiEvent event)The host raises an activation on a node; dispatch it through the bus. Returns how many handlers fired.
fireint fire(int eventType, String targetId, String value)No description in source.
dirtyCountint dirtyCount()The number of nodes needing a host re-sync (dirty), for the mount walk.
nodeAtSLGuiNode nodeAt(int i)No description in source.
autoIdString autoId()No description in source.
removeSubtreevoid removeSubtree(String id)No description in source.
removeNodevoid removeNode(String id)No description in source.

SLGuiEffects #sleela 2.5 (lib/gui/version-thual/SLGuiEffects.sleela)

SLGuiEffects class

Defines SLGuiEffects — the 3.0 (thual) per-component visual-effect bundle. A node may carry one of these to request clean, professional presentation the host renders onto the live widget: lighting + glow, a 3D shine highlight, a drop shadow, a metal look-and-feel, a rotation (fixed or on a schedule), and a fade in/out. Every knob is CLAMPED to a safe window, so a dialed value is never out of range, and toStyle() flattens the bundle into the node's inline-style map (effect-* properties) the SLGuiMount reconciler pushes to the toolkit. SLeeLa owns the intent; the host owns the pixels. The audio-on-activation hook is intentionally a NAME here (a cue the host plays through the audio stack); SLGuiEffects carries the cue + gain, not the sample. Rotation scheduling ("schene") is carried as an SLGuiRotationSchedule so a component can rotate on a cadence; see that class for the crypto-framed internal-memorandum rationale. Family: gui. Attached to SLGuiNode; flattened to style; realized by the host.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
glowint glow--- lighting / glow --- 1 = glow enabled
glowRadiusPxint glowRadiusPxglow spread, 0..64 px
glowIntensityPctint glowIntensityPctglow strength, 0..100 %
glowColorString glowColor"#rrggbb" or a named accent ("accent"/"warning"/...)
shineint shine--- 3D shine highlight --- 1 = 3D specular shine enabled
shineAngleDegint shineAngleDeghighlight light angle, 0..359 deg
shineIntensityPctint shineIntensityPct0..100 %
shadowint shadow--- drop shadow --- 1 = shadow enabled
shadowOffsetXint shadowOffsetX-32..32 px
shadowOffsetYint shadowOffsetY-32..32 px
shadowBlurPxint shadowBlurPx0..64 px
shadowOpacityPctint shadowOpacityPct0..100 %
metalint metal--- metal look-and-feel --- 1 = brushed/metal surface enabled
metalSheenPctint metalSheenPct0..100 % (how reflective the surface reads)
rotationDegint rotationDeg--- rotation --- current fixed rotation, 0..359 deg
scheduleSLGuiRotationSchedule scheduleoptional scheduled "schene" rotation (null = static)
opacityPctint opacityPct--- fade --- 0..100 % current opacity
fadeMillisint fadeMillistransition duration for fade in/out, 0..10000 ms
activationCueString activationCue--- activation audio --- host audio cue name played on activation ("" = silent)
activationGainPctint activationGainPct0..100 % playback gain

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
wrapDegint wrapDeg(int d)No description in source.
enableGlowvoid enableGlow(int radiusPx, int intensityPct, String color)---- lighting / glow ----------------------------------------------------
disableGlowvoid disableGlow()No description in source.
glowOnboolean glowOn()No description in source.
enableShinevoid enableShine(int angleDeg, int intensityPct)---- 3D shine -----------------------------------------------------------
disableShinevoid disableShine()No description in source.
shineOnboolean shineOn()No description in source.
enableShadowvoid enableShadow(int offX, int offY, int blurPx, int opacityPct)---- shadow -------------------------------------------------------------
disableShadowvoid disableShadow()No description in source.
shadowOnboolean shadowOn()No description in source.
enableMetalvoid enableMetal(int sheenPct)---- metal look-and-feel ------------------------------------------------
disableMetalvoid disableMetal()No description in source.
metalOnboolean metalOn()No description in source.
rotateTovoid rotateTo(int deg)---- rotation -----------------------------------------------------------
rotateByvoid rotateBy(int deltaDeg)No description in source.
rotationint rotation()No description in source.
setSchedulevoid setSchedule(SLGuiRotationSchedule s)Attach a scheduled rotation ("schene"): the component rotates on a cadence.
rotationScheduleSLGuiRotationSchedule rotationSchedule()No description in source.
scheduledRotationboolean scheduledRotation()No description in source.
tickRotationboolean tickRotation(int elapsedMillis)Advance a scheduled rotation by `elapsedMillis`; applies the schedule's step when its interval elapses. Returns true when the rotation moved this tick.
setOpacityvoid setOpacity(int pct)---- fade ---------------------------------------------------------------
opacityint opacity()No description in source.
setFadeMillisvoid setFadeMillis(int ms)No description in source.
getFadeMillisint getFadeMillis()No description in source.
fadeInvoid fadeIn()Fade intents: the host animates opacity 0<->100 over fadeMillis. These set the TARGET; a reconciler/host interpolates toward it over the duration.
fadeOutvoid fadeOut()No description in source.
fadedboolean faded()No description in source.
setActivationCuevoid setActivationCue(String cue, int gainPct)---- activation audio ---------------------------------------------------
getActivationCueString getActivationCue()No description in source.
getActivationGainPctint getActivationGainPct()No description in source.
hasActivationAudioboolean hasActivationAudio()No description in source.
honoredboolean honored()Internally consistent when every knob sits in its clamped window.
toStyleString toStyle()Flatten the enabled effects into a node's inline style map via the callback- free convention the mount reconciler reads: the caller applies each returned "effect-*" property. Here we return a single compact descriptor string the host parses; SLGuiMount copies it onto the widget.

SLGuiEffects #sleela 2.5 (lib/gui/version-military/SLGuiEffects.sleela)

SLGuiEffects class

Defines SLGuiEffects — the 3.0 (thual) per-component visual-effect bundle. A node may carry one of these to request clean, professional presentation the host renders onto the live widget: lighting + glow, a 3D shine highlight, a drop shadow, a metal look-and-feel, a rotation (fixed or on a schedule), and a fade in/out. Every knob is CLAMPED to a safe window, so a dialed value is never out of range, and toStyle() flattens the bundle into the node's inline-style map (effect-* properties) the SLGuiMount reconciler pushes to the toolkit. SLeeLa owns the intent; the host owns the pixels. The audio-on-activation hook is intentionally a NAME here (a cue the host plays through the audio stack); SLGuiEffects carries the cue + gain, not the sample. Rotation scheduling ("schene") is carried as an SLGuiRotationSchedule so a component can rotate on a cadence; see that class for the crypto-framed internal-memorandum rationale. Family: gui. Attached to SLGuiNode; flattened to style; realized by the host.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
glowint glow--- lighting / glow --- 1 = glow enabled
glowRadiusPxint glowRadiusPxglow spread, 0..64 px
glowIntensityPctint glowIntensityPctglow strength, 0..100 %
glowColorString glowColor"#rrggbb" or a named accent ("accent"/"warning"/...)
shineint shine--- 3D shine highlight --- 1 = 3D specular shine enabled
shineAngleDegint shineAngleDeghighlight light angle, 0..359 deg
shineIntensityPctint shineIntensityPct0..100 %
shadowint shadow--- drop shadow --- 1 = shadow enabled
shadowOffsetXint shadowOffsetX-32..32 px
shadowOffsetYint shadowOffsetY-32..32 px
shadowBlurPxint shadowBlurPx0..64 px
shadowOpacityPctint shadowOpacityPct0..100 %
metalint metal--- metal look-and-feel --- 1 = brushed/metal surface enabled
metalSheenPctint metalSheenPct0..100 % (how reflective the surface reads)
rotationDegint rotationDeg--- rotation --- current fixed rotation, 0..359 deg
scheduleSLGuiRotationSchedule scheduleoptional scheduled "schene" rotation (null = static)
opacityPctint opacityPct--- fade --- 0..100 % current opacity
fadeMillisint fadeMillistransition duration for fade in/out, 0..10000 ms
activationCueString activationCue--- activation audio --- host audio cue name played on activation ("" = silent)
activationGainPctint activationGainPct0..100 % playback gain

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
wrapDegint wrapDeg(int d)No description in source.
enableGlowvoid enableGlow(int radiusPx, int intensityPct, String color)---- lighting / glow ----------------------------------------------------
disableGlowvoid disableGlow()No description in source.
glowOnboolean glowOn()No description in source.
enableShinevoid enableShine(int angleDeg, int intensityPct)---- 3D shine -----------------------------------------------------------
disableShinevoid disableShine()No description in source.
shineOnboolean shineOn()No description in source.
enableShadowvoid enableShadow(int offX, int offY, int blurPx, int opacityPct)---- shadow -------------------------------------------------------------
disableShadowvoid disableShadow()No description in source.
shadowOnboolean shadowOn()No description in source.
enableMetalvoid enableMetal(int sheenPct)---- metal look-and-feel ------------------------------------------------
disableMetalvoid disableMetal()No description in source.
metalOnboolean metalOn()No description in source.
rotateTovoid rotateTo(int deg)---- rotation -----------------------------------------------------------
rotateByvoid rotateBy(int deltaDeg)No description in source.
rotationint rotation()No description in source.
setSchedulevoid setSchedule(SLGuiRotationSchedule s)Attach a scheduled rotation ("schene"): the component rotates on a cadence.
rotationScheduleSLGuiRotationSchedule rotationSchedule()No description in source.
scheduledRotationboolean scheduledRotation()No description in source.
tickRotationboolean tickRotation(int elapsedMillis)Advance a scheduled rotation by `elapsedMillis`; applies the schedule's step when its interval elapses. Returns true when the rotation moved this tick.
setOpacityvoid setOpacity(int pct)---- fade ---------------------------------------------------------------
opacityint opacity()No description in source.
setFadeMillisvoid setFadeMillis(int ms)No description in source.
getFadeMillisint getFadeMillis()No description in source.
fadeInvoid fadeIn()Fade intents: the host animates opacity 0<->100 over fadeMillis. These set the TARGET; a reconciler/host interpolates toward it over the duration.
fadeOutvoid fadeOut()No description in source.
fadedboolean faded()No description in source.
setActivationCuevoid setActivationCue(String cue, int gainPct)---- activation audio ---------------------------------------------------
getActivationCueString getActivationCue()No description in source.
getActivationGainPctint getActivationGainPct()No description in source.
hasActivationAudioboolean hasActivationAudio()No description in source.
honoredboolean honored()Internally consistent when every knob sits in its clamped window.
toStyleString toStyle()Flatten the enabled effects into a node's inline style map via the callback- free convention the mount reconciler reads: the caller applies each returned "effect-*" property. Here we return a single compact descriptor string the host parses; SLGuiMount copies it onto the widget.

SLGuiEffects #sleela 2.5 (lib/gui/version-dual/SLGuiEffects.sleela)

SLGuiEffects class

Defines SLGuiEffects — the 3.0 (thual) per-component visual-effect bundle. A node may carry one of these to request clean, professional presentation the host renders onto the live widget: lighting + glow, a 3D shine highlight, a drop shadow, a metal look-and-feel, a rotation (fixed or on a schedule), and a fade in/out. Every knob is CLAMPED to a safe window, so a dialed value is never out of range, and toStyle() flattens the bundle into the node's inline-style map (effect-* properties) the SLGuiMount reconciler pushes to the toolkit. SLeeLa owns the intent; the host owns the pixels. The audio-on-activation hook is intentionally a NAME here (a cue the host plays through the audio stack); SLGuiEffects carries the cue + gain, not the sample. Rotation scheduling ("schene") is carried as an SLGuiRotationSchedule so a component can rotate on a cadence; see that class for the crypto-framed internal-memorandum rationale. Family: gui. Attached to SLGuiNode; flattened to style; realized by the host.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
glowint glow--- lighting / glow --- 1 = glow enabled
glowRadiusPxint glowRadiusPxglow spread, 0..64 px
glowIntensityPctint glowIntensityPctglow strength, 0..100 %
glowColorString glowColor"#rrggbb" or a named accent ("accent"/"warning"/...)
shineint shine--- 3D shine highlight --- 1 = 3D specular shine enabled
shineAngleDegint shineAngleDeghighlight light angle, 0..359 deg
shineIntensityPctint shineIntensityPct0..100 %
shadowint shadow--- drop shadow --- 1 = shadow enabled
shadowOffsetXint shadowOffsetX-32..32 px
shadowOffsetYint shadowOffsetY-32..32 px
shadowBlurPxint shadowBlurPx0..64 px
shadowOpacityPctint shadowOpacityPct0..100 %
metalint metal--- metal look-and-feel --- 1 = brushed/metal surface enabled
metalSheenPctint metalSheenPct0..100 % (how reflective the surface reads)
rotationDegint rotationDeg--- rotation --- current fixed rotation, 0..359 deg
scheduleSLGuiRotationSchedule scheduleoptional scheduled "schene" rotation (null = static)
opacityPctint opacityPct--- fade --- 0..100 % current opacity
fadeMillisint fadeMillistransition duration for fade in/out, 0..10000 ms
activationCueString activationCue--- activation audio --- host audio cue name played on activation ("" = silent)
activationGainPctint activationGainPct0..100 % playback gain

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
wrapDegint wrapDeg(int d)No description in source.
enableGlowvoid enableGlow(int radiusPx, int intensityPct, String color)---- lighting / glow ----------------------------------------------------
disableGlowvoid disableGlow()No description in source.
glowOnboolean glowOn()No description in source.
enableShinevoid enableShine(int angleDeg, int intensityPct)---- 3D shine -----------------------------------------------------------
disableShinevoid disableShine()No description in source.
shineOnboolean shineOn()No description in source.
enableShadowvoid enableShadow(int offX, int offY, int blurPx, int opacityPct)---- shadow -------------------------------------------------------------
disableShadowvoid disableShadow()No description in source.
shadowOnboolean shadowOn()No description in source.
enableMetalvoid enableMetal(int sheenPct)---- metal look-and-feel ------------------------------------------------
disableMetalvoid disableMetal()No description in source.
metalOnboolean metalOn()No description in source.
rotateTovoid rotateTo(int deg)---- rotation -----------------------------------------------------------
rotateByvoid rotateBy(int deltaDeg)No description in source.
rotationint rotation()No description in source.
setSchedulevoid setSchedule(SLGuiRotationSchedule s)Attach a scheduled rotation ("schene"): the component rotates on a cadence.
rotationScheduleSLGuiRotationSchedule rotationSchedule()No description in source.
scheduledRotationboolean scheduledRotation()No description in source.
tickRotationboolean tickRotation(int elapsedMillis)Advance a scheduled rotation by `elapsedMillis`; applies the schedule's step when its interval elapses. Returns true when the rotation moved this tick.
setOpacityvoid setOpacity(int pct)---- fade ---------------------------------------------------------------
opacityint opacity()No description in source.
setFadeMillisvoid setFadeMillis(int ms)No description in source.
getFadeMillisint getFadeMillis()No description in source.
fadeInvoid fadeIn()Fade intents: the host animates opacity 0<->100 over fadeMillis. These set the TARGET; a reconciler/host interpolates toward it over the duration.
fadeOutvoid fadeOut()No description in source.
fadedboolean faded()No description in source.
setActivationCuevoid setActivationCue(String cue, int gainPct)---- activation audio ---------------------------------------------------
getActivationCueString getActivationCue()No description in source.
getActivationGainPctint getActivationGainPct()No description in source.
hasActivationAudioboolean hasActivationAudio()No description in source.
honoredboolean honored()Internally consistent when every knob sits in its clamped window.
toStyleString toStyle()Flatten the enabled effects into a node's inline style map via the callback- free convention the mount reconciler reads: the caller applies each returned "effect-*" property. Here we return a single compact descriptor string the host parses; SLGuiMount copies it onto the widget.

SLGuiEvent #sleela 2.5 (lib/gui/version-gual/SLGuiEvent.sleela)

SLGuiEvent class

Defines SLGuiEvent — one dispatched GUI event, the DHTML-style event object a handler receives. It names the event type (an SLGuiEventType ordinal), the target node id it was raised on, and the payload the kind carries: a string value (entry text / changed value), a key name (for key events), pointer coordinates (for pointer events), and a toggle state. It also carries the two propagation controls a handler can set — preventDefault() and stopPropagation() — exactly like a browser event, so SLeeLa handlers can cancel the host's default action or halt bubbling. Family: gui. The host raises the activation; SLeeLa reads this event and decides what it means.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
typeint typeSLGuiEventType ordinal
targetIdString targetIdthe node id the event was raised on
valueString valuestring payload (entry text, changed value, custom data)
keyString keykey name for KEYDOWN/KEYUP (e.g. "Enter", "a")
xint xpointer x within the target (pointer events)
yint ypointer y within the target (pointer events)
toggleStateint toggleState1/0 for TOGGLE events
defaultPreventedint defaultPrevented1 once preventDefault() is called
propagationStoppedint propagationStopped1 once stopPropagation() is called
timestampint timestamphost-supplied monotonic tick (0 if unknown)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int eventType, String target)No description in source.
getTypeint getType()No description in source.
targetString target()No description in source.
setValuevoid setValue(String v)Payload setters (the host fills in what the kind carries).
getValueString getValue()No description in source.
setKeyvoid setKey(String k)No description in source.
getKeyString getKey()No description in source.
setPointervoid setPointer(int px, int py)No description in source.
pointerXint pointerX()No description in source.
pointerYint pointerY()No description in source.
setTogglevoid setToggle(int on)No description in source.
toggledOnboolean toggledOn()No description in source.
setTimestampvoid setTimestamp(int t)No description in source.
whenint when()No description in source.
preventDefaultvoid preventDefault()DHTML-style propagation controls.
isDefaultPreventedboolean isDefaultPrevented()No description in source.
stopPropagationvoid stopPropagation()No description in source.
isPropagationStoppedboolean isPropagationStopped()No description in source.

SLGuiEvent #sleela 2.5 (lib/gui/version-mual/SLGuiEvent.sleela)

SLGuiEvent class

Defines SLGuiEvent — one dispatched GUI event, the DHTML-style event object a handler receives. It names the event type (an SLGuiEventType ordinal), the target node id it was raised on, and the payload the kind carries: a string value (entry text / changed value), a key name (for key events), pointer coordinates (for pointer events), and a toggle state. It also carries the two propagation controls a handler can set — preventDefault() and stopPropagation() — exactly like a browser event, so SLeeLa handlers can cancel the host's default action or halt bubbling. Family: gui. The host raises the activation; SLeeLa reads this event and decides what it means.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
typeint typeSLGuiEventType ordinal
targetIdString targetIdthe node id the event was raised on
valueString valuestring payload (entry text, changed value, custom data)
keyString keykey name for KEYDOWN/KEYUP (e.g. "Enter", "a")
xint xpointer x within the target (pointer events)
yint ypointer y within the target (pointer events)
toggleStateint toggleState1/0 for TOGGLE events
defaultPreventedint defaultPrevented1 once preventDefault() is called
propagationStoppedint propagationStopped1 once stopPropagation() is called
timestampint timestamphost-supplied monotonic tick (0 if unknown)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int eventType, String target)No description in source.
getTypeint getType()No description in source.
targetString target()No description in source.
setValuevoid setValue(String v)Payload setters (the host fills in what the kind carries).
getValueString getValue()No description in source.
setKeyvoid setKey(String k)No description in source.
getKeyString getKey()No description in source.
setPointervoid setPointer(int px, int py)No description in source.
pointerXint pointerX()No description in source.
pointerYint pointerY()No description in source.
setTogglevoid setToggle(int on)No description in source.
toggledOnboolean toggledOn()No description in source.
setTimestampvoid setTimestamp(int t)No description in source.
whenint when()No description in source.
preventDefaultvoid preventDefault()DHTML-style propagation controls.
isDefaultPreventedboolean isDefaultPrevented()No description in source.
stopPropagationvoid stopPropagation()No description in source.
isPropagationStoppedboolean isPropagationStopped()No description in source.

SLGuiEvent #sleela 2.5 (lib/gui/version-thual/SLGuiEvent.sleela)

SLGuiEvent class

Defines SLGuiEvent — one dispatched GUI event, the DHTML-style event object a handler receives. It names the event type (an SLGuiEventType ordinal), the target node id it was raised on, and the payload the kind carries: a string value (entry text / changed value), a key name (for key events), pointer coordinates (for pointer events), and a toggle state. It also carries the two propagation controls a handler can set — preventDefault() and stopPropagation() — exactly like a browser event, so SLeeLa handlers can cancel the host's default action or halt bubbling. Family: gui. The host raises the activation; SLeeLa reads this event and decides what it means.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
typeint typeSLGuiEventType ordinal
targetIdString targetIdthe node id the event was raised on
valueString valuestring payload (entry text, changed value, custom data)
keyString keykey name for KEYDOWN/KEYUP (e.g. "Enter", "a")
xint xpointer x within the target (pointer events)
yint ypointer y within the target (pointer events)
toggleStateint toggleState1/0 for TOGGLE events
defaultPreventedint defaultPrevented1 once preventDefault() is called
propagationStoppedint propagationStopped1 once stopPropagation() is called
timestampint timestamphost-supplied monotonic tick (0 if unknown)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int eventType, String target)No description in source.
getTypeint getType()No description in source.
targetString target()No description in source.
setValuevoid setValue(String v)Payload setters (the host fills in what the kind carries).
getValueString getValue()No description in source.
setKeyvoid setKey(String k)No description in source.
getKeyString getKey()No description in source.
setPointervoid setPointer(int px, int py)No description in source.
pointerXint pointerX()No description in source.
pointerYint pointerY()No description in source.
setTogglevoid setToggle(int on)No description in source.
toggledOnboolean toggledOn()No description in source.
setTimestampvoid setTimestamp(int t)No description in source.
whenint when()No description in source.
preventDefaultvoid preventDefault()DHTML-style propagation controls.
isDefaultPreventedboolean isDefaultPrevented()No description in source.
stopPropagationvoid stopPropagation()No description in source.
isPropagationStoppedboolean isPropagationStopped()No description in source.

SLGuiEvent #sleela 2.5 (lib/gui/version-military/SLGuiEvent.sleela)

SLGuiEvent class

Defines SLGuiEvent — one dispatched GUI event, the DHTML-style event object a handler receives. It names the event type (an SLGuiEventType ordinal), the target node id it was raised on, and the payload the kind carries: a string value (entry text / changed value), a key name (for key events), pointer coordinates (for pointer events), and a toggle state. It also carries the two propagation controls a handler can set — preventDefault() and stopPropagation() — exactly like a browser event, so SLeeLa handlers can cancel the host's default action or halt bubbling. Family: gui. The host raises the activation; SLeeLa reads this event and decides what it means.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
typeint typeSLGuiEventType ordinal
targetIdString targetIdthe node id the event was raised on
valueString valuestring payload (entry text, changed value, custom data)
keyString keykey name for KEYDOWN/KEYUP (e.g. "Enter", "a")
xint xpointer x within the target (pointer events)
yint ypointer y within the target (pointer events)
toggleStateint toggleState1/0 for TOGGLE events
defaultPreventedint defaultPrevented1 once preventDefault() is called
propagationStoppedint propagationStopped1 once stopPropagation() is called
timestampint timestamphost-supplied monotonic tick (0 if unknown)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int eventType, String target)No description in source.
getTypeint getType()No description in source.
targetString target()No description in source.
setValuevoid setValue(String v)Payload setters (the host fills in what the kind carries).
getValueString getValue()No description in source.
setKeyvoid setKey(String k)No description in source.
getKeyString getKey()No description in source.
setPointervoid setPointer(int px, int py)No description in source.
pointerXint pointerX()No description in source.
pointerYint pointerY()No description in source.
setTogglevoid setToggle(int on)No description in source.
toggledOnboolean toggledOn()No description in source.
setTimestampvoid setTimestamp(int t)No description in source.
whenint when()No description in source.
preventDefaultvoid preventDefault()DHTML-style propagation controls.
isDefaultPreventedboolean isDefaultPrevented()No description in source.
stopPropagationvoid stopPropagation()No description in source.
isPropagationStoppedboolean isPropagationStopped()No description in source.

SLGuiEvent #sleela 2.5 (lib/gui/version-dual/SLGuiEvent.sleela)

SLGuiEvent class

Defines SLGuiEvent — one dispatched GUI event, the DHTML-style event object a handler receives. It names the event type (an SLGuiEventType ordinal), the target node id it was raised on, and the payload the kind carries: a string value (entry text / changed value), a key name (for key events), pointer coordinates (for pointer events), and a toggle state. It also carries the two propagation controls a handler can set — preventDefault() and stopPropagation() — exactly like a browser event, so SLeeLa handlers can cancel the host's default action or halt bubbling. Family: gui. The host raises the activation; SLeeLa reads this event and decides what it means.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
typeint typeSLGuiEventType ordinal
targetIdString targetIdthe node id the event was raised on
valueString valuestring payload (entry text, changed value, custom data)
keyString keykey name for KEYDOWN/KEYUP (e.g. "Enter", "a")
xint xpointer x within the target (pointer events)
yint ypointer y within the target (pointer events)
toggleStateint toggleState1/0 for TOGGLE events
defaultPreventedint defaultPrevented1 once preventDefault() is called
propagationStoppedint propagationStopped1 once stopPropagation() is called
timestampint timestamphost-supplied monotonic tick (0 if unknown)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int eventType, String target)No description in source.
getTypeint getType()No description in source.
targetString target()No description in source.
setValuevoid setValue(String v)Payload setters (the host fills in what the kind carries).
getValueString getValue()No description in source.
setKeyvoid setKey(String k)No description in source.
getKeyString getKey()No description in source.
setPointervoid setPointer(int px, int py)No description in source.
pointerXint pointerX()No description in source.
pointerYint pointerY()No description in source.
setTogglevoid setToggle(int on)No description in source.
toggledOnboolean toggledOn()No description in source.
setTimestampvoid setTimestamp(int t)No description in source.
whenint when()No description in source.
preventDefaultvoid preventDefault()DHTML-style propagation controls.
isDefaultPreventedboolean isDefaultPrevented()No description in source.
stopPropagationvoid stopPropagation()No description in source.
isPropagationStoppedboolean isPropagationStopped()No description in source.

SLGuiEventBus #sleela 2.5 (lib/gui/version-gual/SLGuiEventBus.sleela)

SLGuiEventBus class

Defines SLGuiEventBus — the event dispatcher and listener table for the /lib/gui event layer. It is the engine behind addEventListener / removeEventListener and the onClick/onInput shorthands: handlers register against a (type, target) pair, and dispatch(event) delivers a raised SLGuiEvent to every matching SLGuiHandler, honouring the DHTML-style phase order (capture handlers first, then target/bubble), stopPropagation() to halt delivery, and once handlers that auto-remove after firing. The bus is the SLeeLa-owned meaning layer: the host raises typed activations, the bus routes them to the bound operations. Family: gui. SLeeLa owns dispatch and the meaning of events; the host only raises them.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_HANDLERSstatic final int MAX_HANDLERS = 8192No description in source.
handlersSLGuiHandler[] handlersNo description in source.
countint countNo description in source.
lastDeliveredint lastDeliveredhow many handlers the last dispatch fired

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init()No description in source.
sizeint size()No description in source.
addListenerSLGuiHandler addListener(String targetId, int eventType, String operation)addEventListener(target, type, operation): register a handler and return it.
addListenerExSLGuiHandler addListenerEx(String targetId, int eventType, String operation,addEventListener with options (once / capture).
removeListenerboolean removeListener(String targetId, int eventType, String operation)removeEventListener: drop the first handler matching (target, type, op).
removeTargetint removeTarget(String targetId)Remove every handler bound to a target (used when a node is destroyed).
dispatchint dispatch(SLGuiEvent event)Dispatch a raised event: capture-phase handlers first, then bubble-phase, stopping early if a handler calls stopPropagation(). once handlers are removed after they fire. Returns the number of handlers that fired.
deliverPhasevoid deliverPhase(SLGuiEvent event, boolean capturePhase)No description in source.
raiseint raise(int eventType, String targetId, String value)Convenience: build and dispatch a simple typed event with a string value.
pollboolean poll(SLGuiHandler handler)Poll a handler's latch (for hosts that poll rather than get called back).
deliveredLastint deliveredLast()No description in source.
removeAtvoid removeAt(int index)No description in source.
sweepOncevoid sweepOnce()Remove handlers flagged once that have fired at least once.

SLGuiEventBus #sleela 2.5 (lib/gui/version-mual/SLGuiEventBus.sleela)

SLGuiEventBus class

Defines SLGuiEventBus — the event dispatcher and listener table for the /lib/gui event layer. It is the engine behind addEventListener / removeEventListener and the onClick/onInput shorthands: handlers register against a (type, target) pair, and dispatch(event) delivers a raised SLGuiEvent to every matching SLGuiHandler, honouring the DHTML-style phase order (capture handlers first, then target/bubble), stopPropagation() to halt delivery, and once handlers that auto-remove after firing. The bus is the SLeeLa-owned meaning layer: the host raises typed activations, the bus routes them to the bound operations. Family: gui. SLeeLa owns dispatch and the meaning of events; the host only raises them.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_HANDLERSstatic final int MAX_HANDLERS = 8192No description in source.
handlersSLGuiHandler[] handlersNo description in source.
countint countNo description in source.
lastDeliveredint lastDeliveredhow many handlers the last dispatch fired

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init()No description in source.
sizeint size()No description in source.
addListenerSLGuiHandler addListener(String targetId, int eventType, String operation)addEventListener(target, type, operation): register a handler and return it.
addListenerExSLGuiHandler addListenerEx(String targetId, int eventType, String operation,addEventListener with options (once / capture).
removeListenerboolean removeListener(String targetId, int eventType, String operation)removeEventListener: drop the first handler matching (target, type, op).
removeTargetint removeTarget(String targetId)Remove every handler bound to a target (used when a node is destroyed).
dispatchint dispatch(SLGuiEvent event)Dispatch a raised event: capture-phase handlers first, then bubble-phase, stopping early if a handler calls stopPropagation(). once handlers are removed after they fire. Returns the number of handlers that fired.
deliverPhasevoid deliverPhase(SLGuiEvent event, boolean capturePhase)No description in source.
raiseint raise(int eventType, String targetId, String value)Convenience: build and dispatch a simple typed event with a string value.
pollboolean poll(SLGuiHandler handler)Poll a handler's latch (for hosts that poll rather than get called back).
deliveredLastint deliveredLast()No description in source.
removeAtvoid removeAt(int index)No description in source.
sweepOncevoid sweepOnce()Remove handlers flagged once that have fired at least once.

SLGuiEventBus #sleela 2.5 (lib/gui/version-thual/SLGuiEventBus.sleela)

SLGuiEventBus class

Defines SLGuiEventBus — the event dispatcher and listener table for the /lib/gui event layer. It is the engine behind addEventListener / removeEventListener and the onClick/onInput shorthands: handlers register against a (type, target) pair, and dispatch(event) delivers a raised SLGuiEvent to every matching SLGuiHandler, honouring the DHTML-style phase order (capture handlers first, then target/bubble), stopPropagation() to halt delivery, and once handlers that auto-remove after firing. The bus is the SLeeLa-owned meaning layer: the host raises typed activations, the bus routes them to the bound operations. Family: gui. SLeeLa owns dispatch and the meaning of events; the host only raises them.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_HANDLERSstatic final int MAX_HANDLERS = 8192No description in source.
handlersSLGuiHandler[] handlersNo description in source.
countint countNo description in source.
lastDeliveredint lastDeliveredhow many handlers the last dispatch fired

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init()No description in source.
sizeint size()No description in source.
addListenerSLGuiHandler addListener(String targetId, int eventType, String operation)addEventListener(target, type, operation): register a handler and return it.
addListenerExSLGuiHandler addListenerEx(String targetId, int eventType, String operation,addEventListener with options (once / capture).
removeListenerboolean removeListener(String targetId, int eventType, String operation)removeEventListener: drop the first handler matching (target, type, op).
removeTargetint removeTarget(String targetId)Remove every handler bound to a target (used when a node is destroyed).
dispatchint dispatch(SLGuiEvent event)Dispatch a raised event: capture-phase handlers first, then bubble-phase, stopping early if a handler calls stopPropagation(). once handlers are removed after they fire. Returns the number of handlers that fired.
deliverPhasevoid deliverPhase(SLGuiEvent event, boolean capturePhase)No description in source.
raiseint raise(int eventType, String targetId, String value)Convenience: build and dispatch a simple typed event with a string value.
pollboolean poll(SLGuiHandler handler)Poll a handler's latch (for hosts that poll rather than get called back).
deliveredLastint deliveredLast()No description in source.
removeAtvoid removeAt(int index)No description in source.
sweepOncevoid sweepOnce()Remove handlers flagged once that have fired at least once.

SLGuiEventBus #sleela 2.5 (lib/gui/version-military/SLGuiEventBus.sleela)

SLGuiEventBus class

Defines SLGuiEventBus — the event dispatcher and listener table for the /lib/gui event layer. It is the engine behind addEventListener / removeEventListener and the onClick/onInput shorthands: handlers register against a (type, target) pair, and dispatch(event) delivers a raised SLGuiEvent to every matching SLGuiHandler, honouring the DHTML-style phase order (capture handlers first, then target/bubble), stopPropagation() to halt delivery, and once handlers that auto-remove after firing. The bus is the SLeeLa-owned meaning layer: the host raises typed activations, the bus routes them to the bound operations. Family: gui. SLeeLa owns dispatch and the meaning of events; the host only raises them.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_HANDLERSstatic final int MAX_HANDLERS = 8192No description in source.
handlersSLGuiHandler[] handlersNo description in source.
countint countNo description in source.
lastDeliveredint lastDeliveredhow many handlers the last dispatch fired

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init()No description in source.
sizeint size()No description in source.
addListenerSLGuiHandler addListener(String targetId, int eventType, String operation)addEventListener(target, type, operation): register a handler and return it.
addListenerExSLGuiHandler addListenerEx(String targetId, int eventType, String operation,addEventListener with options (once / capture).
removeListenerboolean removeListener(String targetId, int eventType, String operation)removeEventListener: drop the first handler matching (target, type, op).
removeTargetint removeTarget(String targetId)Remove every handler bound to a target (used when a node is destroyed).
dispatchint dispatch(SLGuiEvent event)Dispatch a raised event: capture-phase handlers first, then bubble-phase, stopping early if a handler calls stopPropagation(). once handlers are removed after they fire. Returns the number of handlers that fired.
deliverPhasevoid deliverPhase(SLGuiEvent event, boolean capturePhase)No description in source.
raiseint raise(int eventType, String targetId, String value)Convenience: build and dispatch a simple typed event with a string value.
pollboolean poll(SLGuiHandler handler)Poll a handler's latch (for hosts that poll rather than get called back).
deliveredLastint deliveredLast()No description in source.
removeAtvoid removeAt(int index)No description in source.
sweepOncevoid sweepOnce()Remove handlers flagged once that have fired at least once.

SLGuiEventBus #sleela 2.5 (lib/gui/version-dual/SLGuiEventBus.sleela)

SLGuiEventBus class

Defines SLGuiEventBus — the event dispatcher and listener table for the /lib/gui event layer. It is the engine behind addEventListener / removeEventListener and the onClick/onInput shorthands: handlers register against a (type, target) pair, and dispatch(event) delivers a raised SLGuiEvent to every matching SLGuiHandler, honouring the DHTML-style phase order (capture handlers first, then target/bubble), stopPropagation() to halt delivery, and once handlers that auto-remove after firing. The bus is the SLeeLa-owned meaning layer: the host raises typed activations, the bus routes them to the bound operations. Family: gui. SLeeLa owns dispatch and the meaning of events; the host only raises them.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_HANDLERSstatic final int MAX_HANDLERS = 8192No description in source.
handlersSLGuiHandler[] handlersNo description in source.
countint countNo description in source.
lastDeliveredint lastDeliveredhow many handlers the last dispatch fired

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init()No description in source.
sizeint size()No description in source.
addListenerSLGuiHandler addListener(String targetId, int eventType, String operation)addEventListener(target, type, operation): register a handler and return it.
addListenerExSLGuiHandler addListenerEx(String targetId, int eventType, String operation,addEventListener with options (once / capture).
removeListenerboolean removeListener(String targetId, int eventType, String operation)removeEventListener: drop the first handler matching (target, type, op).
removeTargetint removeTarget(String targetId)Remove every handler bound to a target (used when a node is destroyed).
dispatchint dispatch(SLGuiEvent event)Dispatch a raised event: capture-phase handlers first, then bubble-phase, stopping early if a handler calls stopPropagation(). once handlers are removed after they fire. Returns the number of handlers that fired.
deliverPhasevoid deliverPhase(SLGuiEvent event, boolean capturePhase)No description in source.
raiseint raise(int eventType, String targetId, String value)Convenience: build and dispatch a simple typed event with a string value.
pollboolean poll(SLGuiHandler handler)Poll a handler's latch (for hosts that poll rather than get called back).
deliveredLastint deliveredLast()No description in source.
removeAtvoid removeAt(int index)No description in source.
sweepOncevoid sweepOnce()Remove handlers flagged once that have fired at least once.

SLGuiEventType #sleela 2.5 (lib/gui/version-gual/SLGuiEventType.sleela)

SLGuiEventType class

Defines SLGuiEventType — the catalogue of GUI event kinds the /lib/gui event layer understands. These are the SLeeLa-facing names a handler binds to (the DHTML-style "click", "input", "change", "keydown", ...). The host raises one of these on a target; SLeeLa decides what it means. Each kind has a stable ordinal (used by the dispatch tables) and a canonical lowercase name (the string an onX binding or addEventListener uses), mirroring the activation model already in SLGuiAction. Family: gui. Java/native raise typed activations; SLeeLa owns their meaning.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
CLICKstatic final int CLICK = 0Ordinals (stable; used as table indices). a primary activation (click / Enter / Space)
DBLCLICKstatic final int DBLCLICK = 1a double activation
INPUTstatic final int INPUT = 2live text input (per keystroke)
CHANGEstatic final int CHANGE = 3a committed value change (blur/Enter)
FOCUSstatic final int FOCUS = 4the target gained focus
BLURstatic final int BLUR = 5the target lost focus
KEYDOWNstatic final int KEYDOWN = 6a key went down while focused
KEYUPstatic final int KEYUP = 7a key came up while focused
POINTERDOWNstatic final int POINTERDOWN= 8a pointer press began on the target
POINTERUPstatic final int POINTERUP = 9a pointer press ended on the target
POINTERMOVEstatic final int POINTERMOVE=10the pointer moved over the target
SCROLLstatic final int SCROLL =11the target scrolled
SUBMITstatic final int SUBMIT =12a form-like submit (Enter in an entry)
TOGGLEstatic final int TOGGLE =13a toggle/checkbox flipped
CUSTOMstatic final int CUSTOM =14a host- or script-defined event
COUNTstatic final int COUNT =15number of defined event kinds

Methods — the actions this unit can perform.

MethodSignatureWhat it does
nameOfString nameOf(int type)The canonical lowercase name for an ordinal (the addEventListener string).
typeOfint typeOf(String name)The ordinal for a canonical name (-1 when the name is not recognised).
validboolean valid(int type)No description in source.

SLGuiEventType #sleela 2.5 (lib/gui/version-mual/SLGuiEventType.sleela)

SLGuiEventType class

Defines SLGuiEventType — the catalogue of GUI event kinds the /lib/gui event layer understands. These are the SLeeLa-facing names a handler binds to (the DHTML-style "click", "input", "change", "keydown", ...). The host raises one of these on a target; SLeeLa decides what it means. Each kind has a stable ordinal (used by the dispatch tables) and a canonical lowercase name (the string an onX binding or addEventListener uses), mirroring the activation model already in SLGuiAction. Family: gui. Java/native raise typed activations; SLeeLa owns their meaning.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
CLICKstatic final int CLICK = 0Ordinals (stable; used as table indices). a primary activation (click / Enter / Space)
DBLCLICKstatic final int DBLCLICK = 1a double activation
INPUTstatic final int INPUT = 2live text input (per keystroke)
CHANGEstatic final int CHANGE = 3a committed value change (blur/Enter)
FOCUSstatic final int FOCUS = 4the target gained focus
BLURstatic final int BLUR = 5the target lost focus
KEYDOWNstatic final int KEYDOWN = 6a key went down while focused
KEYUPstatic final int KEYUP = 7a key came up while focused
POINTERDOWNstatic final int POINTERDOWN= 8a pointer press began on the target
POINTERUPstatic final int POINTERUP = 9a pointer press ended on the target
POINTERMOVEstatic final int POINTERMOVE=10the pointer moved over the target
SCROLLstatic final int SCROLL =11the target scrolled
SUBMITstatic final int SUBMIT =12a form-like submit (Enter in an entry)
TOGGLEstatic final int TOGGLE =13a toggle/checkbox flipped
CUSTOMstatic final int CUSTOM =14a host- or script-defined event
COUNTstatic final int COUNT =15number of defined event kinds

Methods — the actions this unit can perform.

MethodSignatureWhat it does
nameOfString nameOf(int type)The canonical lowercase name for an ordinal (the addEventListener string).
typeOfint typeOf(String name)The ordinal for a canonical name (-1 when the name is not recognised).
validboolean valid(int type)No description in source.

SLGuiEventType #sleela 2.5 (lib/gui/version-thual/SLGuiEventType.sleela)

SLGuiEventType class

Defines SLGuiEventType — the catalogue of GUI event kinds the /lib/gui event layer understands. These are the SLeeLa-facing names a handler binds to (the DHTML-style "click", "input", "change", "keydown", ...). The host raises one of these on a target; SLeeLa decides what it means. Each kind has a stable ordinal (used by the dispatch tables) and a canonical lowercase name (the string an onX binding or addEventListener uses), mirroring the activation model already in SLGuiAction. Family: gui. Java/native raise typed activations; SLeeLa owns their meaning.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
CLICKstatic final int CLICK = 0Ordinals (stable; used as table indices). a primary activation (click / Enter / Space)
DBLCLICKstatic final int DBLCLICK = 1a double activation
INPUTstatic final int INPUT = 2live text input (per keystroke)
CHANGEstatic final int CHANGE = 3a committed value change (blur/Enter)
FOCUSstatic final int FOCUS = 4the target gained focus
BLURstatic final int BLUR = 5the target lost focus
KEYDOWNstatic final int KEYDOWN = 6a key went down while focused
KEYUPstatic final int KEYUP = 7a key came up while focused
POINTERDOWNstatic final int POINTERDOWN= 8a pointer press began on the target
POINTERUPstatic final int POINTERUP = 9a pointer press ended on the target
POINTERMOVEstatic final int POINTERMOVE=10the pointer moved over the target
SCROLLstatic final int SCROLL =11the target scrolled
SUBMITstatic final int SUBMIT =12a form-like submit (Enter in an entry)
TOGGLEstatic final int TOGGLE =13a toggle/checkbox flipped
CUSTOMstatic final int CUSTOM =14a host- or script-defined event
COUNTstatic final int COUNT =15number of defined event kinds

Methods — the actions this unit can perform.

MethodSignatureWhat it does
nameOfString nameOf(int type)The canonical lowercase name for an ordinal (the addEventListener string).
typeOfint typeOf(String name)The ordinal for a canonical name (-1 when the name is not recognised).
validboolean valid(int type)No description in source.

SLGuiEventType #sleela 2.5 (lib/gui/version-military/SLGuiEventType.sleela)

SLGuiEventType class

Defines SLGuiEventType — the catalogue of GUI event kinds the /lib/gui event layer understands. These are the SLeeLa-facing names a handler binds to (the DHTML-style "click", "input", "change", "keydown", ...). The host raises one of these on a target; SLeeLa decides what it means. Each kind has a stable ordinal (used by the dispatch tables) and a canonical lowercase name (the string an onX binding or addEventListener uses), mirroring the activation model already in SLGuiAction. Family: gui. Java/native raise typed activations; SLeeLa owns their meaning.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
CLICKstatic final int CLICK = 0Ordinals (stable; used as table indices). a primary activation (click / Enter / Space)
DBLCLICKstatic final int DBLCLICK = 1a double activation
INPUTstatic final int INPUT = 2live text input (per keystroke)
CHANGEstatic final int CHANGE = 3a committed value change (blur/Enter)
FOCUSstatic final int FOCUS = 4the target gained focus
BLURstatic final int BLUR = 5the target lost focus
KEYDOWNstatic final int KEYDOWN = 6a key went down while focused
KEYUPstatic final int KEYUP = 7a key came up while focused
POINTERDOWNstatic final int POINTERDOWN= 8a pointer press began on the target
POINTERUPstatic final int POINTERUP = 9a pointer press ended on the target
POINTERMOVEstatic final int POINTERMOVE=10the pointer moved over the target
SCROLLstatic final int SCROLL =11the target scrolled
SUBMITstatic final int SUBMIT =12a form-like submit (Enter in an entry)
TOGGLEstatic final int TOGGLE =13a toggle/checkbox flipped
CUSTOMstatic final int CUSTOM =14a host- or script-defined event
COUNTstatic final int COUNT =15number of defined event kinds

Methods — the actions this unit can perform.

MethodSignatureWhat it does
nameOfString nameOf(int type)The canonical lowercase name for an ordinal (the addEventListener string).
typeOfint typeOf(String name)The ordinal for a canonical name (-1 when the name is not recognised).
validboolean valid(int type)No description in source.

SLGuiEventType #sleela 2.5 (lib/gui/version-dual/SLGuiEventType.sleela)

SLGuiEventType class

Defines SLGuiEventType — the catalogue of GUI event kinds the /lib/gui event layer understands. These are the SLeeLa-facing names a handler binds to (the DHTML-style "click", "input", "change", "keydown", ...). The host raises one of these on a target; SLeeLa decides what it means. Each kind has a stable ordinal (used by the dispatch tables) and a canonical lowercase name (the string an onX binding or addEventListener uses), mirroring the activation model already in SLGuiAction. Family: gui. Java/native raise typed activations; SLeeLa owns their meaning.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
CLICKstatic final int CLICK = 0Ordinals (stable; used as table indices). a primary activation (click / Enter / Space)
DBLCLICKstatic final int DBLCLICK = 1a double activation
INPUTstatic final int INPUT = 2live text input (per keystroke)
CHANGEstatic final int CHANGE = 3a committed value change (blur/Enter)
FOCUSstatic final int FOCUS = 4the target gained focus
BLURstatic final int BLUR = 5the target lost focus
KEYDOWNstatic final int KEYDOWN = 6a key went down while focused
KEYUPstatic final int KEYUP = 7a key came up while focused
POINTERDOWNstatic final int POINTERDOWN= 8a pointer press began on the target
POINTERUPstatic final int POINTERUP = 9a pointer press ended on the target
POINTERMOVEstatic final int POINTERMOVE=10the pointer moved over the target
SCROLLstatic final int SCROLL =11the target scrolled
SUBMITstatic final int SUBMIT =12a form-like submit (Enter in an entry)
TOGGLEstatic final int TOGGLE =13a toggle/checkbox flipped
CUSTOMstatic final int CUSTOM =14a host- or script-defined event
COUNTstatic final int COUNT =15number of defined event kinds

Methods — the actions this unit can perform.

MethodSignatureWhat it does
nameOfString nameOf(int type)The canonical lowercase name for an ordinal (the addEventListener string).
typeOfint typeOf(String name)The ordinal for a canonical name (-1 when the name is not recognised).
validboolean valid(int type)No description in source.

SLGuiGraphics #sleela 2.5 (lib/gui/version-military/SLGuiGraphics.sleela)

SLGuiGraphics class

Defines SLGuiGraphics — the 4.0 graphics facility AND its control layer for a canvas node. The facility is a bounded, auditable DRAW-COMMAND list (clear / line / rect / circle / arc / text / image) with stroke-width, fill/stroke colors, and opacity state; a command records the current state so the host replays the list deterministically. The control layer carries render quality, antialiasing, a layer index, and a dirty redraw region, so a program can tune how the facility is realised. SLeeLa owns the command list + control state; the host rasterises onto the real surface. This is a graphics *description*, not a general interpreter — a fixed verb set that can do no more than the canvas API allows. Family: gui. Backs a "canvas"/"graphics" node; replayed by the host renderer.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_COMMANDSstatic final int MAX_COMMANDS = 1024No description in source.
OP_CLEARstatic final int OP_CLEAR = 0Draw verbs.
OP_LINEstatic final int OP_LINE = 1No description in source.
OP_RECTstatic final int OP_RECT = 2No description in source.
OP_CIRCLEstatic final int OP_CIRCLE = 3No description in source.
OP_ARCstatic final int OP_ARC = 4No description in source.
OP_TEXTstatic final int OP_TEXT = 5No description in source.
OP_IMAGEstatic final int OP_IMAGE = 6No description in source.
QUALITY_LOWstatic final int QUALITY_LOW = 0Render quality (control layer).
QUALITY_MEDstatic final int QUALITY_MED = 1No description in source.
QUALITY_HIGHstatic final int QUALITY_HIGH = 2No description in source.
opint[] opCommand list (parallel arrays; the surface language has no record arrays).
argString[] argstring operand (text / image asset / color)
countint countNo description in source.
strokeWidthint strokeWidthCurrent pen/brush state applied to each appended command. 1..64
strokeColorString strokeColor"#rrggbb" / named
fillColorString fillColor"#rrggbb" / named / "" = no fill
opacityPctint opacityPct0..100
qualityint qualityControl layer.
antialiasint antialias1 = AA on
layerint layerz layer, 0..15
dirtyint dirty1 when the command list changed since last replay

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int w, int h)No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
setStrokeWidthvoid setStrokeWidth(int px)---- pen / brush state --------------------------------------------------
setStrokeColorvoid setStrokeColor(String color)No description in source.
setFillColorvoid setFillColor(String color)No description in source.
setOpacityvoid setOpacity(int pct)No description in source.
setQualityvoid setQuality(int q)---- control layer ------------------------------------------------------
setAntialiasvoid setAntialias(boolean on)No description in source.
setLayervoid setLayer(int z)No description in source.
markRegionvoid markRegion(int rx, int ry, int rw, int rh)No description in source.
clearRegionvoid clearRegion()No description in source.
pushboolean push(int verb, int p0, int p1, int p2, int p3, String s)---- draw commands ------------------------------------------------------
clearboolean clear()No description in source.
lineboolean line(int x1, int y1, int x2, int y2)No description in source.
rectboolean rect(int rx, int ry, int rw, int rh)No description in source.
circleboolean circle(int cx, int cy, int r)No description in source.
arcboolean arc(int cx, int cy, int r, int sweepDeg)No description in source.
textboolean text(int tx, int ty, String s)No description in source.
imageboolean image(int ix, int iy, int iw, int ih, String asset)No description in source.
resetvoid reset()No description in source.
commandsint commands()---- readers (host replays these) ---------------------------------------
opAtint opAt(int i)No description in source.
aAtint aAt(int i)No description in source.
bAtint bAt(int i)No description in source.
cAtint cAt(int i)No description in source.
dAtint dAt(int i)No description in source.
argAtString argAt(int i)No description in source.
getQualityint getQuality()No description in source.
antialiasOnboolean antialiasOn()No description in source.
getLayerint getLayer()No description in source.
isDirtyboolean isDirty()No description in source.
clearDirtyvoid clearDirty()No description in source.
getWidthint getWidth()No description in source.
getHeightint getHeight()No description in source.
qualityNameString qualityName()No description in source.
honoredboolean honored()No description in source.

SLGuiGraphics #sleela 2.5 (lib/gui/version-dual/SLGuiGraphics.sleela)

SLGuiGraphics class

Defines SLGuiGraphics — the 4.0 graphics facility AND its control layer for a canvas node. The facility is a bounded, auditable DRAW-COMMAND list (clear / line / rect / circle / arc / text / image) with stroke-width, fill/stroke colors, and opacity state; a command records the current state so the host replays the list deterministically. The control layer carries render quality, antialiasing, a layer index, and a dirty redraw region, so a program can tune how the facility is realised. SLeeLa owns the command list + control state; the host rasterises onto the real surface. This is a graphics *description*, not a general interpreter — a fixed verb set that can do no more than the canvas API allows. Family: gui. Backs a "canvas"/"graphics" node; replayed by the host renderer.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_COMMANDSstatic final int MAX_COMMANDS = 1024No description in source.
OP_CLEARstatic final int OP_CLEAR = 0Draw verbs.
OP_LINEstatic final int OP_LINE = 1No description in source.
OP_RECTstatic final int OP_RECT = 2No description in source.
OP_CIRCLEstatic final int OP_CIRCLE = 3No description in source.
OP_ARCstatic final int OP_ARC = 4No description in source.
OP_TEXTstatic final int OP_TEXT = 5No description in source.
OP_IMAGEstatic final int OP_IMAGE = 6No description in source.
QUALITY_LOWstatic final int QUALITY_LOW = 0Render quality (control layer).
QUALITY_MEDstatic final int QUALITY_MED = 1No description in source.
QUALITY_HIGHstatic final int QUALITY_HIGH = 2No description in source.
opint[] opCommand list (parallel arrays; the surface language has no record arrays).
argString[] argstring operand (text / image asset / color)
countint countNo description in source.
strokeWidthint strokeWidthCurrent pen/brush state applied to each appended command. 1..64
strokeColorString strokeColor"#rrggbb" / named
fillColorString fillColor"#rrggbb" / named / "" = no fill
opacityPctint opacityPct0..100
qualityint qualityControl layer.
antialiasint antialias1 = AA on
layerint layerz layer, 0..15
dirtyint dirty1 when the command list changed since last replay

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int w, int h)No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
setStrokeWidthvoid setStrokeWidth(int px)---- pen / brush state --------------------------------------------------
setStrokeColorvoid setStrokeColor(String color)No description in source.
setFillColorvoid setFillColor(String color)No description in source.
setOpacityvoid setOpacity(int pct)No description in source.
setQualityvoid setQuality(int q)---- control layer ------------------------------------------------------
setAntialiasvoid setAntialias(boolean on)No description in source.
setLayervoid setLayer(int z)No description in source.
markRegionvoid markRegion(int rx, int ry, int rw, int rh)No description in source.
clearRegionvoid clearRegion()No description in source.
pushboolean push(int verb, int p0, int p1, int p2, int p3, String s)---- draw commands ------------------------------------------------------
clearboolean clear()No description in source.
lineboolean line(int x1, int y1, int x2, int y2)No description in source.
rectboolean rect(int rx, int ry, int rw, int rh)No description in source.
circleboolean circle(int cx, int cy, int r)No description in source.
arcboolean arc(int cx, int cy, int r, int sweepDeg)No description in source.
textboolean text(int tx, int ty, String s)No description in source.
imageboolean image(int ix, int iy, int iw, int ih, String asset)No description in source.
resetvoid reset()No description in source.
commandsint commands()---- readers (host replays these) ---------------------------------------
opAtint opAt(int i)No description in source.
aAtint aAt(int i)No description in source.
bAtint bAt(int i)No description in source.
cAtint cAt(int i)No description in source.
dAtint dAt(int i)No description in source.
argAtString argAt(int i)No description in source.
getQualityint getQuality()No description in source.
antialiasOnboolean antialiasOn()No description in source.
getLayerint getLayer()No description in source.
isDirtyboolean isDirty()No description in source.
clearDirtyvoid clearDirty()No description in source.
getWidthint getWidth()No description in source.
getHeightint getHeight()No description in source.
qualityNameString qualityName()No description in source.
honoredboolean honored()No description in source.

SLGuiHandler #sleela 2.5 (lib/gui/version-gual/SLGuiHandler.sleela)

SLGuiHandler class

Defines SLGuiHandler — one registered event callback: the triple (event type, target node id, SLeeLa operation). It is the /lib/gui generalisation of SLGuiAction from a single click to any SLGuiEventType, and it is what addEventListener(target, type, operation) and the onClick/onInput shorthands create. When the dispatcher matches a raised SLGuiEvent to this handler it invokes the bound operation; the handler latches each fire so a host that polls (rather than calls back) still observes each activation exactly once, the same take-the-latch discipline as SLGuiAction. Family: gui. The host raises activations; this binding maps them to a SLeeLa operation whose meaning SLeeLa owns.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
typeint typeSLGuiEventType ordinal this handler listens for
targetIdString targetIdnode id it is bound to ("*" matches any target)
operationString operationthe SLeeLa operation invoked when it fires
onceint once1 = auto-remove after the first fire
captureint capture1 = fire during capture phase, 0 = bubble phase
enabledint enabled1 while active
pendingint pendingactivation latch (set on fire, cleared on take)
firedint firedtotal times fired
lastValueString lastValuethe value carried by the most recent matching event

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int eventType, String target, String op)No description in source.
getTypeint getType()No description in source.
getTargetString getTarget()No description in source.
getOperationString getOperation()No description in source.
boundboolean bound()No description in source.
setOncevoid setOnce(boolean on)No description in source.
isOnceboolean isOnce()No description in source.
setCapturevoid setCapture(boolean on)No description in source.
isCaptureboolean isCapture()No description in source.
setEnabledvoid setEnabled(boolean on)No description in source.
isEnabledboolean isEnabled()No description in source.
matchesboolean matches(SLGuiEvent event)Does this handler match the given event? "*" target is a wildcard.
firevoid fire(SLGuiEvent event)Fire against a matching event: record it and raise the latch. The dispatcher calls this; a host that polls then reads it with take().
takeboolean take()Take-the-latch read: true once per fire, then cleared.
activationsint activations()No description in source.
valueString value()No description in source.

SLGuiHandler #sleela 2.5 (lib/gui/version-mual/SLGuiHandler.sleela)

SLGuiHandler class

Defines SLGuiHandler — one registered event callback: the triple (event type, target node id, SLeeLa operation). It is the /lib/gui generalisation of SLGuiAction from a single click to any SLGuiEventType, and it is what addEventListener(target, type, operation) and the onClick/onInput shorthands create. When the dispatcher matches a raised SLGuiEvent to this handler it invokes the bound operation; the handler latches each fire so a host that polls (rather than calls back) still observes each activation exactly once, the same take-the-latch discipline as SLGuiAction. Family: gui. The host raises activations; this binding maps them to a SLeeLa operation whose meaning SLeeLa owns.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
typeint typeSLGuiEventType ordinal this handler listens for
targetIdString targetIdnode id it is bound to ("*" matches any target)
operationString operationthe SLeeLa operation invoked when it fires
onceint once1 = auto-remove after the first fire
captureint capture1 = fire during capture phase, 0 = bubble phase
enabledint enabled1 while active
pendingint pendingactivation latch (set on fire, cleared on take)
firedint firedtotal times fired
lastValueString lastValuethe value carried by the most recent matching event

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int eventType, String target, String op)No description in source.
getTypeint getType()No description in source.
getTargetString getTarget()No description in source.
getOperationString getOperation()No description in source.
boundboolean bound()No description in source.
setOncevoid setOnce(boolean on)No description in source.
isOnceboolean isOnce()No description in source.
setCapturevoid setCapture(boolean on)No description in source.
isCaptureboolean isCapture()No description in source.
setEnabledvoid setEnabled(boolean on)No description in source.
isEnabledboolean isEnabled()No description in source.
matchesboolean matches(SLGuiEvent event)Does this handler match the given event? "*" target is a wildcard.
firevoid fire(SLGuiEvent event)Fire against a matching event: record it and raise the latch. The dispatcher calls this; a host that polls then reads it with take().
takeboolean take()Take-the-latch read: true once per fire, then cleared.
activationsint activations()No description in source.
valueString value()No description in source.

SLGuiHandler #sleela 2.5 (lib/gui/version-thual/SLGuiHandler.sleela)

SLGuiHandler class

Defines SLGuiHandler — one registered event callback: the triple (event type, target node id, SLeeLa operation). It is the /lib/gui generalisation of SLGuiAction from a single click to any SLGuiEventType, and it is what addEventListener(target, type, operation) and the onClick/onInput shorthands create. When the dispatcher matches a raised SLGuiEvent to this handler it invokes the bound operation; the handler latches each fire so a host that polls (rather than calls back) still observes each activation exactly once, the same take-the-latch discipline as SLGuiAction. Family: gui. The host raises activations; this binding maps them to a SLeeLa operation whose meaning SLeeLa owns.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
typeint typeSLGuiEventType ordinal this handler listens for
targetIdString targetIdnode id it is bound to ("*" matches any target)
operationString operationthe SLeeLa operation invoked when it fires
onceint once1 = auto-remove after the first fire
captureint capture1 = fire during capture phase, 0 = bubble phase
enabledint enabled1 while active
pendingint pendingactivation latch (set on fire, cleared on take)
firedint firedtotal times fired
lastValueString lastValuethe value carried by the most recent matching event

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int eventType, String target, String op)No description in source.
getTypeint getType()No description in source.
getTargetString getTarget()No description in source.
getOperationString getOperation()No description in source.
boundboolean bound()No description in source.
setOncevoid setOnce(boolean on)No description in source.
isOnceboolean isOnce()No description in source.
setCapturevoid setCapture(boolean on)No description in source.
isCaptureboolean isCapture()No description in source.
setEnabledvoid setEnabled(boolean on)No description in source.
isEnabledboolean isEnabled()No description in source.
matchesboolean matches(SLGuiEvent event)Does this handler match the given event? "*" target is a wildcard.
firevoid fire(SLGuiEvent event)Fire against a matching event: record it and raise the latch. The dispatcher calls this; a host that polls then reads it with take().
takeboolean take()Take-the-latch read: true once per fire, then cleared.
activationsint activations()No description in source.
valueString value()No description in source.

SLGuiHandler #sleela 2.5 (lib/gui/version-military/SLGuiHandler.sleela)

SLGuiHandler class

Defines SLGuiHandler — one registered event callback: the triple (event type, target node id, SLeeLa operation). It is the /lib/gui generalisation of SLGuiAction from a single click to any SLGuiEventType, and it is what addEventListener(target, type, operation) and the onClick/onInput shorthands create. When the dispatcher matches a raised SLGuiEvent to this handler it invokes the bound operation; the handler latches each fire so a host that polls (rather than calls back) still observes each activation exactly once, the same take-the-latch discipline as SLGuiAction. Family: gui. The host raises activations; this binding maps them to a SLeeLa operation whose meaning SLeeLa owns.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
typeint typeSLGuiEventType ordinal this handler listens for
targetIdString targetIdnode id it is bound to ("*" matches any target)
operationString operationthe SLeeLa operation invoked when it fires
onceint once1 = auto-remove after the first fire
captureint capture1 = fire during capture phase, 0 = bubble phase
enabledint enabled1 while active
pendingint pendingactivation latch (set on fire, cleared on take)
firedint firedtotal times fired
lastValueString lastValuethe value carried by the most recent matching event

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int eventType, String target, String op)No description in source.
getTypeint getType()No description in source.
getTargetString getTarget()No description in source.
getOperationString getOperation()No description in source.
boundboolean bound()No description in source.
setOncevoid setOnce(boolean on)No description in source.
isOnceboolean isOnce()No description in source.
setCapturevoid setCapture(boolean on)No description in source.
isCaptureboolean isCapture()No description in source.
setEnabledvoid setEnabled(boolean on)No description in source.
isEnabledboolean isEnabled()No description in source.
matchesboolean matches(SLGuiEvent event)Does this handler match the given event? "*" target is a wildcard.
firevoid fire(SLGuiEvent event)Fire against a matching event: record it and raise the latch. The dispatcher calls this; a host that polls then reads it with take().
takeboolean take()Take-the-latch read: true once per fire, then cleared.
activationsint activations()No description in source.
valueString value()No description in source.

SLGuiHandler #sleela 2.5 (lib/gui/version-dual/SLGuiHandler.sleela)

SLGuiHandler class

Defines SLGuiHandler — one registered event callback: the triple (event type, target node id, SLeeLa operation). It is the /lib/gui generalisation of SLGuiAction from a single click to any SLGuiEventType, and it is what addEventListener(target, type, operation) and the onClick/onInput shorthands create. When the dispatcher matches a raised SLGuiEvent to this handler it invokes the bound operation; the handler latches each fire so a host that polls (rather than calls back) still observes each activation exactly once, the same take-the-latch discipline as SLGuiAction. Family: gui. The host raises activations; this binding maps them to a SLeeLa operation whose meaning SLeeLa owns.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
typeint typeSLGuiEventType ordinal this handler listens for
targetIdString targetIdnode id it is bound to ("*" matches any target)
operationString operationthe SLeeLa operation invoked when it fires
onceint once1 = auto-remove after the first fire
captureint capture1 = fire during capture phase, 0 = bubble phase
enabledint enabled1 while active
pendingint pendingactivation latch (set on fire, cleared on take)
firedint firedtotal times fired
lastValueString lastValuethe value carried by the most recent matching event

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int eventType, String target, String op)No description in source.
getTypeint getType()No description in source.
getTargetString getTarget()No description in source.
getOperationString getOperation()No description in source.
boundboolean bound()No description in source.
setOncevoid setOnce(boolean on)No description in source.
isOnceboolean isOnce()No description in source.
setCapturevoid setCapture(boolean on)No description in source.
isCaptureboolean isCapture()No description in source.
setEnabledvoid setEnabled(boolean on)No description in source.
isEnabledboolean isEnabled()No description in source.
matchesboolean matches(SLGuiEvent event)Does this handler match the given event? "*" target is a wildcard.
firevoid fire(SLGuiEvent event)Fire against a matching event: record it and raise the latch. The dispatcher calls this; a host that polls then reads it with take().
takeboolean take()Take-the-latch read: true once per fire, then cleared.
activationsint activations()No description in source.
valueString value()No description in source.

SLGuiHost #sleela 2.5 (lib/gui/version-gual/SLGuiHost.sleela)

SLGuiHost class

Defines SLGuiHost — Path 1 of gui/INTEGRATION.md: a Java host owns the process and desktop lifecycle while SLeeLa owns business logic. Mirrors SleelaGuiHost: show(title,w,h, actionOperation) binds the window's action to a SLeeLa operation, and listen(...) ties each document change to a SLeeLa operation whose result is published to the window.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
windowSLGuiWindow windowNo description in source.
actionSLGuiAction actionNo description in source.
listenerSLGuiDocumentListener listenerNo description in source.
changeOperationString changeOperationSLeeLa operation invoked on each doc change
listeningint listeningNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(SLGuiWindow w, SLGuiAction a)No description in source.
showvoid show(String title, int width, int height, String actionOperation)Show the window and bind its action to a SLeeLa operation.
onActionboolean onAction(String result)The host raised the window's action; it maps to the SLeeLa operation whose (non-null) result is published to the window.
listenboolean listen(SLGuiDocumentListener l, String operation)Enable the document-change listener option on the Java host path: SLeeLa stays authoritative for what a change means.
isListeningboolean isListening()No description in source.
onDocumentChangeint onDocumentChange(String documentId, String revision, int realChanges, String operationResult)On a change the host calls `changeOperation`; its result is published, or the window's default refresh is used when the operation returns null.
refreshNowint refreshNow(int realChanges)No description in source.
stopListeningvoid stopListening()No description in source.
closevoid close()No description in source.

SLGuiHost #sleela 2.5 (lib/gui/version-mual/SLGuiHost.sleela)

SLGuiHost class

Defines SLGuiHost — Path 1 of gui/INTEGRATION.md: a Java host owns the process and desktop lifecycle while SLeeLa owns business logic. Mirrors SleelaGuiHost: show(title,w,h, actionOperation) binds the window's action to a SLeeLa operation, and listen(...) ties each document change to a SLeeLa operation whose result is published to the window.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
windowSLGuiWindow windowNo description in source.
actionSLGuiAction actionNo description in source.
listenerSLGuiDocumentListener listenerNo description in source.
changeOperationString changeOperationSLeeLa operation invoked on each doc change
listeningint listeningNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(SLGuiWindow w, SLGuiAction a)No description in source.
showvoid show(String title, int width, int height, String actionOperation)Show the window and bind its action to a SLeeLa operation.
onActionboolean onAction(String result)The host raised the window's action; it maps to the SLeeLa operation whose (non-null) result is published to the window.
listenboolean listen(SLGuiDocumentListener l, String operation)Enable the document-change listener option on the Java host path: SLeeLa stays authoritative for what a change means.
isListeningboolean isListening()No description in source.
onDocumentChangeint onDocumentChange(String documentId, String revision, int realChanges, String operationResult)On a change the host calls `changeOperation`; its result is published, or the window's default refresh is used when the operation returns null.
refreshNowint refreshNow(int realChanges)No description in source.
stopListeningvoid stopListening()No description in source.
closevoid close()No description in source.

SLGuiHost #sleela 2.5 (lib/gui/version-thual/SLGuiHost.sleela)

SLGuiHost class

Defines SLGuiHost — Path 1 of gui/INTEGRATION.md: a Java host owns the process and desktop lifecycle while SLeeLa owns business logic. Mirrors SleelaGuiHost: show(title,w,h, actionOperation) binds the window's action to a SLeeLa operation, and listen(...) ties each document change to a SLeeLa operation whose result is published to the window.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
windowSLGuiWindow windowNo description in source.
actionSLGuiAction actionNo description in source.
listenerSLGuiDocumentListener listenerNo description in source.
changeOperationString changeOperationSLeeLa operation invoked on each doc change
listeningint listeningNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(SLGuiWindow w, SLGuiAction a)No description in source.
showvoid show(String title, int width, int height, String actionOperation)Show the window and bind its action to a SLeeLa operation.
onActionboolean onAction(String result)The host raised the window's action; it maps to the SLeeLa operation whose (non-null) result is published to the window.
listenboolean listen(SLGuiDocumentListener l, String operation)Enable the document-change listener option on the Java host path: SLeeLa stays authoritative for what a change means.
isListeningboolean isListening()No description in source.
onDocumentChangeint onDocumentChange(String documentId, String revision, int realChanges, String operationResult)On a change the host calls `changeOperation`; its result is published, or the window's default refresh is used when the operation returns null.
refreshNowint refreshNow(int realChanges)No description in source.
stopListeningvoid stopListening()No description in source.
closevoid close()No description in source.

SLGuiHost #sleela 2.5 (lib/gui/version-military/SLGuiHost.sleela)

SLGuiHost class

Defines SLGuiHost — Path 1 of gui/INTEGRATION.md: a Java host owns the process and desktop lifecycle while SLeeLa owns business logic. Mirrors SleelaGuiHost: show(title,w,h, actionOperation) binds the window's action to a SLeeLa operation, and listen(...) ties each document change to a SLeeLa operation whose result is published to the window.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
windowSLGuiWindow windowNo description in source.
actionSLGuiAction actionNo description in source.
listenerSLGuiDocumentListener listenerNo description in source.
changeOperationString changeOperationSLeeLa operation invoked on each doc change
listeningint listeningNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(SLGuiWindow w, SLGuiAction a)No description in source.
showvoid show(String title, int width, int height, String actionOperation)Show the window and bind its action to a SLeeLa operation.
onActionboolean onAction(String result)The host raised the window's action; it maps to the SLeeLa operation whose (non-null) result is published to the window.
listenboolean listen(SLGuiDocumentListener l, String operation)Enable the document-change listener option on the Java host path: SLeeLa stays authoritative for what a change means.
isListeningboolean isListening()No description in source.
onDocumentChangeint onDocumentChange(String documentId, String revision, int realChanges, String operationResult)On a change the host calls `changeOperation`; its result is published, or the window's default refresh is used when the operation returns null.
refreshNowint refreshNow(int realChanges)No description in source.
stopListeningvoid stopListening()No description in source.
closevoid close()No description in source.

SLGuiHost #sleela 2.5 (lib/gui/version-dual/SLGuiHost.sleela)

SLGuiHost class

Defines SLGuiHost — Path 1 of gui/INTEGRATION.md: a Java host owns the process and desktop lifecycle while SLeeLa owns business logic. Mirrors SleelaGuiHost: show(title,w,h, actionOperation) binds the window's action to a SLeeLa operation, and listen(...) ties each document change to a SLeeLa operation whose result is published to the window.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
windowSLGuiWindow windowNo description in source.
actionSLGuiAction actionNo description in source.
listenerSLGuiDocumentListener listenerNo description in source.
changeOperationString changeOperationSLeeLa operation invoked on each doc change
listeningint listeningNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(SLGuiWindow w, SLGuiAction a)No description in source.
showvoid show(String title, int width, int height, String actionOperation)Show the window and bind its action to a SLeeLa operation.
onActionboolean onAction(String result)The host raised the window's action; it maps to the SLeeLa operation whose (non-null) result is published to the window.
listenboolean listen(SLGuiDocumentListener l, String operation)Enable the document-change listener option on the Java host path: SLeeLa stays authoritative for what a change means.
isListeningboolean isListening()No description in source.
onDocumentChangeint onDocumentChange(String documentId, String revision, int realChanges, String operationResult)On a change the host calls `changeOperation`; its result is published, or the window's default refresh is used when the operation returns null.
refreshNowint refreshNow(int realChanges)No description in source.
stopListeningvoid stopListening()No description in source.
closevoid close()No description in source.

SLGuiHostAdapter #sleela 2.5 (lib/gui/version-gual/SLGuiHostAdapter.sleela)

SLGuiHostAdapter class

Defines SLGuiHostAdapter — the toolkit->SLeeLa half of the loop. Where SLGuiMount pushes DOM state onto widgets, the host adapter reads the widgets back: once per frame it polls each mounted interactive node's widget activation latch (uiWidgetTakeActivated, the same latch SLButton and SLEntry expose) and, when a widget fired, builds the matching SLGuiEvent (CLICK for a button, SUBMIT for an entry, TOGGLE for a toggle — carrying the widget's current text/toggle state as the event value) and dispatches it through the DOM's SLGuiEventBus so the bound onClick/onSubmit/onToggle handlers fire. This is what turns a real user interaction into a SLeeLa event; the DOM stays authoritative for what the event means. Family: gui. The adapter crosses the `ui*` SLVM bridge inbound; dispatch and meaning stay SLeeLa-owned.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
domSLGuiDom domNo description in source.
mountSLGuiMount mountNo description in source.
factorySLGuiWidgetFactory factoryNo description in source.
tickint tickmonotonic frame counter stamped onto events
raisedLastint raisedLastevents raised on the last poll pass

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document, SLGuiMount mountEngine)No description in source.
pollint poll()Poll every mounted interactive node once; raise an SLGuiEvent for each that fired since the last poll. Returns the number of events dispatched.
raiseForvoid raiseFor(SLGuiNode node, int widgetHandle)Build and dispatch the event a fired widget implies.
raiseInputint raiseInput(String nodeId, String text)Also feed a synthetic input event (per-keystroke) for an entry, used by a host that wants live INPUT handlers in addition to the committed SUBMIT.
raisedCountint raisedCount()No description in source.
frameint frame()No description in source.

SLGuiHostAdapter #sleela 2.5 (lib/gui/version-mual/SLGuiHostAdapter.sleela)

SLGuiHostAdapter class

Defines SLGuiHostAdapter — the toolkit->SLeeLa half of the loop. Where SLGuiMount pushes DOM state onto widgets, the host adapter reads the widgets back: once per frame it polls each mounted interactive node's widget activation latch (uiWidgetTakeActivated, the same latch SLButton and SLEntry expose) and, when a widget fired, builds the matching SLGuiEvent (CLICK for a button, SUBMIT for an entry, TOGGLE for a toggle — carrying the widget's current text/toggle state as the event value) and dispatches it through the DOM's SLGuiEventBus so the bound onClick/onSubmit/onToggle handlers fire. This is what turns a real user interaction into a SLeeLa event; the DOM stays authoritative for what the event means. Family: gui. The adapter crosses the `ui*` SLVM bridge inbound; dispatch and meaning stay SLeeLa-owned.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
domSLGuiDom domNo description in source.
mountSLGuiMount mountNo description in source.
factorySLGuiWidgetFactory factoryNo description in source.
tickint tickmonotonic frame counter stamped onto events
raisedLastint raisedLastevents raised on the last poll pass

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document, SLGuiMount mountEngine)No description in source.
pollint poll()Poll every mounted interactive node once; raise an SLGuiEvent for each that fired since the last poll. Returns the number of events dispatched.
raiseForvoid raiseFor(SLGuiNode node, int widgetHandle)Build and dispatch the event a fired widget implies.
raiseInputint raiseInput(String nodeId, String text)Also feed a synthetic input event (per-keystroke) for an entry, used by a host that wants live INPUT handlers in addition to the committed SUBMIT.
raisedCountint raisedCount()No description in source.
frameint frame()No description in source.

SLGuiHostAdapter #sleela 2.5 (lib/gui/version-thual/SLGuiHostAdapter.sleela)

SLGuiHostAdapter class

Defines SLGuiHostAdapter — the toolkit->SLeeLa half of the loop. Where SLGuiMount pushes DOM state onto widgets, the host adapter reads the widgets back: once per frame it polls each mounted interactive node's widget activation latch (uiWidgetTakeActivated, the same latch SLButton and SLEntry expose) and, when a widget fired, builds the matching SLGuiEvent (CLICK for a button, SUBMIT for an entry, TOGGLE for a toggle — carrying the widget's current text/toggle state as the event value) and dispatches it through the DOM's SLGuiEventBus so the bound onClick/onSubmit/onToggle handlers fire. This is what turns a real user interaction into a SLeeLa event; the DOM stays authoritative for what the event means. Family: gui. The adapter crosses the `ui*` SLVM bridge inbound; dispatch and meaning stay SLeeLa-owned.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
domSLGuiDom domNo description in source.
mountSLGuiMount mountNo description in source.
factorySLGuiWidgetFactory factoryNo description in source.
tickint tickmonotonic frame counter stamped onto events
raisedLastint raisedLastevents raised on the last poll pass

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document, SLGuiMount mountEngine)No description in source.
pollint poll()Poll every mounted interactive node once; raise an SLGuiEvent for each that fired since the last poll. Returns the number of events dispatched.
raiseForvoid raiseFor(SLGuiNode node, int widgetHandle)Build and dispatch the event a fired widget implies.
raiseInputint raiseInput(String nodeId, String text)Also feed a synthetic input event (per-keystroke) for an entry, used by a host that wants live INPUT handlers in addition to the committed SUBMIT.
raisedCountint raisedCount()No description in source.
frameint frame()No description in source.

SLGuiHostAdapter #sleela 2.5 (lib/gui/version-military/SLGuiHostAdapter.sleela)

SLGuiHostAdapter class

Defines SLGuiHostAdapter — the toolkit->SLeeLa half of the loop. Where SLGuiMount pushes DOM state onto widgets, the host adapter reads the widgets back: once per frame it polls each mounted interactive node's widget activation latch (uiWidgetTakeActivated, the same latch SLButton and SLEntry expose) and, when a widget fired, builds the matching SLGuiEvent (CLICK for a button, SUBMIT for an entry, TOGGLE for a toggle — carrying the widget's current text/toggle state as the event value) and dispatches it through the DOM's SLGuiEventBus so the bound onClick/onSubmit/onToggle handlers fire. This is what turns a real user interaction into a SLeeLa event; the DOM stays authoritative for what the event means. Family: gui. The adapter crosses the `ui*` SLVM bridge inbound; dispatch and meaning stay SLeeLa-owned.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
domSLGuiDom domNo description in source.
mountSLGuiMount mountNo description in source.
factorySLGuiWidgetFactory factoryNo description in source.
tickint tickmonotonic frame counter stamped onto events
raisedLastint raisedLastevents raised on the last poll pass

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document, SLGuiMount mountEngine)No description in source.
pollint poll()Poll every mounted interactive node once; raise an SLGuiEvent for each that fired since the last poll. Returns the number of events dispatched.
raiseForvoid raiseFor(SLGuiNode node, int widgetHandle)Build and dispatch the event a fired widget implies.
raiseInputint raiseInput(String nodeId, String text)Also feed a synthetic input event (per-keystroke) for an entry, used by a host that wants live INPUT handlers in addition to the committed SUBMIT.
raisedCountint raisedCount()No description in source.
frameint frame()No description in source.

SLGuiHostAdapter #sleela 2.5 (lib/gui/version-dual/SLGuiHostAdapter.sleela)

SLGuiHostAdapter class

Defines SLGuiHostAdapter — the toolkit->SLeeLa half of the loop. Where SLGuiMount pushes DOM state onto widgets, the host adapter reads the widgets back: once per frame it polls each mounted interactive node's widget activation latch (uiWidgetTakeActivated, the same latch SLButton and SLEntry expose) and, when a widget fired, builds the matching SLGuiEvent (CLICK for a button, SUBMIT for an entry, TOGGLE for a toggle — carrying the widget's current text/toggle state as the event value) and dispatches it through the DOM's SLGuiEventBus so the bound onClick/onSubmit/onToggle handlers fire. This is what turns a real user interaction into a SLeeLa event; the DOM stays authoritative for what the event means. Family: gui. The adapter crosses the `ui*` SLVM bridge inbound; dispatch and meaning stay SLeeLa-owned.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
domSLGuiDom domNo description in source.
mountSLGuiMount mountNo description in source.
factorySLGuiWidgetFactory factoryNo description in source.
tickint tickmonotonic frame counter stamped onto events
raisedLastint raisedLastevents raised on the last poll pass

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document, SLGuiMount mountEngine)No description in source.
pollint poll()Poll every mounted interactive node once; raise an SLGuiEvent for each that fired since the last poll. Returns the number of events dispatched.
raiseForvoid raiseFor(SLGuiNode node, int widgetHandle)Build and dispatch the event a fired widget implies.
raiseInputint raiseInput(String nodeId, String text)Also feed a synthetic input event (per-keystroke) for an entry, used by a host that wants live INPUT handlers in addition to the committed SUBMIT.
raisedCountint raisedCount()No description in source.
frameint frame()No description in source.

SLGuiHtmlRenderer #sleela 2.5 (lib/gui/version-military/SLGuiHtmlRenderer.sleela)

SLGuiHtmlRenderer class

Defines SLGuiHtmlRenderer — the 4.0 HTML renderer surface: a

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
PHASE_IDLEstatic final int PHASE_IDLE = 0Pipeline phases.
PHASE_PARSEstatic final int PHASE_PARSE = 1parsing HTML into a document
PHASE_STYLEstatic final int PHASE_STYLE = 2applying CSS
PHASE_LAYOUTstatic final int PHASE_LAYOUT = 3computing geometry
PHASE_SCRIPTstatic final int PHASE_SCRIPT = 4running JavaScript
PHASE_PAINTstatic final int PHASE_PAINT = 5painting
PHASE_DONEstatic final int PHASE_DONE = 6No description in source.
codecsSLGuiCodecs codecsthe codec registry the renderer consults for media
cssEnabledint cssEnabledCapability/policy settings. 1 = apply author CSS
jsEnabledint jsEnabled1 = run page JavaScript
quickResponseint quickResponse1 = paint first meaningful content before full layout
quickPaintMsint quickPaintMstarget time-to-first-paint budget (ms), 1..5000
jsTimeoutMsint jsTimeoutMsper-script budget before the host aborts it, 0..60000
incrementalint incremental1 = stream/parse incrementally for responsiveness
phaseint phasePipeline state (host-reported progress).
domNodesint domNodeshost-reported element count
styleRulesint styleRuleshost-reported CSS rule count
scriptsRunint scriptsRunJS scripts executed
firstPaintMsint firstPaintMsmeasured time to first paint (0 until painted)
mediaBlockedint mediaBlockedcount of media elements refused for missing codec

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
setCssEnabledvoid setCssEnabled(boolean on)---- policy -------------------------------------------------------------
setJsEnabledvoid setJsEnabled(boolean on)No description in source.
setQuickResponsevoid setQuickResponse(boolean on)No description in source.
setQuickPaintMsvoid setQuickPaintMs(int ms)No description in source.
setJsTimeoutMsvoid setJsTimeoutMs(int ms)No description in source.
setIncrementalvoid setIncremental(boolean on)No description in source.
cssOnboolean cssOn()No description in source.
jsOnboolean jsOn()No description in source.
quickResponseOnboolean quickResponseOn()No description in source.
getQuickPaintMsint getQuickPaintMs()No description in source.
getJsTimeoutMsint getJsTimeoutMs()No description in source.
codecRegistrySLGuiCodecs codecRegistry()No description in source.
rendervoid render()---- the render pipeline ------------------------------------------------ Begin rendering an HTML document (called by the URL bar on an HTML 200).
onParsedvoid onParsed(int nodeCount)Host progress callbacks as it works the pipeline.
onStyledvoid onStyled(int ruleCount)No description in source.
onFirstPaintvoid onFirstPaint(int atMs)Quick-response fast path: the host reports first meaningful paint early.
runScriptboolean runScript()Run one script (gated by jsEnabled); the host enforces jsTimeoutMs.
onPaintedvoid onPainted()No description in source.
responsiveboolean responsive()Is first paint within the quick-response budget? (responsiveness check)
acceptMediaCodecboolean acceptMediaCodec(String codecName)---- codec-aware media gate --------------------------------------------- Before the host builds a media control for a <video>/<audio>/<source>, the renderer asks whether the system can play the named codec. A refused media element increments mediaBlocked so the page can show a graceful fallback.
acceptMediaExtensionboolean acceptMediaExtension(String ext)Same, resolved from a source URL/file extension (e.g. ".opus").
supportedCodecCountint supportedCodecCount()Expose the codec list to the page's capability query (navigator-style).
canPlayTypeboolean canPlayType(String mime)No description in source.
getPhaseint getPhase()---- readers ------------------------------------------------------------
renderingboolean rendering()No description in source.
doneboolean done()No description in source.
nodesint nodes()No description in source.
rulesint rules()No description in source.
scriptsint scripts()No description in source.
firstPaintint firstPaint()No description in source.
blockedMediaint blockedMedia()No description in source.
phaseNameString phaseName()No description in source.
honoredboolean honored()No description in source.

SLGuiHtmlRenderer #sleela 2.5 (lib/gui/version-dual/SLGuiHtmlRenderer.sleela)

SLGuiHtmlRenderer class

Defines SLGuiHtmlRenderer — the 4.0 HTML renderer surface: a

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
PHASE_IDLEstatic final int PHASE_IDLE = 0Pipeline phases.
PHASE_PARSEstatic final int PHASE_PARSE = 1parsing HTML into a document
PHASE_STYLEstatic final int PHASE_STYLE = 2applying CSS
PHASE_LAYOUTstatic final int PHASE_LAYOUT = 3computing geometry
PHASE_SCRIPTstatic final int PHASE_SCRIPT = 4running JavaScript
PHASE_PAINTstatic final int PHASE_PAINT = 5painting
PHASE_DONEstatic final int PHASE_DONE = 6No description in source.
codecsSLGuiCodecs codecsthe codec registry the renderer consults for media
cssEnabledint cssEnabledCapability/policy settings. 1 = apply author CSS
jsEnabledint jsEnabled1 = run page JavaScript
quickResponseint quickResponse1 = paint first meaningful content before full layout
quickPaintMsint quickPaintMstarget time-to-first-paint budget (ms), 1..5000
jsTimeoutMsint jsTimeoutMsper-script budget before the host aborts it, 0..60000
incrementalint incremental1 = stream/parse incrementally for responsiveness
phaseint phasePipeline state (host-reported progress).
domNodesint domNodeshost-reported element count
styleRulesint styleRuleshost-reported CSS rule count
scriptsRunint scriptsRunJS scripts executed
firstPaintMsint firstPaintMsmeasured time to first paint (0 until painted)
mediaBlockedint mediaBlockedcount of media elements refused for missing codec

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
setCssEnabledvoid setCssEnabled(boolean on)---- policy -------------------------------------------------------------
setJsEnabledvoid setJsEnabled(boolean on)No description in source.
setQuickResponsevoid setQuickResponse(boolean on)No description in source.
setQuickPaintMsvoid setQuickPaintMs(int ms)No description in source.
setJsTimeoutMsvoid setJsTimeoutMs(int ms)No description in source.
setIncrementalvoid setIncremental(boolean on)No description in source.
cssOnboolean cssOn()No description in source.
jsOnboolean jsOn()No description in source.
quickResponseOnboolean quickResponseOn()No description in source.
getQuickPaintMsint getQuickPaintMs()No description in source.
getJsTimeoutMsint getJsTimeoutMs()No description in source.
codecRegistrySLGuiCodecs codecRegistry()No description in source.
rendervoid render()---- the render pipeline ------------------------------------------------ Begin rendering an HTML document (called by the URL bar on an HTML 200).
onParsedvoid onParsed(int nodeCount)Host progress callbacks as it works the pipeline.
onStyledvoid onStyled(int ruleCount)No description in source.
onFirstPaintvoid onFirstPaint(int atMs)Quick-response fast path: the host reports first meaningful paint early.
runScriptboolean runScript()Run one script (gated by jsEnabled); the host enforces jsTimeoutMs.
onPaintedvoid onPainted()No description in source.
responsiveboolean responsive()Is first paint within the quick-response budget? (responsiveness check)
acceptMediaCodecboolean acceptMediaCodec(String codecName)---- codec-aware media gate --------------------------------------------- Before the host builds a media control for a <video>/<audio>/<source>, the renderer asks whether the system can play the named codec. A refused media element increments mediaBlocked so the page can show a graceful fallback.
acceptMediaExtensionboolean acceptMediaExtension(String ext)Same, resolved from a source URL/file extension (e.g. ".opus").
supportedCodecCountint supportedCodecCount()Expose the codec list to the page's capability query (navigator-style).
canPlayTypeboolean canPlayType(String mime)No description in source.
getPhaseint getPhase()---- readers ------------------------------------------------------------
renderingboolean rendering()No description in source.
doneboolean done()No description in source.
nodesint nodes()No description in source.
rulesint rules()No description in source.
scriptsint scripts()No description in source.
firstPaintint firstPaint()No description in source.
blockedMediaint blockedMedia()No description in source.
phaseNameString phaseName()No description in source.
honoredboolean honored()No description in source.

SLGuiIcon #sleela 2.5 (lib/gui/version-military/SLGuiIcon.sleela)

SLGuiIcon class

Defines SLGuiIcon — a carefully sized, precisely placed icon that can be attached to a button, a menu item, or any clickable component. It carries an asset name, a size TIER (a small set of calm, matched sizes so icons read consistently across the UI rather than at arbitrary pixel sizes), a POSITION relative to the label (leading / trailing / top / icon- only), a gap between icon and label, a tint, and an optical-alignment nudge so an icon sits visually centred (not just geometrically). The point is aesthetic calm: every icon is one of a few matched sizes, placed perfectly for the component it rides on. Family: gui. Attached to a node (via SLGuiIconHost / effects) on buttons, menu items, and clickables; the host paints the asset at the computed rect.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
SIZE_XSstatic final int SIZE_XS = 0Matched size tiers (px) — a calm, consistent scale, not arbitrary sizes. 12 px (dense toolbars / inline)
SIZE_SMstatic final int SIZE_SM = 116 px (menu items)
SIZE_MDstatic final int SIZE_MD = 220 px (standard buttons)
SIZE_LGstatic final int SIZE_LG = 328 px (primary actions)
SIZE_XLstatic final int SIZE_XL = 440 px (feature tiles)
POS_LEADINGstatic final int POS_LEADING = 0Placement of the icon relative to the component's label. before the label (default LTR)
POS_TRAILINGstatic final int POS_TRAILING = 1after the label
POS_TOPstatic final int POS_TOP = 2above the label (stacked)
POS_ONLYstatic final int POS_ONLY = 3icon only, no label
assetString assethost-resolvable icon name/path
sizeTierint sizeTierSIZE_*
positionint positionPOS_*
gapPxint gapPxgap between icon and label, 0..24
tintString tintcolor tint ("accent"/"#rrggbb"/"" = asset's own color)
opticalDxint opticalDxhorizontal optical-centering nudge, -6..6 px
opticalDyint opticalDyvertical optical-centering nudge, -6..6 px

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String iconAsset)No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
setSizeTiervoid setSizeTier(int t)No description in source.
setPositionvoid setPosition(int p)No description in source.
setGapPxvoid setGapPx(int px)No description in source.
setTintvoid setTint(String color)No description in source.
setOpticalNudgevoid setOpticalNudge(int dx, int dy)Nudge the icon a few px for true optical centering (not just geometric).
sizePxint sizePx()The matched pixel size for the tier.
asset_String asset_()No description in source.
hasAssetboolean hasAsset()No description in source.
getSizeTierint getSizeTier()No description in source.
getPositionint getPosition()No description in source.
getGapPxint getGapPx()No description in source.
getTintString getTint()No description in source.
iconOnlyboolean iconOnly()No description in source.
positionNameString positionName()No description in source.
sizeNameString sizeName()No description in source.
toStyleString toStyle()Serialize to a node style descriptor the reconciler applies ("icon:...").
validboolean valid()No description in source.

SLGuiIntegration #sleela 2.5 (lib/gui/version-gual/SLGuiIntegration.sleela)

SLGuiIntegration class

Defines SLGuiIntegration — the recommended combined architecture from gui/INTEGRATION.md. The three complementary paths are not mutually exclusive: SLeeLa owns business logic, state transitions, and the meaning of events; Java owns Swing/JavaFX presentation and desktop lifecycle; the native bridge provides a stable low-level boundary to the C/C++ core.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
PATH_JAVA_HOSTint PATH_JAVA_HOST = 1Path 1: Java host -> SLeeLa business logic
PATH_SLEELA_INTENTint PATH_SLEELA_INTENT = 2Path 2: SLeeLa intent -> Java GUI
PATH_NATIVE_ABIint PATH_NATIVE_ABI = 3Path 3: shared native ABI bridge
path1int path1enabled flags for the three paths
path2int path2No description in source.
path3int path3No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
enableJavaHostvoid enableJavaHost()No description in source.
enableSleelaIntentvoid enableSleelaIntent()No description in source.
enableNativeAbivoid enableNativeAbi()No description in source.
javaHostboolean javaHost()No description in source.
sleelaIntentboolean sleelaIntent()No description in source.
nativeAbiboolean nativeAbi()No description in source.
recommendedboolean recommended()The preferred long-term architecture uses all three layers.
enabledPathsint enabledPaths()No description in source.
businessLogicOwnerString businessLogicOwner()Who owns business logic in this posture (always SLeeLa, by contract).
presentationOwnerString presentationOwner()Who owns presentation / desktop lifecycle.
nativeBoundaryOwnerString nativeBoundaryOwner()Who owns the low-level boundary to the execution core.

SLGuiIntegration #sleela 2.5 (lib/gui/version-mual/SLGuiIntegration.sleela)

SLGuiIntegration class

Defines SLGuiIntegration — the recommended combined architecture from gui/INTEGRATION.md. The three complementary paths are not mutually exclusive: SLeeLa owns business logic, state transitions, and the meaning of events; Java owns Swing/JavaFX presentation and desktop lifecycle; the native bridge provides a stable low-level boundary to the C/C++ core.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
PATH_JAVA_HOSTint PATH_JAVA_HOST = 1Path 1: Java host -> SLeeLa business logic
PATH_SLEELA_INTENTint PATH_SLEELA_INTENT = 2Path 2: SLeeLa intent -> Java GUI
PATH_NATIVE_ABIint PATH_NATIVE_ABI = 3Path 3: shared native ABI bridge
path1int path1enabled flags for the three paths
path2int path2No description in source.
path3int path3No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
enableJavaHostvoid enableJavaHost()No description in source.
enableSleelaIntentvoid enableSleelaIntent()No description in source.
enableNativeAbivoid enableNativeAbi()No description in source.
javaHostboolean javaHost()No description in source.
sleelaIntentboolean sleelaIntent()No description in source.
nativeAbiboolean nativeAbi()No description in source.
recommendedboolean recommended()The preferred long-term architecture uses all three layers.
enabledPathsint enabledPaths()No description in source.
businessLogicOwnerString businessLogicOwner()Who owns business logic in this posture (always SLeeLa, by contract).
presentationOwnerString presentationOwner()Who owns presentation / desktop lifecycle.
nativeBoundaryOwnerString nativeBoundaryOwner()Who owns the low-level boundary to the execution core.

SLGuiIntegration #sleela 2.5 (lib/gui/version-thual/SLGuiIntegration.sleela)

SLGuiIntegration class

Defines SLGuiIntegration — the recommended combined architecture from gui/INTEGRATION.md. The three complementary paths are not mutually exclusive: SLeeLa owns business logic, state transitions, and the meaning of events; Java owns Swing/JavaFX presentation and desktop lifecycle; the native bridge provides a stable low-level boundary to the C/C++ core.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
PATH_JAVA_HOSTint PATH_JAVA_HOST = 1Path 1: Java host -> SLeeLa business logic
PATH_SLEELA_INTENTint PATH_SLEELA_INTENT = 2Path 2: SLeeLa intent -> Java GUI
PATH_NATIVE_ABIint PATH_NATIVE_ABI = 3Path 3: shared native ABI bridge
path1int path1enabled flags for the three paths
path2int path2No description in source.
path3int path3No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
enableJavaHostvoid enableJavaHost()No description in source.
enableSleelaIntentvoid enableSleelaIntent()No description in source.
enableNativeAbivoid enableNativeAbi()No description in source.
javaHostboolean javaHost()No description in source.
sleelaIntentboolean sleelaIntent()No description in source.
nativeAbiboolean nativeAbi()No description in source.
recommendedboolean recommended()The preferred long-term architecture uses all three layers.
enabledPathsint enabledPaths()No description in source.
businessLogicOwnerString businessLogicOwner()Who owns business logic in this posture (always SLeeLa, by contract).
presentationOwnerString presentationOwner()Who owns presentation / desktop lifecycle.
nativeBoundaryOwnerString nativeBoundaryOwner()Who owns the low-level boundary to the execution core.

SLGuiIntegration #sleela 2.5 (lib/gui/version-military/SLGuiIntegration.sleela)

SLGuiIntegration class

Defines SLGuiIntegration — the recommended combined architecture from gui/INTEGRATION.md. The three complementary paths are not mutually exclusive: SLeeLa owns business logic, state transitions, and the meaning of events; Java owns Swing/JavaFX presentation and desktop lifecycle; the native bridge provides a stable low-level boundary to the C/C++ core.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
PATH_JAVA_HOSTint PATH_JAVA_HOST = 1Path 1: Java host -> SLeeLa business logic
PATH_SLEELA_INTENTint PATH_SLEELA_INTENT = 2Path 2: SLeeLa intent -> Java GUI
PATH_NATIVE_ABIint PATH_NATIVE_ABI = 3Path 3: shared native ABI bridge
path1int path1enabled flags for the three paths
path2int path2No description in source.
path3int path3No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
enableJavaHostvoid enableJavaHost()No description in source.
enableSleelaIntentvoid enableSleelaIntent()No description in source.
enableNativeAbivoid enableNativeAbi()No description in source.
javaHostboolean javaHost()No description in source.
sleelaIntentboolean sleelaIntent()No description in source.
nativeAbiboolean nativeAbi()No description in source.
recommendedboolean recommended()The preferred long-term architecture uses all three layers.
enabledPathsint enabledPaths()No description in source.
businessLogicOwnerString businessLogicOwner()Who owns business logic in this posture (always SLeeLa, by contract).
presentationOwnerString presentationOwner()Who owns presentation / desktop lifecycle.
nativeBoundaryOwnerString nativeBoundaryOwner()Who owns the low-level boundary to the execution core.

SLGuiIntegration #sleela 2.5 (lib/gui/version-dual/SLGuiIntegration.sleela)

SLGuiIntegration class

Defines SLGuiIntegration — the recommended combined architecture from gui/INTEGRATION.md. The three complementary paths are not mutually exclusive: SLeeLa owns business logic, state transitions, and the meaning of events; Java owns Swing/JavaFX presentation and desktop lifecycle; the native bridge provides a stable low-level boundary to the C/C++ core.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
PATH_JAVA_HOSTint PATH_JAVA_HOST = 1Path 1: Java host -> SLeeLa business logic
PATH_SLEELA_INTENTint PATH_SLEELA_INTENT = 2Path 2: SLeeLa intent -> Java GUI
PATH_NATIVE_ABIint PATH_NATIVE_ABI = 3Path 3: shared native ABI bridge
path1int path1enabled flags for the three paths
path2int path2No description in source.
path3int path3No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
enableJavaHostvoid enableJavaHost()No description in source.
enableSleelaIntentvoid enableSleelaIntent()No description in source.
enableNativeAbivoid enableNativeAbi()No description in source.
javaHostboolean javaHost()No description in source.
sleelaIntentboolean sleelaIntent()No description in source.
nativeAbiboolean nativeAbi()No description in source.
recommendedboolean recommended()The preferred long-term architecture uses all three layers.
enabledPathsint enabledPaths()No description in source.
businessLogicOwnerString businessLogicOwner()Who owns business logic in this posture (always SLeeLa, by contract).
presentationOwnerString presentationOwner()Who owns presentation / desktop lifecycle.
nativeBoundaryOwnerString nativeBoundaryOwner()Who owns the low-level boundary to the execution core.

SLGuiKind #sleela 2.5 (lib/gui/version-military/SLGuiKind.sleela)

SLGuiKind class

Defines SLGuiKind — the explicit CONTAINER vs COMPONENT taxonomy for the military GUI line. Every node tag is classified as either a CONTAINER (it holds and lays out children — window, box, frame, header, status, grid) or a COMPONENT (a leaf control the user interacts with or reads — button, label, entry, toggle, recorder, video, urlbar, circle, canvas, html, crypto selector, certificate store, menu item). It also states which kinds may carry an ICON (buttons, menu items, and clickable components), so icons are only offered where they belong. This makes the distinction a first-class, queryable fact rather than something implied by the widget factory's construction branch. Family: gui. Pure classification; consulted by the factory, mount, and the icon system to decide layout role and icon eligibility.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
KIND_UNKNOWNstatic final int KIND_UNKNOWN = 0No description in source.
KIND_CONTAINERstatic final int KIND_CONTAINER = 1holds + lays out children
KIND_COMPONENTstatic final int KIND_COMPONENT = 2a leaf control

Methods — the actions this unit can perform.

MethodSignatureWhat it does
kindOfint kindOf(String tag)Classify a tag as a container or a component.
isContainerboolean isContainer(String tag)No description in source.
isComponentboolean isComponent(String tag)No description in source.
isClickableboolean isClickable(String tag)Interactive = a component the user activates (not a static label/spacer).
iconEligibleboolean iconEligible(String tag)Icons are allowed on buttons, menu items, and clickable components.
kindNameString kindName(int kind)No description in source.
describeString describe(String tag)No description in source.

SLGuiLayout #sleela 2.5 (lib/gui/version-military/SLGuiLayout.sleela)

SLGuiLayout class

Defines SLGuiLayout — the 4.0 layout + exact-positioning surface. It lets a component be placed EXACTLY (absolute x/y/width/height in px) or be governed by a layout MODE (flow / grid / anchor / dock) with alignment, padding, and inter-child gap. It also carries anchor edges (left/top/right/ bottom) and a dock side so a child tracks its parent's resize predictably. SLeeLa declares the geometry intent precisely; the host realises it on the toolkit. Every value is validated/clamped; honored() checks consistency. Family: gui. Attached to a node (or a container) to drive placement; read by SLGuiMount when it positions the widget.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MODE_FLOWstatic final int MODE_FLOW = 0Layout mode for a container's children. pack children in order (box-like)
MODE_GRIDstatic final int MODE_GRID = 1rows x cols grid
MODE_ANCHORstatic final int MODE_ANCHOR = 2anchor edges to the parent
MODE_ABSOLUTEstatic final int MODE_ABSOLUTE = 3exact x/y/w/h, no auto layout
MODE_DOCKstatic final int MODE_DOCK = 4dock to a parent side
ALIGN_STARTstatic final int ALIGN_START = 0Alignment within the available space.
ALIGN_CENTERstatic final int ALIGN_CENTER = 1No description in source.
ALIGN_ENDstatic final int ALIGN_END = 2No description in source.
ALIGN_STRETCHstatic final int ALIGN_STRETCH= 3No description in source.
DOCK_NONEstatic final int DOCK_NONE = 0Dock sides.
DOCK_LEFTstatic final int DOCK_LEFT = 1; static final int DOCK_TOP = 2No description in source.
DOCK_RIGHTstatic final int DOCK_RIGHT = 3; static final int DOCK_BOTTOM = 4No description in source.
DOCK_FILLstatic final int DOCK_FILL = 5No description in source.
modeint modeNo description in source.
gapPxint gapPxgap between children, 0..256
dockint dockDOCK_* for MODE_DOCK

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
placeExactvoid placeExact(int px, int py, int w, int h)---- exact positioning -------------------------------------------------- Place a component exactly (switches the mode to ABSOLUTE).
moveTovoid moveTo(int px, int py)No description in source.
resizeTovoid resizeTo(int w, int h)No description in source.
getXint getX()No description in source.
getYint getY()No description in source.
getWidthint getWidth()No description in source.
getHeightint getHeight()No description in source.
flowvoid flow(int horizontalAlign, int verticalAlign)---- layout modes -------------------------------------------------------
gridvoid grid(int r, int c)No description in source.
anchorvoid anchor(boolean left, boolean top, boolean right, boolean bottom)No description in source.
dockTovoid dockTo(int side)No description in source.
validAlignint validAlign(int a)No description in source.
setGapvoid setGap(int px)---- spacing ------------------------------------------------------------
setPaddingvoid setPadding(int l, int t, int r, int b)No description in source.
setPaddingAllvoid setPaddingAll(int p)No description in source.
getModeint getMode()---- readers ------------------------------------------------------------
getRowsint getRows()No description in source.
getColsint getCols()No description in source.
getGapint getGap()No description in source.
getAlignHint getAlignH()No description in source.
getAlignVint getAlignV()No description in source.
getDockint getDock()No description in source.
absoluteboolean absolute()No description in source.
modeNameString modeName()No description in source.
toStyleString toStyle()Serialize to a style descriptor the reconciler applies ("layout:...").
honoredboolean honored()No description in source.

SLGuiLayout #sleela 2.5 (lib/gui/version-dual/SLGuiLayout.sleela)

SLGuiLayout class

Defines SLGuiLayout — the 4.0 layout + exact-positioning surface. It lets a component be placed EXACTLY (absolute x/y/width/height in px) or be governed by a layout MODE (flow / grid / anchor / dock) with alignment, padding, and inter-child gap. It also carries anchor edges (left/top/right/ bottom) and a dock side so a child tracks its parent's resize predictably. SLeeLa declares the geometry intent precisely; the host realises it on the toolkit. Every value is validated/clamped; honored() checks consistency. Family: gui. Attached to a node (or a container) to drive placement; read by SLGuiMount when it positions the widget.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MODE_FLOWstatic final int MODE_FLOW = 0Layout mode for a container's children. pack children in order (box-like)
MODE_GRIDstatic final int MODE_GRID = 1rows x cols grid
MODE_ANCHORstatic final int MODE_ANCHOR = 2anchor edges to the parent
MODE_ABSOLUTEstatic final int MODE_ABSOLUTE = 3exact x/y/w/h, no auto layout
MODE_DOCKstatic final int MODE_DOCK = 4dock to a parent side
ALIGN_STARTstatic final int ALIGN_START = 0Alignment within the available space.
ALIGN_CENTERstatic final int ALIGN_CENTER = 1No description in source.
ALIGN_ENDstatic final int ALIGN_END = 2No description in source.
ALIGN_STRETCHstatic final int ALIGN_STRETCH= 3No description in source.
DOCK_NONEstatic final int DOCK_NONE = 0Dock sides.
DOCK_LEFTstatic final int DOCK_LEFT = 1; static final int DOCK_TOP = 2No description in source.
DOCK_RIGHTstatic final int DOCK_RIGHT = 3; static final int DOCK_BOTTOM = 4No description in source.
DOCK_FILLstatic final int DOCK_FILL = 5No description in source.
modeint modeNo description in source.
gapPxint gapPxgap between children, 0..256
dockint dockDOCK_* for MODE_DOCK

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
placeExactvoid placeExact(int px, int py, int w, int h)---- exact positioning -------------------------------------------------- Place a component exactly (switches the mode to ABSOLUTE).
moveTovoid moveTo(int px, int py)No description in source.
resizeTovoid resizeTo(int w, int h)No description in source.
getXint getX()No description in source.
getYint getY()No description in source.
getWidthint getWidth()No description in source.
getHeightint getHeight()No description in source.
flowvoid flow(int horizontalAlign, int verticalAlign)---- layout modes -------------------------------------------------------
gridvoid grid(int r, int c)No description in source.
anchorvoid anchor(boolean left, boolean top, boolean right, boolean bottom)No description in source.
dockTovoid dockTo(int side)No description in source.
validAlignint validAlign(int a)No description in source.
setGapvoid setGap(int px)---- spacing ------------------------------------------------------------
setPaddingvoid setPadding(int l, int t, int r, int b)No description in source.
setPaddingAllvoid setPaddingAll(int p)No description in source.
getModeint getMode()---- readers ------------------------------------------------------------
getRowsint getRows()No description in source.
getColsint getCols()No description in source.
getGapint getGap()No description in source.
getAlignHint getAlignH()No description in source.
getAlignVint getAlignV()No description in source.
getDockint getDock()No description in source.
absoluteboolean absolute()No description in source.
modeNameString modeName()No description in source.
toStyleString toStyle()Serialize to a style descriptor the reconciler applies ("layout:...").
honoredboolean honored()No description in source.

SLGuiMenu #sleela 2.5 (lib/gui/version-gual/SLGuiMenu.sleela)

SLGuiMenu class

SLGuiMenu Menu state model with stable action names and predictable dismissal.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idNo description in source.
labelString labelNo description in source.
itemCountint itemCountNo description in source.
visibleint visibleNo description in source.
openedint openedNo description in source.
activeIndexint activeIndexNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String menuId, String menuLabel)No description in source.
getIdString getId()No description in source.
getLabelString getLabel()No description in source.
setItemCountvoid setItemCount(int count)No description in source.
countint count()No description in source.
setVisiblevoid setVisible(boolean value)No description in source.
isVisibleboolean isVisible()No description in source.
openvoid open()No description in source.
dismissvoid dismiss()No description in source.
isOpenboolean isOpen()No description in source.
movevoid move(int direction)No description in source.
selectedIndexint selectedIndex()No description in source.
selectboolean select(int index)No description in source.

SLGuiMenu #sleela 2.5 (lib/gui/version-mual/SLGuiMenu.sleela)

SLGuiMenu class

SLGuiMenu Menu state model with stable action names and predictable dismissal.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idNo description in source.
labelString labelNo description in source.
itemCountint itemCountNo description in source.
visibleint visibleNo description in source.
openedint openedNo description in source.
activeIndexint activeIndexNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String menuId, String menuLabel)No description in source.
getIdString getId()No description in source.
getLabelString getLabel()No description in source.
setItemCountvoid setItemCount(int count)No description in source.
countint count()No description in source.
setVisiblevoid setVisible(boolean value)No description in source.
isVisibleboolean isVisible()No description in source.
openvoid open()No description in source.
dismissvoid dismiss()No description in source.
isOpenboolean isOpen()No description in source.
movevoid move(int direction)No description in source.
selectedIndexint selectedIndex()No description in source.
selectboolean select(int index)No description in source.

SLGuiMenu #sleela 2.5 (lib/gui/version-thual/SLGuiMenu.sleela)

SLGuiMenu class

SLGuiMenu Menu state model with stable action names and predictable dismissal.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idNo description in source.
labelString labelNo description in source.
itemCountint itemCountNo description in source.
visibleint visibleNo description in source.
openedint openedNo description in source.
activeIndexint activeIndexNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String menuId, String menuLabel)No description in source.
getIdString getId()No description in source.
getLabelString getLabel()No description in source.
setItemCountvoid setItemCount(int count)No description in source.
countint count()No description in source.
setVisiblevoid setVisible(boolean value)No description in source.
isVisibleboolean isVisible()No description in source.
openvoid open()No description in source.
dismissvoid dismiss()No description in source.
isOpenboolean isOpen()No description in source.
movevoid move(int direction)No description in source.
selectedIndexint selectedIndex()No description in source.
selectboolean select(int index)No description in source.

SLGuiMenu #sleela 2.5 (lib/gui/version-military/SLGuiMenu.sleela)

SLGuiMenu class

SLGuiMenu Menu state model with stable action names and predictable dismissal.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idNo description in source.
labelString labelNo description in source.
itemCountint itemCountNo description in source.
visibleint visibleNo description in source.
openedint openedNo description in source.
activeIndexint activeIndexNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String menuId, String menuLabel)No description in source.
getIdString getId()No description in source.
getLabelString getLabel()No description in source.
setItemCountvoid setItemCount(int count)No description in source.
countint count()No description in source.
setVisiblevoid setVisible(boolean value)No description in source.
isVisibleboolean isVisible()No description in source.
openvoid open()No description in source.
dismissvoid dismiss()No description in source.
isOpenboolean isOpen()No description in source.
movevoid move(int direction)No description in source.
selectedIndexint selectedIndex()No description in source.
selectboolean select(int index)No description in source.

SLGuiMenu #sleela 2.5 (lib/gui/version-dual/SLGuiMenu.sleela)

SLGuiMenu class

SLGuiMenu Menu state model with stable action names and predictable dismissal.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idNo description in source.
labelString labelNo description in source.
itemCountint itemCountNo description in source.
visibleint visibleNo description in source.
openedint openedNo description in source.
activeIndexint activeIndexNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String menuId, String menuLabel)No description in source.
getIdString getId()No description in source.
getLabelString getLabel()No description in source.
setItemCountvoid setItemCount(int count)No description in source.
countint count()No description in source.
setVisiblevoid setVisible(boolean value)No description in source.
isVisibleboolean isVisible()No description in source.
openvoid open()No description in source.
dismissvoid dismiss()No description in source.
isOpenboolean isOpen()No description in source.
movevoid move(int direction)No description in source.
selectedIndexint selectedIndex()No description in source.
selectboolean select(int index)No description in source.

SLGuiMenuBar #sleela 2.5 (lib/gui/version-gual/SLGuiMenuBar.sleela)

SLGuiMenuBar class

SLGuiMenuBar Toolkit-neutral menu-bar model. Rendering belongs to the selected GUI host.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
BACKGROUND_COLORstatic final String BACKGROUND_COLOR = "#2b2f32"Shared menu-bar base colour used by the GUI host.
nameString nameNo description in source.
menuCountint menuCountNo description in source.
visibleint visibleNo description in source.
focusedint focusedNo description in source.
openedIndexint openedIndexNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String id)No description in source.
getNameString getName()No description in source.
setMenuCountvoid setMenuCount(int count)No description in source.
countint count()No description in source.
setVisiblevoid setVisible(boolean value)No description in source.
isVisibleboolean isVisible()No description in source.
focusvoid focus()No description in source.
blurvoid blur()No description in source.
hasFocusboolean hasFocus()No description in source.
openvoid open(int index)No description in source.
closevoid close()No description in source.
isOpenboolean isOpen()No description in source.
activeIndexint activeIndex()No description in source.
togglevoid toggle(int index)No description in source.
dismissIfOutsideboolean dismissIfOutside(boolean pointerInsideMenuRegion)No description in source.
escapeboolean escape()Escape dismisses the popup and restores the menu bar's focus state.
activatedvoid activated()A successful ordinary menu-item activation closes the popup.
navigatevoid navigate(int direction)No description in source.
nextvoid next(int direction)No description in source.

SLGuiMenuBar #sleela 2.5 (lib/gui/version-mual/SLGuiMenuBar.sleela)

SLGuiMenuBar class

SLGuiMenuBar Toolkit-neutral menu-bar model. Rendering belongs to the selected GUI host.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
BACKGROUND_COLORstatic final String BACKGROUND_COLOR = "#2b2f32"Shared menu-bar base colour used by the GUI host.
nameString nameNo description in source.
menuCountint menuCountNo description in source.
visibleint visibleNo description in source.
focusedint focusedNo description in source.
openedIndexint openedIndexNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String id)No description in source.
getNameString getName()No description in source.
setMenuCountvoid setMenuCount(int count)No description in source.
countint count()No description in source.
setVisiblevoid setVisible(boolean value)No description in source.
isVisibleboolean isVisible()No description in source.
focusvoid focus()No description in source.
blurvoid blur()No description in source.
hasFocusboolean hasFocus()No description in source.
openvoid open(int index)No description in source.
closevoid close()No description in source.
isOpenboolean isOpen()No description in source.
activeIndexint activeIndex()No description in source.
togglevoid toggle(int index)No description in source.
dismissIfOutsideboolean dismissIfOutside(boolean pointerInsideMenuRegion)No description in source.
escapeboolean escape()Escape dismisses the popup and restores the menu bar's focus state.
activatedvoid activated()A successful ordinary menu-item activation closes the popup.
navigatevoid navigate(int direction)No description in source.
nextvoid next(int direction)No description in source.

SLGuiMenuBar #sleela 2.5 (lib/gui/version-thual/SLGuiMenuBar.sleela)

SLGuiMenuBar class

SLGuiMenuBar Toolkit-neutral menu-bar model. Rendering belongs to the selected GUI host.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
BACKGROUND_COLORstatic final String BACKGROUND_COLOR = "#2b2f32"Shared menu-bar base colour used by the GUI host.
nameString nameNo description in source.
menuCountint menuCountNo description in source.
visibleint visibleNo description in source.
focusedint focusedNo description in source.
openedIndexint openedIndexNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String id)No description in source.
getNameString getName()No description in source.
setMenuCountvoid setMenuCount(int count)No description in source.
countint count()No description in source.
setVisiblevoid setVisible(boolean value)No description in source.
isVisibleboolean isVisible()No description in source.
focusvoid focus()No description in source.
blurvoid blur()No description in source.
hasFocusboolean hasFocus()No description in source.
openvoid open(int index)No description in source.
closevoid close()No description in source.
isOpenboolean isOpen()No description in source.
activeIndexint activeIndex()No description in source.
togglevoid toggle(int index)No description in source.
dismissIfOutsideboolean dismissIfOutside(boolean pointerInsideMenuRegion)No description in source.
escapeboolean escape()Escape dismisses the popup and restores the menu bar's focus state.
activatedvoid activated()A successful ordinary menu-item activation closes the popup.
navigatevoid navigate(int direction)No description in source.
nextvoid next(int direction)No description in source.

SLGuiMenuBar #sleela 2.5 (lib/gui/version-military/SLGuiMenuBar.sleela)

SLGuiMenuBar class

SLGuiMenuBar Toolkit-neutral menu-bar model. Rendering belongs to the selected GUI host.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
BACKGROUND_COLORstatic final String BACKGROUND_COLOR = "#2b2f32"Shared menu-bar base colour used by the GUI host.
nameString nameNo description in source.
menuCountint menuCountNo description in source.
visibleint visibleNo description in source.
focusedint focusedNo description in source.
openedIndexint openedIndexNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String id)No description in source.
getNameString getName()No description in source.
setMenuCountvoid setMenuCount(int count)No description in source.
countint count()No description in source.
setVisiblevoid setVisible(boolean value)No description in source.
isVisibleboolean isVisible()No description in source.
focusvoid focus()No description in source.
blurvoid blur()No description in source.
hasFocusboolean hasFocus()No description in source.
openvoid open(int index)No description in source.
closevoid close()No description in source.
isOpenboolean isOpen()No description in source.
activeIndexint activeIndex()No description in source.
togglevoid toggle(int index)No description in source.
dismissIfOutsideboolean dismissIfOutside(boolean pointerInsideMenuRegion)No description in source.
escapeboolean escape()Escape dismisses the popup and restores the menu bar's focus state.
activatedvoid activated()A successful ordinary menu-item activation closes the popup.
navigatevoid navigate(int direction)No description in source.
nextvoid next(int direction)No description in source.

SLGuiMenuBar #sleela 2.5 (lib/gui/version-dual/SLGuiMenuBar.sleela)

SLGuiMenuBar class

SLGuiMenuBar Toolkit-neutral menu-bar model. Rendering belongs to the selected GUI host.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
BACKGROUND_COLORstatic final String BACKGROUND_COLOR = "#2b2f32"Shared menu-bar base colour used by the GUI host.
nameString nameNo description in source.
menuCountint menuCountNo description in source.
visibleint visibleNo description in source.
focusedint focusedNo description in source.
openedIndexint openedIndexNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String id)No description in source.
getNameString getName()No description in source.
setMenuCountvoid setMenuCount(int count)No description in source.
countint count()No description in source.
setVisiblevoid setVisible(boolean value)No description in source.
isVisibleboolean isVisible()No description in source.
focusvoid focus()No description in source.
blurvoid blur()No description in source.
hasFocusboolean hasFocus()No description in source.
openvoid open(int index)No description in source.
closevoid close()No description in source.
isOpenboolean isOpen()No description in source.
activeIndexint activeIndex()No description in source.
togglevoid toggle(int index)No description in source.
dismissIfOutsideboolean dismissIfOutside(boolean pointerInsideMenuRegion)No description in source.
escapeboolean escape()Escape dismisses the popup and restores the menu bar's focus state.
activatedvoid activated()A successful ordinary menu-item activation closes the popup.
navigatevoid navigate(int direction)No description in source.
nextvoid next(int direction)No description in source.

SLGuiMenuItem #sleela 2.5 (lib/gui/version-gual/SLGuiMenuItem.sleela)

SLGuiMenuItem class

SLGuiMenuItem A menu entry binds presentation state to a named SLGuiAction operation.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idNo description in source.
labelString labelNo description in source.
actionNameString actionNameNo description in source.
operationString operationNo description in source.
shortcutString shortcutNo description in source.
iconNameString iconNameNo description in source.
enabledint enabledNo description in source.
checkedint checkedNo description in source.
checkableint checkableNo description in source.
separatorint separatorNo description in source.
pendingint pendingNo description in source.
activationCountint activationCountNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String itemId, String itemLabel, String action, String op)No description in source.
getIdString getId()No description in source.
getLabelString getLabel()No description in source.
getActionNameString getActionName()No description in source.
getOperationString getOperation()No description in source.
setShortcutvoid setShortcut(String value)No description in source.
getShortcutString getShortcut()No description in source.
setIconvoid setIcon(String value)No description in source.
getIconString getIcon()No description in source.
setEnabledvoid setEnabled(boolean value)No description in source.
isEnabledboolean isEnabled()No description in source.
setCheckablevoid setCheckable(boolean value)No description in source.
isCheckableboolean isCheckable()No description in source.
setCheckedvoid setChecked(boolean value)No description in source.
isCheckedboolean isChecked()No description in source.
makeSeparatorvoid makeSeparator()No description in source.
isSeparatorboolean isSeparator()No description in source.
activateboolean activate()No description in source.
takeActivationboolean takeActivation()No description in source.
activationsint activations()No description in source.

SLGuiMenuItem #sleela 2.5 (lib/gui/version-mual/SLGuiMenuItem.sleela)

SLGuiMenuItem class

SLGuiMenuItem A menu entry binds presentation state to a named SLGuiAction operation.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idNo description in source.
labelString labelNo description in source.
actionNameString actionNameNo description in source.
operationString operationNo description in source.
shortcutString shortcutNo description in source.
iconNameString iconNameNo description in source.
enabledint enabledNo description in source.
checkedint checkedNo description in source.
checkableint checkableNo description in source.
separatorint separatorNo description in source.
pendingint pendingNo description in source.
activationCountint activationCountNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String itemId, String itemLabel, String action, String op)No description in source.
getIdString getId()No description in source.
getLabelString getLabel()No description in source.
getActionNameString getActionName()No description in source.
getOperationString getOperation()No description in source.
setShortcutvoid setShortcut(String value)No description in source.
getShortcutString getShortcut()No description in source.
setIconvoid setIcon(String value)No description in source.
getIconString getIcon()No description in source.
setEnabledvoid setEnabled(boolean value)No description in source.
isEnabledboolean isEnabled()No description in source.
setCheckablevoid setCheckable(boolean value)No description in source.
isCheckableboolean isCheckable()No description in source.
setCheckedvoid setChecked(boolean value)No description in source.
isCheckedboolean isChecked()No description in source.
makeSeparatorvoid makeSeparator()No description in source.
isSeparatorboolean isSeparator()No description in source.
activateboolean activate()No description in source.
takeActivationboolean takeActivation()No description in source.
activationsint activations()No description in source.

SLGuiMenuItem #sleela 2.5 (lib/gui/version-thual/SLGuiMenuItem.sleela)

SLGuiMenuItem class

SLGuiMenuItem A menu entry binds presentation state to a named SLGuiAction operation.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idNo description in source.
labelString labelNo description in source.
actionNameString actionNameNo description in source.
operationString operationNo description in source.
shortcutString shortcutNo description in source.
iconNameString iconNameNo description in source.
enabledint enabledNo description in source.
checkedint checkedNo description in source.
checkableint checkableNo description in source.
separatorint separatorNo description in source.
pendingint pendingNo description in source.
activationCountint activationCountNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String itemId, String itemLabel, String action, String op)No description in source.
getIdString getId()No description in source.
getLabelString getLabel()No description in source.
getActionNameString getActionName()No description in source.
getOperationString getOperation()No description in source.
setShortcutvoid setShortcut(String value)No description in source.
getShortcutString getShortcut()No description in source.
setIconvoid setIcon(String value)No description in source.
getIconString getIcon()No description in source.
setEnabledvoid setEnabled(boolean value)No description in source.
isEnabledboolean isEnabled()No description in source.
setCheckablevoid setCheckable(boolean value)No description in source.
isCheckableboolean isCheckable()No description in source.
setCheckedvoid setChecked(boolean value)No description in source.
isCheckedboolean isChecked()No description in source.
makeSeparatorvoid makeSeparator()No description in source.
isSeparatorboolean isSeparator()No description in source.
activateboolean activate()No description in source.
takeActivationboolean takeActivation()No description in source.
activationsint activations()No description in source.

SLGuiMenuItem #sleela 2.5 (lib/gui/version-military/SLGuiMenuItem.sleela)

SLGuiMenuItem class

SLGuiMenuItem A menu entry binds presentation state to a named SLGuiAction operation.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idNo description in source.
labelString labelNo description in source.
actionNameString actionNameNo description in source.
operationString operationNo description in source.
shortcutString shortcutNo description in source.
iconNameString iconNameNo description in source.
enabledint enabledNo description in source.
checkedint checkedNo description in source.
checkableint checkableNo description in source.
separatorint separatorNo description in source.
pendingint pendingNo description in source.
activationCountint activationCountNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String itemId, String itemLabel, String action, String op)No description in source.
getIdString getId()No description in source.
getLabelString getLabel()No description in source.
getActionNameString getActionName()No description in source.
getOperationString getOperation()No description in source.
setShortcutvoid setShortcut(String value)No description in source.
getShortcutString getShortcut()No description in source.
setIconvoid setIcon(String value)No description in source.
getIconString getIcon()No description in source.
setEnabledvoid setEnabled(boolean value)No description in source.
isEnabledboolean isEnabled()No description in source.
setCheckablevoid setCheckable(boolean value)No description in source.
isCheckableboolean isCheckable()No description in source.
setCheckedvoid setChecked(boolean value)No description in source.
isCheckedboolean isChecked()No description in source.
makeSeparatorvoid makeSeparator()No description in source.
isSeparatorboolean isSeparator()No description in source.
activateboolean activate()No description in source.
takeActivationboolean takeActivation()No description in source.
activationsint activations()No description in source.

SLGuiMenuItem #sleela 2.5 (lib/gui/version-dual/SLGuiMenuItem.sleela)

SLGuiMenuItem class

SLGuiMenuItem A menu entry binds presentation state to a named SLGuiAction operation.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
idString idNo description in source.
labelString labelNo description in source.
actionNameString actionNameNo description in source.
operationString operationNo description in source.
shortcutString shortcutNo description in source.
iconNameString iconNameNo description in source.
enabledint enabledNo description in source.
checkedint checkedNo description in source.
checkableint checkableNo description in source.
separatorint separatorNo description in source.
pendingint pendingNo description in source.
activationCountint activationCountNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String itemId, String itemLabel, String action, String op)No description in source.
getIdString getId()No description in source.
getLabelString getLabel()No description in source.
getActionNameString getActionName()No description in source.
getOperationString getOperation()No description in source.
setShortcutvoid setShortcut(String value)No description in source.
getShortcutString getShortcut()No description in source.
setIconvoid setIcon(String value)No description in source.
getIconString getIcon()No description in source.
setEnabledvoid setEnabled(boolean value)No description in source.
isEnabledboolean isEnabled()No description in source.
setCheckablevoid setCheckable(boolean value)No description in source.
isCheckableboolean isCheckable()No description in source.
setCheckedvoid setChecked(boolean value)No description in source.
isCheckedboolean isChecked()No description in source.
makeSeparatorvoid makeSeparator()No description in source.
isSeparatorboolean isSeparator()No description in source.
activateboolean activate()No description in source.
takeActivationboolean takeActivation()No description in source.
activationsint activations()No description in source.

SLGuiModal #sleela 2.5 (lib/gui/version-gual/SLGuiModal.sleela)

SLGuiModal class

Defines SLGuiModal — the MODAL / OVERLAY component: a dialog that sits on top of the main application view and fades IN alongside a DARKENED backdrop (the scrim), then fades OUT on close. It is a pure model + lifecycle state machine: closed -> opening -> open -> closing -> closed, driven by tick(elapsed). The dialog and the scrim each fade through an SLGuiTransition (the scrim only to its target dim level, never fully opaque). SLeeLa owns the title, the dismiss policy, and the timing; the host paints the scrim over the view and the dialog over the scrim. Family: gui. A view-blocking overlay; this model decides when the dialog and its backdrop are visible and how opaque each is.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_CLOSEDstatic final int STATE_CLOSED = 0Lifecycle states.
STATE_OPENINGstatic final int STATE_OPENING = 1enter transition running
STATE_OPENstatic final int STATE_OPEN = 2fully shown, awaiting dismissal
STATE_CLOSINGstatic final int STATE_CLOSING = 3exit transition running
titleString titleNo description in source.
stateint stateSTATE_*
scrimDimPctint scrimDimPctbackdrop darkness target, 0..100 % (how dark it gets)
dismissOnBackdropint dismissOnBackdrop1 = clicking the darkened backdrop closes it
dismissOnEscapeint dismissOnEscape1 = pressing Escape closes it
dialogFxSLGuiTransition dialogFxthe dialog's enter/exit fade (and scale feel)
scrimFxSLGuiTransition scrimFxthe backdrop's fade (0 -> scrimDimPct)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(String dialogTitle)Safe defaults: a 220ms ease-out dialog fade-in, a 55% dark scrim fading in with it, dismissable by backdrop click and Escape.
setTitlevoid setTitle(String t)No description in source.
setScrimDimvoid setScrimDim(int pct)No description in source.
setDismissOnBackdropvoid setDismissOnBackdrop(boolean on)No description in source.
setDismissOnEscapevoid setDismissOnEscape(boolean on)No description in source.
setFadeMillisvoid setFadeMillis(int ms)No description in source.
setFadeEasingvoid setFadeEasing(int ease)No description in source.
openvoid open()---- lifecycle ----------------------------------------------------------
requestClosevoid requestClose()Begin closing (named requestClose, not close: `close` is a reserved SLeeLa built-in — the OS/pipe handle close — so a method named close() would collide with it).
closeNowvoid closeNow()No description in source.
onBackdropClickboolean onBackdropClick()Host input hooks: return true when the event actually dismissed the modal.
onEscapeboolean onEscape()No description in source.
tickboolean tick(int deltaMs)Advance the lifecycle by `deltaMs`. Returns true while the modal still occupies the screen (any non-closed state), false once fully closed.
dialogOpacityPctint dialogOpacityPct()---- presentation ------------------------------------------------------- Opacity (0..100 %) to paint the DIALOG surface at right now.
scrimOpacityPctint scrimOpacityPct()Opacity (0..100 %) to paint the darkened BACKDROP/scrim at right now; this tops out at scrimDimPct, never fully opaque.
onScreenboolean onScreen()No description in source.
isOpenboolean isOpen()No description in source.
getTitleString getTitle()---- readers ------------------------------------------------------------
getStateint getState()No description in source.
getScrimDimint getScrimDim()No description in source.
dismissableByBackdropboolean dismissableByBackdrop()No description in source.
dismissableByEscapeboolean dismissableByEscape()No description in source.
dialogTransitionSLGuiTransition dialogTransition()No description in source.
scrimTransitionSLGuiTransition scrimTransition()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "modal:\"<title>\";scrim:<dim>%;dialog-<fade>;scrim-<fade>"
reportString report()No description in source.

SLGuiModal #sleela 2.5 (lib/gui/version-mual/SLGuiModal.sleela)

SLGuiModal class

Defines SLGuiModal — the MODAL / OVERLAY component: a dialog that sits on top of the main application view and fades IN alongside a DARKENED backdrop (the scrim), then fades OUT on close. It is a pure model + lifecycle state machine: closed -> opening -> open -> closing -> closed, driven by tick(elapsed). The dialog and the scrim each fade through an SLGuiTransition (the scrim only to its target dim level, never fully opaque). SLeeLa owns the title, the dismiss policy, and the timing; the host paints the scrim over the view and the dialog over the scrim. Family: gui. A view-blocking overlay; this model decides when the dialog and its backdrop are visible and how opaque each is.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_CLOSEDstatic final int STATE_CLOSED = 0Lifecycle states.
STATE_OPENINGstatic final int STATE_OPENING = 1enter transition running
STATE_OPENstatic final int STATE_OPEN = 2fully shown, awaiting dismissal
STATE_CLOSINGstatic final int STATE_CLOSING = 3exit transition running
titleString titleNo description in source.
stateint stateSTATE_*
scrimDimPctint scrimDimPctbackdrop darkness target, 0..100 % (how dark it gets)
dismissOnBackdropint dismissOnBackdrop1 = clicking the darkened backdrop closes it
dismissOnEscapeint dismissOnEscape1 = pressing Escape closes it
dialogFxSLGuiTransition dialogFxthe dialog's enter/exit fade (and scale feel)
scrimFxSLGuiTransition scrimFxthe backdrop's fade (0 -> scrimDimPct)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(String dialogTitle)Safe defaults: a 220ms ease-out dialog fade-in, a 55% dark scrim fading in with it, dismissable by backdrop click and Escape.
setTitlevoid setTitle(String t)No description in source.
setScrimDimvoid setScrimDim(int pct)No description in source.
setDismissOnBackdropvoid setDismissOnBackdrop(boolean on)No description in source.
setDismissOnEscapevoid setDismissOnEscape(boolean on)No description in source.
setFadeMillisvoid setFadeMillis(int ms)No description in source.
setFadeEasingvoid setFadeEasing(int ease)No description in source.
openvoid open()---- lifecycle ----------------------------------------------------------
requestClosevoid requestClose()Begin closing (named requestClose, not close: `close` is a reserved SLeeLa built-in — the OS/pipe handle close — so a method named close() would collide with it).
closeNowvoid closeNow()No description in source.
onBackdropClickboolean onBackdropClick()Host input hooks: return true when the event actually dismissed the modal.
onEscapeboolean onEscape()No description in source.
tickboolean tick(int deltaMs)Advance the lifecycle by `deltaMs`. Returns true while the modal still occupies the screen (any non-closed state), false once fully closed.
dialogOpacityPctint dialogOpacityPct()---- presentation ------------------------------------------------------- Opacity (0..100 %) to paint the DIALOG surface at right now.
scrimOpacityPctint scrimOpacityPct()Opacity (0..100 %) to paint the darkened BACKDROP/scrim at right now; this tops out at scrimDimPct, never fully opaque.
onScreenboolean onScreen()No description in source.
isOpenboolean isOpen()No description in source.
getTitleString getTitle()---- readers ------------------------------------------------------------
getStateint getState()No description in source.
getScrimDimint getScrimDim()No description in source.
dismissableByBackdropboolean dismissableByBackdrop()No description in source.
dismissableByEscapeboolean dismissableByEscape()No description in source.
dialogTransitionSLGuiTransition dialogTransition()No description in source.
scrimTransitionSLGuiTransition scrimTransition()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "modal:\"<title>\";scrim:<dim>%;dialog-<fade>;scrim-<fade>"
reportString report()No description in source.

SLGuiModal #sleela 2.5 (lib/gui/version-thual/SLGuiModal.sleela)

SLGuiModal class

Defines SLGuiModal — the MODAL / OVERLAY component: a dialog that sits on top of the main application view and fades IN alongside a DARKENED backdrop (the scrim), then fades OUT on close. It is a pure model + lifecycle state machine: closed -> opening -> open -> closing -> closed, driven by tick(elapsed). The dialog and the scrim each fade through an SLGuiTransition (the scrim only to its target dim level, never fully opaque). SLeeLa owns the title, the dismiss policy, and the timing; the host paints the scrim over the view and the dialog over the scrim. Family: gui. A view-blocking overlay; this model decides when the dialog and its backdrop are visible and how opaque each is.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_CLOSEDstatic final int STATE_CLOSED = 0Lifecycle states.
STATE_OPENINGstatic final int STATE_OPENING = 1enter transition running
STATE_OPENstatic final int STATE_OPEN = 2fully shown, awaiting dismissal
STATE_CLOSINGstatic final int STATE_CLOSING = 3exit transition running
titleString titleNo description in source.
stateint stateSTATE_*
scrimDimPctint scrimDimPctbackdrop darkness target, 0..100 % (how dark it gets)
dismissOnBackdropint dismissOnBackdrop1 = clicking the darkened backdrop closes it
dismissOnEscapeint dismissOnEscape1 = pressing Escape closes it
dialogFxSLGuiTransition dialogFxthe dialog's enter/exit fade (and scale feel)
scrimFxSLGuiTransition scrimFxthe backdrop's fade (0 -> scrimDimPct)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(String dialogTitle)Safe defaults: a 220ms ease-out dialog fade-in, a 55% dark scrim fading in with it, dismissable by backdrop click and Escape.
setTitlevoid setTitle(String t)No description in source.
setScrimDimvoid setScrimDim(int pct)No description in source.
setDismissOnBackdropvoid setDismissOnBackdrop(boolean on)No description in source.
setDismissOnEscapevoid setDismissOnEscape(boolean on)No description in source.
setFadeMillisvoid setFadeMillis(int ms)No description in source.
setFadeEasingvoid setFadeEasing(int ease)No description in source.
openvoid open()---- lifecycle ----------------------------------------------------------
requestClosevoid requestClose()Begin closing (named requestClose, not close: `close` is a reserved SLeeLa built-in — the OS/pipe handle close — so a method named close() would collide with it).
closeNowvoid closeNow()No description in source.
onBackdropClickboolean onBackdropClick()Host input hooks: return true when the event actually dismissed the modal.
onEscapeboolean onEscape()No description in source.
tickboolean tick(int deltaMs)Advance the lifecycle by `deltaMs`. Returns true while the modal still occupies the screen (any non-closed state), false once fully closed.
dialogOpacityPctint dialogOpacityPct()---- presentation ------------------------------------------------------- Opacity (0..100 %) to paint the DIALOG surface at right now.
scrimOpacityPctint scrimOpacityPct()Opacity (0..100 %) to paint the darkened BACKDROP/scrim at right now; this tops out at scrimDimPct, never fully opaque.
onScreenboolean onScreen()No description in source.
isOpenboolean isOpen()No description in source.
getTitleString getTitle()---- readers ------------------------------------------------------------
getStateint getState()No description in source.
getScrimDimint getScrimDim()No description in source.
dismissableByBackdropboolean dismissableByBackdrop()No description in source.
dismissableByEscapeboolean dismissableByEscape()No description in source.
dialogTransitionSLGuiTransition dialogTransition()No description in source.
scrimTransitionSLGuiTransition scrimTransition()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "modal:\"<title>\";scrim:<dim>%;dialog-<fade>;scrim-<fade>"
reportString report()No description in source.

SLGuiModal #sleela 2.5 (lib/gui/version-military/SLGuiModal.sleela)

SLGuiModal class

Defines SLGuiModal — the MODAL / OVERLAY component: a dialog that sits on top of the main application view and fades IN alongside a DARKENED backdrop (the scrim), then fades OUT on close. It is a pure model + lifecycle state machine: closed -> opening -> open -> closing -> closed, driven by tick(elapsed). The dialog and the scrim each fade through an SLGuiTransition (the scrim only to its target dim level, never fully opaque). SLeeLa owns the title, the dismiss policy, and the timing; the host paints the scrim over the view and the dialog over the scrim. Family: gui. A view-blocking overlay; this model decides when the dialog and its backdrop are visible and how opaque each is.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_CLOSEDstatic final int STATE_CLOSED = 0Lifecycle states.
STATE_OPENINGstatic final int STATE_OPENING = 1enter transition running
STATE_OPENstatic final int STATE_OPEN = 2fully shown, awaiting dismissal
STATE_CLOSINGstatic final int STATE_CLOSING = 3exit transition running
titleString titleNo description in source.
stateint stateSTATE_*
scrimDimPctint scrimDimPctbackdrop darkness target, 0..100 % (how dark it gets)
dismissOnBackdropint dismissOnBackdrop1 = clicking the darkened backdrop closes it
dismissOnEscapeint dismissOnEscape1 = pressing Escape closes it
dialogFxSLGuiTransition dialogFxthe dialog's enter/exit fade (and scale feel)
scrimFxSLGuiTransition scrimFxthe backdrop's fade (0 -> scrimDimPct)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(String dialogTitle)Safe defaults: a 220ms ease-out dialog fade-in, a 55% dark scrim fading in with it, dismissable by backdrop click and Escape.
setTitlevoid setTitle(String t)No description in source.
setScrimDimvoid setScrimDim(int pct)No description in source.
setDismissOnBackdropvoid setDismissOnBackdrop(boolean on)No description in source.
setDismissOnEscapevoid setDismissOnEscape(boolean on)No description in source.
setFadeMillisvoid setFadeMillis(int ms)No description in source.
setFadeEasingvoid setFadeEasing(int ease)No description in source.
openvoid open()---- lifecycle ----------------------------------------------------------
requestClosevoid requestClose()Begin closing (named requestClose, not close: `close` is a reserved SLeeLa built-in — the OS/pipe handle close — so a method named close() would collide with it).
closeNowvoid closeNow()No description in source.
onBackdropClickboolean onBackdropClick()Host input hooks: return true when the event actually dismissed the modal.
onEscapeboolean onEscape()No description in source.
tickboolean tick(int deltaMs)Advance the lifecycle by `deltaMs`. Returns true while the modal still occupies the screen (any non-closed state), false once fully closed.
dialogOpacityPctint dialogOpacityPct()---- presentation ------------------------------------------------------- Opacity (0..100 %) to paint the DIALOG surface at right now.
scrimOpacityPctint scrimOpacityPct()Opacity (0..100 %) to paint the darkened BACKDROP/scrim at right now; this tops out at scrimDimPct, never fully opaque.
onScreenboolean onScreen()No description in source.
isOpenboolean isOpen()No description in source.
getTitleString getTitle()---- readers ------------------------------------------------------------
getStateint getState()No description in source.
getScrimDimint getScrimDim()No description in source.
dismissableByBackdropboolean dismissableByBackdrop()No description in source.
dismissableByEscapeboolean dismissableByEscape()No description in source.
dialogTransitionSLGuiTransition dialogTransition()No description in source.
scrimTransitionSLGuiTransition scrimTransition()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "modal:\"<title>\";scrim:<dim>%;dialog-<fade>;scrim-<fade>"
reportString report()No description in source.

SLGuiModal #sleela 2.5 (lib/gui/version-dual/SLGuiModal.sleela)

SLGuiModal class

Defines SLGuiModal — the MODAL / OVERLAY component: a dialog that sits on top of the main application view and fades IN alongside a DARKENED backdrop (the scrim), then fades OUT on close. It is a pure model + lifecycle state machine: closed -> opening -> open -> closing -> closed, driven by tick(elapsed). The dialog and the scrim each fade through an SLGuiTransition (the scrim only to its target dim level, never fully opaque). SLeeLa owns the title, the dismiss policy, and the timing; the host paints the scrim over the view and the dialog over the scrim. Family: gui. A view-blocking overlay; this model decides when the dialog and its backdrop are visible and how opaque each is.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_CLOSEDstatic final int STATE_CLOSED = 0Lifecycle states.
STATE_OPENINGstatic final int STATE_OPENING = 1enter transition running
STATE_OPENstatic final int STATE_OPEN = 2fully shown, awaiting dismissal
STATE_CLOSINGstatic final int STATE_CLOSING = 3exit transition running
titleString titleNo description in source.
stateint stateSTATE_*
scrimDimPctint scrimDimPctbackdrop darkness target, 0..100 % (how dark it gets)
dismissOnBackdropint dismissOnBackdrop1 = clicking the darkened backdrop closes it
dismissOnEscapeint dismissOnEscape1 = pressing Escape closes it
dialogFxSLGuiTransition dialogFxthe dialog's enter/exit fade (and scale feel)
scrimFxSLGuiTransition scrimFxthe backdrop's fade (0 -> scrimDimPct)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(String dialogTitle)Safe defaults: a 220ms ease-out dialog fade-in, a 55% dark scrim fading in with it, dismissable by backdrop click and Escape.
setTitlevoid setTitle(String t)No description in source.
setScrimDimvoid setScrimDim(int pct)No description in source.
setDismissOnBackdropvoid setDismissOnBackdrop(boolean on)No description in source.
setDismissOnEscapevoid setDismissOnEscape(boolean on)No description in source.
setFadeMillisvoid setFadeMillis(int ms)No description in source.
setFadeEasingvoid setFadeEasing(int ease)No description in source.
openvoid open()---- lifecycle ----------------------------------------------------------
requestClosevoid requestClose()Begin closing (named requestClose, not close: `close` is a reserved SLeeLa built-in — the OS/pipe handle close — so a method named close() would collide with it).
closeNowvoid closeNow()No description in source.
onBackdropClickboolean onBackdropClick()Host input hooks: return true when the event actually dismissed the modal.
onEscapeboolean onEscape()No description in source.
tickboolean tick(int deltaMs)Advance the lifecycle by `deltaMs`. Returns true while the modal still occupies the screen (any non-closed state), false once fully closed.
dialogOpacityPctint dialogOpacityPct()---- presentation ------------------------------------------------------- Opacity (0..100 %) to paint the DIALOG surface at right now.
scrimOpacityPctint scrimOpacityPct()Opacity (0..100 %) to paint the darkened BACKDROP/scrim at right now; this tops out at scrimDimPct, never fully opaque.
onScreenboolean onScreen()No description in source.
isOpenboolean isOpen()No description in source.
getTitleString getTitle()---- readers ------------------------------------------------------------
getStateint getState()No description in source.
getScrimDimint getScrimDim()No description in source.
dismissableByBackdropboolean dismissableByBackdrop()No description in source.
dismissableByEscapeboolean dismissableByEscape()No description in source.
dialogTransitionSLGuiTransition dialogTransition()No description in source.
scrimTransitionSLGuiTransition scrimTransition()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "modal:\"<title>\";scrim:<dim>%;dialog-<fade>;scrim-<fade>"
reportString report()No description in source.

SLGuiMount #sleela 2.5 (lib/gui/version-gual/SLGuiMount.sleela)

SLGuiMount class

Defines SLGuiMount — the reconciler that reflects the SLeeLa-owned DOM (SLGuiDom / SLGuiNode) onto real SleelaUI widgets. It mounts the tree depth-first (a parent is constructed before its children so each child has a real parent handle), records an id->widget-handle map, and on each pass applies every dirty node's state to its widget through the `ui*` built-ins: text (uiWidgetSetText), visibility (uiWidgetVisible), sensitivity (uiWidgetSensitive), and the style-derived accents (suggested/destructive) and minimum size. This is the one-way SLeeLa->toolkit half of the loop (SLGuiHostAdapter is the toolkit->SLeeLa half). The DOM stays the single source of truth; the widgets are its projection. Family: gui. The reconciler crosses the `ui*` SLVM bridge; SLeeLa owns the document it mirrors.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_NODESstatic final int MAX_NODES = 65536No description in source.
domSLGuiDom domNo description in source.
factorySLGuiWidgetFactory factoryNo description in source.
idsString[] idsid -> widget handle map (parallel arrays).
handlesint[] handlesNo description in source.
mapCountint mapCountNo description in source.
rootHandleint rootHandlethe host-supplied root container the window gives us
mountedint mountedtotal nodes mounted so far
appliedint applieddirty nodes applied on the last reconcile pass

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document, int windowRootHandle)No description in source.
handleOfint handleOf(String id)No description in source.
mapIdvoid mapId(String id, int handle)No description in source.
indexOfint indexOf(String id)No description in source.
isMountedboolean isMounted(String id)No description in source.
mountAllvoid mountAll()Mount the whole document under the window root, depth-first.
mountChildrenvoid mountChildren(SLGuiNode parent)Recursively construct and mount every child of `parent`.
mountNewvoid mountNew()Mount any nodes added since the last pass (nodes the DOM grew via script or SLeeLa after the initial mountAll).
reconcileint reconcile()Push every dirty node's state onto its widget, then clear the dirty flag. Returns how many nodes were applied this pass.
applyvoid apply(SLGuiNode node)Apply one node's state to its live widget via the `ui*` built-ins.
mountedCountint mountedCount()No description in source.
appliedLastint appliedLast()No description in source.
constructWithOverflowint constructWithOverflow(int parentHandle, SLGuiNode child, String label)Construct a child's widget, honouring an `overflow` intent. A container whose tag is already a scrolled view (scrolled/scrollview/scrollarea) is built by the factory as usual. Otherwise, if the node carries an `overflow` attribute (or per-axis `overflow-x` / `overflow-y`), build a native scrolled viewport with the mapped policy instead of a plain container, so the content scrolls and scrollbars appear automatically on overflow. The node's children then mount inside the viewport as its scroll content. overflow / overflow-x / overflow-y : auto | scroll | always | hidden | visible | clip | none (auto is the default when the attr is present without a value). A per-axis attr overrides the shorthand for that axis.
labelForString labelFor(SLGuiNode node)The construction label for a node: its text, or its "placeholder" attr for entries, or empty.
intAttrint intAttr(String s)Parse a non-negative integer from a decimal string ("" / null -> 0).
digitint digit(String ch)No description in source.

SLGuiMount #sleela 2.5 (lib/gui/version-mual/SLGuiMount.sleela)

SLGuiMount class

Defines SLGuiMount — the reconciler that reflects the SLeeLa-owned DOM (SLGuiDom / SLGuiNode) onto real SleelaUI widgets. It mounts the tree depth-first (a parent is constructed before its children so each child has a real parent handle), records an id->widget-handle map, and on each pass applies every dirty node's state to its widget through the `ui*` built-ins: text (uiWidgetSetText), visibility (uiWidgetVisible), sensitivity (uiWidgetSensitive), and the style-derived accents (suggested/destructive) and minimum size. This is the one-way SLeeLa->toolkit half of the loop (SLGuiHostAdapter is the toolkit->SLeeLa half). The DOM stays the single source of truth; the widgets are its projection. Family: gui. The reconciler crosses the `ui*` SLVM bridge; SLeeLa owns the document it mirrors.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_NODESstatic final int MAX_NODES = 65536No description in source.
domSLGuiDom domNo description in source.
factorySLGuiWidgetFactory factoryNo description in source.
idsString[] idsid -> widget handle map (parallel arrays).
handlesint[] handlesNo description in source.
mapCountint mapCountNo description in source.
rootHandleint rootHandlethe host-supplied root container the window gives us
mountedint mountedtotal nodes mounted so far
appliedint applieddirty nodes applied on the last reconcile pass

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document, int windowRootHandle)No description in source.
handleOfint handleOf(String id)No description in source.
mapIdvoid mapId(String id, int handle)No description in source.
indexOfint indexOf(String id)No description in source.
isMountedboolean isMounted(String id)No description in source.
mountAllvoid mountAll()Mount the whole document under the window root, depth-first.
mountChildrenvoid mountChildren(SLGuiNode parent)Recursively construct and mount every child of `parent`.
mountNewvoid mountNew()Mount any nodes added since the last pass (nodes the DOM grew via script or SLeeLa after the initial mountAll).
reconcileint reconcile()Push every dirty node's state onto its widget, then clear the dirty flag. Returns how many nodes were applied this pass.
applyvoid apply(SLGuiNode node)Apply one node's state to its live widget via the `ui*` built-ins.
mountedCountint mountedCount()No description in source.
appliedLastint appliedLast()No description in source.
constructWithOverflowint constructWithOverflow(int parentHandle, SLGuiNode child, String label)Construct a child's widget, honouring an `overflow` intent. A container whose tag is already a scrolled view (scrolled/scrollview/scrollarea) is built by the factory as usual. Otherwise, if the node carries an `overflow` attribute (or per-axis `overflow-x` / `overflow-y`), build a native scrolled viewport with the mapped policy instead of a plain container, so the content scrolls and scrollbars appear automatically on overflow. The node's children then mount inside the viewport as its scroll content. overflow / overflow-x / overflow-y : auto | scroll | always | hidden | visible | clip | none (auto is the default when the attr is present without a value). A per-axis attr overrides the shorthand for that axis.
labelForString labelFor(SLGuiNode node)The construction label for a node: its text, or its "placeholder" attr for entries, or empty.
intAttrint intAttr(String s)Parse a non-negative integer from a decimal string ("" / null -> 0).
digitint digit(String ch)No description in source.

SLGuiMount #sleela 2.5 (lib/gui/version-thual/SLGuiMount.sleela)

SLGuiMount class

Defines SLGuiMount — the reconciler that reflects the SLeeLa-owned DOM (SLGuiDom / SLGuiNode) onto real SleelaUI widgets. It mounts the tree depth-first (a parent is constructed before its children so each child has a real parent handle), records an id->widget-handle map, and on each pass applies every dirty node's state to its widget through the `ui*` built-ins: text (uiWidgetSetText), visibility (uiWidgetVisible), sensitivity (uiWidgetSensitive), and the style-derived accents (suggested/destructive) and minimum size. This is the one-way SLeeLa->toolkit half of the loop (SLGuiHostAdapter is the toolkit->SLeeLa half). The DOM stays the single source of truth; the widgets are its projection. Family: gui. The reconciler crosses the `ui*` SLVM bridge; SLeeLa owns the document it mirrors.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_NODESstatic final int MAX_NODES = 65536No description in source.
domSLGuiDom domNo description in source.
factorySLGuiWidgetFactory factoryNo description in source.
idsString[] idsid -> widget handle map (parallel arrays).
handlesint[] handlesNo description in source.
mapCountint mapCountNo description in source.
rootHandleint rootHandlethe host-supplied root container the window gives us
mountedint mountedtotal nodes mounted so far
appliedint applieddirty nodes applied on the last reconcile pass

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document, int windowRootHandle)No description in source.
handleOfint handleOf(String id)No description in source.
mapIdvoid mapId(String id, int handle)No description in source.
indexOfint indexOf(String id)No description in source.
isMountedboolean isMounted(String id)No description in source.
mountAllvoid mountAll()Mount the whole document under the window root, depth-first.
mountChildrenvoid mountChildren(SLGuiNode parent)Recursively construct and mount every child of `parent`.
mountNewvoid mountNew()Mount any nodes added since the last pass (nodes the DOM grew via script or SLeeLa after the initial mountAll).
reconcileint reconcile()Push every dirty node's state onto its widget, then clear the dirty flag. Returns how many nodes were applied this pass.
applyvoid apply(SLGuiNode node)Apply one node's state to its live widget via the `ui*` built-ins.
mountedCountint mountedCount()No description in source.
appliedLastint appliedLast()No description in source.
constructWithOverflowint constructWithOverflow(int parentHandle, SLGuiNode child, String label)Construct a child's widget, honouring an `overflow` intent. A container whose tag is already a scrolled view (scrolled/scrollview/scrollarea) is built by the factory as usual. Otherwise, if the node carries an `overflow` attribute (or per-axis `overflow-x` / `overflow-y`), build a native scrolled viewport with the mapped policy instead of a plain container, so the content scrolls and scrollbars appear automatically on overflow. The node's children then mount inside the viewport as its scroll content. overflow / overflow-x / overflow-y : auto | scroll | always | hidden | visible | clip | none (auto is the default when the attr is present without a value). A per-axis attr overrides the shorthand for that axis.
labelForString labelFor(SLGuiNode node)The construction label for a node: its text, or its "placeholder" attr for entries, or empty.
intAttrint intAttr(String s)Parse a non-negative integer from a decimal string ("" / null -> 0).
digitint digit(String ch)No description in source.

SLGuiMount #sleela 2.5 (lib/gui/version-military/SLGuiMount.sleela)

SLGuiMount class

Defines SLGuiMount — the reconciler that reflects the SLeeLa-owned DOM (SLGuiDom / SLGuiNode) onto real SleelaUI widgets. It mounts the tree depth-first (a parent is constructed before its children so each child has a real parent handle), records an id->widget-handle map, and on each pass applies every dirty node's state to its widget through the `ui*` built-ins: text (uiWidgetSetText), visibility (uiWidgetVisible), sensitivity (uiWidgetSensitive), and the style-derived accents (suggested/destructive) and minimum size. This is the one-way SLeeLa->toolkit half of the loop (SLGuiHostAdapter is the toolkit->SLeeLa half). The DOM stays the single source of truth; the widgets are its projection. Family: gui. The reconciler crosses the `ui*` SLVM bridge; SLeeLa owns the document it mirrors.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_NODESstatic final int MAX_NODES = 65536No description in source.
domSLGuiDom domNo description in source.
factorySLGuiWidgetFactory factoryNo description in source.
idsString[] idsid -> widget handle map (parallel arrays).
handlesint[] handlesNo description in source.
mapCountint mapCountNo description in source.
rootHandleint rootHandlethe host-supplied root container the window gives us
mountedint mountedtotal nodes mounted so far
appliedint applieddirty nodes applied on the last reconcile pass

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document, int windowRootHandle)No description in source.
handleOfint handleOf(String id)No description in source.
mapIdvoid mapId(String id, int handle)No description in source.
indexOfint indexOf(String id)No description in source.
isMountedboolean isMounted(String id)No description in source.
mountAllvoid mountAll()Mount the whole document under the window root, depth-first.
mountChildrenvoid mountChildren(SLGuiNode parent)Recursively construct and mount every child of `parent`.
mountNewvoid mountNew()Mount any nodes added since the last pass (nodes the DOM grew via script or SLeeLa after the initial mountAll).
reconcileint reconcile()Push every dirty node's state onto its widget, then clear the dirty flag. Returns how many nodes were applied this pass.
applyvoid apply(SLGuiNode node)Apply one node's state to its live widget via the `ui*` built-ins.
mountedCountint mountedCount()No description in source.
appliedLastint appliedLast()No description in source.
constructWithOverflowint constructWithOverflow(int parentHandle, SLGuiNode child, String label)Construct a child's widget, honouring an `overflow` intent. A container whose tag is already a scrolled view (scrolled/scrollview/scrollarea) is built by the factory as usual. Otherwise, if the node carries an `overflow` attribute (or per-axis `overflow-x` / `overflow-y`), build a native scrolled viewport with the mapped policy instead of a plain container, so the content scrolls and scrollbars appear automatically on overflow. The node's children then mount inside the viewport as its scroll content. overflow / overflow-x / overflow-y : auto | scroll | always | hidden | visible | clip | none (auto is the default when the attr is present without a value). A per-axis attr overrides the shorthand for that axis.
labelForString labelFor(SLGuiNode node)The construction label for a node: its text, or its "placeholder" attr for entries, or empty.
intAttrint intAttr(String s)Parse a non-negative integer from a decimal string ("" / null -> 0).
digitint digit(String ch)No description in source.

SLGuiMount #sleela 2.5 (lib/gui/version-dual/SLGuiMount.sleela)

SLGuiMount class

Defines SLGuiMount — the reconciler that reflects the SLeeLa-owned DOM (SLGuiDom / SLGuiNode) onto real SleelaUI widgets. It mounts the tree depth-first (a parent is constructed before its children so each child has a real parent handle), records an id->widget-handle map, and on each pass applies every dirty node's state to its widget through the `ui*` built-ins: text (uiWidgetSetText), visibility (uiWidgetVisible), sensitivity (uiWidgetSensitive), and the style-derived accents (suggested/destructive) and minimum size. This is the one-way SLeeLa->toolkit half of the loop (SLGuiHostAdapter is the toolkit->SLeeLa half). The DOM stays the single source of truth; the widgets are its projection. Family: gui. The reconciler crosses the `ui*` SLVM bridge; SLeeLa owns the document it mirrors.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_NODESstatic final int MAX_NODES = 65536No description in source.
domSLGuiDom domNo description in source.
factorySLGuiWidgetFactory factoryNo description in source.
idsString[] idsid -> widget handle map (parallel arrays).
handlesint[] handlesNo description in source.
mapCountint mapCountNo description in source.
rootHandleint rootHandlethe host-supplied root container the window gives us
mountedint mountedtotal nodes mounted so far
appliedint applieddirty nodes applied on the last reconcile pass

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document, int windowRootHandle)No description in source.
handleOfint handleOf(String id)No description in source.
mapIdvoid mapId(String id, int handle)No description in source.
indexOfint indexOf(String id)No description in source.
isMountedboolean isMounted(String id)No description in source.
mountAllvoid mountAll()Mount the whole document under the window root, depth-first.
mountChildrenvoid mountChildren(SLGuiNode parent)Recursively construct and mount every child of `parent`.
mountNewvoid mountNew()Mount any nodes added since the last pass (nodes the DOM grew via script or SLeeLa after the initial mountAll).
reconcileint reconcile()Push every dirty node's state onto its widget, then clear the dirty flag. Returns how many nodes were applied this pass.
applyvoid apply(SLGuiNode node)Apply one node's state to its live widget via the `ui*` built-ins.
mountedCountint mountedCount()No description in source.
appliedLastint appliedLast()No description in source.
constructWithOverflowint constructWithOverflow(int parentHandle, SLGuiNode child, String label)Construct a child's widget, honouring an `overflow` intent. A container whose tag is already a scrolled view (scrolled/scrollview/scrollarea) is built by the factory as usual. Otherwise, if the node carries an `overflow` attribute (or per-axis `overflow-x` / `overflow-y`), build a native scrolled viewport with the mapped policy instead of a plain container, so the content scrolls and scrollbars appear automatically on overflow. The node's children then mount inside the viewport as its scroll content. overflow / overflow-x / overflow-y : auto | scroll | always | hidden | visible | clip | none (auto is the default when the attr is present without a value). A per-axis attr overrides the shorthand for that axis.
labelForString labelFor(SLGuiNode node)The construction label for a node: its text, or its "placeholder" attr for entries, or empty.
intAttrint intAttr(String s)Parse a non-negative integer from a decimal string ("" / null -> 0).
digitint digit(String ch)No description in source.

SLGuiNode #sleela 2.5 (lib/gui/version-gual/SLGuiNode.sleela)

SLGuiNode class

Defines SLGuiNode — a DHTML-style element node in the /lib/gui document model. Like a DOM element it has a tag (e.g. "window", "box", "button", "label", "entry"), a unique id, text content, a parent id, an ordered list of child ids, a flat attribute map, a flat style map, and a visibility/enabled state. SLeeLa code (or a script) manipulates the tree through these — setAttribute, setStyle, show/hide, enable/disable, setText — and the host reflects the node onto a real SleelaUI widget. A node carries an optional widget handle so a change can be pushed to the live control, but the node itself is the SLeeLa-owned source of truth. Family: gui. The DOM is SLeeLa-owned; the host mirrors it onto widgets.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_CHILDRENstatic final int MAX_CHILDREN = 4096No description in source.
MAX_PAIRSstatic final int MAX_PAIRS = 64attributes / style entries per node
idString idNo description in source.
tagString tagNo description in source.
textContentString textContentNo description in source.
parentIdString parentId"" for the root
childIdsString[] childIdsNo description in source.
childCountint childCountNo description in source.
attrNamesString[] attrNamesAttribute map (name -> value).
attrValuesString[] attrValuesNo description in source.
attrCountint attrCountNo description in source.
stylePropsString[] stylePropsStyle map (property -> value), the DHTML inline-style equivalent.
styleValuesString[] styleValuesNo description in source.
styleCountint styleCountNo description in source.
visibleint visible1 = shown
enabledint enabled1 = sensitive
widgetint widgetlive SleelaUI widget handle (-1 = not mounted)
dirtyint dirty1 when the host must re-sync this node

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String nodeId, String nodeTag, String parent)No description in source.
getIdString getId()No description in source.
getTagString getTag()No description in source.
getParentString getParent()No description in source.
setParentvoid setParent(String p)No description in source.
appendChildboolean appendChild(String childId)---- children -----------------------------------------------------------
removeChildboolean removeChild(String childId)No description in source.
childrenint children()No description in source.
childAtString childAt(int i)No description in source.
setTextvoid setText(String t)---- text ---------------------------------------------------------------
textString text()No description in source.
setAttributevoid setAttribute(String name, String value)---- attributes ---------------------------------------------------------
getAttributeString getAttribute(String name)No description in source.
hasAttributeboolean hasAttribute(String name)No description in source.
attrIndexint attrIndex(String name)No description in source.
setStylevoid setStyle(String prop, String value)---- style (DHTML inline style) -----------------------------------------
getStyleString getStyle(String prop)No description in source.
styleIndexint styleIndex(String prop)No description in source.
styleEntriesint styleEntries()No description in source.
showvoid show()---- visibility / enabled -----------------------------------------------
hidevoid hide()No description in source.
isVisibleboolean isVisible()No description in source.
setEnabledvoid setEnabled(boolean on)No description in source.
isEnabledboolean isEnabled()No description in source.
mountvoid mount(int widgetHandle)---- host mount ---------------------------------------------------------
widgetHandleint widgetHandle()No description in source.
mountedboolean mounted()No description in source.
isDirtyboolean isDirty()No description in source.
clearDirtyvoid clearDirty()No description in source.

SLGuiNode #sleela 2.5 (lib/gui/version-mual/SLGuiNode.sleela)

SLGuiNode class

Defines SLGuiNode — a DHTML-style element node in the /lib/gui document model. Like a DOM element it has a tag (e.g. "window", "box", "button", "label", "entry"), a unique id, text content, a parent id, an ordered list of child ids, a flat attribute map, a flat style map, and a visibility/enabled state. SLeeLa code (or a script) manipulates the tree through these — setAttribute, setStyle, show/hide, enable/disable, setText — and the host reflects the node onto a real SleelaUI widget. A node carries an optional widget handle so a change can be pushed to the live control, but the node itself is the SLeeLa-owned source of truth. Family: gui. The DOM is SLeeLa-owned; the host mirrors it onto widgets.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_CHILDRENstatic final int MAX_CHILDREN = 4096No description in source.
MAX_PAIRSstatic final int MAX_PAIRS = 64attributes / style entries per node
idString idNo description in source.
tagString tagNo description in source.
textContentString textContentNo description in source.
parentIdString parentId"" for the root
childIdsString[] childIdsNo description in source.
childCountint childCountNo description in source.
attrNamesString[] attrNamesAttribute map (name -> value).
attrValuesString[] attrValuesNo description in source.
attrCountint attrCountNo description in source.
stylePropsString[] stylePropsStyle map (property -> value), the DHTML inline-style equivalent.
styleValuesString[] styleValuesNo description in source.
styleCountint styleCountNo description in source.
visibleint visible1 = shown
enabledint enabled1 = sensitive
widgetint widgetlive SleelaUI widget handle (-1 = not mounted)
dirtyint dirty1 when the host must re-sync this node

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String nodeId, String nodeTag, String parent)No description in source.
getIdString getId()No description in source.
getTagString getTag()No description in source.
getParentString getParent()No description in source.
setParentvoid setParent(String p)No description in source.
appendChildboolean appendChild(String childId)---- children -----------------------------------------------------------
removeChildboolean removeChild(String childId)No description in source.
childrenint children()No description in source.
childAtString childAt(int i)No description in source.
setTextvoid setText(String t)---- text ---------------------------------------------------------------
textString text()No description in source.
setAttributevoid setAttribute(String name, String value)---- attributes ---------------------------------------------------------
getAttributeString getAttribute(String name)No description in source.
hasAttributeboolean hasAttribute(String name)No description in source.
attrIndexint attrIndex(String name)No description in source.
setStylevoid setStyle(String prop, String value)---- style (DHTML inline style) -----------------------------------------
getStyleString getStyle(String prop)No description in source.
styleIndexint styleIndex(String prop)No description in source.
styleEntriesint styleEntries()No description in source.
showvoid show()---- visibility / enabled -----------------------------------------------
hidevoid hide()No description in source.
isVisibleboolean isVisible()No description in source.
setEnabledvoid setEnabled(boolean on)No description in source.
isEnabledboolean isEnabled()No description in source.
mountvoid mount(int widgetHandle)---- host mount ---------------------------------------------------------
widgetHandleint widgetHandle()No description in source.
mountedboolean mounted()No description in source.
isDirtyboolean isDirty()No description in source.
clearDirtyvoid clearDirty()No description in source.

SLGuiNode #sleela 2.5 (lib/gui/version-thual/SLGuiNode.sleela)

SLGuiNode class

Defines SLGuiNode — a DHTML-style element node in the /lib/gui document model. Like a DOM element it has a tag (e.g. "window", "box", "button", "label", "entry"), a unique id, text content, a parent id, an ordered list of child ids, a flat attribute map, a flat style map, and a visibility/enabled state. SLeeLa code (or a script) manipulates the tree through these — setAttribute, setStyle, show/hide, enable/disable, setText — and the host reflects the node onto a real SleelaUI widget. A node carries an optional widget handle so a change can be pushed to the live control, but the node itself is the SLeeLa-owned source of truth. In the 3.0 (thual) line a node may also carry an SLGuiEffects bundle (lighting/glow, 3D shine, shadow, metal, rotation incl. scheduled "schene" rotation, fade in/out, activation audio); effects() lazily creates it and applyEffects() flattens it into the node's style for the reconciler. Family: gui. The DOM is SLeeLa-owned; the host mirrors it onto widgets.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_CHILDRENstatic final int MAX_CHILDREN = 4096No description in source.
MAX_PAIRSstatic final int MAX_PAIRS = 64attributes / style entries per node
idString idNo description in source.
tagString tagNo description in source.
textContentString textContentNo description in source.
parentIdString parentId"" for the root
childIdsString[] childIdsNo description in source.
childCountint childCountNo description in source.
attrNamesString[] attrNamesAttribute map (name -> value).
attrValuesString[] attrValuesNo description in source.
attrCountint attrCountNo description in source.
stylePropsString[] stylePropsStyle map (property -> value), the DHTML inline-style equivalent.
styleValuesString[] styleValuesNo description in source.
styleCountint styleCountNo description in source.
visibleint visible1 = shown
enabledint enabled1 = sensitive
widgetint widgetlive SleelaUI widget handle (-1 = not mounted)
dirtyint dirty1 when the host must re-sync this node
fxSLGuiEffects fx3.0 (thual): an optional visual-effects bundle (lighting/glow/shine/shadow/ metal/rotation/fade/activation-audio). Null until effects() is requested.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String nodeId, String nodeTag, String parent)No description in source.
getIdString getId()No description in source.
getTagString getTag()No description in source.
getParentString getParent()No description in source.
setParentvoid setParent(String p)No description in source.
appendChildboolean appendChild(String childId)---- children -----------------------------------------------------------
removeChildboolean removeChild(String childId)No description in source.
childrenint children()No description in source.
childAtString childAt(int i)No description in source.
setTextvoid setText(String t)---- text ---------------------------------------------------------------
textString text()No description in source.
setAttributevoid setAttribute(String name, String value)---- attributes ---------------------------------------------------------
getAttributeString getAttribute(String name)No description in source.
hasAttributeboolean hasAttribute(String name)No description in source.
attrIndexint attrIndex(String name)No description in source.
setStylevoid setStyle(String prop, String value)---- style (DHTML inline style) -----------------------------------------
getStyleString getStyle(String prop)No description in source.
styleIndexint styleIndex(String prop)No description in source.
styleEntriesint styleEntries()No description in source.
showvoid show()---- visibility / enabled -----------------------------------------------
hidevoid hide()No description in source.
isVisibleboolean isVisible()No description in source.
setEnabledvoid setEnabled(boolean on)No description in source.
isEnabledboolean isEnabled()No description in source.
mountvoid mount(int widgetHandle)---- host mount ---------------------------------------------------------
widgetHandleint widgetHandle()No description in source.
mountedboolean mounted()No description in source.
effectsSLGuiEffects effects()---- 3.0 visual effects ------------------------------------------------- Lazily create and return this node's effects bundle; marks the node dirty so the host re-syncs its presentation.
hasEffectsboolean hasEffects()No description in source.
effectsOrNullSLGuiEffects effectsOrNull()No description in source.
applyEffectsvoid applyEffects()Flatten the effects bundle into the node's "effect" style property so the SLGuiMount reconciler pushes it to the live widget on the next pass. A node with no effects clears the property.
tickEffectsboolean tickEffects(int elapsedMillis)Advance any scheduled ("schene") rotation by elapsed time, reflecting the new angle into the style. Returns true when the rotation moved.
isDirtyboolean isDirty()No description in source.
clearDirtyvoid clearDirty()No description in source.

SLGuiNode #sleela 2.5 (lib/gui/version-military/SLGuiNode.sleela)

SLGuiNode class

Defines SLGuiNode — a DHTML-style element node in the /lib/gui document model. Like a DOM element it has a tag (e.g. "window", "box", "button", "label", "entry"), a unique id, text content, a parent id, an ordered list of child ids, a flat attribute map, a flat style map, and a visibility/enabled state. SLeeLa code (or a script) manipulates the tree through these — setAttribute, setStyle, show/hide, enable/disable, setText — and the host reflects the node onto a real SleelaUI widget. A node carries an optional widget handle so a change can be pushed to the live control, but the node itself is the SLeeLa-owned source of truth. In the 3.0 (thual) line a node may also carry an SLGuiEffects bundle (lighting/glow, 3D shine, shadow, metal, rotation incl. scheduled "schene" rotation, fade in/out, activation audio); effects() lazily creates it and applyEffects() flattens it into the node's style for the reconciler. Family: gui. The DOM is SLeeLa-owned; the host mirrors it onto widgets.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_CHILDRENstatic final int MAX_CHILDREN = 4096No description in source.
MAX_PAIRSstatic final int MAX_PAIRS = 64attributes / style entries per node
idString idNo description in source.
tagString tagNo description in source.
textContentString textContentNo description in source.
parentIdString parentId"" for the root
childIdsString[] childIdsNo description in source.
childCountint childCountNo description in source.
attrNamesString[] attrNamesAttribute map (name -> value).
attrValuesString[] attrValuesNo description in source.
attrCountint attrCountNo description in source.
stylePropsString[] stylePropsStyle map (property -> value), the DHTML inline-style equivalent.
styleValuesString[] styleValuesNo description in source.
styleCountint styleCountNo description in source.
visibleint visible1 = shown
enabledint enabled1 = sensitive
widgetint widgetlive SleelaUI widget handle (-1 = not mounted)
dirtyint dirty1 when the host must re-sync this node
fxSLGuiEffects fx3.0 (thual): an optional visual-effects bundle (lighting/glow/shine/shadow/ metal/rotation/fade/activation-audio). Null until effects() is requested.
iconSLGuiIcon icon5.0 (military): an optional icon on buttons / menu items / clickables. Null until setIcon() attaches one; gated by SLGuiKind.iconEligible(tag).

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String nodeId, String nodeTag, String parent)No description in source.
getIdString getId()No description in source.
getTagString getTag()No description in source.
getParentString getParent()No description in source.
setParentvoid setParent(String p)No description in source.
appendChildboolean appendChild(String childId)---- children -----------------------------------------------------------
removeChildboolean removeChild(String childId)No description in source.
childrenint children()No description in source.
childAtString childAt(int i)No description in source.
setTextvoid setText(String t)---- text ---------------------------------------------------------------
textString text()No description in source.
setAttributevoid setAttribute(String name, String value)---- attributes ---------------------------------------------------------
getAttributeString getAttribute(String name)No description in source.
hasAttributeboolean hasAttribute(String name)No description in source.
attrIndexint attrIndex(String name)No description in source.
setStylevoid setStyle(String prop, String value)---- style (DHTML inline style) -----------------------------------------
getStyleString getStyle(String prop)No description in source.
styleIndexint styleIndex(String prop)No description in source.
styleEntriesint styleEntries()No description in source.
showvoid show()---- visibility / enabled -----------------------------------------------
hidevoid hide()No description in source.
isVisibleboolean isVisible()No description in source.
setEnabledvoid setEnabled(boolean on)No description in source.
isEnabledboolean isEnabled()No description in source.
mountvoid mount(int widgetHandle)---- host mount ---------------------------------------------------------
widgetHandleint widgetHandle()No description in source.
mountedboolean mounted()No description in source.
effectsSLGuiEffects effects()---- 3.0 visual effects ------------------------------------------------- Lazily create and return this node's effects bundle; marks the node dirty so the host re-syncs its presentation.
hasEffectsboolean hasEffects()No description in source.
effectsOrNullSLGuiEffects effectsOrNull()No description in source.
applyEffectsvoid applyEffects()Flatten the effects bundle into the node's "effect" style property so the SLGuiMount reconciler pushes it to the live widget on the next pass. A node with no effects clears the property.
tickEffectsboolean tickEffects(int elapsedMillis)Advance any scheduled ("schene") rotation by elapsed time, reflecting the new angle into the style. Returns true when the rotation moved.
setIconvoid setIcon(SLGuiIcon ic)---- 5.0 icon (buttons / menu items / clickables) ---------------------- Attach an icon. Eligibility (iconEligible for the tag) is enforced by the caller (SLGuiApp.setIcon) via SLGuiKind; the node stores whatever it is given and flattens it into its style for the reconciler.
getIconSLGuiIcon getIcon()No description in source.
hasIconboolean hasIcon()No description in source.
applyIconvoid applyIcon()No description in source.
isDirtyboolean isDirty()No description in source.
clearDirtyvoid clearDirty()No description in source.

SLGuiNode #sleela 2.5 (lib/gui/version-dual/SLGuiNode.sleela)

SLGuiNode class

Defines SLGuiNode — a DHTML-style element node in the /lib/gui document model. Like a DOM element it has a tag (e.g. "window", "box", "button", "label", "entry"), a unique id, text content, a parent id, an ordered list of child ids, a flat attribute map, a flat style map, and a visibility/enabled state. SLeeLa code (or a script) manipulates the tree through these — setAttribute, setStyle, show/hide, enable/disable, setText — and the host reflects the node onto a real SleelaUI widget. A node carries an optional widget handle so a change can be pushed to the live control, but the node itself is the SLeeLa-owned source of truth. In the 3.0 (thual) line a node may also carry an SLGuiEffects bundle (lighting/glow, 3D shine, shadow, metal, rotation incl. scheduled "schene" rotation, fade in/out, activation audio); effects() lazily creates it and applyEffects() flattens it into the node's style for the reconciler. Family: gui. The DOM is SLeeLa-owned; the host mirrors it onto widgets.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_CHILDRENstatic final int MAX_CHILDREN = 4096No description in source.
MAX_PAIRSstatic final int MAX_PAIRS = 64attributes / style entries per node
idString idNo description in source.
tagString tagNo description in source.
textContentString textContentNo description in source.
parentIdString parentId"" for the root
childIdsString[] childIdsNo description in source.
childCountint childCountNo description in source.
attrNamesString[] attrNamesAttribute map (name -> value).
attrValuesString[] attrValuesNo description in source.
attrCountint attrCountNo description in source.
stylePropsString[] stylePropsStyle map (property -> value), the DHTML inline-style equivalent.
styleValuesString[] styleValuesNo description in source.
styleCountint styleCountNo description in source.
visibleint visible1 = shown
enabledint enabled1 = sensitive
widgetint widgetlive SleelaUI widget handle (-1 = not mounted)
dirtyint dirty1 when the host must re-sync this node
fxSLGuiEffects fx3.0 (thual): an optional visual-effects bundle (lighting/glow/shine/shadow/ metal/rotation/fade/activation-audio). Null until effects() is requested.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String nodeId, String nodeTag, String parent)No description in source.
getIdString getId()No description in source.
getTagString getTag()No description in source.
getParentString getParent()No description in source.
setParentvoid setParent(String p)No description in source.
appendChildboolean appendChild(String childId)---- children -----------------------------------------------------------
removeChildboolean removeChild(String childId)No description in source.
childrenint children()No description in source.
childAtString childAt(int i)No description in source.
setTextvoid setText(String t)---- text ---------------------------------------------------------------
textString text()No description in source.
setAttributevoid setAttribute(String name, String value)---- attributes ---------------------------------------------------------
getAttributeString getAttribute(String name)No description in source.
hasAttributeboolean hasAttribute(String name)No description in source.
attrIndexint attrIndex(String name)No description in source.
setStylevoid setStyle(String prop, String value)---- style (DHTML inline style) -----------------------------------------
getStyleString getStyle(String prop)No description in source.
styleIndexint styleIndex(String prop)No description in source.
styleEntriesint styleEntries()No description in source.
showvoid show()---- visibility / enabled -----------------------------------------------
hidevoid hide()No description in source.
isVisibleboolean isVisible()No description in source.
setEnabledvoid setEnabled(boolean on)No description in source.
isEnabledboolean isEnabled()No description in source.
mountvoid mount(int widgetHandle)---- host mount ---------------------------------------------------------
widgetHandleint widgetHandle()No description in source.
mountedboolean mounted()No description in source.
effectsSLGuiEffects effects()---- 3.0 visual effects ------------------------------------------------- Lazily create and return this node's effects bundle; marks the node dirty so the host re-syncs its presentation.
hasEffectsboolean hasEffects()No description in source.
effectsOrNullSLGuiEffects effectsOrNull()No description in source.
applyEffectsvoid applyEffects()Flatten the effects bundle into the node's "effect" style property so the SLGuiMount reconciler pushes it to the live widget on the next pass. A node with no effects clears the property.
tickEffectsboolean tickEffects(int elapsedMillis)Advance any scheduled ("schene") rotation by elapsed time, reflecting the new angle into the style. Returns true when the rotation moved.
isDirtyboolean isDirty()No description in source.
clearDirtyvoid clearDirty()No description in source.

SLGuiRotationSchedule #sleela 2.5 (lib/gui/version-thual/SLGuiRotationSchedule.sleela)

SLGuiRotationSchedule class

Defines SLGuiRotationSchedule — a "schene": a scheduled rotation cadence for a UI component. On its face it rotates a component by a fixed step every interval (a clean, professional motion accent). Its second, deliberate role is a CRYPTOGRAPHIC ROTATION CADENCE for an internal memorandum: the same tick that advances the visible angle also advances a key epoch, so "the component is rotating" and "the memo's internal key has rotated to a new epoch" are one observable event. The visible rotation is the honest, external signal of an internal key rotation — rotation you can see maps to rotation you can trust. This class carries ONLY the cadence/accounting (interval, step, epoch, bounded total turns); it does not implement a cipher. It states how often the memorandum's key epoch turns and lets a consumer read epoch()/turns() to drive the actual key schedule elsewhere. Every value is clamped. Family: gui. Carried by SLGuiEffects; advanced by the app/mount loop tick.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
intervalMillisint intervalMillistime between rotation steps, 50..3600000 ms
stepDegint stepDegdegrees added each interval, -359..359
runningint running1 while the cadence advances
accumMillisint accumMilliselapsed time banked toward the next step
epochint epochkey epoch: increments once per completed step
turnsint turnstotal steps applied
maxTurnsint maxTurns0 = unbounded; else stop after maxTurns steps
memoLabelString memoLabelthe internal memorandum this cadence rotates the key for

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int intervalMs, int degPerStep)No description in source.
clampIntervalint clampInterval(int ms)No description in source.
clampStepint clampStep(int d)No description in source.
bindMemorandumvoid bindMemorandum(String label, int epochCap)Name the internal memorandum whose key epoch this schene rotates, and optionally cap how many epochs it will turn through (0 = unbounded).
startvoid start()No description in source.
stopvoid stop()No description in source.
activeboolean active()No description in source.
advanceint advance(int elapsedMillis)Advance by `elapsedMillis`. When a full interval banks (and the turn cap is not reached), apply one step: bump the epoch + turns and return the degree step to add. Returns 0 when no step fired this tick.
getIntervalMillisint getIntervalMillis()No description in source.
getStepDegint getStepDeg()No description in source.
epochNowint epochNow()No description in source.
totalTurnsint totalTurns()No description in source.
getMaxTurnsint getMaxTurns()No description in source.
memorandumString memorandum()No description in source.
boundToMemorandumboolean boundToMemorandum()No description in source.
honoredboolean honored()No description in source.

SLGuiRotationSchedule #sleela 2.5 (lib/gui/version-military/SLGuiRotationSchedule.sleela)

SLGuiRotationSchedule class

Defines SLGuiRotationSchedule — a "schene": a scheduled rotation cadence for a UI component. On its face it rotates a component by a fixed step every interval (a clean, professional motion accent). Its second, deliberate role is a CRYPTOGRAPHIC ROTATION CADENCE for an internal memorandum: the same tick that advances the visible angle also advances a key epoch, so "the component is rotating" and "the memo's internal key has rotated to a new epoch" are one observable event. The visible rotation is the honest, external signal of an internal key rotation — rotation you can see maps to rotation you can trust. This class carries ONLY the cadence/accounting (interval, step, epoch, bounded total turns); it does not implement a cipher. It states how often the memorandum's key epoch turns and lets a consumer read epoch()/turns() to drive the actual key schedule elsewhere. Every value is clamped. Family: gui. Carried by SLGuiEffects; advanced by the app/mount loop tick.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
intervalMillisint intervalMillistime between rotation steps, 50..3600000 ms
stepDegint stepDegdegrees added each interval, -359..359
runningint running1 while the cadence advances
accumMillisint accumMilliselapsed time banked toward the next step
epochint epochkey epoch: increments once per completed step
turnsint turnstotal steps applied
maxTurnsint maxTurns0 = unbounded; else stop after maxTurns steps
memoLabelString memoLabelthe internal memorandum this cadence rotates the key for

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int intervalMs, int degPerStep)No description in source.
clampIntervalint clampInterval(int ms)No description in source.
clampStepint clampStep(int d)No description in source.
bindMemorandumvoid bindMemorandum(String label, int epochCap)Name the internal memorandum whose key epoch this schene rotates, and optionally cap how many epochs it will turn through (0 = unbounded).
startvoid start()No description in source.
stopvoid stop()No description in source.
activeboolean active()No description in source.
advanceint advance(int elapsedMillis)Advance by `elapsedMillis`. When a full interval banks (and the turn cap is not reached), apply one step: bump the epoch + turns and return the degree step to add. Returns 0 when no step fired this tick.
getIntervalMillisint getIntervalMillis()No description in source.
getStepDegint getStepDeg()No description in source.
epochNowint epochNow()No description in source.
totalTurnsint totalTurns()No description in source.
getMaxTurnsint getMaxTurns()No description in source.
memorandumString memorandum()No description in source.
boundToMemorandumboolean boundToMemorandum()No description in source.
honoredboolean honored()No description in source.

SLGuiRotationSchedule #sleela 2.5 (lib/gui/version-dual/SLGuiRotationSchedule.sleela)

SLGuiRotationSchedule class

Defines SLGuiRotationSchedule — a "schene": a scheduled rotation cadence for a UI component. On its face it rotates a component by a fixed step every interval (a clean, professional motion accent). Its second, deliberate role is a CRYPTOGRAPHIC ROTATION CADENCE for an internal memorandum: the same tick that advances the visible angle also advances a key epoch, so "the component is rotating" and "the memo's internal key has rotated to a new epoch" are one observable event. The visible rotation is the honest, external signal of an internal key rotation — rotation you can see maps to rotation you can trust. This class carries ONLY the cadence/accounting (interval, step, epoch, bounded total turns); it does not implement a cipher. It states how often the memorandum's key epoch turns and lets a consumer read epoch()/turns() to drive the actual key schedule elsewhere. Every value is clamped. Family: gui. Carried by SLGuiEffects; advanced by the app/mount loop tick.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
intervalMillisint intervalMillistime between rotation steps, 50..3600000 ms
stepDegint stepDegdegrees added each interval, -359..359
runningint running1 while the cadence advances
accumMillisint accumMilliselapsed time banked toward the next step
epochint epochkey epoch: increments once per completed step
turnsint turnstotal steps applied
maxTurnsint maxTurns0 = unbounded; else stop after maxTurns steps
memoLabelString memoLabelthe internal memorandum this cadence rotates the key for

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int intervalMs, int degPerStep)No description in source.
clampIntervalint clampInterval(int ms)No description in source.
clampStepint clampStep(int d)No description in source.
bindMemorandumvoid bindMemorandum(String label, int epochCap)Name the internal memorandum whose key epoch this schene rotates, and optionally cap how many epochs it will turn through (0 = unbounded).
startvoid start()No description in source.
stopvoid stop()No description in source.
activeboolean active()No description in source.
advanceint advance(int elapsedMillis)Advance by `elapsedMillis`. When a full interval banks (and the turn cap is not reached), apply one step: bump the epoch + turns and return the degree step to add. Returns 0 when no step fired this tick.
getIntervalMillisint getIntervalMillis()No description in source.
getStepDegint getStepDeg()No description in source.
epochNowint epochNow()No description in source.
totalTurnsint totalTurns()No description in source.
getMaxTurnsint getMaxTurns()No description in source.
memorandumString memorandum()No description in source.
boundToMemorandumboolean boundToMemorandum()No description in source.
honoredboolean honored()No description in source.

SLGuiRuntime #sleela 2.5 (lib/gui/version-gual/SLGuiRuntime.sleela)

SLGuiRuntime class

Defines SLGuiRuntime — Path 2 of gui/INTEGRATION.md: SLeeLa owns GUI intent and the host (Swing/JavaFX) supplies the desktop controls. Mirrors SleelaGuiRuntime: window(title,w,h), text(...), action(name,op), and the listen(...) document-change option that refreshes the running window directly on an OS call.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
windowSLGuiWindow windowNo description in source.
listenerSLGuiDocumentListener listenerNo description in source.
listeningint listening1 when the listen option is enabled

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(SLGuiWindow w)No description in source.
openWindowvoid openWindow(String title, int width, int height)Open/describe the window at the requested size.
textvoid text(String value)Publish text to the running window.
listenboolean listen(SLGuiDocumentListener l)Enable the document-change listener option over 1..14 documents; the listener refreshes the running window directly when a document changes.
isListeningboolean isListening()No description in source.
onDocumentChangeint onDocumentChange(String documentId, String revision, int realChanges)An OS call reports `realChanges`; refresh the window for the change.
refreshNowint refreshNow(int realChanges)No description in source.
stopListeningvoid stopListening()No description in source.
closevoid close()No description in source.

SLGuiRuntime #sleela 2.5 (lib/gui/version-mual/SLGuiRuntime.sleela)

SLGuiRuntime class

Defines SLGuiRuntime — Path 2 of gui/INTEGRATION.md: SLeeLa owns GUI intent and the host (Swing/JavaFX) supplies the desktop controls. Mirrors SleelaGuiRuntime: window(title,w,h), text(...), action(name,op), and the listen(...) document-change option that refreshes the running window directly on an OS call.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
windowSLGuiWindow windowNo description in source.
listenerSLGuiDocumentListener listenerNo description in source.
listeningint listening1 when the listen option is enabled

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(SLGuiWindow w)No description in source.
openWindowvoid openWindow(String title, int width, int height)Open/describe the window at the requested size.
textvoid text(String value)Publish text to the running window.
listenboolean listen(SLGuiDocumentListener l)Enable the document-change listener option over 1..14 documents; the listener refreshes the running window directly when a document changes.
isListeningboolean isListening()No description in source.
onDocumentChangeint onDocumentChange(String documentId, String revision, int realChanges)An OS call reports `realChanges`; refresh the window for the change.
refreshNowint refreshNow(int realChanges)No description in source.
stopListeningvoid stopListening()No description in source.
closevoid close()No description in source.

SLGuiRuntime #sleela 2.5 (lib/gui/version-thual/SLGuiRuntime.sleela)

SLGuiRuntime class

Defines SLGuiRuntime — Path 2 of gui/INTEGRATION.md: SLeeLa owns GUI intent and the host (Swing/JavaFX) supplies the desktop controls. Mirrors SleelaGuiRuntime: window(title,w,h), text(...), action(name,op), and the listen(...) document-change option that refreshes the running window directly on an OS call.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
windowSLGuiWindow windowNo description in source.
listenerSLGuiDocumentListener listenerNo description in source.
listeningint listening1 when the listen option is enabled

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(SLGuiWindow w)No description in source.
openWindowvoid openWindow(String title, int width, int height)Open/describe the window at the requested size.
textvoid text(String value)Publish text to the running window.
listenboolean listen(SLGuiDocumentListener l)Enable the document-change listener option over 1..14 documents; the listener refreshes the running window directly when a document changes.
isListeningboolean isListening()No description in source.
onDocumentChangeint onDocumentChange(String documentId, String revision, int realChanges)An OS call reports `realChanges`; refresh the window for the change.
refreshNowint refreshNow(int realChanges)No description in source.
stopListeningvoid stopListening()No description in source.
closevoid close()No description in source.

SLGuiRuntime #sleela 2.5 (lib/gui/version-military/SLGuiRuntime.sleela)

SLGuiRuntime class

Defines SLGuiRuntime — Path 2 of gui/INTEGRATION.md: SLeeLa owns GUI intent and the host (Swing/JavaFX) supplies the desktop controls. Mirrors SleelaGuiRuntime: window(title,w,h), text(...), action(name,op), and the listen(...) document-change option that refreshes the running window directly on an OS call.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
windowSLGuiWindow windowNo description in source.
listenerSLGuiDocumentListener listenerNo description in source.
listeningint listening1 when the listen option is enabled

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(SLGuiWindow w)No description in source.
openWindowvoid openWindow(String title, int width, int height)Open/describe the window at the requested size.
textvoid text(String value)Publish text to the running window.
listenboolean listen(SLGuiDocumentListener l)Enable the document-change listener option over 1..14 documents; the listener refreshes the running window directly when a document changes.
isListeningboolean isListening()No description in source.
onDocumentChangeint onDocumentChange(String documentId, String revision, int realChanges)An OS call reports `realChanges`; refresh the window for the change.
refreshNowint refreshNow(int realChanges)No description in source.
stopListeningvoid stopListening()No description in source.
closevoid close()No description in source.

SLGuiRuntime #sleela 2.5 (lib/gui/version-dual/SLGuiRuntime.sleela)

SLGuiRuntime class

Defines SLGuiRuntime — Path 2 of gui/INTEGRATION.md: SLeeLa owns GUI intent and the host (Swing/JavaFX) supplies the desktop controls. Mirrors SleelaGuiRuntime: window(title,w,h), text(...), action(name,op), and the listen(...) document-change option that refreshes the running window directly on an OS call.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
windowSLGuiWindow windowNo description in source.
listenerSLGuiDocumentListener listenerNo description in source.
listeningint listening1 when the listen option is enabled

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(SLGuiWindow w)No description in source.
openWindowvoid openWindow(String title, int width, int height)Open/describe the window at the requested size.
textvoid text(String value)Publish text to the running window.
listenboolean listen(SLGuiDocumentListener l)Enable the document-change listener option over 1..14 documents; the listener refreshes the running window directly when a document changes.
isListeningboolean isListening()No description in source.
onDocumentChangeint onDocumentChange(String documentId, String revision, int realChanges)An OS call reports `realChanges`; refresh the window for the change.
refreshNowint refreshNow(int realChanges)No description in source.
stopListeningvoid stopListening()No description in source.
closevoid close()No description in source.

SLGuiScreenFit #sleela 2.5 (lib/gui/version-gual/SLGuiScreenFit.sleela)

SLGuiScreenFit class

Defines SLGuiScreenFit — the helper that sizes a

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TIER_BASICstatic final int TIER_BASIC = 0Support tiers.
TIER_MODERATEstatic final int TIER_MODERATE = 1No description in source.
TIER_ADVANCEDstatic final int TIER_ADVANCED = 2No description in source.
RES_SDstatic final int RES_SD = 0Resolution classes (ADVANCED tier buckets), by the SHORTER screen edge. ≤ 720 (SD / small)
RES_HDstatic final int RES_HD = 1≤ 1080 (Full HD)
RES_QHDstatic final int RES_QHD = 2≤ 1440 (QHD)
RES_UHDstatic final int RES_UHD = 3> 1440 (4K+ / ultra)
tierint tierNo description in source.
screenKnownint screenKnown1 when a real screen was reported
marginPxint marginPxwork-area inset kept clear on every side
fillPctint fillPctBASIC/MODERATE: % of screen to occupy
MODEL_Wstatic final int MODEL_W = 1920modeled fallback resolution
MODEL_Hstatic final int MODEL_H = 1080No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
iminint imin(int a, int b)No description in source.
imaxint imax(int a, int b)No description in source.
configurevoid configure(int supportTier)Install documented defaults. `supportTier` picks basic/moderate/advanced.
setScreenvoid setScreen(int w, int h)Feed the ACTUAL screen from uiScreenWidth/uiScreenHeight. A non-positive value means "unknown" (headless), so we keep the modeled fallback.
setFillPctvoid setFillPct(int pct)No description in source.
setMarginvoid setMargin(int px)No description in source.
setMinSizevoid setMinSize(int w, int h)Keep the min/max interval valid when a caller raises the minimum. The minimum is authoritative: if it overtakes the old maximum, advance the maximum with it instead of leaving fit()/honored() contradictory.
setMaxSizevoid setMaxSize(int w, int h)No description in source.
workWint workW()The usable work area = screen minus the margin on each side.
workHint workH()No description in source.
resolutionClassint resolutionClass()ADVANCED: classify the screen by its shorter edge.
classFillPctint classFillPct()ADVANCED: the target fill % for a resolution class — larger screens give the window proportionally LESS of the glass (a 4K window at 90% is huge).
classCapWint classCapW()ADVANCED: an absolute cap per class so a window never becomes unwieldy.
classCapHint classCapH()No description in source.
fitint fit()Compute the window size+position for the configured tier. Returns the resolved width; outW/outH/outX/outY hold the full result.
widthint width()---- readers ------------------------------------------------------------
heightint height()No description in source.
xint x()No description in source.
yint y()No description in source.
getTierint getTier()No description in source.
screenIsKnownboolean screenIsKnown()No description in source.
tierNameString tierName()No description in source.
resolutionClassNameString resolutionClassName()No description in source.
honoredboolean honored()Internally consistent: a positive, in-range result that fits the screen.
reportString report()No description in source.

SLGuiScreenFit #sleela 2.5 (lib/gui/version-mual/SLGuiScreenFit.sleela)

SLGuiScreenFit class

Defines SLGuiScreenFit — the helper that sizes a

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TIER_BASICstatic final int TIER_BASIC = 0Support tiers.
TIER_MODERATEstatic final int TIER_MODERATE = 1No description in source.
TIER_ADVANCEDstatic final int TIER_ADVANCED = 2No description in source.
RES_SDstatic final int RES_SD = 0Resolution classes (ADVANCED tier buckets), by the SHORTER screen edge. ≤ 720 (SD / small)
RES_HDstatic final int RES_HD = 1≤ 1080 (Full HD)
RES_QHDstatic final int RES_QHD = 2≤ 1440 (QHD)
RES_UHDstatic final int RES_UHD = 3> 1440 (4K+ / ultra)
tierint tierNo description in source.
screenKnownint screenKnown1 when a real screen was reported
marginPxint marginPxwork-area inset kept clear on every side
fillPctint fillPctBASIC/MODERATE: % of screen to occupy
MODEL_Wstatic final int MODEL_W = 1920modeled fallback resolution
MODEL_Hstatic final int MODEL_H = 1080No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
iminint imin(int a, int b)No description in source.
imaxint imax(int a, int b)No description in source.
configurevoid configure(int supportTier)Install documented defaults. `supportTier` picks basic/moderate/advanced.
setScreenvoid setScreen(int w, int h)Feed the ACTUAL screen from uiScreenWidth/uiScreenHeight. A non-positive value means "unknown" (headless), so we keep the modeled fallback.
setFillPctvoid setFillPct(int pct)No description in source.
setMarginvoid setMargin(int px)No description in source.
setMinSizevoid setMinSize(int w, int h)Keep the min/max interval valid when a caller raises the minimum. The minimum is authoritative: if it overtakes the old maximum, advance the maximum with it instead of leaving fit()/honored() contradictory.
setMaxSizevoid setMaxSize(int w, int h)No description in source.
workWint workW()The usable work area = screen minus the margin on each side.
workHint workH()No description in source.
resolutionClassint resolutionClass()ADVANCED: classify the screen by its shorter edge.
classFillPctint classFillPct()ADVANCED: the target fill % for a resolution class — larger screens give the window proportionally LESS of the glass (a 4K window at 90% is huge).
classCapWint classCapW()ADVANCED: an absolute cap per class so a window never becomes unwieldy.
classCapHint classCapH()No description in source.
fitint fit()Compute the window size+position for the configured tier. Returns the resolved width; outW/outH/outX/outY hold the full result.
widthint width()---- readers ------------------------------------------------------------
heightint height()No description in source.
xint x()No description in source.
yint y()No description in source.
getTierint getTier()No description in source.
screenIsKnownboolean screenIsKnown()No description in source.
tierNameString tierName()No description in source.
resolutionClassNameString resolutionClassName()No description in source.
honoredboolean honored()Internally consistent: a positive, in-range result that fits the screen.
reportString report()No description in source.

SLGuiScreenFit #sleela 2.5 (lib/gui/version-thual/SLGuiScreenFit.sleela)

SLGuiScreenFit class

Defines SLGuiScreenFit — the helper that sizes a

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TIER_BASICstatic final int TIER_BASIC = 0Support tiers.
TIER_MODERATEstatic final int TIER_MODERATE = 1No description in source.
TIER_ADVANCEDstatic final int TIER_ADVANCED = 2No description in source.
RES_SDstatic final int RES_SD = 0Resolution classes (ADVANCED tier buckets), by the SHORTER screen edge. ≤ 720 (SD / small)
RES_HDstatic final int RES_HD = 1≤ 1080 (Full HD)
RES_QHDstatic final int RES_QHD = 2≤ 1440 (QHD)
RES_UHDstatic final int RES_UHD = 3> 1440 (4K+ / ultra)
tierint tierNo description in source.
screenKnownint screenKnown1 when a real screen was reported
marginPxint marginPxwork-area inset kept clear on every side
fillPctint fillPctBASIC/MODERATE: % of screen to occupy
MODEL_Wstatic final int MODEL_W = 1920modeled fallback resolution
MODEL_Hstatic final int MODEL_H = 1080No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
iminint imin(int a, int b)No description in source.
imaxint imax(int a, int b)No description in source.
configurevoid configure(int supportTier)Install documented defaults. `supportTier` picks basic/moderate/advanced.
setScreenvoid setScreen(int w, int h)Feed the ACTUAL screen from uiScreenWidth/uiScreenHeight. A non-positive value means "unknown" (headless), so we keep the modeled fallback.
setFillPctvoid setFillPct(int pct)No description in source.
setMarginvoid setMargin(int px)No description in source.
setMinSizevoid setMinSize(int w, int h)Keep the min/max interval valid when a caller raises the minimum. The minimum is authoritative: if it overtakes the old maximum, advance the maximum with it instead of leaving fit()/honored() contradictory.
setMaxSizevoid setMaxSize(int w, int h)No description in source.
workWint workW()The usable work area = screen minus the margin on each side.
workHint workH()No description in source.
resolutionClassint resolutionClass()ADVANCED: classify the screen by its shorter edge.
classFillPctint classFillPct()ADVANCED: the target fill % for a resolution class — larger screens give the window proportionally LESS of the glass (a 4K window at 90% is huge).
classCapWint classCapW()ADVANCED: an absolute cap per class so a window never becomes unwieldy.
classCapHint classCapH()No description in source.
fitint fit()Compute the window size+position for the configured tier. Returns the resolved width; outW/outH/outX/outY hold the full result.
widthint width()---- readers ------------------------------------------------------------
heightint height()No description in source.
xint x()No description in source.
yint y()No description in source.
getTierint getTier()No description in source.
screenIsKnownboolean screenIsKnown()No description in source.
tierNameString tierName()No description in source.
resolutionClassNameString resolutionClassName()No description in source.
honoredboolean honored()Internally consistent: a positive, in-range result that fits the screen.
reportString report()No description in source.

SLGuiScreenFit #sleela 2.5 (lib/gui/version-military/SLGuiScreenFit.sleela)

SLGuiScreenFit class

Defines SLGuiScreenFit — the military-line helper that sizes a

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TIER_BASICstatic final int TIER_BASIC = 0Support tiers.
TIER_MODERATEstatic final int TIER_MODERATE = 1No description in source.
TIER_ADVANCEDstatic final int TIER_ADVANCED = 2No description in source.
RES_SDstatic final int RES_SD = 0Resolution classes (ADVANCED tier buckets), by the SHORTER screen edge. ≤ 720 (SD / small)
RES_HDstatic final int RES_HD = 1≤ 1080 (Full HD)
RES_QHDstatic final int RES_QHD = 2≤ 1440 (QHD)
RES_UHDstatic final int RES_UHD = 3> 1440 (4K+ / ultra)
tierint tierNo description in source.
screenKnownint screenKnown1 when a real screen was reported
marginPxint marginPxwork-area inset kept clear on every side
fillPctint fillPctBASIC/MODERATE: % of screen to occupy
MODEL_Wstatic final int MODEL_W = 1920modeled fallback resolution
MODEL_Hstatic final int MODEL_H = 1080No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
iminint imin(int a, int b)No description in source.
imaxint imax(int a, int b)No description in source.
configurevoid configure(int supportTier)Install documented defaults. `supportTier` picks basic/moderate/advanced.
setScreenvoid setScreen(int w, int h)Feed the ACTUAL screen from uiScreenWidth/uiScreenHeight. A non-positive value means "unknown" (headless), so we keep the modeled fallback.
setFillPctvoid setFillPct(int pct)No description in source.
setMarginvoid setMargin(int px)No description in source.
setMinSizevoid setMinSize(int w, int h)Keep the min/max interval valid when a caller raises the minimum. The minimum is authoritative: if it overtakes the old maximum, advance the maximum with it instead of leaving fit()/honored() contradictory.
setMaxSizevoid setMaxSize(int w, int h)No description in source.
workWint workW()The usable work area = screen minus the margin on each side.
workHint workH()No description in source.
resolutionClassint resolutionClass()ADVANCED: classify the screen by its shorter edge.
classFillPctint classFillPct()ADVANCED: the target fill % for a resolution class — larger screens give the window proportionally LESS of the glass (a 4K window at 90% is huge).
classCapWint classCapW()ADVANCED: an absolute cap per class so a window never becomes unwieldy.
classCapHint classCapH()No description in source.
fitint fit()Compute the window size+position for the configured tier. Returns the resolved width; outW/outH/outX/outY hold the full result.
widthint width()---- readers ------------------------------------------------------------
heightint height()No description in source.
xint x()No description in source.
yint y()No description in source.
getTierint getTier()No description in source.
screenIsKnownboolean screenIsKnown()No description in source.
tierNameString tierName()No description in source.
resolutionClassNameString resolutionClassName()No description in source.
honoredboolean honored()Internally consistent: a positive, in-range result that fits the screen.
reportString report()No description in source.

SLGuiScreenFit #sleela 2.5 (lib/gui/version-dual/SLGuiScreenFit.sleela)

SLGuiScreenFit class

Defines SLGuiScreenFit — the helper that sizes a

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TIER_BASICstatic final int TIER_BASIC = 0Support tiers.
TIER_MODERATEstatic final int TIER_MODERATE = 1No description in source.
TIER_ADVANCEDstatic final int TIER_ADVANCED = 2No description in source.
RES_SDstatic final int RES_SD = 0Resolution classes (ADVANCED tier buckets), by the SHORTER screen edge. ≤ 720 (SD / small)
RES_HDstatic final int RES_HD = 1≤ 1080 (Full HD)
RES_QHDstatic final int RES_QHD = 2≤ 1440 (QHD)
RES_UHDstatic final int RES_UHD = 3> 1440 (4K+ / ultra)
tierint tierNo description in source.
screenKnownint screenKnown1 when a real screen was reported
marginPxint marginPxwork-area inset kept clear on every side
fillPctint fillPctBASIC/MODERATE: % of screen to occupy
MODEL_Wstatic final int MODEL_W = 1920modeled fallback resolution
MODEL_Hstatic final int MODEL_H = 1080No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
iminint imin(int a, int b)No description in source.
imaxint imax(int a, int b)No description in source.
configurevoid configure(int supportTier)Install documented defaults. `supportTier` picks basic/moderate/advanced.
setScreenvoid setScreen(int w, int h)Feed the ACTUAL screen from uiScreenWidth/uiScreenHeight. A non-positive value means "unknown" (headless), so we keep the modeled fallback.
setFillPctvoid setFillPct(int pct)No description in source.
setMarginvoid setMargin(int px)No description in source.
setMinSizevoid setMinSize(int w, int h)Keep the min/max interval valid when a caller raises the minimum. The minimum is authoritative: if it overtakes the old maximum, advance the maximum with it instead of leaving fit()/honored() contradictory.
setMaxSizevoid setMaxSize(int w, int h)No description in source.
workWint workW()The usable work area = screen minus the margin on each side.
workHint workH()No description in source.
resolutionClassint resolutionClass()ADVANCED: classify the screen by its shorter edge.
classFillPctint classFillPct()ADVANCED: the target fill % for a resolution class — larger screens give the window proportionally LESS of the glass (a 4K window at 90% is huge).
classCapWint classCapW()ADVANCED: an absolute cap per class so a window never becomes unwieldy.
classCapHint classCapH()No description in source.
fitint fit()Compute the window size+position for the configured tier. Returns the resolved width; outW/outH/outX/outY hold the full result.
widthint width()---- readers ------------------------------------------------------------
heightint height()No description in source.
xint x()No description in source.
yint y()No description in source.
getTierint getTier()No description in source.
screenIsKnownboolean screenIsKnown()No description in source.
tierNameString tierName()No description in source.
resolutionClassNameString resolutionClassName()No description in source.
honoredboolean honored()Internally consistent: a positive, in-range result that fits the screen.
reportString report()No description in source.

SLGuiScript #sleela 2.5 (lib/gui/version-gual/SLGuiScript.sleela)

SLGuiScript class

Defines SLGuiScript — the scripting engine for /lib/gui. It holds an ordered list of SLGuiScriptCommands and runs them against an SLGuiDom (and, for the `call` verb, across the native boundary via SLGuiBridge). This is the "support for scripting" layer: a UI can be described and driven by a command list rather than hand-written SLeeLa, which is what makes DHTML-style authoring and tooling (serialising a UI, replaying interactions, data-driven screens) possible. The engine is deliberately NOT a general interpreter — it is a bounded, auditable verb list that only touches the SLeeLa-owned DOM/event bus and the documented operation bridge, so a script can never do more than the DOM API already allows. Family: gui. SLeeLa owns execution; scripts express UI intent declaratively.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_COMMANDSstatic final int MAX_COMMANDS = 65536No description in source.
commandsSLGuiScriptCommand[] commandsNo description in source.
countint countNo description in source.
domSLGuiDom domthe document the script manipulates
bridgeSLGuiBridge bridgenative boundary for the `call` verb (may be null)
typesSLGuiEventType typesevent-name -> ordinal
pcint pcprogram counter of the last executed command
executedint executedtotal commands executed
lastErrorString lastErrorNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document)No description in source.
attachBridgevoid attachBridge(SLGuiBridge b)Attach a created native bridge so `call` can cross to a SLeeLa operation.
sizeint size()No description in source.
addSLGuiScriptCommand add(int verb, String a, String b, String c, String d)No description in source.
createvoid create(String tag, String id, String parentId)Typed builders (the common verbs) for readable script assembly.
appendvoid append(String parentId, String childId)No description in source.
textvoid text(String id, String value)No description in source.
attrvoid attr(String id, String name, String value)No description in source.
stylevoid style(String id, String prop, String value)No description in source.
showvoid show(String id)No description in source.
hidevoid hide(String id)No description in source.
enablevoid enable(String id, boolean on)No description in source.
onvoid on(String id, String eventName, String op)No description in source.
firevoid fire(String id, String eventName, String value)No description in source.
callvoid call(String operation, String arguments)No description in source.
removevoid remove(String id)No description in source.
runint run()Run the whole script top-down against the DOM. Returns the number of commands that executed successfully; stops and records lastError on the first command that fails.
stepboolean step(SLGuiScriptCommand cmd)Execute one command against the DOM / bridge. Returns false on failure.
programCounterint programCounter()No description in source.
executedCountint executedCount()No description in source.
errorString error()No description in source.
okboolean ok()No description in source.

SLGuiScript #sleela 2.5 (lib/gui/version-mual/SLGuiScript.sleela)

SLGuiScript class

Defines SLGuiScript — the scripting engine for /lib/gui. It holds an ordered list of SLGuiScriptCommands and runs them against an SLGuiDom (and, for the `call` verb, across the native boundary via SLGuiBridge). This is the "support for scripting" layer: a UI can be described and driven by a command list rather than hand-written SLeeLa, which is what makes DHTML-style authoring and tooling (serialising a UI, replaying interactions, data-driven screens) possible. The engine is deliberately NOT a general interpreter — it is a bounded, auditable verb list that only touches the SLeeLa-owned DOM/event bus and the documented operation bridge, so a script can never do more than the DOM API already allows. Family: gui. SLeeLa owns execution; scripts express UI intent declaratively.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_COMMANDSstatic final int MAX_COMMANDS = 65536No description in source.
commandsSLGuiScriptCommand[] commandsNo description in source.
countint countNo description in source.
domSLGuiDom domthe document the script manipulates
bridgeSLGuiBridge bridgenative boundary for the `call` verb (may be null)
typesSLGuiEventType typesevent-name -> ordinal
pcint pcprogram counter of the last executed command
executedint executedtotal commands executed
lastErrorString lastErrorNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document)No description in source.
attachBridgevoid attachBridge(SLGuiBridge b)Attach a created native bridge so `call` can cross to a SLeeLa operation.
sizeint size()No description in source.
addSLGuiScriptCommand add(int verb, String a, String b, String c, String d)No description in source.
createvoid create(String tag, String id, String parentId)Typed builders (the common verbs) for readable script assembly.
appendvoid append(String parentId, String childId)No description in source.
textvoid text(String id, String value)No description in source.
attrvoid attr(String id, String name, String value)No description in source.
stylevoid style(String id, String prop, String value)No description in source.
showvoid show(String id)No description in source.
hidevoid hide(String id)No description in source.
enablevoid enable(String id, boolean on)No description in source.
onvoid on(String id, String eventName, String op)No description in source.
firevoid fire(String id, String eventName, String value)No description in source.
callvoid call(String operation, String arguments)No description in source.
removevoid remove(String id)No description in source.
runint run()Run the whole script top-down against the DOM. Returns the number of commands that executed successfully; stops and records lastError on the first command that fails.
stepboolean step(SLGuiScriptCommand cmd)Execute one command against the DOM / bridge. Returns false on failure.
programCounterint programCounter()No description in source.
executedCountint executedCount()No description in source.
errorString error()No description in source.
okboolean ok()No description in source.

SLGuiScript #sleela 2.5 (lib/gui/version-thual/SLGuiScript.sleela)

SLGuiScript class

Defines SLGuiScript — the scripting engine for /lib/gui. It holds an ordered list of SLGuiScriptCommands and runs them against an SLGuiDom (and, for the `call` verb, across the native boundary via SLGuiBridge). This is the "support for scripting" layer: a UI can be described and driven by a command list rather than hand-written SLeeLa, which is what makes DHTML-style authoring and tooling (serialising a UI, replaying interactions, data-driven screens) possible. The engine is deliberately NOT a general interpreter — it is a bounded, auditable verb list that only touches the SLeeLa-owned DOM/event bus and the documented operation bridge, so a script can never do more than the DOM API already allows. Family: gui. SLeeLa owns execution; scripts express UI intent declaratively.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_COMMANDSstatic final int MAX_COMMANDS = 65536No description in source.
commandsSLGuiScriptCommand[] commandsNo description in source.
countint countNo description in source.
domSLGuiDom domthe document the script manipulates
bridgeSLGuiBridge bridgenative boundary for the `call` verb (may be null)
typesSLGuiEventType typesevent-name -> ordinal
pcint pcprogram counter of the last executed command
executedint executedtotal commands executed
lastErrorString lastErrorNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document)No description in source.
attachBridgevoid attachBridge(SLGuiBridge b)Attach a created native bridge so `call` can cross to a SLeeLa operation.
sizeint size()No description in source.
addSLGuiScriptCommand add(int verb, String a, String b, String c, String d)No description in source.
createvoid create(String tag, String id, String parentId)Typed builders (the common verbs) for readable script assembly.
appendvoid append(String parentId, String childId)No description in source.
textvoid text(String id, String value)No description in source.
attrvoid attr(String id, String name, String value)No description in source.
stylevoid style(String id, String prop, String value)No description in source.
showvoid show(String id)No description in source.
hidevoid hide(String id)No description in source.
enablevoid enable(String id, boolean on)No description in source.
onvoid on(String id, String eventName, String op)No description in source.
firevoid fire(String id, String eventName, String value)No description in source.
callvoid call(String operation, String arguments)No description in source.
removevoid remove(String id)No description in source.
runint run()Run the whole script top-down against the DOM. Returns the number of commands that executed successfully; stops and records lastError on the first command that fails.
stepboolean step(SLGuiScriptCommand cmd)Execute one command against the DOM / bridge. Returns false on failure.
programCounterint programCounter()No description in source.
executedCountint executedCount()No description in source.
errorString error()No description in source.
okboolean ok()No description in source.

SLGuiScript #sleela 2.5 (lib/gui/version-military/SLGuiScript.sleela)

SLGuiScript class

Defines SLGuiScript — the scripting engine for /lib/gui. It holds an ordered list of SLGuiScriptCommands and runs them against an SLGuiDom (and, for the `call` verb, across the native boundary via SLGuiBridge). This is the "support for scripting" layer: a UI can be described and driven by a command list rather than hand-written SLeeLa, which is what makes DHTML-style authoring and tooling (serialising a UI, replaying interactions, data-driven screens) possible. The engine is deliberately NOT a general interpreter — it is a bounded, auditable verb list that only touches the SLeeLa-owned DOM/event bus and the documented operation bridge, so a script can never do more than the DOM API already allows. Family: gui. SLeeLa owns execution; scripts express UI intent declaratively.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_COMMANDSstatic final int MAX_COMMANDS = 65536No description in source.
commandsSLGuiScriptCommand[] commandsNo description in source.
countint countNo description in source.
domSLGuiDom domthe document the script manipulates
bridgeSLGuiBridge bridgenative boundary for the `call` verb (may be null)
typesSLGuiEventType typesevent-name -> ordinal
pcint pcprogram counter of the last executed command
executedint executedtotal commands executed
lastErrorString lastErrorNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document)No description in source.
attachBridgevoid attachBridge(SLGuiBridge b)Attach a created native bridge so `call` can cross to a SLeeLa operation.
sizeint size()No description in source.
addSLGuiScriptCommand add(int verb, String a, String b, String c, String d)No description in source.
createvoid create(String tag, String id, String parentId)Typed builders (the common verbs) for readable script assembly.
appendvoid append(String parentId, String childId)No description in source.
textvoid text(String id, String value)No description in source.
attrvoid attr(String id, String name, String value)No description in source.
stylevoid style(String id, String prop, String value)No description in source.
showvoid show(String id)No description in source.
hidevoid hide(String id)No description in source.
enablevoid enable(String id, boolean on)No description in source.
onvoid on(String id, String eventName, String op)No description in source.
firevoid fire(String id, String eventName, String value)No description in source.
callvoid call(String operation, String arguments)No description in source.
removevoid remove(String id)No description in source.
runint run()Run the whole script top-down against the DOM. Returns the number of commands that executed successfully; stops and records lastError on the first command that fails.
stepboolean step(SLGuiScriptCommand cmd)Execute one command against the DOM / bridge. Returns false on failure.
programCounterint programCounter()No description in source.
executedCountint executedCount()No description in source.
errorString error()No description in source.
okboolean ok()No description in source.

SLGuiScript #sleela 2.5 (lib/gui/version-dual/SLGuiScript.sleela)

SLGuiScript class

Defines SLGuiScript — the scripting engine for /lib/gui. It holds an ordered list of SLGuiScriptCommands and runs them against an SLGuiDom (and, for the `call` verb, across the native boundary via SLGuiBridge). This is the "support for scripting" layer: a UI can be described and driven by a command list rather than hand-written SLeeLa, which is what makes DHTML-style authoring and tooling (serialising a UI, replaying interactions, data-driven screens) possible. The engine is deliberately NOT a general interpreter — it is a bounded, auditable verb list that only touches the SLeeLa-owned DOM/event bus and the documented operation bridge, so a script can never do more than the DOM API already allows. Family: gui. SLeeLa owns execution; scripts express UI intent declaratively.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MAX_COMMANDSstatic final int MAX_COMMANDS = 65536No description in source.
commandsSLGuiScriptCommand[] commandsNo description in source.
countint countNo description in source.
domSLGuiDom domthe document the script manipulates
bridgeSLGuiBridge bridgenative boundary for the `call` verb (may be null)
typesSLGuiEventType typesevent-name -> ordinal
pcint pcprogram counter of the last executed command
executedint executedtotal commands executed
lastErrorString lastErrorNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLGuiDom document)No description in source.
attachBridgevoid attachBridge(SLGuiBridge b)Attach a created native bridge so `call` can cross to a SLeeLa operation.
sizeint size()No description in source.
addSLGuiScriptCommand add(int verb, String a, String b, String c, String d)No description in source.
createvoid create(String tag, String id, String parentId)Typed builders (the common verbs) for readable script assembly.
appendvoid append(String parentId, String childId)No description in source.
textvoid text(String id, String value)No description in source.
attrvoid attr(String id, String name, String value)No description in source.
stylevoid style(String id, String prop, String value)No description in source.
showvoid show(String id)No description in source.
hidevoid hide(String id)No description in source.
enablevoid enable(String id, boolean on)No description in source.
onvoid on(String id, String eventName, String op)No description in source.
firevoid fire(String id, String eventName, String value)No description in source.
callvoid call(String operation, String arguments)No description in source.
removevoid remove(String id)No description in source.
runint run()Run the whole script top-down against the DOM. Returns the number of commands that executed successfully; stops and records lastError on the first command that fails.
stepboolean step(SLGuiScriptCommand cmd)Execute one command against the DOM / bridge. Returns false on failure.
programCounterint programCounter()No description in source.
executedCountint executedCount()No description in source.
errorString error()No description in source.
okboolean ok()No description in source.

SLGuiScriptCommand #sleela 2.5 (lib/gui/version-gual/SLGuiScriptCommand.sleela)

SLGuiScriptCommand class

Defines SLGuiScriptCommand — one instruction of a /lib/gui UI script. The scripting support is a small, safe, declarative command list (not an arbitrary interpreter): each command is a verb plus up to four string operands. The verbs mirror the DOM/event API so a script can build and drive an interface without native code — create, append, text, attr, style, show, hide, enable, on (bind a handler), fire (raise an event), and call (cross the native bridge to a SLeeLa operation). An ordinal verb keeps dispatch cheap; the operands are interpreted per verb by SLGuiScript. Family: gui. Scripts describe UI intent; SLeeLa (via SLGuiScript) executes it against the SLeeLa-owned DOM and event bus.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
CREATEstatic final int CREATE = 0Verb ordinals. create <tag> <id> [parentId]
APPENDstatic final int APPEND = 1append <parentId> <childId>
TEXTstatic final int TEXT = 2text <id> <value>
ATTRstatic final int ATTR = 3attr <id> <name> <value>
STYLEstatic final int STYLE = 4style <id> <prop> <value>
SHOWstatic final int SHOW = 5show <id>
HIDEstatic final int HIDE = 6hide <id>
ENABLEstatic final int ENABLE = 7enable <id> <"1"|"0">
ONstatic final int ON = 8on <id> <eventName> <operation>
FIREstatic final int FIRE = 9fire <id> <eventName> [value]
CALLstatic final int CALL =10call <operation> [arguments]
REMOVEstatic final int REMOVE =11remove <id>
NOPstatic final int NOP =12no-op / comment
verbint verbNo description in source.
aString aoperand 1
bString boperand 2
cString coperand 3
dString doperand 4

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int v, String o1, String o2, String o3, String o4)No description in source.
getVerbint getVerb()No description in source.
op1String op1()No description in source.
op2String op2()No description in source.
op3String op3()No description in source.
op4String op4()No description in source.
verbOfint verbOf(String word)Map a verb keyword to its ordinal (-1 when unknown).
validboolean valid()No description in source.

SLGuiScriptCommand #sleela 2.5 (lib/gui/version-mual/SLGuiScriptCommand.sleela)

SLGuiScriptCommand class

Defines SLGuiScriptCommand — one instruction of a /lib/gui UI script. The scripting support is a small, safe, declarative command list (not an arbitrary interpreter): each command is a verb plus up to four string operands. The verbs mirror the DOM/event API so a script can build and drive an interface without native code — create, append, text, attr, style, show, hide, enable, on (bind a handler), fire (raise an event), and call (cross the native bridge to a SLeeLa operation). An ordinal verb keeps dispatch cheap; the operands are interpreted per verb by SLGuiScript. Family: gui. Scripts describe UI intent; SLeeLa (via SLGuiScript) executes it against the SLeeLa-owned DOM and event bus.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
CREATEstatic final int CREATE = 0Verb ordinals. create <tag> <id> [parentId]
APPENDstatic final int APPEND = 1append <parentId> <childId>
TEXTstatic final int TEXT = 2text <id> <value>
ATTRstatic final int ATTR = 3attr <id> <name> <value>
STYLEstatic final int STYLE = 4style <id> <prop> <value>
SHOWstatic final int SHOW = 5show <id>
HIDEstatic final int HIDE = 6hide <id>
ENABLEstatic final int ENABLE = 7enable <id> <"1"|"0">
ONstatic final int ON = 8on <id> <eventName> <operation>
FIREstatic final int FIRE = 9fire <id> <eventName> [value]
CALLstatic final int CALL =10call <operation> [arguments]
REMOVEstatic final int REMOVE =11remove <id>
NOPstatic final int NOP =12no-op / comment
verbint verbNo description in source.
aString aoperand 1
bString boperand 2
cString coperand 3
dString doperand 4

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int v, String o1, String o2, String o3, String o4)No description in source.
getVerbint getVerb()No description in source.
op1String op1()No description in source.
op2String op2()No description in source.
op3String op3()No description in source.
op4String op4()No description in source.
verbOfint verbOf(String word)Map a verb keyword to its ordinal (-1 when unknown).
validboolean valid()No description in source.

SLGuiScriptCommand #sleela 2.5 (lib/gui/version-thual/SLGuiScriptCommand.sleela)

SLGuiScriptCommand class

Defines SLGuiScriptCommand — one instruction of a /lib/gui UI script. The scripting support is a small, safe, declarative command list (not an arbitrary interpreter): each command is a verb plus up to four string operands. The verbs mirror the DOM/event API so a script can build and drive an interface without native code — create, append, text, attr, style, show, hide, enable, on (bind a handler), fire (raise an event), and call (cross the native bridge to a SLeeLa operation). An ordinal verb keeps dispatch cheap; the operands are interpreted per verb by SLGuiScript. Family: gui. Scripts describe UI intent; SLeeLa (via SLGuiScript) executes it against the SLeeLa-owned DOM and event bus.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
CREATEstatic final int CREATE = 0Verb ordinals. create <tag> <id> [parentId]
APPENDstatic final int APPEND = 1append <parentId> <childId>
TEXTstatic final int TEXT = 2text <id> <value>
ATTRstatic final int ATTR = 3attr <id> <name> <value>
STYLEstatic final int STYLE = 4style <id> <prop> <value>
SHOWstatic final int SHOW = 5show <id>
HIDEstatic final int HIDE = 6hide <id>
ENABLEstatic final int ENABLE = 7enable <id> <"1"|"0">
ONstatic final int ON = 8on <id> <eventName> <operation>
FIREstatic final int FIRE = 9fire <id> <eventName> [value]
CALLstatic final int CALL =10call <operation> [arguments]
REMOVEstatic final int REMOVE =11remove <id>
NOPstatic final int NOP =12no-op / comment
verbint verbNo description in source.
aString aoperand 1
bString boperand 2
cString coperand 3
dString doperand 4

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int v, String o1, String o2, String o3, String o4)No description in source.
getVerbint getVerb()No description in source.
op1String op1()No description in source.
op2String op2()No description in source.
op3String op3()No description in source.
op4String op4()No description in source.
verbOfint verbOf(String word)Map a verb keyword to its ordinal (-1 when unknown).
validboolean valid()No description in source.

SLGuiScriptCommand #sleela 2.5 (lib/gui/version-military/SLGuiScriptCommand.sleela)

SLGuiScriptCommand class

Defines SLGuiScriptCommand — one instruction of a /lib/gui UI script. The scripting support is a small, safe, declarative command list (not an arbitrary interpreter): each command is a verb plus up to four string operands. The verbs mirror the DOM/event API so a script can build and drive an interface without native code — create, append, text, attr, style, show, hide, enable, on (bind a handler), fire (raise an event), and call (cross the native bridge to a SLeeLa operation). An ordinal verb keeps dispatch cheap; the operands are interpreted per verb by SLGuiScript. Family: gui. Scripts describe UI intent; SLeeLa (via SLGuiScript) executes it against the SLeeLa-owned DOM and event bus.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
CREATEstatic final int CREATE = 0Verb ordinals. create <tag> <id> [parentId]
APPENDstatic final int APPEND = 1append <parentId> <childId>
TEXTstatic final int TEXT = 2text <id> <value>
ATTRstatic final int ATTR = 3attr <id> <name> <value>
STYLEstatic final int STYLE = 4style <id> <prop> <value>
SHOWstatic final int SHOW = 5show <id>
HIDEstatic final int HIDE = 6hide <id>
ENABLEstatic final int ENABLE = 7enable <id> <"1"|"0">
ONstatic final int ON = 8on <id> <eventName> <operation>
FIREstatic final int FIRE = 9fire <id> <eventName> [value]
CALLstatic final int CALL =10call <operation> [arguments]
REMOVEstatic final int REMOVE =11remove <id>
NOPstatic final int NOP =12no-op / comment
verbint verbNo description in source.
aString aoperand 1
bString boperand 2
cString coperand 3
dString doperand 4

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int v, String o1, String o2, String o3, String o4)No description in source.
getVerbint getVerb()No description in source.
op1String op1()No description in source.
op2String op2()No description in source.
op3String op3()No description in source.
op4String op4()No description in source.
verbOfint verbOf(String word)Map a verb keyword to its ordinal (-1 when unknown).
validboolean valid()No description in source.

SLGuiScriptCommand #sleela 2.5 (lib/gui/version-dual/SLGuiScriptCommand.sleela)

SLGuiScriptCommand class

Defines SLGuiScriptCommand — one instruction of a /lib/gui UI script. The scripting support is a small, safe, declarative command list (not an arbitrary interpreter): each command is a verb plus up to four string operands. The verbs mirror the DOM/event API so a script can build and drive an interface without native code — create, append, text, attr, style, show, hide, enable, on (bind a handler), fire (raise an event), and call (cross the native bridge to a SLeeLa operation). An ordinal verb keeps dispatch cheap; the operands are interpreted per verb by SLGuiScript. Family: gui. Scripts describe UI intent; SLeeLa (via SLGuiScript) executes it against the SLeeLa-owned DOM and event bus.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
CREATEstatic final int CREATE = 0Verb ordinals. create <tag> <id> [parentId]
APPENDstatic final int APPEND = 1append <parentId> <childId>
TEXTstatic final int TEXT = 2text <id> <value>
ATTRstatic final int ATTR = 3attr <id> <name> <value>
STYLEstatic final int STYLE = 4style <id> <prop> <value>
SHOWstatic final int SHOW = 5show <id>
HIDEstatic final int HIDE = 6hide <id>
ENABLEstatic final int ENABLE = 7enable <id> <"1"|"0">
ONstatic final int ON = 8on <id> <eventName> <operation>
FIREstatic final int FIRE = 9fire <id> <eventName> [value]
CALLstatic final int CALL =10call <operation> [arguments]
REMOVEstatic final int REMOVE =11remove <id>
NOPstatic final int NOP =12no-op / comment
verbint verbNo description in source.
aString aoperand 1
bString boperand 2
cString coperand 3
dString doperand 4

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int v, String o1, String o2, String o3, String o4)No description in source.
getVerbint getVerb()No description in source.
op1String op1()No description in source.
op2String op2()No description in source.
op3String op3()No description in source.
op4String op4()No description in source.
verbOfint verbOf(String word)Map a verb keyword to its ordinal (-1 when unknown).
validboolean valid()No description in source.

SLGuiScrollbar #sleela 2.5 (lib/gui/version-gual/SLGuiScrollbar.sleela)

SLGuiScrollbar class

Defines SLGuiScrollbar — the IMPLIED scrollbar model for a scrolled surface, in BOTH axes (vertical and horizontal). It is a pure model: given a viewport extent and the content extent on an axis, it decides whether a scrollbar is IMPLIED (content overflows the viewport), and computes the two normalized [0,1] values the toolkit's drawn scroll bar needs — `page` (the fraction of content the viewport shows, i.e. the thumb size) and `value` (the thumb position from the current scroll offset). It also resolves a visibility policy (auto / always / never) so a host can show the bar only when scrolling is actually implied. SLeeLa owns the geometry + policy; the host paints it with `uiScrollBar(parent, orient, value, page)` and feeds scroll gestures back through `scrollBy` / `scrollTo`. Family: gui. The companion of SLGuiLayout for overflow; the drawn bar is the existing SleelaUI scroll-bar control — this class is the implied geometry.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
AXIS_VERTICALstatic final int AXIS_VERTICAL = 0Axis ordinals (mirror SLUIOrientation: VERTICAL=0, HORIZONTAL=1).
AXIS_HORIZONTALstatic final int AXIS_HORIZONTAL = 1No description in source.
SHOW_AUTOstatic final int SHOW_AUTO = 0Visibility policy for an implied scrollbar. shown only while content overflows
SHOW_ALWAYSstatic final int SHOW_ALWAYS = 1always shown (reserves the gutter)
SHOW_NEVERstatic final int SHOW_NEVER = 2never shown (overflow still scrolls)
axisint axisAXIS_VERTICAL / AXIS_HORIZONTAL
policyint policySHOW_*
viewportint viewportvisible extent on this axis (px)
contentint contenttotal content extent on this axis (px)
offsetint offsetcurrent scroll offset from the start (px), clamped
thicknessPxint thicknessPxdrawn gutter thickness (px)
UNITstatic final int UNIT = 1000Fixed-point scale for the normalized [0,1] value/page (SLeeLa ints only): we report value/page in PERMILLE (0..1000) so callers can divide by 1000.0 to get the [0,1] double the toolkit wants, with no float fields here.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(int whichAxis, int viewportPx, int contentPx)Install safe defaults for an axis; a zero/negative extent is treated as 0.
setPolicyvoid setPolicy(int p)No description in source.
setThicknessvoid setThickness(int px)No description in source.
setViewportvoid setViewport(int px)The host reports a new viewport (on resize) and/or content (on relayout).
setContentvoid setContent(int px)No description in source.
maxOffsetint maxOffset()The maximum scrollable offset (0 when content fits the viewport).
clampOffsetvoid clampOffset()No description in source.
scrollTovoid scrollTo(int px)---- scroll gestures (the host raises these) ----------------------------
scrollByvoid scrollBy(int deltaPx)No description in source.
scrollToStartvoid scrollToStart()No description in source.
scrollToEndvoid scrollToEnd()No description in source.
overflowboolean overflow()---- the IMPLIED decision ----------------------------------------------- Scrolling is implied exactly when the content overflows the viewport.
impliedboolean implied()Should the drawn bar be shown, given the policy?
pagePermilleint pagePermille()---- normalized geometry for uiScrollBar(parent, orient, value, page) ---- page = fraction of content currently visible (thumb size), in [0,1].
valuePermilleint valuePermille()value = thumb position from the scroll offset, in [0,1].
pageScaledint pageScaled(int scale)Convenience: scaled to an arbitrary resolution (e.g. 100 for a percent).
valueScaledint valueScaled(int scale)No description in source.
getAxisint getAxis()---- readers ------------------------------------------------------------
getOffsetint getOffset()No description in source.
getViewportint getViewport()No description in source.
getContentint getContent()No description in source.
getThicknessint getThickness()No description in source.
getPolicyint getPolicy()No description in source.
orientint orient()the SLUIOrientation to pass
axisNameString axisName()No description in source.
policyNameString policyName()No description in source.
honoredboolean honored()Internally consistent: non-negative extents, offset within range, and a page/value pair that stay inside [0,1].
reportString report()No description in source.

SLGuiScrollbar #sleela 2.5 (lib/gui/version-mual/SLGuiScrollbar.sleela)

SLGuiScrollbar class

Defines SLGuiScrollbar — the IMPLIED scrollbar model for a scrolled surface, in BOTH axes (vertical and horizontal). It is a pure model: given a viewport extent and the content extent on an axis, it decides whether a scrollbar is IMPLIED (content overflows the viewport), and computes the two normalized [0,1] values the toolkit's drawn scroll bar needs — `page` (the fraction of content the viewport shows, i.e. the thumb size) and `value` (the thumb position from the current scroll offset). It also resolves a visibility policy (auto / always / never) so a host can show the bar only when scrolling is actually implied. SLeeLa owns the geometry + policy; the host paints it with `uiScrollBar(parent, orient, value, page)` and feeds scroll gestures back through `scrollBy` / `scrollTo`. Family: gui. The companion of SLGuiLayout for overflow; the drawn bar is the existing SleelaUI scroll-bar control — this class is the implied geometry.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
AXIS_VERTICALstatic final int AXIS_VERTICAL = 0Axis ordinals (mirror SLUIOrientation: VERTICAL=0, HORIZONTAL=1).
AXIS_HORIZONTALstatic final int AXIS_HORIZONTAL = 1No description in source.
SHOW_AUTOstatic final int SHOW_AUTO = 0Visibility policy for an implied scrollbar. shown only while content overflows
SHOW_ALWAYSstatic final int SHOW_ALWAYS = 1always shown (reserves the gutter)
SHOW_NEVERstatic final int SHOW_NEVER = 2never shown (overflow still scrolls)
axisint axisAXIS_VERTICAL / AXIS_HORIZONTAL
policyint policySHOW_*
viewportint viewportvisible extent on this axis (px)
contentint contenttotal content extent on this axis (px)
offsetint offsetcurrent scroll offset from the start (px), clamped
thicknessPxint thicknessPxdrawn gutter thickness (px)
UNITstatic final int UNIT = 1000Fixed-point scale for the normalized [0,1] value/page (SLeeLa ints only): we report value/page in PERMILLE (0..1000) so callers can divide by 1000.0 to get the [0,1] double the toolkit wants, with no float fields here.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(int whichAxis, int viewportPx, int contentPx)Install safe defaults for an axis; a zero/negative extent is treated as 0.
setPolicyvoid setPolicy(int p)No description in source.
setThicknessvoid setThickness(int px)No description in source.
setViewportvoid setViewport(int px)The host reports a new viewport (on resize) and/or content (on relayout).
setContentvoid setContent(int px)No description in source.
maxOffsetint maxOffset()The maximum scrollable offset (0 when content fits the viewport).
clampOffsetvoid clampOffset()No description in source.
scrollTovoid scrollTo(int px)---- scroll gestures (the host raises these) ----------------------------
scrollByvoid scrollBy(int deltaPx)No description in source.
scrollToStartvoid scrollToStart()No description in source.
scrollToEndvoid scrollToEnd()No description in source.
overflowboolean overflow()---- the IMPLIED decision ----------------------------------------------- Scrolling is implied exactly when the content overflows the viewport.
impliedboolean implied()Should the drawn bar be shown, given the policy?
pagePermilleint pagePermille()---- normalized geometry for uiScrollBar(parent, orient, value, page) ---- page = fraction of content currently visible (thumb size), in [0,1].
valuePermilleint valuePermille()value = thumb position from the scroll offset, in [0,1].
pageScaledint pageScaled(int scale)Convenience: scaled to an arbitrary resolution (e.g. 100 for a percent).
valueScaledint valueScaled(int scale)No description in source.
getAxisint getAxis()---- readers ------------------------------------------------------------
getOffsetint getOffset()No description in source.
getViewportint getViewport()No description in source.
getContentint getContent()No description in source.
getThicknessint getThickness()No description in source.
getPolicyint getPolicy()No description in source.
orientint orient()the SLUIOrientation to pass
axisNameString axisName()No description in source.
policyNameString policyName()No description in source.
honoredboolean honored()Internally consistent: non-negative extents, offset within range, and a page/value pair that stay inside [0,1].
reportString report()No description in source.

SLGuiScrollbar #sleela 2.5 (lib/gui/version-thual/SLGuiScrollbar.sleela)

SLGuiScrollbar class

Defines SLGuiScrollbar — the IMPLIED scrollbar model for a scrolled surface, in BOTH axes (vertical and horizontal). It is a pure model: given a viewport extent and the content extent on an axis, it decides whether a scrollbar is IMPLIED (content overflows the viewport), and computes the two normalized [0,1] values the toolkit's drawn scroll bar needs — `page` (the fraction of content the viewport shows, i.e. the thumb size) and `value` (the thumb position from the current scroll offset). It also resolves a visibility policy (auto / always / never) so a host can show the bar only when scrolling is actually implied. SLeeLa owns the geometry + policy; the host paints it with `uiScrollBar(parent, orient, value, page)` and feeds scroll gestures back through `scrollBy` / `scrollTo`. Family: gui. The companion of SLGuiLayout for overflow; the drawn bar is the existing SleelaUI scroll-bar control — this class is the implied geometry.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
AXIS_VERTICALstatic final int AXIS_VERTICAL = 0Axis ordinals (mirror SLUIOrientation: VERTICAL=0, HORIZONTAL=1).
AXIS_HORIZONTALstatic final int AXIS_HORIZONTAL = 1No description in source.
SHOW_AUTOstatic final int SHOW_AUTO = 0Visibility policy for an implied scrollbar. shown only while content overflows
SHOW_ALWAYSstatic final int SHOW_ALWAYS = 1always shown (reserves the gutter)
SHOW_NEVERstatic final int SHOW_NEVER = 2never shown (overflow still scrolls)
axisint axisAXIS_VERTICAL / AXIS_HORIZONTAL
policyint policySHOW_*
viewportint viewportvisible extent on this axis (px)
contentint contenttotal content extent on this axis (px)
offsetint offsetcurrent scroll offset from the start (px), clamped
thicknessPxint thicknessPxdrawn gutter thickness (px)
UNITstatic final int UNIT = 1000Fixed-point scale for the normalized [0,1] value/page (SLeeLa ints only): we report value/page in PERMILLE (0..1000) so callers can divide by 1000.0 to get the [0,1] double the toolkit wants, with no float fields here.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(int whichAxis, int viewportPx, int contentPx)Install safe defaults for an axis; a zero/negative extent is treated as 0.
setPolicyvoid setPolicy(int p)No description in source.
setThicknessvoid setThickness(int px)No description in source.
setViewportvoid setViewport(int px)The host reports a new viewport (on resize) and/or content (on relayout).
setContentvoid setContent(int px)No description in source.
maxOffsetint maxOffset()The maximum scrollable offset (0 when content fits the viewport).
clampOffsetvoid clampOffset()No description in source.
scrollTovoid scrollTo(int px)---- scroll gestures (the host raises these) ----------------------------
scrollByvoid scrollBy(int deltaPx)No description in source.
scrollToStartvoid scrollToStart()No description in source.
scrollToEndvoid scrollToEnd()No description in source.
overflowboolean overflow()---- the IMPLIED decision ----------------------------------------------- Scrolling is implied exactly when the content overflows the viewport.
impliedboolean implied()Should the drawn bar be shown, given the policy?
pagePermilleint pagePermille()---- normalized geometry for uiScrollBar(parent, orient, value, page) ---- page = fraction of content currently visible (thumb size), in [0,1].
valuePermilleint valuePermille()value = thumb position from the scroll offset, in [0,1].
pageScaledint pageScaled(int scale)Convenience: scaled to an arbitrary resolution (e.g. 100 for a percent).
valueScaledint valueScaled(int scale)No description in source.
getAxisint getAxis()---- readers ------------------------------------------------------------
getOffsetint getOffset()No description in source.
getViewportint getViewport()No description in source.
getContentint getContent()No description in source.
getThicknessint getThickness()No description in source.
getPolicyint getPolicy()No description in source.
orientint orient()the SLUIOrientation to pass
axisNameString axisName()No description in source.
policyNameString policyName()No description in source.
honoredboolean honored()Internally consistent: non-negative extents, offset within range, and a page/value pair that stay inside [0,1].
reportString report()No description in source.

SLGuiScrollbar #sleela 2.5 (lib/gui/version-military/SLGuiScrollbar.sleela)

SLGuiScrollbar class

Defines SLGuiScrollbar — the military-line IMPLIED scrollbar model for a scrolled surface, in BOTH axes (vertical and horizontal). It is a pure model: given a viewport extent and the content extent on an axis, it decides whether a scrollbar is IMPLIED (content overflows the viewport), and computes the two normalized [0,1] values the toolkit's drawn scroll bar needs — `page` (the fraction of content the viewport shows, i.e. the thumb size) and `value` (the thumb position from the current scroll offset). It also resolves a visibility policy (auto / always / never) so a host can show the bar only when scrolling is actually implied. SLeeLa owns the geometry + policy; the host paints it with `uiScrollBar(parent, orient, value, page)` and feeds scroll gestures back through `scrollBy` / `scrollTo`. Family: gui. The companion of SLGuiLayout for overflow; the drawn bar is the existing SleelaUI scroll-bar control — this class is the implied geometry.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
AXIS_VERTICALstatic final int AXIS_VERTICAL = 0Axis ordinals (mirror SLUIOrientation: VERTICAL=0, HORIZONTAL=1).
AXIS_HORIZONTALstatic final int AXIS_HORIZONTAL = 1No description in source.
SHOW_AUTOstatic final int SHOW_AUTO = 0Visibility policy for an implied scrollbar. shown only while content overflows
SHOW_ALWAYSstatic final int SHOW_ALWAYS = 1always shown (reserves the gutter)
SHOW_NEVERstatic final int SHOW_NEVER = 2never shown (overflow still scrolls)
axisint axisAXIS_VERTICAL / AXIS_HORIZONTAL
policyint policySHOW_*
viewportint viewportvisible extent on this axis (px)
contentint contenttotal content extent on this axis (px)
offsetint offsetcurrent scroll offset from the start (px), clamped
thicknessPxint thicknessPxdrawn gutter thickness (px)
UNITstatic final int UNIT = 1000Fixed-point scale for the normalized [0,1] value/page (SLeeLa ints only): we report value/page in PERMILLE (0..1000) so callers can divide by 1000.0 to get the [0,1] double the toolkit wants, with no float fields here.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(int whichAxis, int viewportPx, int contentPx)Install safe defaults for an axis; a zero/negative extent is treated as 0.
setPolicyvoid setPolicy(int p)No description in source.
setThicknessvoid setThickness(int px)No description in source.
setViewportvoid setViewport(int px)The host reports a new viewport (on resize) and/or content (on relayout).
setContentvoid setContent(int px)No description in source.
maxOffsetint maxOffset()The maximum scrollable offset (0 when content fits the viewport).
clampOffsetvoid clampOffset()No description in source.
scrollTovoid scrollTo(int px)---- scroll gestures (the host raises these) ----------------------------
scrollByvoid scrollBy(int deltaPx)No description in source.
scrollToStartvoid scrollToStart()No description in source.
scrollToEndvoid scrollToEnd()No description in source.
overflowboolean overflow()---- the IMPLIED decision ----------------------------------------------- Scrolling is implied exactly when the content overflows the viewport.
impliedboolean implied()Should the drawn bar be shown, given the policy?
pagePermilleint pagePermille()---- normalized geometry for uiScrollBar(parent, orient, value, page) ---- page = fraction of content currently visible (thumb size), in [0,1].
valuePermilleint valuePermille()value = thumb position from the scroll offset, in [0,1].
pageScaledint pageScaled(int scale)Convenience: scaled to an arbitrary resolution (e.g. 100 for a percent).
valueScaledint valueScaled(int scale)No description in source.
getAxisint getAxis()---- readers ------------------------------------------------------------
getOffsetint getOffset()No description in source.
getViewportint getViewport()No description in source.
getContentint getContent()No description in source.
getThicknessint getThickness()No description in source.
getPolicyint getPolicy()No description in source.
orientint orient()the SLUIOrientation to pass
axisNameString axisName()No description in source.
policyNameString policyName()No description in source.
honoredboolean honored()Internally consistent: non-negative extents, offset within range, and a page/value pair that stay inside [0,1].
reportString report()No description in source.

SLGuiScrollbar #sleela 2.5 (lib/gui/version-dual/SLGuiScrollbar.sleela)

SLGuiScrollbar class

Defines SLGuiScrollbar — the IMPLIED scrollbar model for a scrolled surface, in BOTH axes (vertical and horizontal). It is a pure model: given a viewport extent and the content extent on an axis, it decides whether a scrollbar is IMPLIED (content overflows the viewport), and computes the two normalized [0,1] values the toolkit's drawn scroll bar needs — `page` (the fraction of content the viewport shows, i.e. the thumb size) and `value` (the thumb position from the current scroll offset). It also resolves a visibility policy (auto / always / never) so a host can show the bar only when scrolling is actually implied. SLeeLa owns the geometry + policy; the host paints it with `uiScrollBar(parent, orient, value, page)` and feeds scroll gestures back through `scrollBy` / `scrollTo`. Family: gui. The companion of SLGuiLayout for overflow; the drawn bar is the existing SleelaUI scroll-bar control — this class is the implied geometry.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
AXIS_VERTICALstatic final int AXIS_VERTICAL = 0Axis ordinals (mirror SLUIOrientation: VERTICAL=0, HORIZONTAL=1).
AXIS_HORIZONTALstatic final int AXIS_HORIZONTAL = 1No description in source.
SHOW_AUTOstatic final int SHOW_AUTO = 0Visibility policy for an implied scrollbar. shown only while content overflows
SHOW_ALWAYSstatic final int SHOW_ALWAYS = 1always shown (reserves the gutter)
SHOW_NEVERstatic final int SHOW_NEVER = 2never shown (overflow still scrolls)
axisint axisAXIS_VERTICAL / AXIS_HORIZONTAL
policyint policySHOW_*
viewportint viewportvisible extent on this axis (px)
contentint contenttotal content extent on this axis (px)
offsetint offsetcurrent scroll offset from the start (px), clamped
thicknessPxint thicknessPxdrawn gutter thickness (px)
UNITstatic final int UNIT = 1000Fixed-point scale for the normalized [0,1] value/page (SLeeLa ints only): we report value/page in PERMILLE (0..1000) so callers can divide by 1000.0 to get the [0,1] double the toolkit wants, with no float fields here.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(int whichAxis, int viewportPx, int contentPx)Install safe defaults for an axis; a zero/negative extent is treated as 0.
setPolicyvoid setPolicy(int p)No description in source.
setThicknessvoid setThickness(int px)No description in source.
setViewportvoid setViewport(int px)The host reports a new viewport (on resize) and/or content (on relayout).
setContentvoid setContent(int px)No description in source.
maxOffsetint maxOffset()The maximum scrollable offset (0 when content fits the viewport).
clampOffsetvoid clampOffset()No description in source.
scrollTovoid scrollTo(int px)---- scroll gestures (the host raises these) ----------------------------
scrollByvoid scrollBy(int deltaPx)No description in source.
scrollToStartvoid scrollToStart()No description in source.
scrollToEndvoid scrollToEnd()No description in source.
overflowboolean overflow()---- the IMPLIED decision ----------------------------------------------- Scrolling is implied exactly when the content overflows the viewport.
impliedboolean implied()Should the drawn bar be shown, given the policy?
pagePermilleint pagePermille()---- normalized geometry for uiScrollBar(parent, orient, value, page) ---- page = fraction of content currently visible (thumb size), in [0,1].
valuePermilleint valuePermille()value = thumb position from the scroll offset, in [0,1].
pageScaledint pageScaled(int scale)Convenience: scaled to an arbitrary resolution (e.g. 100 for a percent).
valueScaledint valueScaled(int scale)No description in source.
getAxisint getAxis()---- readers ------------------------------------------------------------
getOffsetint getOffset()No description in source.
getViewportint getViewport()No description in source.
getContentint getContent()No description in source.
getThicknessint getThickness()No description in source.
getPolicyint getPolicy()No description in source.
orientint orient()the SLUIOrientation to pass
axisNameString axisName()No description in source.
policyNameString policyName()No description in source.
honoredboolean honored()Internally consistent: non-negative extents, offset within range, and a page/value pair that stay inside [0,1].
reportString report()No description in source.

SLGuiSettings #sleela 2.5 (lib/gui/version-gual/SLGuiSettings.sleela)

SLGuiSettings class

Defines SLGuiSettings — the 2.0 (gual) settings surface for the SLeeLa GUI package. Where the 1.0 (mual) line scattered a few tunables across classes, 2.0 gathers the operating knobs into one validated, nameful object: presentation (theme, DPI scale, reduced-motion / accessibility, vsync), window defaults (min/max size, resizable, decorations), and the document-listener timing (poll cadence, debounce window, coalesce-queue cap, backpressure policy). Every setting is CLAMPED to a safe window when applied — a dialed value is never accepted outside its stated range, and honored()/report() say whether the configuration is internally consistent. This mirrors the quality-first, clamp-to-window discipline used by the lib/cpu timing/voltage layer. Family: gui. A plain settings object; read by SLGuiBackend / SLGuiWindow / SLGuiDocumentListener and by SLGuiApp at boot.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
THEME_SYSTEMstatic final int THEME_SYSTEM = 0--- theme --- follow the OS theme
THEME_LIGHTstatic final int THEME_LIGHT = 1No description in source.
THEME_DARKstatic final int THEME_DARK = 2No description in source.
BACKPRESSURE_COALESCEstatic final int BACKPRESSURE_COALESCE = 0--- document-listener backpressure policy --- merge overflow into the latest (default)
BACKPRESSURE_DROPstatic final int BACKPRESSURE_DROP = 1drop oldest when the queue is full
BACKPRESSURE_BLOCKstatic final int BACKPRESSURE_BLOCK = 2block the producer until drained
BUFFERING_SINGLEstatic final int BUFFERING_SINGLE = 0--- presentation buffering (mirror native SLUIBufferingMode) --- blit straight to the window (may tear on resize)
BUFFERING_DOUBLEstatic final int BUFFERING_DOUBLE = 1one off-screen back buffer; frame lands atomically (default)
BUFFERING_TRIPLEstatic final int BUFFERING_TRIPLE = 2a ring of two back buffers; smoother rapid resize/animation
themeint theme--- presentation --- THEME_*
dpiScalePctint dpiScalePctdisplay scale percentage, 50..400 (100 = 1x)
reducedMotionint reducedMotion1 = minimize animation (accessibility)
accessibleint accessible1 = expose accessibility tree / larger hit targets
vsyncint vsync1 = present synchronized to the display refresh
bufferingModeint bufferingModeBUFFERING_* — how a painted frame reaches the screen
resizableint resizable1 = user may resize
decoratedint decorated1 = OS title bar / borders
pollMillisint pollMillis--- document-listener timing --- OS wake cadence (ms), 10..60000
debounceMillisint debounceMillissettle window after a change before emitting, 0..10000
coalesceQueueMaxint coalesceQueueMaxmax pending change events before backpressure, 1..4096
backpressureint backpressureBACKPRESSURE_*

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()Apply the documented, careful defaults. Everything here is already in range.
clampint clamp(int v, int lo, int hi)--- clamped setters: a value out of range is pulled to the nearest bound ---
setThemevoid setTheme(int t)No description in source.
setDpiScalePctvoid setDpiScalePct(int pct)No description in source.
setReducedMotionvoid setReducedMotion(boolean on)No description in source.
setAccessiblevoid setAccessible(boolean on)No description in source.
setVsyncvoid setVsync(boolean on)No description in source.
setBufferingModevoid setBufferingMode(int m)No description in source.
setMinSizevoid setMinSize(int w, int h)No description in source.
setMaxSizevoid setMaxSize(int w, int h)Max of 0 means unbounded; a positive max must not fall below the min.
setResizablevoid setResizable(boolean on)No description in source.
setDecoratedvoid setDecorated(boolean on)No description in source.
setPollMillisvoid setPollMillis(int ms)No description in source.
setDebounceMillisvoid setDebounceMillis(int ms)No description in source.
setCoalesceQueueMaxvoid setCoalesceQueueMax(int n)No description in source.
setBackpressurevoid setBackpressure(int policy)No description in source.
getThemeint getTheme()--- readers ---
getDpiScalePctint getDpiScalePct()No description in source.
reducedMotionOnboolean reducedMotionOn()No description in source.
accessibleOnboolean accessibleOn()No description in source.
vsyncOnboolean vsyncOn()No description in source.
getBufferingModeint getBufferingMode()No description in source.
getMinWidthint getMinWidth()No description in source.
getMinHeightint getMinHeight()No description in source.
getMaxWidthint getMaxWidth()No description in source.
getMaxHeightint getMaxHeight()No description in source.
resizableOnboolean resizableOn()No description in source.
decoratedOnboolean decoratedOn()No description in source.
getPollMillisint getPollMillis()No description in source.
getDebounceMillisint getDebounceMillis()No description in source.
getCoalesceQueueMaxint getCoalesceQueueMax()No description in source.
getBackpressureint getBackpressure()No description in source.
themeNameString themeName()No description in source.
backpressureNameString backpressureName()No description in source.
bufferingNameString bufferingName()No description in source.
honoredboolean honored()Internally consistent when every clamped field sits in range and a bounded max is not below its min (0 = unbounded always passes).
reportString report()No description in source.

SLGuiSettings #sleela 2.5 (lib/gui/version-thual/SLGuiSettings.sleela)

SLGuiSettings class

Defines SLGuiSettings — the 2.0 (gual) settings surface for the SLeeLa GUI package. Where the 1.0 (mual) line scattered a few tunables across classes, 2.0 gathers the operating knobs into one validated, nameful object: presentation (theme, DPI scale, reduced-motion / accessibility, vsync), window defaults (min/max size, resizable, decorations), and the document-listener timing (poll cadence, debounce window, coalesce-queue cap, backpressure policy). Every setting is CLAMPED to a safe window when applied — a dialed value is never accepted outside its stated range, and honored()/report() say whether the configuration is internally consistent. This mirrors the quality-first, clamp-to-window discipline used by the lib/cpu timing/voltage layer. Family: gui. A plain settings object; read by SLGuiBackend / SLGuiWindow / SLGuiDocumentListener and by SLGuiApp at boot.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
THEME_SYSTEMstatic final int THEME_SYSTEM = 0--- theme --- follow the OS theme
THEME_LIGHTstatic final int THEME_LIGHT = 1No description in source.
THEME_DARKstatic final int THEME_DARK = 2No description in source.
BACKPRESSURE_COALESCEstatic final int BACKPRESSURE_COALESCE = 0--- document-listener backpressure policy --- merge overflow into the latest (default)
BACKPRESSURE_DROPstatic final int BACKPRESSURE_DROP = 1drop oldest when the queue is full
BACKPRESSURE_BLOCKstatic final int BACKPRESSURE_BLOCK = 2block the producer until drained
BUFFERING_SINGLEstatic final int BUFFERING_SINGLE = 0--- presentation buffering (mirror native SLUIBufferingMode) --- blit straight to the window (may tear on resize)
BUFFERING_DOUBLEstatic final int BUFFERING_DOUBLE = 1one off-screen back buffer; frame lands atomically (default)
BUFFERING_TRIPLEstatic final int BUFFERING_TRIPLE = 2a ring of two back buffers; smoother rapid resize/animation
themeint theme--- presentation --- THEME_*
dpiScalePctint dpiScalePctdisplay scale percentage, 50..400 (100 = 1x)
reducedMotionint reducedMotion1 = minimize animation (accessibility)
accessibleint accessible1 = expose accessibility tree / larger hit targets
vsyncint vsync1 = present synchronized to the display refresh
bufferingModeint bufferingModeBUFFERING_* — how a painted frame reaches the screen
resizableint resizable1 = user may resize
decoratedint decorated1 = OS title bar / borders
pollMillisint pollMillis--- document-listener timing --- OS wake cadence (ms), 10..60000
debounceMillisint debounceMillissettle window after a change before emitting, 0..10000
coalesceQueueMaxint coalesceQueueMaxmax pending change events before backpressure, 1..4096
backpressureint backpressureBACKPRESSURE_*

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()Apply the documented, careful defaults. Everything here is already in range.
clampint clamp(int v, int lo, int hi)--- clamped setters: a value out of range is pulled to the nearest bound ---
setThemevoid setTheme(int t)No description in source.
setDpiScalePctvoid setDpiScalePct(int pct)No description in source.
setReducedMotionvoid setReducedMotion(boolean on)No description in source.
setAccessiblevoid setAccessible(boolean on)No description in source.
setVsyncvoid setVsync(boolean on)No description in source.
setBufferingModevoid setBufferingMode(int m)No description in source.
setMinSizevoid setMinSize(int w, int h)No description in source.
setMaxSizevoid setMaxSize(int w, int h)Max of 0 means unbounded; a positive max must not fall below the min.
setResizablevoid setResizable(boolean on)No description in source.
setDecoratedvoid setDecorated(boolean on)No description in source.
setPollMillisvoid setPollMillis(int ms)No description in source.
setDebounceMillisvoid setDebounceMillis(int ms)No description in source.
setCoalesceQueueMaxvoid setCoalesceQueueMax(int n)No description in source.
setBackpressurevoid setBackpressure(int policy)No description in source.
getThemeint getTheme()--- readers ---
getDpiScalePctint getDpiScalePct()No description in source.
reducedMotionOnboolean reducedMotionOn()No description in source.
accessibleOnboolean accessibleOn()No description in source.
vsyncOnboolean vsyncOn()No description in source.
getBufferingModeint getBufferingMode()No description in source.
getMinWidthint getMinWidth()No description in source.
getMinHeightint getMinHeight()No description in source.
getMaxWidthint getMaxWidth()No description in source.
getMaxHeightint getMaxHeight()No description in source.
resizableOnboolean resizableOn()No description in source.
decoratedOnboolean decoratedOn()No description in source.
getPollMillisint getPollMillis()No description in source.
getDebounceMillisint getDebounceMillis()No description in source.
getCoalesceQueueMaxint getCoalesceQueueMax()No description in source.
getBackpressureint getBackpressure()No description in source.
themeNameString themeName()No description in source.
backpressureNameString backpressureName()No description in source.
bufferingNameString bufferingName()No description in source.
honoredboolean honored()Internally consistent when every clamped field sits in range and a bounded max is not below its min (0 = unbounded always passes).
reportString report()No description in source.

SLGuiSettings #sleela 2.5 (lib/gui/version-military/SLGuiSettings.sleela)

SLGuiSettings class

Defines SLGuiSettings — the 2.0 (gual) settings surface for the SLeeLa GUI package. Where the 1.0 (mual) line scattered a few tunables across classes, 2.0 gathers the operating knobs into one validated, nameful object: presentation (theme, DPI scale, reduced-motion / accessibility, vsync), window defaults (min/max size, resizable, decorations), and the document-listener timing (poll cadence, debounce window, coalesce-queue cap, backpressure policy). Every setting is CLAMPED to a safe window when applied — a dialed value is never accepted outside its stated range, and honored()/report() say whether the configuration is internally consistent. This mirrors the quality-first, clamp-to-window discipline used by the lib/cpu timing/voltage layer. Family: gui. A plain settings object; read by SLGuiBackend / SLGuiWindow / SLGuiDocumentListener and by SLGuiApp at boot.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
THEME_SYSTEMstatic final int THEME_SYSTEM = 0--- theme --- follow the OS theme
THEME_LIGHTstatic final int THEME_LIGHT = 1No description in source.
THEME_DARKstatic final int THEME_DARK = 2No description in source.
BACKPRESSURE_COALESCEstatic final int BACKPRESSURE_COALESCE = 0--- document-listener backpressure policy --- merge overflow into the latest (default)
BACKPRESSURE_DROPstatic final int BACKPRESSURE_DROP = 1drop oldest when the queue is full
BACKPRESSURE_BLOCKstatic final int BACKPRESSURE_BLOCK = 2block the producer until drained
BUFFERING_SINGLEstatic final int BUFFERING_SINGLE = 0--- presentation buffering (mirror native SLUIBufferingMode) --- blit straight to the window (may tear on resize)
BUFFERING_DOUBLEstatic final int BUFFERING_DOUBLE = 1one off-screen back buffer; frame lands atomically (default)
BUFFERING_TRIPLEstatic final int BUFFERING_TRIPLE = 2a ring of two back buffers; smoother rapid resize/animation
themeint theme--- presentation --- THEME_*
dpiScalePctint dpiScalePctdisplay scale percentage, 50..400 (100 = 1x)
reducedMotionint reducedMotion1 = minimize animation (accessibility)
accessibleint accessible1 = expose accessibility tree / larger hit targets
vsyncint vsync1 = present synchronized to the display refresh
bufferingModeint bufferingModeBUFFERING_* — how a painted frame reaches the screen
resizableint resizable1 = user may resize
decoratedint decorated1 = OS title bar / borders
pollMillisint pollMillis--- document-listener timing --- OS wake cadence (ms), 10..60000
debounceMillisint debounceMillissettle window after a change before emitting, 0..10000
coalesceQueueMaxint coalesceQueueMaxmax pending change events before backpressure, 1..4096
backpressureint backpressureBACKPRESSURE_*
AESTHETIC_FLATstatic final int AESTHETIC_FLAT = 0--- 4.0 aesthetic (substantially upgraded look) --- Named aesthetic presets the host maps to a polished design language. minimal, flat
AESTHETIC_SOFTstatic final int AESTHETIC_SOFT = 1soft shadows, rounded (default)
AESTHETIC_GLASSstatic final int AESTHETIC_GLASS = 2translucent/blurred "glass"
AESTHETIC_METALstatic final int AESTHETIC_METAL = 3brushed metal + specular
AESTHETIC_NEONstatic final int AESTHETIC_NEON = 4dark + accent glow
AESTHETIC_MILITARYstatic final int AESTHETIC_MILITARY = 5neutral metal-silver + blue hue, 3D-lit frame
METAL_NEUTRALstatic final int METAL_NEUTRAL = 0Metal finish variants for the military aesthetic. neutral brushed steel
METAL_SILVERstatic final int METAL_SILVER = 1bright metal-silver
METAL_BLUEstatic final int METAL_BLUE = 2metal with a blue hue (default military)
DENSITY_COMPACTstatic final int DENSITY_COMPACT = 0Spacing density.
DENSITY_COMFORTstatic final int DENSITY_COMFORT = 1default
DENSITY_SPACIOUSstatic final int DENSITY_SPACIOUS = 2No description in source.
aestheticint aestheticAESTHETIC_*
cornerRadiusPxint cornerRadiusPxwidget corner radius, 0..48
elevationPctint elevationPctshadow/elevation strength, 0..100
densityint densityDENSITY_*
typeScalePctint typeScalePcttypography scale, 75..200 % (relative to base)
accentColorString accentColorprimary accent "#rrggbb" / named
surfaceColorString surfaceColorbase surface color
contrastHighint contrastHigh1 = high-contrast mode (accessibility aesthetic)
metalFinishint metalFinish--- military metal surface (AESTHETIC_MILITARY) --- METAL_NEUTRAL / METAL_SILVER / METAL_BLUE
blueHuePctint blueHuePctstrength of the blue hue over the metal, 0..100
frameLit3dint frameLit3d1 = the base frame carries a 3D lighting/bevel effect
frameLightAngleint frameLightAnglekey-light angle for the 3D frame, 0..359 deg
shadowQualityPctint shadowQualityPctcare/quality of component shadows on the frame, 0..100
shadowSoftnessPxint shadowSoftnessPxshadow blur softness, 0..48 px

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()Apply the documented, careful defaults. Everything here is already in range.
clampint clamp(int v, int lo, int hi)--- clamped setters: a value out of range is pulled to the nearest bound ---
setThemevoid setTheme(int t)No description in source.
setDpiScalePctvoid setDpiScalePct(int pct)No description in source.
setReducedMotionvoid setReducedMotion(boolean on)No description in source.
setAccessiblevoid setAccessible(boolean on)No description in source.
setVsyncvoid setVsync(boolean on)No description in source.
setBufferingModevoid setBufferingMode(int m)No description in source.
setMinSizevoid setMinSize(int w, int h)No description in source.
setMaxSizevoid setMaxSize(int w, int h)Max of 0 means unbounded; a positive max must not fall below the min.
setResizablevoid setResizable(boolean on)No description in source.
setDecoratedvoid setDecorated(boolean on)No description in source.
setPollMillisvoid setPollMillis(int ms)No description in source.
setDebounceMillisvoid setDebounceMillis(int ms)No description in source.
setCoalesceQueueMaxvoid setCoalesceQueueMax(int n)No description in source.
setBackpressurevoid setBackpressure(int policy)No description in source.
setAestheticvoid setAesthetic(int a)--- 4.0 aesthetic setters (clamped/validated) ---
setCornerRadiusPxvoid setCornerRadiusPx(int px)No description in source.
setElevationPctvoid setElevationPct(int pct)No description in source.
setDensityvoid setDensity(int d)No description in source.
setTypeScalePctvoid setTypeScalePct(int pct)No description in source.
setAccentColorvoid setAccentColor(String c)No description in source.
setSurfaceColorvoid setSurfaceColor(String c)No description in source.
setContrastHighvoid setContrastHigh(boolean on)No description in source.
setMetalFinishvoid setMetalFinish(int f)--- military metal setters (clamped/validated) ---
setBlueHuePctvoid setBlueHuePct(int pct)No description in source.
setFrameLit3dvoid setFrameLit3d(boolean on)No description in source.
setFrameLightAnglevoid setFrameLightAngle(int deg)No description in source.
setShadowQualityPctvoid setShadowQualityPct(int pct)No description in source.
setShadowSoftnessPxvoid setShadowSoftnessPx(int px)No description in source.
getMetalFinishint getMetalFinish()No description in source.
getBlueHuePctint getBlueHuePct()No description in source.
frameLitboolean frameLit()No description in source.
getFrameLightAngleint getFrameLightAngle()No description in source.
getShadowQualityPctint getShadowQualityPct()No description in source.
getShadowSoftnessPxint getShadowSoftnessPx()No description in source.
metalFinishNameString metalFinishName()No description in source.
getAestheticint getAesthetic()No description in source.
getCornerRadiusPxint getCornerRadiusPx()No description in source.
getElevationPctint getElevationPct()No description in source.
getDensityint getDensity()No description in source.
getTypeScalePctint getTypeScalePct()No description in source.
getAccentColorString getAccentColor()No description in source.
getSurfaceColorString getSurfaceColor()No description in source.
contrastHighOnboolean contrastHighOn()No description in source.
aestheticNameString aestheticName()No description in source.
densityNameString densityName()No description in source.
getThemeint getTheme()--- readers ---
getDpiScalePctint getDpiScalePct()No description in source.
reducedMotionOnboolean reducedMotionOn()No description in source.
accessibleOnboolean accessibleOn()No description in source.
vsyncOnboolean vsyncOn()No description in source.
getBufferingModeint getBufferingMode()No description in source.
getMinWidthint getMinWidth()No description in source.
getMinHeightint getMinHeight()No description in source.
getMaxWidthint getMaxWidth()No description in source.
getMaxHeightint getMaxHeight()No description in source.
resizableOnboolean resizableOn()No description in source.
decoratedOnboolean decoratedOn()No description in source.
getPollMillisint getPollMillis()No description in source.
getDebounceMillisint getDebounceMillis()No description in source.
getCoalesceQueueMaxint getCoalesceQueueMax()No description in source.
getBackpressureint getBackpressure()No description in source.
themeNameString themeName()No description in source.
backpressureNameString backpressureName()No description in source.
bufferingNameString bufferingName()No description in source.
honoredboolean honored()Internally consistent when every clamped field sits in range and a bounded max is not below its min (0 = unbounded always passes).
reportString report()No description in source.
militaryHonoredboolean militaryHonored()Also extend honored() coverage for the military fields (callers rely on it).

SLGuiSettings #sleela 2.5 (lib/gui/version-dual/SLGuiSettings.sleela)

SLGuiSettings class

Defines SLGuiSettings — the 2.0 (gual) settings surface for the SLeeLa GUI package. Where the 1.0 (mual) line scattered a few tunables across classes, 2.0 gathers the operating knobs into one validated, nameful object: presentation (theme, DPI scale, reduced-motion / accessibility, vsync), window defaults (min/max size, resizable, decorations), and the document-listener timing (poll cadence, debounce window, coalesce-queue cap, backpressure policy). Every setting is CLAMPED to a safe window when applied — a dialed value is never accepted outside its stated range, and honored()/report() say whether the configuration is internally consistent. This mirrors the quality-first, clamp-to-window discipline used by the lib/cpu timing/voltage layer. Family: gui. A plain settings object; read by SLGuiBackend / SLGuiWindow / SLGuiDocumentListener and by SLGuiApp at boot.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
THEME_SYSTEMstatic final int THEME_SYSTEM = 0--- theme --- follow the OS theme
THEME_LIGHTstatic final int THEME_LIGHT = 1No description in source.
THEME_DARKstatic final int THEME_DARK = 2No description in source.
BACKPRESSURE_COALESCEstatic final int BACKPRESSURE_COALESCE = 0--- document-listener backpressure policy --- merge overflow into the latest (default)
BACKPRESSURE_DROPstatic final int BACKPRESSURE_DROP = 1drop oldest when the queue is full
BACKPRESSURE_BLOCKstatic final int BACKPRESSURE_BLOCK = 2block the producer until drained
BUFFERING_SINGLEstatic final int BUFFERING_SINGLE = 0--- presentation buffering (mirror native SLUIBufferingMode) --- blit straight to the window (may tear on resize)
BUFFERING_DOUBLEstatic final int BUFFERING_DOUBLE = 1one off-screen back buffer; frame lands atomically (default)
BUFFERING_TRIPLEstatic final int BUFFERING_TRIPLE = 2a ring of two back buffers; smoother rapid resize/animation
themeint theme--- presentation --- THEME_*
dpiScalePctint dpiScalePctdisplay scale percentage, 50..400 (100 = 1x)
reducedMotionint reducedMotion1 = minimize animation (accessibility)
accessibleint accessible1 = expose accessibility tree / larger hit targets
vsyncint vsync1 = present synchronized to the display refresh
bufferingModeint bufferingModeBUFFERING_* — how a painted frame reaches the screen
resizableint resizable1 = user may resize
decoratedint decorated1 = OS title bar / borders
pollMillisint pollMillis--- document-listener timing --- OS wake cadence (ms), 10..60000
debounceMillisint debounceMillissettle window after a change before emitting, 0..10000
coalesceQueueMaxint coalesceQueueMaxmax pending change events before backpressure, 1..4096
backpressureint backpressureBACKPRESSURE_*
AESTHETIC_FLATstatic final int AESTHETIC_FLAT = 0--- 4.0 aesthetic (substantially upgraded look) --- Named aesthetic presets the host maps to a polished design language. minimal, flat
AESTHETIC_SOFTstatic final int AESTHETIC_SOFT = 1soft shadows, rounded (default)
AESTHETIC_GLASSstatic final int AESTHETIC_GLASS = 2translucent/blurred "glass"
AESTHETIC_METALstatic final int AESTHETIC_METAL = 3brushed metal + specular
AESTHETIC_NEONstatic final int AESTHETIC_NEON = 4dark + accent glow
DENSITY_COMPACTstatic final int DENSITY_COMPACT = 0Spacing density.
DENSITY_COMFORTstatic final int DENSITY_COMFORT = 1default
DENSITY_SPACIOUSstatic final int DENSITY_SPACIOUS = 2No description in source.
aestheticint aestheticAESTHETIC_*
cornerRadiusPxint cornerRadiusPxwidget corner radius, 0..48
elevationPctint elevationPctshadow/elevation strength, 0..100
densityint densityDENSITY_*
typeScalePctint typeScalePcttypography scale, 75..200 % (relative to base)
accentColorString accentColorprimary accent "#rrggbb" / named
surfaceColorString surfaceColorbase surface color
contrastHighint contrastHigh1 = high-contrast mode (accessibility aesthetic)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()Apply the documented, careful defaults. Everything here is already in range.
clampint clamp(int v, int lo, int hi)--- clamped setters: a value out of range is pulled to the nearest bound ---
setThemevoid setTheme(int t)No description in source.
setDpiScalePctvoid setDpiScalePct(int pct)No description in source.
setReducedMotionvoid setReducedMotion(boolean on)No description in source.
setAccessiblevoid setAccessible(boolean on)No description in source.
setVsyncvoid setVsync(boolean on)No description in source.
setBufferingModevoid setBufferingMode(int m)No description in source.
setMinSizevoid setMinSize(int w, int h)No description in source.
setMaxSizevoid setMaxSize(int w, int h)Max of 0 means unbounded; a positive max must not fall below the min.
setResizablevoid setResizable(boolean on)No description in source.
setDecoratedvoid setDecorated(boolean on)No description in source.
setPollMillisvoid setPollMillis(int ms)No description in source.
setDebounceMillisvoid setDebounceMillis(int ms)No description in source.
setCoalesceQueueMaxvoid setCoalesceQueueMax(int n)No description in source.
setBackpressurevoid setBackpressure(int policy)No description in source.
setAestheticvoid setAesthetic(int a)--- 4.0 aesthetic setters (clamped/validated) ---
setCornerRadiusPxvoid setCornerRadiusPx(int px)No description in source.
setElevationPctvoid setElevationPct(int pct)No description in source.
setDensityvoid setDensity(int d)No description in source.
setTypeScalePctvoid setTypeScalePct(int pct)No description in source.
setAccentColorvoid setAccentColor(String c)No description in source.
setSurfaceColorvoid setSurfaceColor(String c)No description in source.
setContrastHighvoid setContrastHigh(boolean on)No description in source.
getAestheticint getAesthetic()No description in source.
getCornerRadiusPxint getCornerRadiusPx()No description in source.
getElevationPctint getElevationPct()No description in source.
getDensityint getDensity()No description in source.
getTypeScalePctint getTypeScalePct()No description in source.
getAccentColorString getAccentColor()No description in source.
getSurfaceColorString getSurfaceColor()No description in source.
contrastHighOnboolean contrastHighOn()No description in source.
aestheticNameString aestheticName()No description in source.
densityNameString densityName()No description in source.
getThemeint getTheme()--- readers ---
getDpiScalePctint getDpiScalePct()No description in source.
reducedMotionOnboolean reducedMotionOn()No description in source.
accessibleOnboolean accessibleOn()No description in source.
vsyncOnboolean vsyncOn()No description in source.
getBufferingModeint getBufferingMode()No description in source.
getMinWidthint getMinWidth()No description in source.
getMinHeightint getMinHeight()No description in source.
getMaxWidthint getMaxWidth()No description in source.
getMaxHeightint getMaxHeight()No description in source.
resizableOnboolean resizableOn()No description in source.
decoratedOnboolean decoratedOn()No description in source.
getPollMillisint getPollMillis()No description in source.
getDebounceMillisint getDebounceMillis()No description in source.
getCoalesceQueueMaxint getCoalesceQueueMax()No description in source.
getBackpressureint getBackpressure()No description in source.
themeNameString themeName()No description in source.
backpressureNameString backpressureName()No description in source.
bufferingNameString bufferingName()No description in source.
honoredboolean honored()Internally consistent when every clamped field sits in range and a bounded max is not below its min (0 = unbounded always passes).
reportString report()No description in source.

SLGuiSkeleton #sleela 2.5 (lib/gui/version-gual/SLGuiSkeleton.sleela)

SLGuiSkeleton class

Defines SLGuiSkeleton — the SKELETON SCREEN / PLACEHOLDER component: a subtle panel that fades IN to stand in for content that is still loading, animates a gentle shimmer/pulse while it waits, and then DISSOLVES to reveal the real content once loading completes. It is a pure model + lifecycle state machine: idle -> loading(shimmer) -> revealing -> revealed, driven by tick(elapsed). The initial appearance and the reveal cross-fade are SLGuiTransitions; the shimmer is a looping 0..100..0 pulse. SLeeLa owns the shape (how many placeholder lines/blocks) and the timing; the host paints the grey blocks, the moving shimmer, and the reveal. Family: gui. A loading placeholder; this model decides shimmer phase, panel opacity, and when the real content is revealed.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_IDLEstatic final int STATE_IDLE = 0Lifecycle states. not shown
STATE_LOADINGstatic final int STATE_LOADING = 1placeholder visible, shimmering
STATE_REVEALINGstatic final int STATE_REVEALING = 2cross-fading placeholder -> content
STATE_REVEALEDstatic final int STATE_REVEALED = 3real content shown, placeholder gone
SHAPE_TEXTstatic final int SHAPE_TEXT = 0Placeholder shape presets (host maps to a block layout). stacked text lines
SHAPE_CARDstatic final int SHAPE_CARD = 1media block + text lines
SHAPE_AVATARstatic final int SHAPE_AVATAR = 2circle + two short lines
SHAPE_LISTstatic final int SHAPE_LIST = 3repeated rows
shapeint shapeSHAPE_*
linesint linesnumber of placeholder blocks/rows, 1..32
stateint stateSTATE_*
shimmerPeriodMsint shimmerPeriodMsone full shimmer sweep, 200..10000 ms
shimmerElapsedint shimmerElapsedposition within the current sweep
appearFxSLGuiTransition appearFxthe placeholder's initial fade-in
revealFxSLGuiTransition revealFxthe placeholder -> content dissolve (cross-fade)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(int shapeVal, int lineCount)Safe defaults: a 3-line text skeleton, 180ms fade-in, a 1.2s shimmer sweep, a 260ms dissolve reveal.
setShapevoid setShape(int shapeVal)No description in source.
setLinesvoid setLines(int n)No description in source.
setShimmerPeriodvoid setShimmerPeriod(int ms)No description in source.
setAppearMillisvoid setAppearMillis(int ms)No description in source.
setRevealMillisvoid setRevealMillis(int ms)No description in source.
beginLoadingvoid beginLoading()---- lifecycle ---------------------------------------------------------- Begin loading: fade the placeholder in and start shimmering.
completevoid complete()Content is ready: start the dissolve reveal.
resetvoid reset()No description in source.
tickboolean tick(int deltaMs)Advance by `deltaMs`. Returns true while the placeholder is still visible (loading or revealing), false once the real content is fully revealed/idle.
placeholderOpacityPctint placeholderOpacityPct()---- presentation ------------------------------------------------------- Opacity (0..100 %) to paint the PLACEHOLDER panel at. During the reveal the placeholder fades OUT as the content fades in (1 - reveal progress).
contentOpacityPctint contentOpacityPct()Opacity (0..100 %) to paint the real CONTENT at. Rises during the reveal.
shimmerPhasePctint shimmerPhasePct()Shimmer phase as a 0..100 % sweep position (host sweeps a highlight band).
onScreenboolean onScreen()No description in source.
revealedboolean revealed()No description in source.
getShapeint getShape()---- readers ------------------------------------------------------------
getLinesint getLines()No description in source.
getStateint getState()No description in source.
getShimmerPeriodint getShimmerPeriod()No description in source.
appearTransitionSLGuiTransition appearTransition()No description in source.
revealTransitionSLGuiTransition revealTransition()No description in source.
shapeNameString shapeName()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "skeleton:<shape>x<lines>;shimmer:<ms>;<appear>;reveal-<dissolve>"
reportString report()No description in source.

SLGuiSkeleton #sleela 2.5 (lib/gui/version-mual/SLGuiSkeleton.sleela)

SLGuiSkeleton class

Defines SLGuiSkeleton — the SKELETON SCREEN / PLACEHOLDER component: a subtle panel that fades IN to stand in for content that is still loading, animates a gentle shimmer/pulse while it waits, and then DISSOLVES to reveal the real content once loading completes. It is a pure model + lifecycle state machine: idle -> loading(shimmer) -> revealing -> revealed, driven by tick(elapsed). The initial appearance and the reveal cross-fade are SLGuiTransitions; the shimmer is a looping 0..100..0 pulse. SLeeLa owns the shape (how many placeholder lines/blocks) and the timing; the host paints the grey blocks, the moving shimmer, and the reveal. Family: gui. A loading placeholder; this model decides shimmer phase, panel opacity, and when the real content is revealed.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_IDLEstatic final int STATE_IDLE = 0Lifecycle states. not shown
STATE_LOADINGstatic final int STATE_LOADING = 1placeholder visible, shimmering
STATE_REVEALINGstatic final int STATE_REVEALING = 2cross-fading placeholder -> content
STATE_REVEALEDstatic final int STATE_REVEALED = 3real content shown, placeholder gone
SHAPE_TEXTstatic final int SHAPE_TEXT = 0Placeholder shape presets (host maps to a block layout). stacked text lines
SHAPE_CARDstatic final int SHAPE_CARD = 1media block + text lines
SHAPE_AVATARstatic final int SHAPE_AVATAR = 2circle + two short lines
SHAPE_LISTstatic final int SHAPE_LIST = 3repeated rows
shapeint shapeSHAPE_*
linesint linesnumber of placeholder blocks/rows, 1..32
stateint stateSTATE_*
shimmerPeriodMsint shimmerPeriodMsone full shimmer sweep, 200..10000 ms
shimmerElapsedint shimmerElapsedposition within the current sweep
appearFxSLGuiTransition appearFxthe placeholder's initial fade-in
revealFxSLGuiTransition revealFxthe placeholder -> content dissolve (cross-fade)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(int shapeVal, int lineCount)Safe defaults: a 3-line text skeleton, 180ms fade-in, a 1.2s shimmer sweep, a 260ms dissolve reveal.
setShapevoid setShape(int shapeVal)No description in source.
setLinesvoid setLines(int n)No description in source.
setShimmerPeriodvoid setShimmerPeriod(int ms)No description in source.
setAppearMillisvoid setAppearMillis(int ms)No description in source.
setRevealMillisvoid setRevealMillis(int ms)No description in source.
beginLoadingvoid beginLoading()---- lifecycle ---------------------------------------------------------- Begin loading: fade the placeholder in and start shimmering.
completevoid complete()Content is ready: start the dissolve reveal.
resetvoid reset()No description in source.
tickboolean tick(int deltaMs)Advance by `deltaMs`. Returns true while the placeholder is still visible (loading or revealing), false once the real content is fully revealed/idle.
placeholderOpacityPctint placeholderOpacityPct()---- presentation ------------------------------------------------------- Opacity (0..100 %) to paint the PLACEHOLDER panel at. During the reveal the placeholder fades OUT as the content fades in (1 - reveal progress).
contentOpacityPctint contentOpacityPct()Opacity (0..100 %) to paint the real CONTENT at. Rises during the reveal.
shimmerPhasePctint shimmerPhasePct()Shimmer phase as a 0..100 % sweep position (host sweeps a highlight band).
onScreenboolean onScreen()No description in source.
revealedboolean revealed()No description in source.
getShapeint getShape()---- readers ------------------------------------------------------------
getLinesint getLines()No description in source.
getStateint getState()No description in source.
getShimmerPeriodint getShimmerPeriod()No description in source.
appearTransitionSLGuiTransition appearTransition()No description in source.
revealTransitionSLGuiTransition revealTransition()No description in source.
shapeNameString shapeName()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "skeleton:<shape>x<lines>;shimmer:<ms>;<appear>;reveal-<dissolve>"
reportString report()No description in source.

SLGuiSkeleton #sleela 2.5 (lib/gui/version-thual/SLGuiSkeleton.sleela)

SLGuiSkeleton class

Defines SLGuiSkeleton — the SKELETON SCREEN / PLACEHOLDER component: a subtle panel that fades IN to stand in for content that is still loading, animates a gentle shimmer/pulse while it waits, and then DISSOLVES to reveal the real content once loading completes. It is a pure model + lifecycle state machine: idle -> loading(shimmer) -> revealing -> revealed, driven by tick(elapsed). The initial appearance and the reveal cross-fade are SLGuiTransitions; the shimmer is a looping 0..100..0 pulse. SLeeLa owns the shape (how many placeholder lines/blocks) and the timing; the host paints the grey blocks, the moving shimmer, and the reveal. Family: gui. A loading placeholder; this model decides shimmer phase, panel opacity, and when the real content is revealed.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_IDLEstatic final int STATE_IDLE = 0Lifecycle states. not shown
STATE_LOADINGstatic final int STATE_LOADING = 1placeholder visible, shimmering
STATE_REVEALINGstatic final int STATE_REVEALING = 2cross-fading placeholder -> content
STATE_REVEALEDstatic final int STATE_REVEALED = 3real content shown, placeholder gone
SHAPE_TEXTstatic final int SHAPE_TEXT = 0Placeholder shape presets (host maps to a block layout). stacked text lines
SHAPE_CARDstatic final int SHAPE_CARD = 1media block + text lines
SHAPE_AVATARstatic final int SHAPE_AVATAR = 2circle + two short lines
SHAPE_LISTstatic final int SHAPE_LIST = 3repeated rows
shapeint shapeSHAPE_*
linesint linesnumber of placeholder blocks/rows, 1..32
stateint stateSTATE_*
shimmerPeriodMsint shimmerPeriodMsone full shimmer sweep, 200..10000 ms
shimmerElapsedint shimmerElapsedposition within the current sweep
appearFxSLGuiTransition appearFxthe placeholder's initial fade-in
revealFxSLGuiTransition revealFxthe placeholder -> content dissolve (cross-fade)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(int shapeVal, int lineCount)Safe defaults: a 3-line text skeleton, 180ms fade-in, a 1.2s shimmer sweep, a 260ms dissolve reveal.
setShapevoid setShape(int shapeVal)No description in source.
setLinesvoid setLines(int n)No description in source.
setShimmerPeriodvoid setShimmerPeriod(int ms)No description in source.
setAppearMillisvoid setAppearMillis(int ms)No description in source.
setRevealMillisvoid setRevealMillis(int ms)No description in source.
beginLoadingvoid beginLoading()---- lifecycle ---------------------------------------------------------- Begin loading: fade the placeholder in and start shimmering.
completevoid complete()Content is ready: start the dissolve reveal.
resetvoid reset()No description in source.
tickboolean tick(int deltaMs)Advance by `deltaMs`. Returns true while the placeholder is still visible (loading or revealing), false once the real content is fully revealed/idle.
placeholderOpacityPctint placeholderOpacityPct()---- presentation ------------------------------------------------------- Opacity (0..100 %) to paint the PLACEHOLDER panel at. During the reveal the placeholder fades OUT as the content fades in (1 - reveal progress).
contentOpacityPctint contentOpacityPct()Opacity (0..100 %) to paint the real CONTENT at. Rises during the reveal.
shimmerPhasePctint shimmerPhasePct()Shimmer phase as a 0..100 % sweep position (host sweeps a highlight band).
onScreenboolean onScreen()No description in source.
revealedboolean revealed()No description in source.
getShapeint getShape()---- readers ------------------------------------------------------------
getLinesint getLines()No description in source.
getStateint getState()No description in source.
getShimmerPeriodint getShimmerPeriod()No description in source.
appearTransitionSLGuiTransition appearTransition()No description in source.
revealTransitionSLGuiTransition revealTransition()No description in source.
shapeNameString shapeName()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "skeleton:<shape>x<lines>;shimmer:<ms>;<appear>;reveal-<dissolve>"
reportString report()No description in source.

SLGuiSkeleton #sleela 2.5 (lib/gui/version-military/SLGuiSkeleton.sleela)

SLGuiSkeleton class

Defines SLGuiSkeleton — the SKELETON SCREEN / PLACEHOLDER component: a subtle panel that fades IN to stand in for content that is still loading, animates a gentle shimmer/pulse while it waits, and then DISSOLVES to reveal the real content once loading completes. It is a pure model + lifecycle state machine: idle -> loading(shimmer) -> revealing -> revealed, driven by tick(elapsed). The initial appearance and the reveal cross-fade are SLGuiTransitions; the shimmer is a looping 0..100..0 pulse. SLeeLa owns the shape (how many placeholder lines/blocks) and the timing; the host paints the grey blocks, the moving shimmer, and the reveal. Family: gui. A loading placeholder; this model decides shimmer phase, panel opacity, and when the real content is revealed.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_IDLEstatic final int STATE_IDLE = 0Lifecycle states. not shown
STATE_LOADINGstatic final int STATE_LOADING = 1placeholder visible, shimmering
STATE_REVEALINGstatic final int STATE_REVEALING = 2cross-fading placeholder -> content
STATE_REVEALEDstatic final int STATE_REVEALED = 3real content shown, placeholder gone
SHAPE_TEXTstatic final int SHAPE_TEXT = 0Placeholder shape presets (host maps to a block layout). stacked text lines
SHAPE_CARDstatic final int SHAPE_CARD = 1media block + text lines
SHAPE_AVATARstatic final int SHAPE_AVATAR = 2circle + two short lines
SHAPE_LISTstatic final int SHAPE_LIST = 3repeated rows
shapeint shapeSHAPE_*
linesint linesnumber of placeholder blocks/rows, 1..32
stateint stateSTATE_*
shimmerPeriodMsint shimmerPeriodMsone full shimmer sweep, 200..10000 ms
shimmerElapsedint shimmerElapsedposition within the current sweep
appearFxSLGuiTransition appearFxthe placeholder's initial fade-in
revealFxSLGuiTransition revealFxthe placeholder -> content dissolve (cross-fade)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(int shapeVal, int lineCount)Safe defaults: a 3-line text skeleton, 180ms fade-in, a 1.2s shimmer sweep, a 260ms dissolve reveal.
setShapevoid setShape(int shapeVal)No description in source.
setLinesvoid setLines(int n)No description in source.
setShimmerPeriodvoid setShimmerPeriod(int ms)No description in source.
setAppearMillisvoid setAppearMillis(int ms)No description in source.
setRevealMillisvoid setRevealMillis(int ms)No description in source.
beginLoadingvoid beginLoading()---- lifecycle ---------------------------------------------------------- Begin loading: fade the placeholder in and start shimmering.
completevoid complete()Content is ready: start the dissolve reveal.
resetvoid reset()No description in source.
tickboolean tick(int deltaMs)Advance by `deltaMs`. Returns true while the placeholder is still visible (loading or revealing), false once the real content is fully revealed/idle.
placeholderOpacityPctint placeholderOpacityPct()---- presentation ------------------------------------------------------- Opacity (0..100 %) to paint the PLACEHOLDER panel at. During the reveal the placeholder fades OUT as the content fades in (1 - reveal progress).
contentOpacityPctint contentOpacityPct()Opacity (0..100 %) to paint the real CONTENT at. Rises during the reveal.
shimmerPhasePctint shimmerPhasePct()Shimmer phase as a 0..100 % sweep position (host sweeps a highlight band).
onScreenboolean onScreen()No description in source.
revealedboolean revealed()No description in source.
getShapeint getShape()---- readers ------------------------------------------------------------
getLinesint getLines()No description in source.
getStateint getState()No description in source.
getShimmerPeriodint getShimmerPeriod()No description in source.
appearTransitionSLGuiTransition appearTransition()No description in source.
revealTransitionSLGuiTransition revealTransition()No description in source.
shapeNameString shapeName()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "skeleton:<shape>x<lines>;shimmer:<ms>;<appear>;reveal-<dissolve>"
reportString report()No description in source.

SLGuiSkeleton #sleela 2.5 (lib/gui/version-dual/SLGuiSkeleton.sleela)

SLGuiSkeleton class

Defines SLGuiSkeleton — the SKELETON SCREEN / PLACEHOLDER component: a subtle panel that fades IN to stand in for content that is still loading, animates a gentle shimmer/pulse while it waits, and then DISSOLVES to reveal the real content once loading completes. It is a pure model + lifecycle state machine: idle -> loading(shimmer) -> revealing -> revealed, driven by tick(elapsed). The initial appearance and the reveal cross-fade are SLGuiTransitions; the shimmer is a looping 0..100..0 pulse. SLeeLa owns the shape (how many placeholder lines/blocks) and the timing; the host paints the grey blocks, the moving shimmer, and the reveal. Family: gui. A loading placeholder; this model decides shimmer phase, panel opacity, and when the real content is revealed.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_IDLEstatic final int STATE_IDLE = 0Lifecycle states. not shown
STATE_LOADINGstatic final int STATE_LOADING = 1placeholder visible, shimmering
STATE_REVEALINGstatic final int STATE_REVEALING = 2cross-fading placeholder -> content
STATE_REVEALEDstatic final int STATE_REVEALED = 3real content shown, placeholder gone
SHAPE_TEXTstatic final int SHAPE_TEXT = 0Placeholder shape presets (host maps to a block layout). stacked text lines
SHAPE_CARDstatic final int SHAPE_CARD = 1media block + text lines
SHAPE_AVATARstatic final int SHAPE_AVATAR = 2circle + two short lines
SHAPE_LISTstatic final int SHAPE_LIST = 3repeated rows
shapeint shapeSHAPE_*
linesint linesnumber of placeholder blocks/rows, 1..32
stateint stateSTATE_*
shimmerPeriodMsint shimmerPeriodMsone full shimmer sweep, 200..10000 ms
shimmerElapsedint shimmerElapsedposition within the current sweep
appearFxSLGuiTransition appearFxthe placeholder's initial fade-in
revealFxSLGuiTransition revealFxthe placeholder -> content dissolve (cross-fade)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(int shapeVal, int lineCount)Safe defaults: a 3-line text skeleton, 180ms fade-in, a 1.2s shimmer sweep, a 260ms dissolve reveal.
setShapevoid setShape(int shapeVal)No description in source.
setLinesvoid setLines(int n)No description in source.
setShimmerPeriodvoid setShimmerPeriod(int ms)No description in source.
setAppearMillisvoid setAppearMillis(int ms)No description in source.
setRevealMillisvoid setRevealMillis(int ms)No description in source.
beginLoadingvoid beginLoading()---- lifecycle ---------------------------------------------------------- Begin loading: fade the placeholder in and start shimmering.
completevoid complete()Content is ready: start the dissolve reveal.
resetvoid reset()No description in source.
tickboolean tick(int deltaMs)Advance by `deltaMs`. Returns true while the placeholder is still visible (loading or revealing), false once the real content is fully revealed/idle.
placeholderOpacityPctint placeholderOpacityPct()---- presentation ------------------------------------------------------- Opacity (0..100 %) to paint the PLACEHOLDER panel at. During the reveal the placeholder fades OUT as the content fades in (1 - reveal progress).
contentOpacityPctint contentOpacityPct()Opacity (0..100 %) to paint the real CONTENT at. Rises during the reveal.
shimmerPhasePctint shimmerPhasePct()Shimmer phase as a 0..100 % sweep position (host sweeps a highlight band).
onScreenboolean onScreen()No description in source.
revealedboolean revealed()No description in source.
getShapeint getShape()---- readers ------------------------------------------------------------
getLinesint getLines()No description in source.
getStateint getState()No description in source.
getShimmerPeriodint getShimmerPeriod()No description in source.
appearTransitionSLGuiTransition appearTransition()No description in source.
revealTransitionSLGuiTransition revealTransition()No description in source.
shapeNameString shapeName()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "skeleton:<shape>x<lines>;shimmer:<ms>;<appear>;reveal-<dissolve>"
reportString report()No description in source.

SLGuiTheme #sleela 2.5 (lib/gui/version-gual/SLGuiTheme.sleela)

SLGuiTheme class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TITLE_BARstatic final String TITLE_BAR = "#1D2025"No description in source.
MENU_BARstatic final String MENU_BAR = "#1D2025"No description in source.
URL_BARstatic final String URL_BAR = "#383C47"No description in source.
PANELstatic final String PANEL = "#292D35"No description in source.
SURFACEstatic final String SURFACE = "#22262D"No description in source.
TEXTstatic final String TEXT = "#E8EAED"No description in source.
MUTED_TEXTstatic final String MUTED_TEXT = "#B0B7C3"No description in source.
BORDERstatic final String BORDER = "#444A56"No description in source.
ACCENTstatic final String ACCENT = "#4F8CFF"No description in source.
FOCUSstatic final String FOCUS = "#8AB4F8"No description in source.
DANGERstatic final String DANGER = "#D9534F"No description in source.
SUCCESSstatic final String SUCCESS = "#3FA776"No description in source.
MENU_POPUP_SURFACEstatic final String MENU_POPUP_SURFACE = "#292D35"No description in source.
MENU_POPUP_EDGEstatic final String MENU_POPUP_EDGE = "#505866"No description in source.
MENU_ITEM_HOVERstatic final String MENU_ITEM_HOVER = "#343A44"No description in source.
MENU_ITEM_PRESSEDstatic final String MENU_ITEM_PRESSED = "#252A32"No description in source.
MENU_ITEM_HIGHLIGHTstatic final String MENU_ITEM_HIGHLIGHT = "#3A404B"No description in source.
MENU_POPUP_SHADOWstatic final String MENU_POPUP_SHADOW = "0 8px 20px rgba(0,0,0,0.28)"No description in source.
MENU_POPUP_RADIUSstatic final String MENU_POPUP_RADIUS = "6"No description in source.
MENU_ITEM_RAISEstatic final String MENU_ITEM_RAISE = "1"No description in source.
MENU_TRANSITION_MSstatic final String MENU_TRANSITION_MS = "120"No description in source.
TITLE_BAR_COLORstatic final int TITLE_BAR_COLOR = 0x1D2025FFTyped SLColor words (0xRRGGBBAA) used by SLTheme at runtime.
MENU_BAR_COLORstatic final int MENU_BAR_COLOR = 0x1D2025FFNo description in source.
URL_BAR_COLORstatic final int URL_BAR_COLOR = 0x383C47FFNo description in source.
PANEL_COLORstatic final int PANEL_COLOR = 0x292D35FFNo description in source.
SURFACE_COLORstatic final int SURFACE_COLOR = 0x22262DFFNo description in source.
TEXT_COLORstatic final int TEXT_COLOR = 0xE8EAEDFFNo description in source.
MUTED_TEXT_COLORstatic final int MUTED_TEXT_COLOR = 0xB0B7C3FFNo description in source.
BORDER_COLORstatic final int BORDER_COLOR = 0x444A56FFNo description in source.
ACCENT_COLORstatic final int ACCENT_COLOR = 0x4F8CFFFFNo description in source.
FOCUS_COLORstatic final int FOCUS_COLOR = 0x8AB4F8FFNo description in source.
DANGER_COLORstatic final int DANGER_COLOR = 0xD9534FFFNo description in source.
SUCCESS_COLORstatic final int SUCCESS_COLOR = 0x3FA776FFNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
titleBarString titleBar()No description in source.
menuBarString menuBar()No description in source.
urlBarString urlBar()No description in source.
panelString panel()No description in source.
surfaceString surface()No description in source.
textString text()No description in source.
mutedTextString mutedText()No description in source.
borderString border()No description in source.
accentString accent()No description in source.
focusString focus()No description in source.
dangerString danger()No description in source.
successString success()No description in source.
menuPopupSurfaceString menuPopupSurface()No description in source.
menuPopupEdgeString menuPopupEdge()No description in source.
menuItemHoverString menuItemHover()No description in source.
menuItemPressedString menuItemPressed()No description in source.
menuItemHighlightString menuItemHighlight()No description in source.
menuPopupShadowString menuPopupShadow()No description in source.
menuPopupRadiusString menuPopupRadius()No description in source.
menuItemRaiseString menuItemRaise()No description in source.
menuTransitionMsString menuTransitionMs()No description in source.

SLGuiTheme #sleela 2.5 (lib/gui/version-mual/SLGuiTheme.sleela)

SLGuiTheme class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TITLE_BARstatic final String TITLE_BAR = "#1D2025"No description in source.
MENU_BARstatic final String MENU_BAR = "#1D2025"No description in source.
URL_BARstatic final String URL_BAR = "#383C47"No description in source.
PANELstatic final String PANEL = "#292D35"No description in source.
SURFACEstatic final String SURFACE = "#22262D"No description in source.
TEXTstatic final String TEXT = "#E8EAED"No description in source.
MUTED_TEXTstatic final String MUTED_TEXT = "#B0B7C3"No description in source.
BORDERstatic final String BORDER = "#444A56"No description in source.
ACCENTstatic final String ACCENT = "#4F8CFF"No description in source.
FOCUSstatic final String FOCUS = "#8AB4F8"No description in source.
DANGERstatic final String DANGER = "#D9534F"No description in source.
SUCCESSstatic final String SUCCESS = "#3FA776"No description in source.
MENU_POPUP_SURFACEstatic final String MENU_POPUP_SURFACE = "#292D35"No description in source.
MENU_POPUP_EDGEstatic final String MENU_POPUP_EDGE = "#505866"No description in source.
MENU_ITEM_HOVERstatic final String MENU_ITEM_HOVER = "#343A44"No description in source.
MENU_ITEM_PRESSEDstatic final String MENU_ITEM_PRESSED = "#252A32"No description in source.
MENU_ITEM_HIGHLIGHTstatic final String MENU_ITEM_HIGHLIGHT = "#3A404B"No description in source.
MENU_POPUP_SHADOWstatic final String MENU_POPUP_SHADOW = "0 8px 20px rgba(0,0,0,0.28)"No description in source.
MENU_POPUP_RADIUSstatic final String MENU_POPUP_RADIUS = "6"No description in source.
MENU_ITEM_RAISEstatic final String MENU_ITEM_RAISE = "1"No description in source.
MENU_TRANSITION_MSstatic final String MENU_TRANSITION_MS = "120"No description in source.
TITLE_BAR_COLORstatic final int TITLE_BAR_COLOR = 0x1D2025FFTyped SLColor words (0xRRGGBBAA) used by SLTheme at runtime.
MENU_BAR_COLORstatic final int MENU_BAR_COLOR = 0x1D2025FFNo description in source.
URL_BAR_COLORstatic final int URL_BAR_COLOR = 0x383C47FFNo description in source.
PANEL_COLORstatic final int PANEL_COLOR = 0x292D35FFNo description in source.
SURFACE_COLORstatic final int SURFACE_COLOR = 0x22262DFFNo description in source.
TEXT_COLORstatic final int TEXT_COLOR = 0xE8EAEDFFNo description in source.
MUTED_TEXT_COLORstatic final int MUTED_TEXT_COLOR = 0xB0B7C3FFNo description in source.
BORDER_COLORstatic final int BORDER_COLOR = 0x444A56FFNo description in source.
ACCENT_COLORstatic final int ACCENT_COLOR = 0x4F8CFFFFNo description in source.
FOCUS_COLORstatic final int FOCUS_COLOR = 0x8AB4F8FFNo description in source.
DANGER_COLORstatic final int DANGER_COLOR = 0xD9534FFFNo description in source.
SUCCESS_COLORstatic final int SUCCESS_COLOR = 0x3FA776FFNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
titleBarString titleBar()No description in source.
menuBarString menuBar()No description in source.
urlBarString urlBar()No description in source.
panelString panel()No description in source.
surfaceString surface()No description in source.
textString text()No description in source.
mutedTextString mutedText()No description in source.
borderString border()No description in source.
accentString accent()No description in source.
focusString focus()No description in source.
dangerString danger()No description in source.
successString success()No description in source.
menuPopupSurfaceString menuPopupSurface()No description in source.
menuPopupEdgeString menuPopupEdge()No description in source.
menuItemHoverString menuItemHover()No description in source.
menuItemPressedString menuItemPressed()No description in source.
menuItemHighlightString menuItemHighlight()No description in source.
menuPopupShadowString menuPopupShadow()No description in source.
menuPopupRadiusString menuPopupRadius()No description in source.
menuItemRaiseString menuItemRaise()No description in source.
menuTransitionMsString menuTransitionMs()No description in source.

SLGuiTheme #sleela 2.5 (lib/gui/version-thual/SLGuiTheme.sleela)

SLGuiTheme class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TITLE_BARstatic final String TITLE_BAR = "#1D2025"No description in source.
MENU_BARstatic final String MENU_BAR = "#1D2025"No description in source.
URL_BARstatic final String URL_BAR = "#383C47"No description in source.
PANELstatic final String PANEL = "#292D35"No description in source.
SURFACEstatic final String SURFACE = "#22262D"No description in source.
TEXTstatic final String TEXT = "#E8EAED"No description in source.
MUTED_TEXTstatic final String MUTED_TEXT = "#B0B7C3"No description in source.
BORDERstatic final String BORDER = "#444A56"No description in source.
ACCENTstatic final String ACCENT = "#4F8CFF"No description in source.
FOCUSstatic final String FOCUS = "#8AB4F8"No description in source.
DANGERstatic final String DANGER = "#D9534F"No description in source.
SUCCESSstatic final String SUCCESS = "#3FA776"No description in source.
MENU_POPUP_SURFACEstatic final String MENU_POPUP_SURFACE = "#292D35"No description in source.
MENU_POPUP_EDGEstatic final String MENU_POPUP_EDGE = "#505866"No description in source.
MENU_ITEM_HOVERstatic final String MENU_ITEM_HOVER = "#343A44"No description in source.
MENU_ITEM_PRESSEDstatic final String MENU_ITEM_PRESSED = "#252A32"No description in source.
MENU_ITEM_HIGHLIGHTstatic final String MENU_ITEM_HIGHLIGHT = "#3A404B"No description in source.
MENU_POPUP_SHADOWstatic final String MENU_POPUP_SHADOW = "0 8px 20px rgba(0,0,0,0.28)"No description in source.
MENU_POPUP_RADIUSstatic final String MENU_POPUP_RADIUS = "6"No description in source.
MENU_ITEM_RAISEstatic final String MENU_ITEM_RAISE = "1"No description in source.
MENU_TRANSITION_MSstatic final String MENU_TRANSITION_MS = "120"No description in source.
TITLE_BAR_COLORstatic final int TITLE_BAR_COLOR = 0x1D2025FFTyped SLColor words (0xRRGGBBAA) used by SLTheme at runtime.
MENU_BAR_COLORstatic final int MENU_BAR_COLOR = 0x1D2025FFNo description in source.
URL_BAR_COLORstatic final int URL_BAR_COLOR = 0x383C47FFNo description in source.
PANEL_COLORstatic final int PANEL_COLOR = 0x292D35FFNo description in source.
SURFACE_COLORstatic final int SURFACE_COLOR = 0x22262DFFNo description in source.
TEXT_COLORstatic final int TEXT_COLOR = 0xE8EAEDFFNo description in source.
MUTED_TEXT_COLORstatic final int MUTED_TEXT_COLOR = 0xB0B7C3FFNo description in source.
BORDER_COLORstatic final int BORDER_COLOR = 0x444A56FFNo description in source.
ACCENT_COLORstatic final int ACCENT_COLOR = 0x4F8CFFFFNo description in source.
FOCUS_COLORstatic final int FOCUS_COLOR = 0x8AB4F8FFNo description in source.
DANGER_COLORstatic final int DANGER_COLOR = 0xD9534FFFNo description in source.
SUCCESS_COLORstatic final int SUCCESS_COLOR = 0x3FA776FFNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
titleBarString titleBar()No description in source.
menuBarString menuBar()No description in source.
urlBarString urlBar()No description in source.
panelString panel()No description in source.
surfaceString surface()No description in source.
textString text()No description in source.
mutedTextString mutedText()No description in source.
borderString border()No description in source.
accentString accent()No description in source.
focusString focus()No description in source.
dangerString danger()No description in source.
successString success()No description in source.
menuPopupSurfaceString menuPopupSurface()No description in source.
menuPopupEdgeString menuPopupEdge()No description in source.
menuItemHoverString menuItemHover()No description in source.
menuItemPressedString menuItemPressed()No description in source.
menuItemHighlightString menuItemHighlight()No description in source.
menuPopupShadowString menuPopupShadow()No description in source.
menuPopupRadiusString menuPopupRadius()No description in source.
menuItemRaiseString menuItemRaise()No description in source.
menuTransitionMsString menuTransitionMs()No description in source.

SLGuiTheme #sleela 2.5 (lib/gui/version-military/SLGuiTheme.sleela)

SLGuiTheme class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TITLE_BARstatic final String TITLE_BAR = "#1D2025"No description in source.
MENU_BARstatic final String MENU_BAR = "#1D2025"No description in source.
URL_BARstatic final String URL_BAR = "#383C47"No description in source.
PANELstatic final String PANEL = "#292D35"No description in source.
SURFACEstatic final String SURFACE = "#22262D"No description in source.
TEXTstatic final String TEXT = "#E8EAED"No description in source.
MUTED_TEXTstatic final String MUTED_TEXT = "#B0B7C3"No description in source.
BORDERstatic final String BORDER = "#444A56"No description in source.
ACCENTstatic final String ACCENT = "#4F8CFF"No description in source.
FOCUSstatic final String FOCUS = "#8AB4F8"No description in source.
DANGERstatic final String DANGER = "#D9534F"No description in source.
SUCCESSstatic final String SUCCESS = "#3FA776"No description in source.
MENU_POPUP_SURFACEstatic final String MENU_POPUP_SURFACE = "#292D35"No description in source.
MENU_POPUP_EDGEstatic final String MENU_POPUP_EDGE = "#505866"No description in source.
MENU_ITEM_HOVERstatic final String MENU_ITEM_HOVER = "#343A44"No description in source.
MENU_ITEM_PRESSEDstatic final String MENU_ITEM_PRESSED = "#252A32"No description in source.
MENU_ITEM_HIGHLIGHTstatic final String MENU_ITEM_HIGHLIGHT = "#3A404B"No description in source.
MENU_POPUP_SHADOWstatic final String MENU_POPUP_SHADOW = "0 8px 20px rgba(0,0,0,0.28)"No description in source.
MENU_POPUP_RADIUSstatic final String MENU_POPUP_RADIUS = "6"No description in source.
MENU_ITEM_RAISEstatic final String MENU_ITEM_RAISE = "1"No description in source.
MENU_TRANSITION_MSstatic final String MENU_TRANSITION_MS = "120"No description in source.
TITLE_BAR_COLORstatic final int TITLE_BAR_COLOR = 0x1D2025FFTyped SLColor words (0xRRGGBBAA) used by SLTheme at runtime.
MENU_BAR_COLORstatic final int MENU_BAR_COLOR = 0x1D2025FFNo description in source.
URL_BAR_COLORstatic final int URL_BAR_COLOR = 0x383C47FFNo description in source.
PANEL_COLORstatic final int PANEL_COLOR = 0x292D35FFNo description in source.
SURFACE_COLORstatic final int SURFACE_COLOR = 0x22262DFFNo description in source.
TEXT_COLORstatic final int TEXT_COLOR = 0xE8EAEDFFNo description in source.
MUTED_TEXT_COLORstatic final int MUTED_TEXT_COLOR = 0xB0B7C3FFNo description in source.
BORDER_COLORstatic final int BORDER_COLOR = 0x444A56FFNo description in source.
ACCENT_COLORstatic final int ACCENT_COLOR = 0x4F8CFFFFNo description in source.
FOCUS_COLORstatic final int FOCUS_COLOR = 0x8AB4F8FFNo description in source.
DANGER_COLORstatic final int DANGER_COLOR = 0xD9534FFFNo description in source.
SUCCESS_COLORstatic final int SUCCESS_COLOR = 0x3FA776FFNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
titleBarString titleBar()No description in source.
menuBarString menuBar()No description in source.
urlBarString urlBar()No description in source.
panelString panel()No description in source.
surfaceString surface()No description in source.
textString text()No description in source.
mutedTextString mutedText()No description in source.
borderString border()No description in source.
accentString accent()No description in source.
focusString focus()No description in source.
dangerString danger()No description in source.
successString success()No description in source.
menuPopupSurfaceString menuPopupSurface()No description in source.
menuPopupEdgeString menuPopupEdge()No description in source.
menuItemHoverString menuItemHover()No description in source.
menuItemPressedString menuItemPressed()No description in source.
menuItemHighlightString menuItemHighlight()No description in source.
menuPopupShadowString menuPopupShadow()No description in source.
menuPopupRadiusString menuPopupRadius()No description in source.
menuItemRaiseString menuItemRaise()No description in source.
menuTransitionMsString menuTransitionMs()No description in source.

SLGuiTheme #sleela 2.5 (lib/gui/version-dual/SLGuiTheme.sleela)

SLGuiTheme class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TITLE_BARstatic final String TITLE_BAR = "#1D2025"No description in source.
MENU_BARstatic final String MENU_BAR = "#1D2025"No description in source.
URL_BARstatic final String URL_BAR = "#383C47"No description in source.
PANELstatic final String PANEL = "#292D35"No description in source.
SURFACEstatic final String SURFACE = "#22262D"No description in source.
TEXTstatic final String TEXT = "#E8EAED"No description in source.
MUTED_TEXTstatic final String MUTED_TEXT = "#B0B7C3"No description in source.
BORDERstatic final String BORDER = "#444A56"No description in source.
ACCENTstatic final String ACCENT = "#4F8CFF"No description in source.
FOCUSstatic final String FOCUS = "#8AB4F8"No description in source.
DANGERstatic final String DANGER = "#D9534F"No description in source.
SUCCESSstatic final String SUCCESS = "#3FA776"No description in source.
MENU_POPUP_SURFACEstatic final String MENU_POPUP_SURFACE = "#292D35"No description in source.
MENU_POPUP_EDGEstatic final String MENU_POPUP_EDGE = "#505866"No description in source.
MENU_ITEM_HOVERstatic final String MENU_ITEM_HOVER = "#343A44"No description in source.
MENU_ITEM_PRESSEDstatic final String MENU_ITEM_PRESSED = "#252A32"No description in source.
MENU_ITEM_HIGHLIGHTstatic final String MENU_ITEM_HIGHLIGHT = "#3A404B"No description in source.
MENU_POPUP_SHADOWstatic final String MENU_POPUP_SHADOW = "0 8px 20px rgba(0,0,0,0.28)"No description in source.
MENU_POPUP_RADIUSstatic final String MENU_POPUP_RADIUS = "6"No description in source.
MENU_ITEM_RAISEstatic final String MENU_ITEM_RAISE = "1"No description in source.
MENU_TRANSITION_MSstatic final String MENU_TRANSITION_MS = "120"No description in source.
TITLE_BAR_COLORstatic final int TITLE_BAR_COLOR = 0x1D2025FFTyped SLColor words (0xRRGGBBAA) used by SLTheme at runtime.
MENU_BAR_COLORstatic final int MENU_BAR_COLOR = 0x1D2025FFNo description in source.
URL_BAR_COLORstatic final int URL_BAR_COLOR = 0x383C47FFNo description in source.
PANEL_COLORstatic final int PANEL_COLOR = 0x292D35FFNo description in source.
SURFACE_COLORstatic final int SURFACE_COLOR = 0x22262DFFNo description in source.
TEXT_COLORstatic final int TEXT_COLOR = 0xE8EAEDFFNo description in source.
MUTED_TEXT_COLORstatic final int MUTED_TEXT_COLOR = 0xB0B7C3FFNo description in source.
BORDER_COLORstatic final int BORDER_COLOR = 0x444A56FFNo description in source.
ACCENT_COLORstatic final int ACCENT_COLOR = 0x4F8CFFFFNo description in source.
FOCUS_COLORstatic final int FOCUS_COLOR = 0x8AB4F8FFNo description in source.
DANGER_COLORstatic final int DANGER_COLOR = 0xD9534FFFNo description in source.
SUCCESS_COLORstatic final int SUCCESS_COLOR = 0x3FA776FFNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
titleBarString titleBar()No description in source.
menuBarString menuBar()No description in source.
urlBarString urlBar()No description in source.
panelString panel()No description in source.
surfaceString surface()No description in source.
textString text()No description in source.
mutedTextString mutedText()No description in source.
borderString border()No description in source.
accentString accent()No description in source.
focusString focus()No description in source.
dangerString danger()No description in source.
successString success()No description in source.
menuPopupSurfaceString menuPopupSurface()No description in source.
menuPopupEdgeString menuPopupEdge()No description in source.
menuItemHoverString menuItemHover()No description in source.
menuItemPressedString menuItemPressed()No description in source.
menuItemHighlightString menuItemHighlight()No description in source.
menuPopupShadowString menuPopupShadow()No description in source.
menuPopupRadiusString menuPopupRadius()No description in source.
menuItemRaiseString menuItemRaise()No description in source.
menuTransitionMsString menuTransitionMs()No description in source.

SLGuiToast #sleela 2.5 (lib/gui/version-gual/SLGuiToast.sleela)

SLGuiToast class

Defines SLGuiToast — the TOAST / SNACKBAR component: a small notification panel that fades IN at a corner/edge of the screen, DWELLS for a few seconds, then fades OUT. It is a pure model + lifecycle state machine: hidden -> fadingIn -> shown -> fadingOut -> hidden, driven by tick(elapsed). The fade in and fade out are each an SLGuiTransition (the shared enter/exit tween); the dwell is a plain timer. SLeeLa owns the message, placement, severity, and timing; the host paints the panel at the resolved opacity and anchors it to the chosen corner. Family: gui. A self-dismissing notification; the host renders it, this model decides when it is visible and how opaque.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_HIDDENstatic final int STATE_HIDDEN = 0Lifecycle states. not on screen
STATE_FADING_INstatic final int STATE_FADING_IN = 1enter transition running
STATE_SHOWNstatic final int STATE_SHOWN = 2fully visible, dwelling
STATE_FADING_OUTstatic final int STATE_FADING_OUT = 3exit transition running
SEV_INFOstatic final int SEV_INFO = 0Severity (tints the panel; the host maps to accent/warning/danger/success).
SEV_SUCCESSstatic final int SEV_SUCCESS = 1No description in source.
SEV_WARNINGstatic final int SEV_WARNING = 2No description in source.
SEV_DANGERstatic final int SEV_DANGER = 3No description in source.
POS_TOP_LEFTstatic final int POS_TOP_LEFT = 0Placement anchors (which screen corner/edge the toast docks to).
POS_TOP_RIGHTstatic final int POS_TOP_RIGHT = 1No description in source.
POS_TOP_CENTERstatic final int POS_TOP_CENTER = 2No description in source.
POS_BOTTOM_LEFTstatic final int POS_BOTTOM_LEFT = 3No description in source.
POS_BOTTOM_RIGHTstatic final int POS_BOTTOM_RIGHT = 4No description in source.
POS_BOTTOM_CENTERstatic final int POS_BOTTOM_CENTER = 5No description in source.
messageString messageNo description in source.
severityint severitySEV_*
positionint positionPOS_*
stateint stateSTATE_*
dwellMsint dwellMshow long STATE_SHOWN lasts, 0..60000 ms
dwellElapsedint dwellElapsedtime spent in STATE_SHOWN so far
enterFxSLGuiTransition enterFxfade-in tween
exitFxSLGuiTransition exitFxfade-out tween

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(String text)Safe defaults: an info toast, bottom-right, 250ms fade-in, ~3s dwell, 250ms fade-out (the classic snackbar cadence).
setMessagevoid setMessage(String text)No description in source.
setSeverityvoid setSeverity(int sev)No description in source.
setPositionvoid setPosition(int pos)No description in source.
setDwellvoid setDwell(int ms)No description in source.
setFadeInMillisvoid setFadeInMillis(int ms)No description in source.
setFadeOutMillisvoid setFadeOutMillis(int ms)No description in source.
setFadeEasingvoid setFadeEasing(int ease)No description in source.
showvoid show()---- lifecycle ---------------------------------------------------------- Begin showing the toast: start the enter transition from the top.
dismissvoid dismiss()Begin dismissing early (before the dwell elapses): start the exit tween.
hideNowvoid hideNow()No description in source.
tickboolean tick(int deltaMs)Advance the lifecycle by `deltaMs`. Returns true while the toast still occupies the screen (any non-hidden state), false once fully hidden.
opacityPctint opacityPct()---- presentation ------------------------------------------------------- The opacity (0..100 %) the host should paint the panel at right now.
onScreenboolean onScreen()No description in source.
fullyShownboolean fullyShown()No description in source.
getMessageString getMessage()---- readers ------------------------------------------------------------
getSeverityint getSeverity()No description in source.
getPositionint getPosition()No description in source.
getStateint getState()No description in source.
enterTransitionSLGuiTransition enterTransition()No description in source.
exitTransitionSLGuiTransition exitTransition()No description in source.
severityNameString severityName()No description in source.
positionNameString positionName()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "toast:<severity>@<position>;dwell:<ms>;<enter-fade>;<exit-fade>"
reportString report()No description in source.

SLGuiToast #sleela 2.5 (lib/gui/version-mual/SLGuiToast.sleela)

SLGuiToast class

Defines SLGuiToast — the TOAST / SNACKBAR component: a small notification panel that fades IN at a corner/edge of the screen, DWELLS for a few seconds, then fades OUT. It is a pure model + lifecycle state machine: hidden -> fadingIn -> shown -> fadingOut -> hidden, driven by tick(elapsed). The fade in and fade out are each an SLGuiTransition (the shared enter/exit tween); the dwell is a plain timer. SLeeLa owns the message, placement, severity, and timing; the host paints the panel at the resolved opacity and anchors it to the chosen corner. Family: gui. A self-dismissing notification; the host renders it, this model decides when it is visible and how opaque.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_HIDDENstatic final int STATE_HIDDEN = 0Lifecycle states. not on screen
STATE_FADING_INstatic final int STATE_FADING_IN = 1enter transition running
STATE_SHOWNstatic final int STATE_SHOWN = 2fully visible, dwelling
STATE_FADING_OUTstatic final int STATE_FADING_OUT = 3exit transition running
SEV_INFOstatic final int SEV_INFO = 0Severity (tints the panel; the host maps to accent/warning/danger/success).
SEV_SUCCESSstatic final int SEV_SUCCESS = 1No description in source.
SEV_WARNINGstatic final int SEV_WARNING = 2No description in source.
SEV_DANGERstatic final int SEV_DANGER = 3No description in source.
POS_TOP_LEFTstatic final int POS_TOP_LEFT = 0Placement anchors (which screen corner/edge the toast docks to).
POS_TOP_RIGHTstatic final int POS_TOP_RIGHT = 1No description in source.
POS_TOP_CENTERstatic final int POS_TOP_CENTER = 2No description in source.
POS_BOTTOM_LEFTstatic final int POS_BOTTOM_LEFT = 3No description in source.
POS_BOTTOM_RIGHTstatic final int POS_BOTTOM_RIGHT = 4No description in source.
POS_BOTTOM_CENTERstatic final int POS_BOTTOM_CENTER = 5No description in source.
messageString messageNo description in source.
severityint severitySEV_*
positionint positionPOS_*
stateint stateSTATE_*
dwellMsint dwellMshow long STATE_SHOWN lasts, 0..60000 ms
dwellElapsedint dwellElapsedtime spent in STATE_SHOWN so far
enterFxSLGuiTransition enterFxfade-in tween
exitFxSLGuiTransition exitFxfade-out tween

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(String text)Safe defaults: an info toast, bottom-right, 250ms fade-in, ~3s dwell, 250ms fade-out (the classic snackbar cadence).
setMessagevoid setMessage(String text)No description in source.
setSeverityvoid setSeverity(int sev)No description in source.
setPositionvoid setPosition(int pos)No description in source.
setDwellvoid setDwell(int ms)No description in source.
setFadeInMillisvoid setFadeInMillis(int ms)No description in source.
setFadeOutMillisvoid setFadeOutMillis(int ms)No description in source.
setFadeEasingvoid setFadeEasing(int ease)No description in source.
showvoid show()---- lifecycle ---------------------------------------------------------- Begin showing the toast: start the enter transition from the top.
dismissvoid dismiss()Begin dismissing early (before the dwell elapses): start the exit tween.
hideNowvoid hideNow()No description in source.
tickboolean tick(int deltaMs)Advance the lifecycle by `deltaMs`. Returns true while the toast still occupies the screen (any non-hidden state), false once fully hidden.
opacityPctint opacityPct()---- presentation ------------------------------------------------------- The opacity (0..100 %) the host should paint the panel at right now.
onScreenboolean onScreen()No description in source.
fullyShownboolean fullyShown()No description in source.
getMessageString getMessage()---- readers ------------------------------------------------------------
getSeverityint getSeverity()No description in source.
getPositionint getPosition()No description in source.
getStateint getState()No description in source.
enterTransitionSLGuiTransition enterTransition()No description in source.
exitTransitionSLGuiTransition exitTransition()No description in source.
severityNameString severityName()No description in source.
positionNameString positionName()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "toast:<severity>@<position>;dwell:<ms>;<enter-fade>;<exit-fade>"
reportString report()No description in source.

SLGuiToast #sleela 2.5 (lib/gui/version-thual/SLGuiToast.sleela)

SLGuiToast class

Defines SLGuiToast — the TOAST / SNACKBAR component: a small notification panel that fades IN at a corner/edge of the screen, DWELLS for a few seconds, then fades OUT. It is a pure model + lifecycle state machine: hidden -> fadingIn -> shown -> fadingOut -> hidden, driven by tick(elapsed). The fade in and fade out are each an SLGuiTransition (the shared enter/exit tween); the dwell is a plain timer. SLeeLa owns the message, placement, severity, and timing; the host paints the panel at the resolved opacity and anchors it to the chosen corner. Family: gui. A self-dismissing notification; the host renders it, this model decides when it is visible and how opaque.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_HIDDENstatic final int STATE_HIDDEN = 0Lifecycle states. not on screen
STATE_FADING_INstatic final int STATE_FADING_IN = 1enter transition running
STATE_SHOWNstatic final int STATE_SHOWN = 2fully visible, dwelling
STATE_FADING_OUTstatic final int STATE_FADING_OUT = 3exit transition running
SEV_INFOstatic final int SEV_INFO = 0Severity (tints the panel; the host maps to accent/warning/danger/success).
SEV_SUCCESSstatic final int SEV_SUCCESS = 1No description in source.
SEV_WARNINGstatic final int SEV_WARNING = 2No description in source.
SEV_DANGERstatic final int SEV_DANGER = 3No description in source.
POS_TOP_LEFTstatic final int POS_TOP_LEFT = 0Placement anchors (which screen corner/edge the toast docks to).
POS_TOP_RIGHTstatic final int POS_TOP_RIGHT = 1No description in source.
POS_TOP_CENTERstatic final int POS_TOP_CENTER = 2No description in source.
POS_BOTTOM_LEFTstatic final int POS_BOTTOM_LEFT = 3No description in source.
POS_BOTTOM_RIGHTstatic final int POS_BOTTOM_RIGHT = 4No description in source.
POS_BOTTOM_CENTERstatic final int POS_BOTTOM_CENTER = 5No description in source.
messageString messageNo description in source.
severityint severitySEV_*
positionint positionPOS_*
stateint stateSTATE_*
dwellMsint dwellMshow long STATE_SHOWN lasts, 0..60000 ms
dwellElapsedint dwellElapsedtime spent in STATE_SHOWN so far
enterFxSLGuiTransition enterFxfade-in tween
exitFxSLGuiTransition exitFxfade-out tween

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(String text)Safe defaults: an info toast, bottom-right, 250ms fade-in, ~3s dwell, 250ms fade-out (the classic snackbar cadence).
setMessagevoid setMessage(String text)No description in source.
setSeverityvoid setSeverity(int sev)No description in source.
setPositionvoid setPosition(int pos)No description in source.
setDwellvoid setDwell(int ms)No description in source.
setFadeInMillisvoid setFadeInMillis(int ms)No description in source.
setFadeOutMillisvoid setFadeOutMillis(int ms)No description in source.
setFadeEasingvoid setFadeEasing(int ease)No description in source.
showvoid show()---- lifecycle ---------------------------------------------------------- Begin showing the toast: start the enter transition from the top.
dismissvoid dismiss()Begin dismissing early (before the dwell elapses): start the exit tween.
hideNowvoid hideNow()No description in source.
tickboolean tick(int deltaMs)Advance the lifecycle by `deltaMs`. Returns true while the toast still occupies the screen (any non-hidden state), false once fully hidden.
opacityPctint opacityPct()---- presentation ------------------------------------------------------- The opacity (0..100 %) the host should paint the panel at right now.
onScreenboolean onScreen()No description in source.
fullyShownboolean fullyShown()No description in source.
getMessageString getMessage()---- readers ------------------------------------------------------------
getSeverityint getSeverity()No description in source.
getPositionint getPosition()No description in source.
getStateint getState()No description in source.
enterTransitionSLGuiTransition enterTransition()No description in source.
exitTransitionSLGuiTransition exitTransition()No description in source.
severityNameString severityName()No description in source.
positionNameString positionName()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "toast:<severity>@<position>;dwell:<ms>;<enter-fade>;<exit-fade>"
reportString report()No description in source.

SLGuiToast #sleela 2.5 (lib/gui/version-military/SLGuiToast.sleela)

SLGuiToast class

Defines SLGuiToast — the TOAST / SNACKBAR component: a small notification panel that fades IN at a corner/edge of the screen, DWELLS for a few seconds, then fades OUT. It is a pure model + lifecycle state machine: hidden -> fadingIn -> shown -> fadingOut -> hidden, driven by tick(elapsed). The fade in and fade out are each an SLGuiTransition (the shared enter/exit tween); the dwell is a plain timer. SLeeLa owns the message, placement, severity, and timing; the host paints the panel at the resolved opacity and anchors it to the chosen corner. Family: gui. A self-dismissing notification; the host renders it, this model decides when it is visible and how opaque.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_HIDDENstatic final int STATE_HIDDEN = 0Lifecycle states. not on screen
STATE_FADING_INstatic final int STATE_FADING_IN = 1enter transition running
STATE_SHOWNstatic final int STATE_SHOWN = 2fully visible, dwelling
STATE_FADING_OUTstatic final int STATE_FADING_OUT = 3exit transition running
SEV_INFOstatic final int SEV_INFO = 0Severity (tints the panel; the host maps to accent/warning/danger/success).
SEV_SUCCESSstatic final int SEV_SUCCESS = 1No description in source.
SEV_WARNINGstatic final int SEV_WARNING = 2No description in source.
SEV_DANGERstatic final int SEV_DANGER = 3No description in source.
POS_TOP_LEFTstatic final int POS_TOP_LEFT = 0Placement anchors (which screen corner/edge the toast docks to).
POS_TOP_RIGHTstatic final int POS_TOP_RIGHT = 1No description in source.
POS_TOP_CENTERstatic final int POS_TOP_CENTER = 2No description in source.
POS_BOTTOM_LEFTstatic final int POS_BOTTOM_LEFT = 3No description in source.
POS_BOTTOM_RIGHTstatic final int POS_BOTTOM_RIGHT = 4No description in source.
POS_BOTTOM_CENTERstatic final int POS_BOTTOM_CENTER = 5No description in source.
messageString messageNo description in source.
severityint severitySEV_*
positionint positionPOS_*
stateint stateSTATE_*
dwellMsint dwellMshow long STATE_SHOWN lasts, 0..60000 ms
dwellElapsedint dwellElapsedtime spent in STATE_SHOWN so far
enterFxSLGuiTransition enterFxfade-in tween
exitFxSLGuiTransition exitFxfade-out tween

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(String text)Safe defaults: an info toast, bottom-right, 250ms fade-in, ~3s dwell, 250ms fade-out (the classic snackbar cadence).
setMessagevoid setMessage(String text)No description in source.
setSeverityvoid setSeverity(int sev)No description in source.
setPositionvoid setPosition(int pos)No description in source.
setDwellvoid setDwell(int ms)No description in source.
setFadeInMillisvoid setFadeInMillis(int ms)No description in source.
setFadeOutMillisvoid setFadeOutMillis(int ms)No description in source.
setFadeEasingvoid setFadeEasing(int ease)No description in source.
showvoid show()---- lifecycle ---------------------------------------------------------- Begin showing the toast: start the enter transition from the top.
dismissvoid dismiss()Begin dismissing early (before the dwell elapses): start the exit tween.
hideNowvoid hideNow()No description in source.
tickboolean tick(int deltaMs)Advance the lifecycle by `deltaMs`. Returns true while the toast still occupies the screen (any non-hidden state), false once fully hidden.
opacityPctint opacityPct()---- presentation ------------------------------------------------------- The opacity (0..100 %) the host should paint the panel at right now.
onScreenboolean onScreen()No description in source.
fullyShownboolean fullyShown()No description in source.
getMessageString getMessage()---- readers ------------------------------------------------------------
getSeverityint getSeverity()No description in source.
getPositionint getPosition()No description in source.
getStateint getState()No description in source.
enterTransitionSLGuiTransition enterTransition()No description in source.
exitTransitionSLGuiTransition exitTransition()No description in source.
severityNameString severityName()No description in source.
positionNameString positionName()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "toast:<severity>@<position>;dwell:<ms>;<enter-fade>;<exit-fade>"
reportString report()No description in source.

SLGuiToast #sleela 2.5 (lib/gui/version-dual/SLGuiToast.sleela)

SLGuiToast class

Defines SLGuiToast — the TOAST / SNACKBAR component: a small notification panel that fades IN at a corner/edge of the screen, DWELLS for a few seconds, then fades OUT. It is a pure model + lifecycle state machine: hidden -> fadingIn -> shown -> fadingOut -> hidden, driven by tick(elapsed). The fade in and fade out are each an SLGuiTransition (the shared enter/exit tween); the dwell is a plain timer. SLeeLa owns the message, placement, severity, and timing; the host paints the panel at the resolved opacity and anchors it to the chosen corner. Family: gui. A self-dismissing notification; the host renders it, this model decides when it is visible and how opaque.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_HIDDENstatic final int STATE_HIDDEN = 0Lifecycle states. not on screen
STATE_FADING_INstatic final int STATE_FADING_IN = 1enter transition running
STATE_SHOWNstatic final int STATE_SHOWN = 2fully visible, dwelling
STATE_FADING_OUTstatic final int STATE_FADING_OUT = 3exit transition running
SEV_INFOstatic final int SEV_INFO = 0Severity (tints the panel; the host maps to accent/warning/danger/success).
SEV_SUCCESSstatic final int SEV_SUCCESS = 1No description in source.
SEV_WARNINGstatic final int SEV_WARNING = 2No description in source.
SEV_DANGERstatic final int SEV_DANGER = 3No description in source.
POS_TOP_LEFTstatic final int POS_TOP_LEFT = 0Placement anchors (which screen corner/edge the toast docks to).
POS_TOP_RIGHTstatic final int POS_TOP_RIGHT = 1No description in source.
POS_TOP_CENTERstatic final int POS_TOP_CENTER = 2No description in source.
POS_BOTTOM_LEFTstatic final int POS_BOTTOM_LEFT = 3No description in source.
POS_BOTTOM_RIGHTstatic final int POS_BOTTOM_RIGHT = 4No description in source.
POS_BOTTOM_CENTERstatic final int POS_BOTTOM_CENTER = 5No description in source.
messageString messageNo description in source.
severityint severitySEV_*
positionint positionPOS_*
stateint stateSTATE_*
dwellMsint dwellMshow long STATE_SHOWN lasts, 0..60000 ms
dwellElapsedint dwellElapsedtime spent in STATE_SHOWN so far
enterFxSLGuiTransition enterFxfade-in tween
exitFxSLGuiTransition exitFxfade-out tween

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure(String text)Safe defaults: an info toast, bottom-right, 250ms fade-in, ~3s dwell, 250ms fade-out (the classic snackbar cadence).
setMessagevoid setMessage(String text)No description in source.
setSeverityvoid setSeverity(int sev)No description in source.
setPositionvoid setPosition(int pos)No description in source.
setDwellvoid setDwell(int ms)No description in source.
setFadeInMillisvoid setFadeInMillis(int ms)No description in source.
setFadeOutMillisvoid setFadeOutMillis(int ms)No description in source.
setFadeEasingvoid setFadeEasing(int ease)No description in source.
showvoid show()---- lifecycle ---------------------------------------------------------- Begin showing the toast: start the enter transition from the top.
dismissvoid dismiss()Begin dismissing early (before the dwell elapses): start the exit tween.
hideNowvoid hideNow()No description in source.
tickboolean tick(int deltaMs)Advance the lifecycle by `deltaMs`. Returns true while the toast still occupies the screen (any non-hidden state), false once fully hidden.
opacityPctint opacityPct()---- presentation ------------------------------------------------------- The opacity (0..100 %) the host should paint the panel at right now.
onScreenboolean onScreen()No description in source.
fullyShownboolean fullyShown()No description in source.
getMessageString getMessage()---- readers ------------------------------------------------------------
getSeverityint getSeverity()No description in source.
getPositionint getPosition()No description in source.
getStateint getState()No description in source.
enterTransitionSLGuiTransition enterTransition()No description in source.
exitTransitionSLGuiTransition exitTransition()No description in source.
severityNameString severityName()No description in source.
positionNameString positionName()No description in source.
stateNameString stateName()No description in source.
honoredboolean honored()No description in source.
toStyleString toStyle()Flatten into the reconciler's style descriptor. Shape: "toast:<severity>@<position>;dwell:<ms>;<enter-fade>;<exit-fade>"
reportString report()No description in source.

SLGuiTransition #sleela 2.5 (lib/gui/version-gual/SLGuiTransition.sleela)

SLGuiTransition class

Defines SLGuiTransition — the FADING-ACTION model (an "enter" / "exit" transition, a.k.a. intro/outro animation). It is a pure model: given a start and end opacity (the CSS `opacity` property, 0..100 %), a duration (the tween window), an easing curve, and an optional start delay, it tweens ("in-betweens") the current opacity for a given elapsed time. SLeeLa owns the curve + timing; the host realizes it with a CSS `transition` / `@keyframes` (or a toolkit animator) using the descriptor from toStyle(). Terms (documentation labels): the component that fades is a Toast/Snackbar, Modal/Overlay, Transition-wrapper, or Skeleton; the ACTION here is the enter transition / tween / dissolve; the CSS surface is opacity + transition + @keyframes. This class is the reusable fade primitive the GUI components (SLGuiToast / SLGuiModal / SLGuiSkeleton) embed. Family: gui. A pure tween model (ints only); the host paints the pixels.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
KIND_ENTERstatic final int KIND_ENTER = 0Direction of the transition. fade/scale IN (opacity rises to target)
KIND_EXITstatic final int KIND_EXIT = 1fade/scale OUT (opacity falls to target)
EASE_LINEARstatic final int EASE_LINEAR = 0Easing curves (how the tween accelerates). Mirrors the common CSS set plus a film/game "dissolve" (a smooth cross-fade feel == ease-in-out here). constant rate
EASE_INstatic final int EASE_IN = 1starts slow, speeds up
EASE_OUTstatic final int EASE_OUT = 2starts fast, slows down
EASE_IN_OUTstatic final int EASE_IN_OUT = 3slow, fast, slow
EASE_DISSOLVEstatic final int EASE_DISSOLVE = 4seamless cross-fade (== in-out feel)
PCTstatic final int PCT = 100Opacity is carried in PERCENT (0..100); progress in PERMILLE (0..1000) so the model stays integer-only (SLeeLa ints). Callers divide by 100.0 / 1000.0 when they need the [0,1] double a toolkit wants.
UNITstatic final int UNIT = 1000No description in source.
kindint kindKIND_ENTER / KIND_EXIT
easingint easingEASE_*
fromPctint fromPctstart opacity, 0..100
toPctint toPctend opacity, 0..100
durationMsint durationMstween duration, 0..60000 ms
delayMsint delayMsstart delay before the tween begins, 0..60000 ms
elapsedMsint elapsedMstime advanced so far (clamped to delay+duration)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure()Safe defaults: a 200 ms ease-out fade-in from fully transparent to opaque.
fadeInvoid fadeIn(int ms, int ease)Configure a fade-IN (enter): 0 -> 100 % over `ms` with `ease`.
fadeOutvoid fadeOut(int ms, int ease)Configure a fade-OUT (exit): 100 -> 0 % over `ms` with `ease`.
betweenvoid between(int kindVal, int fromOpacityPct, int toOpacityPct, int ms, int ease)A general enter/exit between arbitrary opacities.
setEasingvoid setEasing(int ease)No description in source.
setDelayvoid setDelay(int ms)No description in source.
setDurationvoid setDuration(int ms)No description in source.
resetvoid reset()---- playback -----------------------------------------------------------
advancevoid advance(int deltaMs)Advance the tween by `deltaMs`; clamps to the delay+duration window.
doneboolean done()The tween is finished once the whole delay+duration window has elapsed.
rawProgressPermilleint rawProgressPermille()Linear progress through the active (post-delay) window, in permille 0..1000.
easeProgressint easeProgress(int p)Apply the easing curve to a linear permille progress. Integer-only: ease-in : p^2 (slow start) ease-out : 1-(1-p)^2 (slow end) in-out : piecewise quadratic (slow start & end) dissolve : == in-out (seamless cross-fade feel)
progressPermilleint progressPermille()The eased progress (permille) at the current elapsed time.
opacityPctint opacityPct()The current tweened opacity in PERCENT (0..100), interpolating from->to by the eased progress. This is the value the host writes to CSS `opacity`.
opacityAtint opacityAt(int atElapsedMs)Convenience: the opacity at an explicit elapsed time (does not mutate state).
getKindint getKind()---- readers ------------------------------------------------------------
getEasingint getEasing()No description in source.
getFromint getFrom()No description in source.
getToint getTo()No description in source.
getDurationint getDuration()No description in source.
getDelayint getDelay()No description in source.
getElapsedint getElapsed()No description in source.
kindNameString kindName()No description in source.
easingNameString easingName()No description in source.
honoredboolean honored()Internally consistent: opacities and timings within their clamped windows.
toStyleString toStyle()Flatten into the descriptor the SLGuiMount reconciler copies onto the widget style; the host maps it to a CSS `transition` + `@keyframes` (or a toolkit animator). Shape: "fade:<from>-><to>/<ms>ms/<easing>[+delay<ms>]".
reportString report()No description in source.

SLGuiTransition #sleela 2.5 (lib/gui/version-mual/SLGuiTransition.sleela)

SLGuiTransition class

Defines SLGuiTransition — the FADING-ACTION model (an "enter" / "exit" transition, a.k.a. intro/outro animation). It is a pure model: given a start and end opacity (the CSS `opacity` property, 0..100 %), a duration (the tween window), an easing curve, and an optional start delay, it tweens ("in-betweens") the current opacity for a given elapsed time. SLeeLa owns the curve + timing; the host realizes it with a CSS `transition` / `@keyframes` (or a toolkit animator) using the descriptor from toStyle(). Terms (documentation labels): the component that fades is a Toast/Snackbar, Modal/Overlay, Transition-wrapper, or Skeleton; the ACTION here is the enter transition / tween / dissolve; the CSS surface is opacity + transition + @keyframes. This class is the reusable fade primitive the GUI components (SLGuiToast / SLGuiModal / SLGuiSkeleton) embed. Family: gui. A pure tween model (ints only); the host paints the pixels.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
KIND_ENTERstatic final int KIND_ENTER = 0Direction of the transition. fade/scale IN (opacity rises to target)
KIND_EXITstatic final int KIND_EXIT = 1fade/scale OUT (opacity falls to target)
EASE_LINEARstatic final int EASE_LINEAR = 0Easing curves (how the tween accelerates). Mirrors the common CSS set plus a film/game "dissolve" (a smooth cross-fade feel == ease-in-out here). constant rate
EASE_INstatic final int EASE_IN = 1starts slow, speeds up
EASE_OUTstatic final int EASE_OUT = 2starts fast, slows down
EASE_IN_OUTstatic final int EASE_IN_OUT = 3slow, fast, slow
EASE_DISSOLVEstatic final int EASE_DISSOLVE = 4seamless cross-fade (== in-out feel)
PCTstatic final int PCT = 100Opacity is carried in PERCENT (0..100); progress in PERMILLE (0..1000) so the model stays integer-only (SLeeLa ints). Callers divide by 100.0 / 1000.0 when they need the [0,1] double a toolkit wants.
UNITstatic final int UNIT = 1000No description in source.
kindint kindKIND_ENTER / KIND_EXIT
easingint easingEASE_*
fromPctint fromPctstart opacity, 0..100
toPctint toPctend opacity, 0..100
durationMsint durationMstween duration, 0..60000 ms
delayMsint delayMsstart delay before the tween begins, 0..60000 ms
elapsedMsint elapsedMstime advanced so far (clamped to delay+duration)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure()Safe defaults: a 200 ms ease-out fade-in from fully transparent to opaque.
fadeInvoid fadeIn(int ms, int ease)Configure a fade-IN (enter): 0 -> 100 % over `ms` with `ease`.
fadeOutvoid fadeOut(int ms, int ease)Configure a fade-OUT (exit): 100 -> 0 % over `ms` with `ease`.
betweenvoid between(int kindVal, int fromOpacityPct, int toOpacityPct, int ms, int ease)A general enter/exit between arbitrary opacities.
setEasingvoid setEasing(int ease)No description in source.
setDelayvoid setDelay(int ms)No description in source.
setDurationvoid setDuration(int ms)No description in source.
resetvoid reset()---- playback -----------------------------------------------------------
advancevoid advance(int deltaMs)Advance the tween by `deltaMs`; clamps to the delay+duration window.
doneboolean done()The tween is finished once the whole delay+duration window has elapsed.
rawProgressPermilleint rawProgressPermille()Linear progress through the active (post-delay) window, in permille 0..1000.
easeProgressint easeProgress(int p)Apply the easing curve to a linear permille progress. Integer-only: ease-in : p^2 (slow start) ease-out : 1-(1-p)^2 (slow end) in-out : piecewise quadratic (slow start & end) dissolve : == in-out (seamless cross-fade feel)
progressPermilleint progressPermille()The eased progress (permille) at the current elapsed time.
opacityPctint opacityPct()The current tweened opacity in PERCENT (0..100), interpolating from->to by the eased progress. This is the value the host writes to CSS `opacity`.
opacityAtint opacityAt(int atElapsedMs)Convenience: the opacity at an explicit elapsed time (does not mutate state).
getKindint getKind()---- readers ------------------------------------------------------------
getEasingint getEasing()No description in source.
getFromint getFrom()No description in source.
getToint getTo()No description in source.
getDurationint getDuration()No description in source.
getDelayint getDelay()No description in source.
getElapsedint getElapsed()No description in source.
kindNameString kindName()No description in source.
easingNameString easingName()No description in source.
honoredboolean honored()Internally consistent: opacities and timings within their clamped windows.
toStyleString toStyle()Flatten into the descriptor the SLGuiMount reconciler copies onto the widget style; the host maps it to a CSS `transition` + `@keyframes` (or a toolkit animator). Shape: "fade:<from>-><to>/<ms>ms/<easing>[+delay<ms>]".
reportString report()No description in source.

SLGuiTransition #sleela 2.5 (lib/gui/version-thual/SLGuiTransition.sleela)

SLGuiTransition class

Defines SLGuiTransition — the FADING-ACTION model (an "enter" / "exit" transition, a.k.a. intro/outro animation). It is a pure model: given a start and end opacity (the CSS `opacity` property, 0..100 %), a duration (the tween window), an easing curve, and an optional start delay, it tweens ("in-betweens") the current opacity for a given elapsed time. SLeeLa owns the curve + timing; the host realizes it with a CSS `transition` / `@keyframes` (or a toolkit animator) using the descriptor from toStyle(). Terms (documentation labels): the component that fades is a Toast/Snackbar, Modal/Overlay, Transition-wrapper, or Skeleton; the ACTION here is the enter transition / tween / dissolve; the CSS surface is opacity + transition + @keyframes. This class is the reusable fade primitive the GUI components (SLGuiToast / SLGuiModal / SLGuiSkeleton) embed. Family: gui. A pure tween model (ints only); the host paints the pixels.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
KIND_ENTERstatic final int KIND_ENTER = 0Direction of the transition. fade/scale IN (opacity rises to target)
KIND_EXITstatic final int KIND_EXIT = 1fade/scale OUT (opacity falls to target)
EASE_LINEARstatic final int EASE_LINEAR = 0Easing curves (how the tween accelerates). Mirrors the common CSS set plus a film/game "dissolve" (a smooth cross-fade feel == ease-in-out here). constant rate
EASE_INstatic final int EASE_IN = 1starts slow, speeds up
EASE_OUTstatic final int EASE_OUT = 2starts fast, slows down
EASE_IN_OUTstatic final int EASE_IN_OUT = 3slow, fast, slow
EASE_DISSOLVEstatic final int EASE_DISSOLVE = 4seamless cross-fade (== in-out feel)
PCTstatic final int PCT = 100Opacity is carried in PERCENT (0..100); progress in PERMILLE (0..1000) so the model stays integer-only (SLeeLa ints). Callers divide by 100.0 / 1000.0 when they need the [0,1] double a toolkit wants.
UNITstatic final int UNIT = 1000No description in source.
kindint kindKIND_ENTER / KIND_EXIT
easingint easingEASE_*
fromPctint fromPctstart opacity, 0..100
toPctint toPctend opacity, 0..100
durationMsint durationMstween duration, 0..60000 ms
delayMsint delayMsstart delay before the tween begins, 0..60000 ms
elapsedMsint elapsedMstime advanced so far (clamped to delay+duration)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure()Safe defaults: a 200 ms ease-out fade-in from fully transparent to opaque.
fadeInvoid fadeIn(int ms, int ease)Configure a fade-IN (enter): 0 -> 100 % over `ms` with `ease`.
fadeOutvoid fadeOut(int ms, int ease)Configure a fade-OUT (exit): 100 -> 0 % over `ms` with `ease`.
betweenvoid between(int kindVal, int fromOpacityPct, int toOpacityPct, int ms, int ease)A general enter/exit between arbitrary opacities.
setEasingvoid setEasing(int ease)No description in source.
setDelayvoid setDelay(int ms)No description in source.
setDurationvoid setDuration(int ms)No description in source.
resetvoid reset()---- playback -----------------------------------------------------------
advancevoid advance(int deltaMs)Advance the tween by `deltaMs`; clamps to the delay+duration window.
doneboolean done()The tween is finished once the whole delay+duration window has elapsed.
rawProgressPermilleint rawProgressPermille()Linear progress through the active (post-delay) window, in permille 0..1000.
easeProgressint easeProgress(int p)Apply the easing curve to a linear permille progress. Integer-only: ease-in : p^2 (slow start) ease-out : 1-(1-p)^2 (slow end) in-out : piecewise quadratic (slow start & end) dissolve : == in-out (seamless cross-fade feel)
progressPermilleint progressPermille()The eased progress (permille) at the current elapsed time.
opacityPctint opacityPct()The current tweened opacity in PERCENT (0..100), interpolating from->to by the eased progress. This is the value the host writes to CSS `opacity`.
opacityAtint opacityAt(int atElapsedMs)Convenience: the opacity at an explicit elapsed time (does not mutate state).
getKindint getKind()---- readers ------------------------------------------------------------
getEasingint getEasing()No description in source.
getFromint getFrom()No description in source.
getToint getTo()No description in source.
getDurationint getDuration()No description in source.
getDelayint getDelay()No description in source.
getElapsedint getElapsed()No description in source.
kindNameString kindName()No description in source.
easingNameString easingName()No description in source.
honoredboolean honored()Internally consistent: opacities and timings within their clamped windows.
toStyleString toStyle()Flatten into the descriptor the SLGuiMount reconciler copies onto the widget style; the host maps it to a CSS `transition` + `@keyframes` (or a toolkit animator). Shape: "fade:<from>-><to>/<ms>ms/<easing>[+delay<ms>]".
reportString report()No description in source.

SLGuiTransition #sleela 2.5 (lib/gui/version-military/SLGuiTransition.sleela)

SLGuiTransition class

Defines SLGuiTransition — the FADING-ACTION model (an "enter" / "exit" transition, a.k.a. intro/outro animation). It is a pure model: given a start and end opacity (the CSS `opacity` property, 0..100 %), a duration (the tween window), an easing curve, and an optional start delay, it tweens ("in-betweens") the current opacity for a given elapsed time. SLeeLa owns the curve + timing; the host realizes it with a CSS `transition` / `@keyframes` (or a toolkit animator) using the descriptor from toStyle(). Terms (documentation labels): the component that fades is a Toast/Snackbar, Modal/Overlay, Transition-wrapper, or Skeleton; the ACTION here is the enter transition / tween / dissolve; the CSS surface is opacity + transition + @keyframes. This class is the reusable fade primitive the GUI components (SLGuiToast / SLGuiModal / SLGuiSkeleton) embed. Family: gui. A pure tween model (ints only); the host paints the pixels.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
KIND_ENTERstatic final int KIND_ENTER = 0Direction of the transition. fade/scale IN (opacity rises to target)
KIND_EXITstatic final int KIND_EXIT = 1fade/scale OUT (opacity falls to target)
EASE_LINEARstatic final int EASE_LINEAR = 0Easing curves (how the tween accelerates). Mirrors the common CSS set plus a film/game "dissolve" (a smooth cross-fade feel == ease-in-out here). constant rate
EASE_INstatic final int EASE_IN = 1starts slow, speeds up
EASE_OUTstatic final int EASE_OUT = 2starts fast, slows down
EASE_IN_OUTstatic final int EASE_IN_OUT = 3slow, fast, slow
EASE_DISSOLVEstatic final int EASE_DISSOLVE = 4seamless cross-fade (== in-out feel)
PCTstatic final int PCT = 100Opacity is carried in PERCENT (0..100); progress in PERMILLE (0..1000) so the model stays integer-only (SLeeLa ints). Callers divide by 100.0 / 1000.0 when they need the [0,1] double a toolkit wants.
UNITstatic final int UNIT = 1000No description in source.
kindint kindKIND_ENTER / KIND_EXIT
easingint easingEASE_*
fromPctint fromPctstart opacity, 0..100
toPctint toPctend opacity, 0..100
durationMsint durationMstween duration, 0..60000 ms
delayMsint delayMsstart delay before the tween begins, 0..60000 ms
elapsedMsint elapsedMstime advanced so far (clamped to delay+duration)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure()Safe defaults: a 200 ms ease-out fade-in from fully transparent to opaque.
fadeInvoid fadeIn(int ms, int ease)Configure a fade-IN (enter): 0 -> 100 % over `ms` with `ease`.
fadeOutvoid fadeOut(int ms, int ease)Configure a fade-OUT (exit): 100 -> 0 % over `ms` with `ease`.
betweenvoid between(int kindVal, int fromOpacityPct, int toOpacityPct, int ms, int ease)A general enter/exit between arbitrary opacities.
setEasingvoid setEasing(int ease)No description in source.
setDelayvoid setDelay(int ms)No description in source.
setDurationvoid setDuration(int ms)No description in source.
resetvoid reset()---- playback -----------------------------------------------------------
advancevoid advance(int deltaMs)Advance the tween by `deltaMs`; clamps to the delay+duration window.
doneboolean done()The tween is finished once the whole delay+duration window has elapsed.
rawProgressPermilleint rawProgressPermille()Linear progress through the active (post-delay) window, in permille 0..1000.
easeProgressint easeProgress(int p)Apply the easing curve to a linear permille progress. Integer-only: ease-in : p^2 (slow start) ease-out : 1-(1-p)^2 (slow end) in-out : piecewise quadratic (slow start & end) dissolve : == in-out (seamless cross-fade feel)
progressPermilleint progressPermille()The eased progress (permille) at the current elapsed time.
opacityPctint opacityPct()The current tweened opacity in PERCENT (0..100), interpolating from->to by the eased progress. This is the value the host writes to CSS `opacity`.
opacityAtint opacityAt(int atElapsedMs)Convenience: the opacity at an explicit elapsed time (does not mutate state).
getKindint getKind()---- readers ------------------------------------------------------------
getEasingint getEasing()No description in source.
getFromint getFrom()No description in source.
getToint getTo()No description in source.
getDurationint getDuration()No description in source.
getDelayint getDelay()No description in source.
getElapsedint getElapsed()No description in source.
kindNameString kindName()No description in source.
easingNameString easingName()No description in source.
honoredboolean honored()Internally consistent: opacities and timings within their clamped windows.
toStyleString toStyle()Flatten into the descriptor the SLGuiMount reconciler copies onto the widget style; the host maps it to a CSS `transition` + `@keyframes` (or a toolkit animator). Shape: "fade:<from>-><to>/<ms>ms/<easing>[+delay<ms>]".
reportString report()No description in source.

SLGuiTransition #sleela 2.5 (lib/gui/version-dual/SLGuiTransition.sleela)

SLGuiTransition class

Defines SLGuiTransition — the FADING-ACTION model (an "enter" / "exit" transition, a.k.a. intro/outro animation). It is a pure model: given a start and end opacity (the CSS `opacity` property, 0..100 %), a duration (the tween window), an easing curve, and an optional start delay, it tweens ("in-betweens") the current opacity for a given elapsed time. SLeeLa owns the curve + timing; the host realizes it with a CSS `transition` / `@keyframes` (or a toolkit animator) using the descriptor from toStyle(). Terms (documentation labels): the component that fades is a Toast/Snackbar, Modal/Overlay, Transition-wrapper, or Skeleton; the ACTION here is the enter transition / tween / dissolve; the CSS surface is opacity + transition + @keyframes. This class is the reusable fade primitive the GUI components (SLGuiToast / SLGuiModal / SLGuiSkeleton) embed. Family: gui. A pure tween model (ints only); the host paints the pixels.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
KIND_ENTERstatic final int KIND_ENTER = 0Direction of the transition. fade/scale IN (opacity rises to target)
KIND_EXITstatic final int KIND_EXIT = 1fade/scale OUT (opacity falls to target)
EASE_LINEARstatic final int EASE_LINEAR = 0Easing curves (how the tween accelerates). Mirrors the common CSS set plus a film/game "dissolve" (a smooth cross-fade feel == ease-in-out here). constant rate
EASE_INstatic final int EASE_IN = 1starts slow, speeds up
EASE_OUTstatic final int EASE_OUT = 2starts fast, slows down
EASE_IN_OUTstatic final int EASE_IN_OUT = 3slow, fast, slow
EASE_DISSOLVEstatic final int EASE_DISSOLVE = 4seamless cross-fade (== in-out feel)
PCTstatic final int PCT = 100Opacity is carried in PERCENT (0..100); progress in PERMILLE (0..1000) so the model stays integer-only (SLeeLa ints). Callers divide by 100.0 / 1000.0 when they need the [0,1] double a toolkit wants.
UNITstatic final int UNIT = 1000No description in source.
kindint kindKIND_ENTER / KIND_EXIT
easingint easingEASE_*
fromPctint fromPctstart opacity, 0..100
toPctint toPctend opacity, 0..100
durationMsint durationMstween duration, 0..60000 ms
delayMsint delayMsstart delay before the tween begins, 0..60000 ms
elapsedMsint elapsedMstime advanced so far (clamped to delay+duration)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
clampint clamp(int v, int lo, int hi)No description in source.
configurevoid configure()Safe defaults: a 200 ms ease-out fade-in from fully transparent to opaque.
fadeInvoid fadeIn(int ms, int ease)Configure a fade-IN (enter): 0 -> 100 % over `ms` with `ease`.
fadeOutvoid fadeOut(int ms, int ease)Configure a fade-OUT (exit): 100 -> 0 % over `ms` with `ease`.
betweenvoid between(int kindVal, int fromOpacityPct, int toOpacityPct, int ms, int ease)A general enter/exit between arbitrary opacities.
setEasingvoid setEasing(int ease)No description in source.
setDelayvoid setDelay(int ms)No description in source.
setDurationvoid setDuration(int ms)No description in source.
resetvoid reset()---- playback -----------------------------------------------------------
advancevoid advance(int deltaMs)Advance the tween by `deltaMs`; clamps to the delay+duration window.
doneboolean done()The tween is finished once the whole delay+duration window has elapsed.
rawProgressPermilleint rawProgressPermille()Linear progress through the active (post-delay) window, in permille 0..1000.
easeProgressint easeProgress(int p)Apply the easing curve to a linear permille progress. Integer-only: ease-in : p^2 (slow start) ease-out : 1-(1-p)^2 (slow end) in-out : piecewise quadratic (slow start & end) dissolve : == in-out (seamless cross-fade feel)
progressPermilleint progressPermille()The eased progress (permille) at the current elapsed time.
opacityPctint opacityPct()The current tweened opacity in PERCENT (0..100), interpolating from->to by the eased progress. This is the value the host writes to CSS `opacity`.
opacityAtint opacityAt(int atElapsedMs)Convenience: the opacity at an explicit elapsed time (does not mutate state).
getKindint getKind()---- readers ------------------------------------------------------------
getEasingint getEasing()No description in source.
getFromint getFrom()No description in source.
getToint getTo()No description in source.
getDurationint getDuration()No description in source.
getDelayint getDelay()No description in source.
getElapsedint getElapsed()No description in source.
kindNameString kindName()No description in source.
easingNameString easingName()No description in source.
honoredboolean honored()Internally consistent: opacities and timings within their clamped windows.
toStyleString toStyle()Flatten into the descriptor the SLGuiMount reconciler copies onto the widget style; the host maps it to a CSS `transition` + `@keyframes` (or a toolkit animator). Shape: "fade:<from>-><to>/<ms>ms/<easing>[+delay<ms>]".
reportString report()No description in source.

SLGuiUrlBar #sleela 2.5 (lib/gui/version-gual/SLGuiUrlBar.sleela)

SLGuiUrlBar class

Defines SLGuiUrlBar — the 4.0 HTML-aware, HTTP-driven URL navigation bar: an address field with go / back / forward / reload / stop, a bounded navigation history, the current load state, and the HTTP facts of the last navigation (method, status, content-type, secure flag). It is "HTML-aware" in that it recognises an HTML response (so the host renders it into the DOM/canvas) vs. a non-HTML resource. SLeeLa owns the navigation STATE and history; the host performs the actual HTTP fetch and reports the result back. URLs are validated (scheme + non-empty host). Family: gui. Backs a URL-bar node; the host fetches and feeds back status.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
BACKGROUND_COLORstatic final String BACKGROUND_COLOR = "#383c47"Shared URL/address bar presentation default.
MAX_HISTORYstatic final int MAX_HISTORY = 64No description in source.
LOAD_IDLEstatic final int LOAD_IDLE = 0No description in source.
LOAD_LOADINGstatic final int LOAD_LOADING = 1No description in source.
LOAD_DONEstatic final int LOAD_DONE = 2No description in source.
LOAD_ERRORstatic final int LOAD_ERROR = 3No description in source.
currentString currentthe address shown in the bar
historyString[] historyvisited URLs (back/forward stack)
histCountint histCountNo description in source.
histIndexint histIndexposition within history (-1 = empty)
loadStateint loadStateNo description in source.
methodString methodlast HTTP method ("GET" default)
statusint statuslast HTTP status code (0 until a response)
contentTypeString contentTypelast response content-type
secureint secure1 when the current scheme is https
htmlAwareint htmlAware1 when the last response was HTML (host renders DOM)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String home)No description in source.
validboolean valid(String url)A URL is acceptable with a known scheme and a non-empty remainder.
startsWithboolean startsWith(String s, String p)No description in source.
navigateboolean navigate(String url)---- navigation --------------------------------------------------------- Go to a URL: validate, push onto history (truncating any forward entries), and enter the loading state. Returns false on an invalid URL.
beginLoadvoid beginLoad()No description in source.
canGoBackboolean canGoBack()No description in source.
canGoForwardboolean canGoForward()No description in source.
backboolean back()No description in source.
forwardboolean forward()No description in source.
reloadboolean reload()No description in source.
stopvoid stop()No description in source.
onResponsevoid onResponse(int httpStatus, String type)Host reports the HTTP outcome; HTML content-types mark the bar HTML-aware.
isHtmlboolean isHtml(String type)No description in source.
setMethodvoid setMethod(String m)No description in source.
urlString url()---- readers ------------------------------------------------------------
getLoadStateint getLoadState()No description in source.
loadingboolean loading()No description in source.
loadedboolean loaded()No description in source.
erroredboolean errored()No description in source.
httpStatusint httpStatus()No description in source.
getContentTypeString getContentType()No description in source.
getMethodString getMethod()No description in source.
isSecureboolean isSecure()No description in source.
isHtmlAwareboolean isHtmlAware()No description in source.
historyDepthint historyDepth()No description in source.
historyIndexint historyIndex()No description in source.
loadStateNameString loadStateName()No description in source.

SLGuiUrlBar #sleela 2.5 (lib/gui/version-mual/SLGuiUrlBar.sleela)

SLGuiUrlBar class

Defines SLGuiUrlBar — the 4.0 HTML-aware, HTTP-driven URL navigation bar: an address field with go / back / forward / reload / stop, a bounded navigation history, the current load state, and the HTTP facts of the last navigation (method, status, content-type, secure flag). It is "HTML-aware" in that it recognises an HTML response (so the host renders it into the DOM/canvas) vs. a non-HTML resource. SLeeLa owns the navigation STATE and history; the host performs the actual HTTP fetch and reports the result back. URLs are validated (scheme + non-empty host). Family: gui. Backs a URL-bar node; the host fetches and feeds back status.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
BACKGROUND_COLORstatic final String BACKGROUND_COLOR = "#383c47"Shared URL/address bar presentation default.
MAX_HISTORYstatic final int MAX_HISTORY = 64No description in source.
LOAD_IDLEstatic final int LOAD_IDLE = 0No description in source.
LOAD_LOADINGstatic final int LOAD_LOADING = 1No description in source.
LOAD_DONEstatic final int LOAD_DONE = 2No description in source.
LOAD_ERRORstatic final int LOAD_ERROR = 3No description in source.
currentString currentthe address shown in the bar
historyString[] historyvisited URLs (back/forward stack)
histCountint histCountNo description in source.
histIndexint histIndexposition within history (-1 = empty)
loadStateint loadStateNo description in source.
methodString methodlast HTTP method ("GET" default)
statusint statuslast HTTP status code (0 until a response)
contentTypeString contentTypelast response content-type
secureint secure1 when the current scheme is https
htmlAwareint htmlAware1 when the last response was HTML (host renders DOM)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String home)No description in source.
validboolean valid(String url)A URL is acceptable with a known scheme and a non-empty remainder.
startsWithboolean startsWith(String s, String p)No description in source.
navigateboolean navigate(String url)---- navigation --------------------------------------------------------- Go to a URL: validate, push onto history (truncating any forward entries), and enter the loading state. Returns false on an invalid URL.
beginLoadvoid beginLoad()No description in source.
canGoBackboolean canGoBack()No description in source.
canGoForwardboolean canGoForward()No description in source.
backboolean back()No description in source.
forwardboolean forward()No description in source.
reloadboolean reload()No description in source.
stopvoid stop()No description in source.
onResponsevoid onResponse(int httpStatus, String type)Host reports the HTTP outcome; HTML content-types mark the bar HTML-aware.
isHtmlboolean isHtml(String type)No description in source.
setMethodvoid setMethod(String m)No description in source.
urlString url()---- readers ------------------------------------------------------------
getLoadStateint getLoadState()No description in source.
loadingboolean loading()No description in source.
loadedboolean loaded()No description in source.
erroredboolean errored()No description in source.
httpStatusint httpStatus()No description in source.
getContentTypeString getContentType()No description in source.
getMethodString getMethod()No description in source.
isSecureboolean isSecure()No description in source.
isHtmlAwareboolean isHtmlAware()No description in source.
historyDepthint historyDepth()No description in source.
historyIndexint historyIndex()No description in source.
loadStateNameString loadStateName()No description in source.

SLGuiUrlBar #sleela 2.5 (lib/gui/version-thual/SLGuiUrlBar.sleela)

SLGuiUrlBar class

Defines SLGuiUrlBar — the 4.0 HTML-aware, HTTP-driven URL navigation bar: an address field with go / back / forward / reload / stop, a bounded navigation history, the current load state, and the HTTP facts of the last navigation (method, status, content-type, secure flag). It is "HTML-aware" in that it recognises an HTML response (so the host renders it into the DOM/canvas) vs. a non-HTML resource. SLeeLa owns the navigation STATE and history; the host performs the actual HTTP fetch and reports the result back. URLs are validated (scheme + non-empty host). Family: gui. Backs a URL-bar node; the host fetches and feeds back status.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
BACKGROUND_COLORstatic final String BACKGROUND_COLOR = "#383c47"Shared URL/address bar presentation default.
MAX_HISTORYstatic final int MAX_HISTORY = 64No description in source.
LOAD_IDLEstatic final int LOAD_IDLE = 0No description in source.
LOAD_LOADINGstatic final int LOAD_LOADING = 1No description in source.
LOAD_DONEstatic final int LOAD_DONE = 2No description in source.
LOAD_ERRORstatic final int LOAD_ERROR = 3No description in source.
currentString currentthe address shown in the bar
historyString[] historyvisited URLs (back/forward stack)
histCountint histCountNo description in source.
histIndexint histIndexposition within history (-1 = empty)
loadStateint loadStateNo description in source.
methodString methodlast HTTP method ("GET" default)
statusint statuslast HTTP status code (0 until a response)
contentTypeString contentTypelast response content-type
secureint secure1 when the current scheme is https
htmlAwareint htmlAware1 when the last response was HTML (host renders DOM)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String home)No description in source.
validboolean valid(String url)A URL is acceptable with a known scheme and a non-empty remainder.
startsWithboolean startsWith(String s, String p)No description in source.
navigateboolean navigate(String url)---- navigation --------------------------------------------------------- Go to a URL: validate, push onto history (truncating any forward entries), and enter the loading state. Returns false on an invalid URL.
beginLoadvoid beginLoad()No description in source.
canGoBackboolean canGoBack()No description in source.
canGoForwardboolean canGoForward()No description in source.
backboolean back()No description in source.
forwardboolean forward()No description in source.
reloadboolean reload()No description in source.
stopvoid stop()No description in source.
onResponsevoid onResponse(int httpStatus, String type)Host reports the HTTP outcome; HTML content-types mark the bar HTML-aware.
isHtmlboolean isHtml(String type)No description in source.
setMethodvoid setMethod(String m)No description in source.
urlString url()---- readers ------------------------------------------------------------
getLoadStateint getLoadState()No description in source.
loadingboolean loading()No description in source.
loadedboolean loaded()No description in source.
erroredboolean errored()No description in source.
httpStatusint httpStatus()No description in source.
getContentTypeString getContentType()No description in source.
getMethodString getMethod()No description in source.
isSecureboolean isSecure()No description in source.
isHtmlAwareboolean isHtmlAware()No description in source.
historyDepthint historyDepth()No description in source.
historyIndexint historyIndex()No description in source.
loadStateNameString loadStateName()No description in source.

SLGuiUrlBar #sleela 2.5 (lib/gui/version-military/SLGuiUrlBar.sleela)

SLGuiUrlBar class

Defines SLGuiUrlBar — the 4.0 HTML-aware, HTTP-driven URL navigation bar: an address field with go / back / forward / reload / stop, a bounded navigation history, the current load state, and the HTTP facts of the last navigation (method, status, content-type, secure flag). It is "HTML-aware" in that it recognises an HTML response (so the host renders it into the DOM/canvas) vs. a non-HTML resource. SLeeLa owns the navigation STATE and history; the host performs the actual HTTP fetch and reports the result back. URLs are validated (scheme + non-empty host). Family: gui. Backs a URL-bar node; the host fetches and feeds back status.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
BACKGROUND_COLORstatic final String BACKGROUND_COLOR = "#383c47"Shared URL/address bar presentation default.
MAX_HISTORYstatic final int MAX_HISTORY = 64No description in source.
LOAD_IDLEstatic final int LOAD_IDLE = 0No description in source.
LOAD_LOADINGstatic final int LOAD_LOADING = 1No description in source.
LOAD_DONEstatic final int LOAD_DONE = 2No description in source.
LOAD_ERRORstatic final int LOAD_ERROR = 3No description in source.
currentString currentthe address shown in the bar
historyString[] historyvisited URLs (back/forward stack)
histCountint histCountNo description in source.
histIndexint histIndexposition within history (-1 = empty)
loadStateint loadStateNo description in source.
methodString methodlast HTTP method ("GET" default)
statusint statuslast HTTP status code (0 until a response)
contentTypeString contentTypelast response content-type
secureint secure1 when the current scheme is https
htmlAwareint htmlAware1 when the last response was HTML (host renders DOM)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String home)No description in source.
validboolean valid(String url)A URL is acceptable with a known scheme and a non-empty remainder.
startsWithboolean startsWith(String s, String p)No description in source.
navigateboolean navigate(String url)---- navigation --------------------------------------------------------- Go to a URL: validate, push onto history (truncating any forward entries), and enter the loading state. Returns false on an invalid URL.
beginLoadvoid beginLoad()No description in source.
canGoBackboolean canGoBack()No description in source.
canGoForwardboolean canGoForward()No description in source.
backboolean back()No description in source.
forwardboolean forward()No description in source.
reloadboolean reload()No description in source.
stopvoid stop()No description in source.
onResponsevoid onResponse(int httpStatus, String type)Host reports the HTTP outcome; HTML content-types mark the bar HTML-aware.
isHtmlboolean isHtml(String type)No description in source.
setMethodvoid setMethod(String m)No description in source.
urlString url()---- readers ------------------------------------------------------------
getLoadStateint getLoadState()No description in source.
loadingboolean loading()No description in source.
loadedboolean loaded()No description in source.
erroredboolean errored()No description in source.
httpStatusint httpStatus()No description in source.
getContentTypeString getContentType()No description in source.
getMethodString getMethod()No description in source.
isSecureboolean isSecure()No description in source.
isHtmlAwareboolean isHtmlAware()No description in source.
historyDepthint historyDepth()No description in source.
historyIndexint historyIndex()No description in source.
loadStateNameString loadStateName()No description in source.

SLGuiUrlBar #sleela 2.5 (lib/gui/version-dual/SLGuiUrlBar.sleela)

SLGuiUrlBar class

Defines SLGuiUrlBar — the 4.0 HTML-aware, HTTP-driven URL navigation bar: an address field with go / back / forward / reload / stop, a bounded navigation history, the current load state, and the HTTP facts of the last navigation (method, status, content-type, secure flag). It is "HTML-aware" in that it recognises an HTML response (so the host renders it into the DOM/canvas) vs. a non-HTML resource. SLeeLa owns the navigation STATE and history; the host performs the actual HTTP fetch and reports the result back. URLs are validated (scheme + non-empty host). Family: gui. Backs a URL-bar node; the host fetches and feeds back status.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
BACKGROUND_COLORstatic final String BACKGROUND_COLOR = "#383c47"Shared URL/address bar presentation default.
MAX_HISTORYstatic final int MAX_HISTORY = 64No description in source.
LOAD_IDLEstatic final int LOAD_IDLE = 0No description in source.
LOAD_LOADINGstatic final int LOAD_LOADING = 1No description in source.
LOAD_DONEstatic final int LOAD_DONE = 2No description in source.
LOAD_ERRORstatic final int LOAD_ERROR = 3No description in source.
currentString currentthe address shown in the bar
historyString[] historyvisited URLs (back/forward stack)
histCountint histCountNo description in source.
histIndexint histIndexposition within history (-1 = empty)
loadStateint loadStateNo description in source.
methodString methodlast HTTP method ("GET" default)
statusint statuslast HTTP status code (0 until a response)
contentTypeString contentTypelast response content-type
secureint secure1 when the current scheme is https
htmlAwareint htmlAware1 when the last response was HTML (host renders DOM)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String home)No description in source.
validboolean valid(String url)A URL is acceptable with a known scheme and a non-empty remainder.
startsWithboolean startsWith(String s, String p)No description in source.
navigateboolean navigate(String url)---- navigation --------------------------------------------------------- Go to a URL: validate, push onto history (truncating any forward entries), and enter the loading state. Returns false on an invalid URL.
beginLoadvoid beginLoad()No description in source.
canGoBackboolean canGoBack()No description in source.
canGoForwardboolean canGoForward()No description in source.
backboolean back()No description in source.
forwardboolean forward()No description in source.
reloadboolean reload()No description in source.
stopvoid stop()No description in source.
onResponsevoid onResponse(int httpStatus, String type)Host reports the HTTP outcome; HTML content-types mark the bar HTML-aware.
isHtmlboolean isHtml(String type)No description in source.
setMethodvoid setMethod(String m)No description in source.
urlString url()---- readers ------------------------------------------------------------
getLoadStateint getLoadState()No description in source.
loadingboolean loading()No description in source.
loadedboolean loaded()No description in source.
erroredboolean errored()No description in source.
httpStatusint httpStatus()No description in source.
getContentTypeString getContentType()No description in source.
getMethodString getMethod()No description in source.
isSecureboolean isSecure()No description in source.
isHtmlAwareboolean isHtmlAware()No description in source.
historyDepthint historyDepth()No description in source.
historyIndexint historyIndex()No description in source.
loadStateNameString loadStateName()No description in source.

SLGuiVideoCanvas #sleela 2.5 (lib/gui/version-military/SLGuiVideoCanvas.sleela)

SLGuiVideoCanvas class

Defines SLGuiVideoCanvas — the 4.0 video surface for playing movies with a full set of transport controls: a source asset, play / pause / stop / seek, a position and duration (ms), volume + mute, loop, playback rate, and a fullscreen flag. SLeeLa owns the player STATE and the meaning of each control; the host decodes and presents the frames onto the canvas widget and reports position back. Every setting is validated/clamped so a seek or volume is never out of range. Family: gui. A canvas node's backing model; the host renders video + audio and reports playback position/buffering to this object.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_EMPTYstatic final int STATE_EMPTY = 0no source loaded
STATE_READYstatic final int STATE_READY = 1loaded, not playing
STATE_PLAYINGstatic final int STATE_PLAYING = 2No description in source.
STATE_PAUSEDstatic final int STATE_PAUSED = 3No description in source.
STATE_ENDEDstatic final int STATE_ENDED = 4No description in source.
stateint stateNo description in source.
sourceString sourcehost-resolvable movie asset / URL
durationMsint durationMstotal length (host-reported on load; 0 until known)
positionMsint positionMscurrent playback position
volumePctint volumePct0..100
mutedint muted1 = muted (volume preserved)
loopint loop1 = restart at end
ratePctx100int ratePctx100playback rate x100 (100 = 1.0x), 25..400
fullscreenint fullscreen1 = presented fullscreen
bufferedPctint bufferedPct0..100 host-reported buffer fill

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String src)No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
loadvoid load(String src)No description in source.
playboolean play()---- transport ----------------------------------------------------------
pauseboolean pause()No description in source.
stopboolean stop()No description in source.
seekboolean seek(int ms)Seek to an absolute millisecond position (clamped to [0, duration]).
seekRelativevoid seekRelative(int deltaMs)No description in source.
setVolumevoid setVolume(int pct)---- audio / rate / view ------------------------------------------------
setMutedvoid setMuted(boolean on)No description in source.
setLoopvoid setLoop(boolean on)No description in source.
setRatePctvoid setRatePct(int pct)No description in source.
setFullscreenvoid setFullscreen(boolean on)No description in source.
onDurationvoid onDuration(int ms)Host callbacks while playing.
onPositionvoid onPosition(int ms)No description in source.
onBufferedvoid onBuffered(int pct)No description in source.
getStateint getState()---- readers ------------------------------------------------------------
isPlayingboolean isPlaying()No description in source.
hasSourceboolean hasSource()No description in source.
getSourceString getSource()No description in source.
durationint duration()No description in source.
positionint position()No description in source.
getVolumeint getVolume()No description in source.
isMutedboolean isMuted()No description in source.
loopingboolean looping()No description in source.
ratePctint ratePct()No description in source.
isFullscreenboolean isFullscreen()No description in source.
bufferedint buffered()No description in source.
progressPctint progressPct()Progress 0..100 for a scrubber (0 when the duration is unknown).
stateNameString stateName()No description in source.

SLGuiVideoCanvas #sleela 2.5 (lib/gui/version-dual/SLGuiVideoCanvas.sleela)

SLGuiVideoCanvas class

Defines SLGuiVideoCanvas — the 4.0 video surface for playing movies with a full set of transport controls: a source asset, play / pause / stop / seek, a position and duration (ms), volume + mute, loop, playback rate, and a fullscreen flag. SLeeLa owns the player STATE and the meaning of each control; the host decodes and presents the frames onto the canvas widget and reports position back. Every setting is validated/clamped so a seek or volume is never out of range. Family: gui. A canvas node's backing model; the host renders video + audio and reports playback position/buffering to this object.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
STATE_EMPTYstatic final int STATE_EMPTY = 0no source loaded
STATE_READYstatic final int STATE_READY = 1loaded, not playing
STATE_PLAYINGstatic final int STATE_PLAYING = 2No description in source.
STATE_PAUSEDstatic final int STATE_PAUSED = 3No description in source.
STATE_ENDEDstatic final int STATE_ENDED = 4No description in source.
stateint stateNo description in source.
sourceString sourcehost-resolvable movie asset / URL
durationMsint durationMstotal length (host-reported on load; 0 until known)
positionMsint positionMscurrent playback position
volumePctint volumePct0..100
mutedint muted1 = muted (volume preserved)
loopint loop1 = restart at end
ratePctx100int ratePctx100playback rate x100 (100 = 1.0x), 25..400
fullscreenint fullscreen1 = presented fullscreen
bufferedPctint bufferedPct0..100 host-reported buffer fill

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String src)No description in source.
clampint clamp(int v, int lo, int hi)No description in source.
loadvoid load(String src)No description in source.
playboolean play()---- transport ----------------------------------------------------------
pauseboolean pause()No description in source.
stopboolean stop()No description in source.
seekboolean seek(int ms)Seek to an absolute millisecond position (clamped to [0, duration]).
seekRelativevoid seekRelative(int deltaMs)No description in source.
setVolumevoid setVolume(int pct)---- audio / rate / view ------------------------------------------------
setMutedvoid setMuted(boolean on)No description in source.
setLoopvoid setLoop(boolean on)No description in source.
setRatePctvoid setRatePct(int pct)No description in source.
setFullscreenvoid setFullscreen(boolean on)No description in source.
onDurationvoid onDuration(int ms)Host callbacks while playing.
onPositionvoid onPosition(int ms)No description in source.
onBufferedvoid onBuffered(int pct)No description in source.
getStateint getState()---- readers ------------------------------------------------------------
isPlayingboolean isPlaying()No description in source.
hasSourceboolean hasSource()No description in source.
getSourceString getSource()No description in source.
durationint duration()No description in source.
positionint position()No description in source.
getVolumeint getVolume()No description in source.
isMutedboolean isMuted()No description in source.
loopingboolean looping()No description in source.
ratePctint ratePct()No description in source.
isFullscreenboolean isFullscreen()No description in source.
bufferedint buffered()No description in source.
progressPctint progressPct()Progress 0..100 for a scrubber (0 when the duration is unknown).
stateNameString stateName()No description in source.

SLGuiWidgetFactory #sleela 2.5 (lib/gui/version-gual/SLGuiWidgetFactory.sleela)

SLGuiWidgetFactory class

Defines SLGuiWidgetFactory — the single place that knows how a DOM tag maps to a real SleelaUI widget. Given a node's tag and a parent widget handle it calls the matching `ui*` built-in (uiBox / uiButton / uiLabel / uiEntry / uiToggle / uiHeaderBar / uiStatusBar / ...) and returns the new widget handle, so the reconciler (SLGuiMount) never hard-codes toolkit knowledge. Tags mirror the SleelaUI vocabulary; an unknown tag falls back to a vertical box so an unrecognised element still has a container to hold children. This is the DOM->toolkit construction seam. Family: gui. The factory crosses the `ui*` SLVM bridge to the real toolkit; SLeeLa still owns the node that the widget mirrors.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
ORIENT_VERTICALstatic final int ORIENT_VERTICAL = 0Orientation ordinals (mirror SLUIOrientation / SLWidget).
ORIENT_HORIZONTALstatic final int ORIENT_HORIZONTAL = 1No description in source.
SCROLL_AUTOstatic final int SCROLL_AUTO = 0Scroll-visibility policy ordinals (mirror native ScrolledView::Policy and SLGuiScrollbar.SHOW_*): a scrolled viewport shows each axis' bar AUTO (only on overflow), ALWAYS, or NEVER.
SCROLL_ALWAYSstatic final int SCROLL_ALWAYS = 1No description in source.
SCROLL_NEVERstatic final int SCROLL_NEVER = 2No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
overflowPolicyint overflowPolicy(String kw)Map a CSS-style overflow keyword to a scroll policy. "auto"/"" -> AUTO, "scroll"/"always" -> ALWAYS, "hidden"/"visible"/"clip"/"none" -> NEVER.
constructScrolledint constructScrolled(int parentHandle, int policyH, int policyV)Construct a scrolled viewport directly with explicit per-axis policies. SLGuiMount calls this to promote a container carrying an `overflow` attr.
isScrolledboolean isScrolled(String tag)Does this tag build a native scrolled viewport (first child = content)?
constructint construct(int parentHandle, String tag, String label)Construct the widget for `node` inside `parentHandle`. Returns the new widget handle, or -1 when it could not be created. `label` is the node's initial text/placeholder (empty string when it has none).
interactiveboolean interactive(String tag)Is this tag an interactive control the host should poll for activations?
activationEventint activationEvent(String tag)No description in source.
isContainerboolean isContainer(String tag)No description in source.

SLGuiWidgetFactory #sleela 2.5 (lib/gui/version-mual/SLGuiWidgetFactory.sleela)

SLGuiWidgetFactory class

Defines SLGuiWidgetFactory — the single place that knows how a DOM tag maps to a real SleelaUI widget. Given a node's tag and a parent widget handle it calls the matching `ui*` built-in (uiBox / uiButton / uiLabel / uiEntry / uiToggle / uiHeaderBar / uiStatusBar / ...) and returns the new widget handle, so the reconciler (SLGuiMount) never hard-codes toolkit knowledge. Tags mirror the SleelaUI vocabulary; an unknown tag falls back to a vertical box so an unrecognised element still has a container to hold children. This is the DOM->toolkit construction seam. Family: gui. The factory crosses the `ui*` SLVM bridge to the real toolkit; SLeeLa still owns the node that the widget mirrors.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
ORIENT_VERTICALstatic final int ORIENT_VERTICAL = 0Orientation ordinals (mirror SLUIOrientation / SLWidget).
ORIENT_HORIZONTALstatic final int ORIENT_HORIZONTAL = 1No description in source.
SCROLL_AUTOstatic final int SCROLL_AUTO = 0Scroll-visibility policy ordinals (mirror native ScrolledView::Policy and SLGuiScrollbar.SHOW_*): a scrolled viewport shows each axis' bar AUTO (only on overflow), ALWAYS, or NEVER.
SCROLL_ALWAYSstatic final int SCROLL_ALWAYS = 1No description in source.
SCROLL_NEVERstatic final int SCROLL_NEVER = 2No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
overflowPolicyint overflowPolicy(String kw)Map a CSS-style overflow keyword to a scroll policy. "auto"/"" -> AUTO, "scroll"/"always" -> ALWAYS, "hidden"/"visible"/"clip"/"none" -> NEVER.
constructScrolledint constructScrolled(int parentHandle, int policyH, int policyV)Construct a scrolled viewport directly with explicit per-axis policies. SLGuiMount calls this to promote a container carrying an `overflow` attr.
isScrolledboolean isScrolled(String tag)Does this tag build a native scrolled viewport (first child = content)?
constructint construct(int parentHandle, String tag, String label)Construct the widget for `node` inside `parentHandle`. Returns the new widget handle, or -1 when it could not be created. `label` is the node's initial text/placeholder (empty string when it has none).
interactiveboolean interactive(String tag)Is this tag an interactive control the host should poll for activations?
activationEventint activationEvent(String tag)No description in source.
isContainerboolean isContainer(String tag)No description in source.

SLGuiWidgetFactory #sleela 2.5 (lib/gui/version-thual/SLGuiWidgetFactory.sleela)

SLGuiWidgetFactory class

Defines SLGuiWidgetFactory — the single place that knows how a DOM tag maps to a real SleelaUI widget. Given a node's tag and a parent widget handle it calls the matching `ui*` built-in (uiBox / uiButton / uiLabel / uiEntry / uiToggle / uiHeaderBar / uiStatusBar / ...) and returns the new widget handle, so the reconciler (SLGuiMount) never hard-codes toolkit knowledge. Tags mirror the SleelaUI vocabulary; an unknown tag falls back to a vertical box so an unrecognised element still has a container to hold children. This is the DOM->toolkit construction seam. Family: gui. The factory crosses the `ui*` SLVM bridge to the real toolkit; SLeeLa still owns the node that the widget mirrors.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
ORIENT_VERTICALstatic final int ORIENT_VERTICAL = 0Orientation ordinals (mirror SLUIOrientation / SLWidget).
ORIENT_HORIZONTALstatic final int ORIENT_HORIZONTAL = 1No description in source.
SCROLL_AUTOstatic final int SCROLL_AUTO = 0Scroll-visibility policy ordinals (mirror native ScrolledView::Policy and SLGuiScrollbar.SHOW_*): a scrolled viewport shows each axis' bar AUTO (only on overflow), ALWAYS, or NEVER.
SCROLL_ALWAYSstatic final int SCROLL_ALWAYS = 1No description in source.
SCROLL_NEVERstatic final int SCROLL_NEVER = 2No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
overflowPolicyint overflowPolicy(String kw)Map a CSS-style overflow keyword to a scroll policy. "auto"/"" -> AUTO, "scroll"/"always" -> ALWAYS, "hidden"/"visible"/"clip"/"none" -> NEVER.
constructScrolledint constructScrolled(int parentHandle, int policyH, int policyV)Construct a scrolled viewport directly with explicit per-axis policies. SLGuiMount calls this to promote a container carrying an `overflow` attr.
isScrolledboolean isScrolled(String tag)Does this tag build a native scrolled viewport (first child = content)?
constructint construct(int parentHandle, String tag, String label)Construct the widget for `node` inside `parentHandle`. Returns the new widget handle, or -1 when it could not be created. `label` is the node's initial text/placeholder (empty string when it has none).
interactiveboolean interactive(String tag)Is this tag an interactive control the host should poll for activations?
activationEventint activationEvent(String tag)No description in source.
isContainerboolean isContainer(String tag)No description in source.

SLGuiWidgetFactory #sleela 2.5 (lib/gui/version-military/SLGuiWidgetFactory.sleela)

SLGuiWidgetFactory class

Defines SLGuiWidgetFactory — the single place that knows how a DOM tag maps to a real SleelaUI widget. Given a node's tag and a parent widget handle it calls the matching `ui*` built-in (uiBox / uiButton / uiLabel / uiEntry / uiToggle / uiHeaderBar / uiStatusBar / ...) and returns the new widget handle, so the reconciler (SLGuiMount) never hard-codes toolkit knowledge. Tags mirror the SleelaUI vocabulary; an unknown tag falls back to a vertical box so an unrecognised element still has a container to hold children. This is the DOM->toolkit construction seam. Family: gui. The factory crosses the `ui*` SLVM bridge to the real toolkit; SLeeLa still owns the node that the widget mirrors.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
ORIENT_VERTICALstatic final int ORIENT_VERTICAL = 0Orientation ordinals (mirror SLUIOrientation / SLWidget).
ORIENT_HORIZONTALstatic final int ORIENT_HORIZONTAL = 1No description in source.
SCROLL_AUTOstatic final int SCROLL_AUTO = 0Scroll-visibility policy ordinals (mirror native ScrolledView::Policy and SLGuiScrollbar.SHOW_*): a scrolled viewport shows each axis' bar AUTO (only on overflow), ALWAYS, or NEVER.
SCROLL_ALWAYSstatic final int SCROLL_ALWAYS = 1No description in source.
SCROLL_NEVERstatic final int SCROLL_NEVER = 2No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
overflowPolicyint overflowPolicy(String kw)Map a CSS-style overflow keyword to a scroll policy. "auto"/"" -> AUTO, "scroll"/"always" -> ALWAYS, "hidden"/"visible"/"clip"/"none" -> NEVER.
constructScrolledint constructScrolled(int parentHandle, int policyH, int policyV)Construct a scrolled viewport directly with explicit per-axis policies. SLGuiMount calls this to promote a container carrying an `overflow` attr.
isScrolledboolean isScrolled(String tag)Does this tag build a native scrolled viewport (first child = content)?
constructint construct(int parentHandle, String tag, String label)Construct the widget for `node` inside `parentHandle`. Returns the new widget handle, or -1 when it could not be created. `label` is the node's initial text/placeholder (empty string when it has none).
interactiveboolean interactive(String tag)Is this tag an interactive control the host should poll for activations?
activationEventint activationEvent(String tag)Which SLGuiEventType an activation on this tag should raise. Buttons -> CLICK; entries -> SUBMIT (Enter); toggles -> TOGGLE; the 4.0 surfaces raise CLICK (recorder/video/circle) or SUBMIT (urlbar go).
isContainerboolean isContainer(String tag)No description in source.

SLGuiWidgetFactory #sleela 2.5 (lib/gui/version-dual/SLGuiWidgetFactory.sleela)

SLGuiWidgetFactory class

Defines SLGuiWidgetFactory — the single place that knows how a DOM tag maps to a real SleelaUI widget. Given a node's tag and a parent widget handle it calls the matching `ui*` built-in (uiBox / uiButton / uiLabel / uiEntry / uiToggle / uiHeaderBar / uiStatusBar / ...) and returns the new widget handle, so the reconciler (SLGuiMount) never hard-codes toolkit knowledge. Tags mirror the SleelaUI vocabulary; an unknown tag falls back to a vertical box so an unrecognised element still has a container to hold children. This is the DOM->toolkit construction seam. Family: gui. The factory crosses the `ui*` SLVM bridge to the real toolkit; SLeeLa still owns the node that the widget mirrors.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
ORIENT_VERTICALstatic final int ORIENT_VERTICAL = 0Orientation ordinals (mirror SLUIOrientation / SLWidget).
ORIENT_HORIZONTALstatic final int ORIENT_HORIZONTAL = 1No description in source.
SCROLL_AUTOstatic final int SCROLL_AUTO = 0Scroll-visibility policy ordinals (mirror native ScrolledView::Policy and SLGuiScrollbar.SHOW_*): a scrolled viewport shows each axis' bar AUTO (only on overflow), ALWAYS, or NEVER.
SCROLL_ALWAYSstatic final int SCROLL_ALWAYS = 1No description in source.
SCROLL_NEVERstatic final int SCROLL_NEVER = 2No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
overflowPolicyint overflowPolicy(String kw)Map a CSS-style overflow keyword to a scroll policy. "auto"/"" -> AUTO, "scroll"/"always" -> ALWAYS, "hidden"/"visible"/"clip"/"none" -> NEVER.
constructScrolledint constructScrolled(int parentHandle, int policyH, int policyV)Construct a scrolled viewport directly with explicit per-axis policies. SLGuiMount calls this to promote a container carrying an `overflow` attr.
isScrolledboolean isScrolled(String tag)Does this tag build a native scrolled viewport (first child = content)?
constructint construct(int parentHandle, String tag, String label)Construct the widget for `node` inside `parentHandle`. Returns the new widget handle, or -1 when it could not be created. `label` is the node's initial text/placeholder (empty string when it has none).
interactiveboolean interactive(String tag)Is this tag an interactive control the host should poll for activations?
activationEventint activationEvent(String tag)Which SLGuiEventType an activation on this tag should raise. Buttons -> CLICK; entries -> SUBMIT (Enter); toggles -> TOGGLE; the 4.0 surfaces raise CLICK (recorder/video/circle) or SUBMIT (urlbar go).
isContainerboolean isContainer(String tag)No description in source.

SLGuiWindow #sleela 2.5 (lib/gui/version-gual/SLGuiWindow.sleela)

SLGuiWindow class

Defines SLGuiWindow — a toolkit-neutral window intent. Mirrors the SleelaGui contract in gui/: show(title, width, height), setText(text), and refresh(documentId, revision). SLeeLa describes the window; the backend (Swing/JavaFX/native) renders it and marshals updates onto the toolkit thread.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TITLE_BAR_BACKGROUNDstatic final String TITLE_BAR_BACKGROUND = "#1d2025"Shared chrome colour defaults for every SLeeLa GUI variant.
MENU_BAR_BACKGROUNDstatic final String MENU_BAR_BACKGROUND = "#1d2025"No description in source.
URL_BAR_BACKGROUNDstatic final String URL_BAR_BACKGROUND = "#383c47"No description in source.
titleString titleNo description in source.
widthint widthNo description in source.
heightint heightNo description in source.
textString textNo description in source.
shownint shown1 once show() has been requested
resizableint resizableNo description in source.
decoratedint decoratedNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String t, int w, int h)No description in source.
applySettingsvoid applySettings(SLGuiSettings s)Adopt presentation/window settings from a configured SLGuiSettings, then clamp the current extent into the new min/max window.
clampExtentvoid clampExtent()Keep width/height within [min, max] (max 0 = unbounded).
resizeboolean resize(int w, int h)Resize request, honored only when the window is resizable, then clamped.
showvoid show()Request the window be shown at its configured size.
visibleboolean visible()No description in source.
validboolean valid()A window is valid once it has a title, a positive extent within its bounds, and (when bounded) a max not below its min.
getTitleString getTitle()No description in source.
getWidthint getWidth()No description in source.
getHeightint getHeight()No description in source.
getMinWidthint getMinWidth()No description in source.
getMinHeightint getMinHeight()No description in source.
getMaxWidthint getMaxWidth()No description in source.
getMaxHeightint getMaxHeight()No description in source.
resizableOnboolean resizableOn()No description in source.
decoratedOnboolean decoratedOn()No description in source.
setTextvoid setText(String value)Set the window's text (the SleelaGui.setText sink).
getTextString getText()No description in source.
refreshvoid refresh(String documentId, String revision)The document-change refresh sink: SleelaGui.refresh(id, revision). The default publishes a short status line, exactly like the Java default.

SLGuiWindow #sleela 2.5 (lib/gui/version-mual/SLGuiWindow.sleela)

SLGuiWindow class

Defines SLGuiWindow — a toolkit-neutral window intent. Mirrors the SleelaGui contract in gui/: show(title, width, height), setText(text), and refresh(documentId, revision). SLeeLa describes the window; the backend (Swing/JavaFX/native) renders it and marshals updates onto the toolkit thread.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TITLE_BAR_BACKGROUNDstatic final String TITLE_BAR_BACKGROUND = "#1d2025"Shared chrome colour defaults for every SLeeLa GUI variant.
MENU_BAR_BACKGROUNDstatic final String MENU_BAR_BACKGROUND = "#1d2025"No description in source.
URL_BAR_BACKGROUNDstatic final String URL_BAR_BACKGROUND = "#383c47"No description in source.
titleString titleNo description in source.
widthint widthNo description in source.
heightint heightNo description in source.
textString textNo description in source.
shownint shown1 once show() has been requested

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String t, int w, int h)No description in source.
showvoid show()Request the window be shown at its configured size.
visibleboolean visible()No description in source.
validboolean valid()A window is valid once it has a title and a positive extent.
getTitleString getTitle()No description in source.
getWidthint getWidth()No description in source.
getHeightint getHeight()No description in source.
setTextvoid setText(String value)Set the window's text (the SleelaGui.setText sink).
getTextString getText()No description in source.
refreshvoid refresh(String documentId, String revision)The document-change refresh sink: SleelaGui.refresh(id, revision). The default publishes a short status line, exactly like the Java default.

SLGuiWindow #sleela 2.5 (lib/gui/version-thual/SLGuiWindow.sleela)

SLGuiWindow class

Defines SLGuiWindow — a toolkit-neutral window intent. Mirrors the SleelaGui contract in gui/: show(title, width, height), setText(text), and refresh(documentId, revision). SLeeLa describes the window; the backend (Swing/JavaFX/native) renders it and marshals updates onto the toolkit thread.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TITLE_BAR_BACKGROUNDstatic final String TITLE_BAR_BACKGROUND = "#1d2025"Shared chrome colour defaults for every SLeeLa GUI variant.
MENU_BAR_BACKGROUNDstatic final String MENU_BAR_BACKGROUND = "#1d2025"No description in source.
URL_BAR_BACKGROUNDstatic final String URL_BAR_BACKGROUND = "#383c47"No description in source.
titleString titleNo description in source.
widthint widthNo description in source.
heightint heightNo description in source.
textString textNo description in source.
shownint shown1 once show() has been requested
resizableint resizableNo description in source.
decoratedint decoratedNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String t, int w, int h)No description in source.
applySettingsvoid applySettings(SLGuiSettings s)Adopt presentation/window settings from a configured SLGuiSettings, then clamp the current extent into the new min/max window.
clampExtentvoid clampExtent()Keep width/height within [min, max] (max 0 = unbounded).
resizeboolean resize(int w, int h)Resize request, honored only when the window is resizable, then clamped.
showvoid show()Request the window be shown at its configured size.
visibleboolean visible()No description in source.
validboolean valid()A window is valid once it has a title, a positive extent within its bounds, and (when bounded) a max not below its min.
getTitleString getTitle()No description in source.
getWidthint getWidth()No description in source.
getHeightint getHeight()No description in source.
getMinWidthint getMinWidth()No description in source.
getMinHeightint getMinHeight()No description in source.
getMaxWidthint getMaxWidth()No description in source.
getMaxHeightint getMaxHeight()No description in source.
resizableOnboolean resizableOn()No description in source.
decoratedOnboolean decoratedOn()No description in source.
setTextvoid setText(String value)Set the window's text (the SleelaGui.setText sink).
getTextString getText()No description in source.
refreshvoid refresh(String documentId, String revision)The document-change refresh sink: SleelaGui.refresh(id, revision). The default publishes a short status line, exactly like the Java default.

SLGuiWindow #sleela 2.5 (lib/gui/version-military/SLGuiWindow.sleela)

SLGuiWindow class

Defines SLGuiWindow — a toolkit-neutral window intent. Mirrors the SleelaGui contract in gui/: show(title, width, height), setText(text), and refresh(documentId, revision). SLeeLa describes the window; the backend (Swing/JavaFX/native) renders it and marshals updates onto the toolkit thread.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TITLE_BAR_BACKGROUNDstatic final String TITLE_BAR_BACKGROUND = "#1d2025"Shared chrome colour defaults for every SLeeLa GUI variant.
MENU_BAR_BACKGROUNDstatic final String MENU_BAR_BACKGROUND = "#1d2025"No description in source.
URL_BAR_BACKGROUNDstatic final String URL_BAR_BACKGROUND = "#383c47"No description in source.
titleString titleNo description in source.
widthint widthNo description in source.
heightint heightNo description in source.
textString textNo description in source.
shownint shown1 once show() has been requested
resizableint resizableNo description in source.
decoratedint decoratedNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String t, int w, int h)No description in source.
applySettingsvoid applySettings(SLGuiSettings s)Adopt presentation/window settings from a configured SLGuiSettings, then clamp the current extent into the new min/max window.
clampExtentvoid clampExtent()Keep width/height within [min, max] (max 0 = unbounded).
resizeboolean resize(int w, int h)Resize request, honored only when the window is resizable, then clamped.
showvoid show()Request the window be shown at its configured size.
visibleboolean visible()No description in source.
validboolean valid()A window is valid once it has a title, a positive extent within its bounds, and (when bounded) a max not below its min.
getTitleString getTitle()No description in source.
getWidthint getWidth()No description in source.
getHeightint getHeight()No description in source.
getMinWidthint getMinWidth()No description in source.
getMinHeightint getMinHeight()No description in source.
getMaxWidthint getMaxWidth()No description in source.
getMaxHeightint getMaxHeight()No description in source.
resizableOnboolean resizableOn()No description in source.
decoratedOnboolean decoratedOn()No description in source.
setTextvoid setText(String value)Set the window's text (the SleelaGui.setText sink).
getTextString getText()No description in source.
refreshvoid refresh(String documentId, String revision)The document-change refresh sink: SleelaGui.refresh(id, revision). The default publishes a short status line, exactly like the Java default.

SLGuiWindow #sleela 2.5 (lib/gui/version-dual/SLGuiWindow.sleela)

SLGuiWindow class

Defines SLGuiWindow — a toolkit-neutral window intent. Mirrors the SleelaGui contract in gui/: show(title, width, height), setText(text), and refresh(documentId, revision). SLeeLa describes the window; the backend (Swing/JavaFX/native) renders it and marshals updates onto the toolkit thread.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
TITLE_BAR_BACKGROUNDstatic final String TITLE_BAR_BACKGROUND = "#1d2025"Shared chrome colour defaults for every SLeeLa GUI variant.
MENU_BAR_BACKGROUNDstatic final String MENU_BAR_BACKGROUND = "#1d2025"No description in source.
URL_BAR_BACKGROUNDstatic final String URL_BAR_BACKGROUND = "#383c47"No description in source.
titleString titleNo description in source.
widthint widthNo description in source.
heightint heightNo description in source.
textString textNo description in source.
shownint shown1 once show() has been requested
resizableint resizableNo description in source.
decoratedint decoratedNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String t, int w, int h)No description in source.
applySettingsvoid applySettings(SLGuiSettings s)Adopt presentation/window settings from a configured SLGuiSettings, then clamp the current extent into the new min/max window.
clampExtentvoid clampExtent()Keep width/height within [min, max] (max 0 = unbounded).
resizeboolean resize(int w, int h)Resize request, honored only when the window is resizable, then clamped.
showvoid show()Request the window be shown at its configured size.
visibleboolean visible()No description in source.
validboolean valid()A window is valid once it has a title, a positive extent within its bounds, and (when bounded) a max not below its min.
getTitleString getTitle()No description in source.
getWidthint getWidth()No description in source.
getHeightint getHeight()No description in source.
getMinWidthint getMinWidth()No description in source.
getMinHeightint getMinHeight()No description in source.
getMaxWidthint getMaxWidth()No description in source.
getMaxHeightint getMaxHeight()No description in source.
resizableOnboolean resizableOn()No description in source.
decoratedOnboolean decoratedOn()No description in source.
setTextvoid setText(String value)Set the window's text (the SleelaGui.setText sink).
getTextString getText()No description in source.
refreshvoid refresh(String documentId, String revision)The document-change refresh sink: SleelaGui.refresh(id, revision). The default publishes a short status line, exactly like the Java default.

SLGuiWindowState #sleela 2.5 (lib/gui/version-military/SLGuiWindowState.sleela)

SLGuiWindowState class

Defines SLGuiWindowState — the military-line window-state machine and key-listener surface. It tracks the window mode (normal / minimized / fullscreen / maximized / FOLDED-to-a-desktop-side) and handles the gestures a host raises: resize, minimize, fullscreen, and "minimize right" — a FOLD of the UI to the right side of the desktop windowing area (also left, top, bottom). It remembers the previous "norm" geometry so a DOUBLE-CLICK restores the window to exactly what it was before it folded/minimized/ maximized. SLeeLa owns the state transitions + remembered norm; the host raises the key/gesture events and applies the resulting geometry. Family: gui. Backs SLGuiWindow's lifecycle; the host feeds gestures in and reads the resolved mode + target geometry out.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
MODE_NORMALstatic final int MODE_NORMAL = 0No description in source.
MODE_MINIMIZEDstatic final int MODE_MINIMIZED = 1No description in source.
MODE_FULLSCREENstatic final int MODE_FULLSCREEN = 2No description in source.
MODE_MAXIMIZEDstatic final int MODE_MAXIMIZED = 3No description in source.
MODE_FOLDEDstatic final int MODE_FOLDED = 4folded to a side of the desktop
SIDE_NONEstatic final int SIDE_NONE = 0Fold sides (for "minimize right" and friends).
SIDE_RIGHTstatic final int SIDE_RIGHT = 1No description in source.
SIDE_LEFTstatic final int SIDE_LEFT = 2No description in source.
SIDE_TOPstatic final int SIDE_TOP = 3No description in source.
SIDE_BOTTOMstatic final int SIDE_BOTTOM = 4No description in source.
modeint modeNo description in source.
foldSideint foldSidewhich side the window folded to (when MODE_FOLDED)
foldedExtentPxint foldedExtentPxthe thin extent the folded window occupies (px)
haveNormint haveNormNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int px, int py, int w, int h)No description in source.
setDesktopvoid setDesktop(int w, int h)No description in source.
setFoldedExtentvoid setFoldedExtent(int px)No description in source.
rememberNormvoid rememberNorm()Snapshot the current geometry as the norm to restore to (called before a transition away from NORMAL so a later restore is exact).
onResizevoid onResize(int w, int h)---- key / gesture listeners (the host raises these) --------------------
onMovevoid onMove(int px, int py)No description in source.
onMinimizevoid onMinimize()No description in source.
onFullscreenvoid onFullscreen()No description in source.
onMaximizevoid onMaximize()No description in source.
foldTovoid foldTo(int side)"Minimize right" (and other sides): FOLD the UI to a side of the desktop, leaving a thin folded extent. Remembers the norm for restore.
minimizeRightvoid minimizeRight()the named "minimize right" gesture
onDoubleClickboolean onDoubleClick()DOUBLE-CLICK restore: return to the remembered norm geometry exactly.
restoreNormboolean restoreNorm()No description in source.
getModeint getMode()---- readers ------------------------------------------------------------
getFoldSideint getFoldSide()No description in source.
isNormalboolean isNormal()No description in source.
isMinimizedboolean isMinimized()No description in source.
isFullscreenboolean isFullscreen()No description in source.
isMaximizedboolean isMaximized()No description in source.
isFoldedboolean isFolded()No description in source.
getXint getX()No description in source.
getWidthint getWidth()No description in source.
normWidthint normWidth()No description in source.
modeNameString modeName()No description in source.
foldSideNameString foldSideName()No description in source.

SLPackage #sleela 2.5 (lib/gui/version-gual/SLPackage.sleela)

SLPackage class

Defines the SLeeLa standard-library package for gui — the gual line (version 2.0). It adds a version identity and a settings surface (SLGuiSettings) over the 1.0 baseline (the mual line), and hardens the backend / document-listener / window with validated, nameful settings.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
FEATURE_LEVELstatic final int FEATURE_LEVEL = 2Version identity: this is the gual line — the 2.0 GUI package. The mual line is the 1.0 baseline. featureLevel() lets callers branch on the line without string-parsing the version. 2 = gual/2.0 ; 1 = mual/1.0
packageNameString packageNameNo description in source.
packageVersionString packageVersionNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String name)No description in source.
nameString name()No description in source.
versionString version()No description in source.
featureLevelint featureLevel()No description in source.
isTwoPointZeroboolean isTwoPointZero()No description in source.
availableboolean available()No description in source.

SLPackage #sleela 2.5 (lib/gui/version-mual/SLPackage.sleela)

SLPackage class

Defines the SLeeLa standard-library package for gui.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
FEATURE_LEVELstatic final int FEATURE_LEVEL = 1Version identity: this is the mual line — the 1.0 GUI baseline. The gual line is the 2.0 package (version(), featureLevel()); mual stays the stable baseline. featureLevel() lets callers branch on the line. 1 = mual/1.0 ; 2 = gual/2.0
packageNameString packageNameNo description in source.
packageVersionString packageVersionNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String name)No description in source.
nameString name()No description in source.
versionString version()No description in source.
featureLevelint featureLevel()No description in source.
isTwoPointZeroboolean isTwoPointZero()No description in source.
availableboolean available()No description in source.

SLPackage #sleela 2.5 (lib/gui/version-thual/SLPackage.sleela)

SLPackage class

Defines the SLeeLa standard-library package for gui — the thual line (version 3.0). It builds on the gual (2.0) settings surface and adds a clean, professional visual-effects layer: lighting/glow/3D shine, shadow, metal look-and-feel, component rotation (incl. scheduled "schene" rotation), fade in/out, activation audio, and logo branding.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
FEATURE_LEVELstatic final int FEATURE_LEVEL = 3Version identity: this is the thual line — the 3.0 GUI package. mual is the 1.0 baseline, gual the 2.0 settings-first line; thual (3.0) adds the clean, professional visual-effects surface (lighting/glow/3D shine, rotation + scheduled "schene" rotation, fade in/out, activation audio, shadow, metal look-and-feel, logo branding). featureLevel() lets callers branch. 3 = thual/3.0 ; 2 = gual/2.0 ; 1 = mual/1.0
packageNameString packageNameNo description in source.
packageVersionString packageVersionNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String name)No description in source.
nameString name()No description in source.
versionString version()No description in source.
featureLevelint featureLevel()No description in source.
isTwoPointZeroboolean isTwoPointZero()No description in source.
isThreePointZeroboolean isThreePointZero()No description in source.
availableboolean available()No description in source.

SLPackage #sleela 2.5 (lib/gui/version-military/SLPackage.sleela)

SLPackage class

Defines the SLeeLa standard-library package for gui — the MILITARY line (version 5.0). It builds on dual (4.0) and hardens it for a neutral, professional military aesthetic: metal / metal-silver / blue-hue surfaces, a 3D-lit base frame with careful quality component shadows, strong facile user branding, carefully sized/placed icons on buttons/menus/clickables, an explicit Component vs Container taxonomy, a cryptography selector and a public-key certificate store, and window key-listeners (resize / minimize / fullscreen / fold-to-side-of-desktop with double-click restore).

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
FEATURE_LEVELstatic final int FEATURE_LEVEL = 5Version identity: this is the MILITARY line — the 5.0 GUI package, a hardened, strongly-branded build on the dual (4.0) component set. It renders in a neutral metal / metal-silver / blue-hue aesthetic with a 3D-lit base frame and careful component shadows, an explicit Component vs Container taxonomy, icons on buttons/menus/clickables, a cryptography selector and a public-key certificate store, and window key-listeners (resize / minimize / fullscreen / fold-to-side with double-click restore). featureLevel()=5. 5 military ; 4 dual ; 3 thual ; 2 gual ; 1 mual
packageNameString packageNameNo description in source.
packageVersionString packageVersionNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String name)No description in source.
nameString name()No description in source.
versionString version()No description in source.
featureLevelint featureLevel()No description in source.
isTwoPointZeroboolean isTwoPointZero()No description in source.
isThreePointZeroboolean isThreePointZero()No description in source.
isFourPointZeroboolean isFourPointZero()No description in source.
isMilitaryboolean isMilitary()No description in source.
availableboolean available()No description in source.

SLPackage #sleela 2.5 (lib/gui/version-dual/SLPackage.sleela)

SLPackage class

Defines the SLeeLa standard-library package for gui — the dual line (version 4.0). It builds on thual (3.0) and adds a rich, professional component set: an audio-input recorder, a video canvas with transport controls, an HTML-aware HTTP-driven URL navigation bar, custom click objects (motion + timers that escalate to System Apprentices), exact component positioning + strong layout support, a graphics facility and control, and an admin authority surface (sign-off on operations, sign-in to start a process, legal signature), with a substantially upgraded aesthetic.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
FEATURE_LEVELstatic final int FEATURE_LEVEL = 4Version identity: this is the dual line — the 4.0 GUI package. mual=1.0 baseline, gual=2.0 settings, thual=3.0 visual effects; dual (4.0) adds the rich professional component set (audio recorder, video canvas, HTML/HTTP URL bar, custom click objects, exact positioning + layout, graphics facility, admin sign-off / sign-in / legal signature) and a substantially upgraded aesthetic. featureLevel() lets callers branch. 4 dual ; 3 thual ; 2 gual ; 1 mual
packageNameString packageNameNo description in source.
packageVersionString packageVersionNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String name)No description in source.
nameString name()No description in source.
versionString version()No description in source.
featureLevelint featureLevel()No description in source.
isTwoPointZeroboolean isTwoPointZero()No description in source.
isThreePointZeroboolean isThreePointZero()No description in source.
isFourPointZeroboolean isFourPointZero()No description in source.
availableboolean available()No description in source.