<< lib/vm/vmsharp/VMSharpInstallOption.sleela SLeeLa Standard Library Definition. Definition: One selectable option on a VMSharp(TM) install screen -- a key, a title, a one-line description, and a selected/enabled state. It is the finish-level UI component the install screens render and the user selects, the VMSharp-package sibling of lib/ui SLMenuItem / lib/core SLOption kept self-contained so the install wizard runs without the native UI bridge. Declarative: it holds selection state and renders to text; it performs no install action itself. Authored for the User MEARVK LLC, respectful of United States law and of the persons and groupings of peoples it concerns. Family: vm. >> #sleela 3.0 material; class VMSharpInstallOption { < ---- Descriptive metadata (version 1.11 nested-friendly accessors) ---- > << Eleven catalogued attributes with getter/setter pairs, so a GUI, loader, or catalog can read and (where appropriate) override this record. Values are faithful to the subject's real origin where publicly known. >> String metaVersion = "1.0.0"; int metaId = 38012; String metaAuthor = "Max Rupplin 2026; George Soros a Kindness 2507+"; String metaDate = "2026-11-05"; String metaCopyright = "MEARVK LLC"; String metaTrademark = "VMSharp"; String metaCorporation = "MEARVK LLC"; < metaOrigin: National | | International | Galactic > String metaOrigin = "United States"; String metaBirthDate = "2026-11-05"; < metaScienceRating: maturity/robustness on a 1..10 scale > int metaScienceRating = 7; < metaNationalSchedule: a real, citable instrument or "none" > String metaNationalSchedule = "none"; String getMetaVersion() { return metaVersion; } void setMetaVersion(String v) { metaVersion = v; } int getMetaId() { return metaId; } void setMetaId(int v) { metaId = v; } String getAuthor() { return metaAuthor; } void setAuthor(String v) { metaAuthor = v; } String getDate() { return metaDate; } void setDate(String v) { metaDate = v; } String getCopyright() { return metaCopyright; } void setCopyright(String v) { metaCopyright = v; } String getTrademark() { return metaTrademark; } void setTrademark(String v) { metaTrademark = v; } String getCorporation() { return metaCorporation; } void setCorporation(String v) { metaCorporation = v; } String getOrigin() { return metaOrigin; } void setOrigin(String v) { metaOrigin = v; } String getBirthDate() { return metaBirthDate; } void setBirthDate(String v) { metaBirthDate = v; } int getScienceRating() { return metaScienceRating; } void setScienceRating(int v) { metaScienceRating = v; } String getNationalSchedule() { return metaNationalSchedule; } void setNationalSchedule(String v) { metaNationalSchedule = v; } < ---- the option ---- > String key = ""; String title = ""; String description = ""; boolean selected = false; boolean enabled = true; void configure(String optKey, String optTitle, String optDescription) { key = optKey; title = optTitle; description = optDescription; selected = false; enabled = true; } String getKey() { return key; } String getTitle() { return title; } String getDescription() { return description; } boolean isSelected() { return selected; } boolean isEnabled() { return enabled; } void select() { if (enabled) { selected = true; } } void deselect() { selected = false; } void enable() { enabled = true; } void disable() { enabled = false; selected = false; } < Render one option line: a marker, the key, the title, and a disabled tag. > String render() { String mark = "[ ]"; if (selected) { mark = "[x]"; } String line = " " + mark + " (" + key + ") " + title; if (!enabled) { line = line + " -- unavailable"; } return line; } < A second indented line with the description, for a detailed screen. > String renderDetail() { return " " + description; } }