Uses of Record Class
io.mindspice.simplypages.core.SlotKey
Packages that use SlotKey
Package
Description
-
Uses of SlotKey in io.mindspice.simplypages.builders
Methods in io.mindspice.simplypages.builders that return SlotKeyModifier and TypeMethodDescriptionShellTemplate.contentSlot()Returns the dedicated shell content slot key.Constructors in io.mindspice.simplypages.builders with parameters of type SlotKey -
Uses of SlotKey in io.mindspice.simplypages.core
Fields in io.mindspice.simplypages.core declared as SlotKeyModifier and TypeFieldDescriptionHtmlTag.innerTextSlotSlot key for dynamic text payload; when set, overridesHtmlTag.innerText.Methods in io.mindspice.simplypages.core that return SlotKeyModifier and TypeMethodDescriptionSlot.getKey()Returns the key resolved at render time.static <T> SlotKey<T> Creates a key with no default provider.static <T> SlotKey<T> SlotKey.of(String name, Function<RenderContext, T> defaultProvider) Creates a key with a computed default.static <T> SlotKey<T> Creates a key with a constant default value.Methods in io.mindspice.simplypages.core that return types with arguments of type SlotKeyModifier and TypeMethodDescriptionRenderContext.getEntries()Returns an immutable snapshot of stored entries.Methods in io.mindspice.simplypages.core with parameters of type SlotKeyModifier and TypeMethodDescription<T> Optional<T> Resolves the value forkey.RenderContext.getCompiled(SlotKey<?> key) Returns compiled HTML forkeywhen a compiled entry exists.booleanRenderContext.isCompiled(SlotKey<?> key) Returns whetherkeycurrently maps to a compiled entry.static <T> RenderContextCreates a context with a single raw slot value and default policy.static <T> Slot<T> Factory for a slot bound tokey.<T> RenderContextStores a live value forkey;nullremoves the entry.RenderContext.putCompiled(SlotKey<?> key, String html) Stores pre-rendered trusted HTML forkey;nullremoves the entry.Removes any entry forkey.Stores a live value forkey;nullremoves the entry.HtmlTag.withInnerText(SlotKey<String> slotKey) Sets dynamic text source resolved fromslotKeyat render time.Method parameters in io.mindspice.simplypages.core with type arguments of type SlotKeyModifier and TypeMethodDescriptionstatic RenderContextCreates a context from raw slot values with default policy.default StringRenders this component from raw slot values.Renders this template from raw slot values.SlotKeyMap.toRenderContext(Map<String, SlotKey<?>> slotMapping) Legacy bridge: convert this string-key map to a render context using the provided slot key mapping. -
Uses of SlotKey in io.mindspice.simplypages.editing
Method parameters in io.mindspice.simplypages.editing with type arguments of type SlotKey