Class EditableChild
java.lang.Object
io.mindspice.simplypages.editing.EditableChild
Immutable descriptor for a module child that can be edited independently.
Mutability and thread-safety: immutable and thread-safe once created.
-
Constructor Summary
ConstructorsConstructorDescriptionEditableChild(String id, String label, Component component) Creates an editable-child descriptor. -
Method Summary
Modifier and TypeMethodDescriptionstatic EditableChildStatic factory forEditableChild.Returns the underlying child component reference.getId()Returns the raw child identifier used by edit/delete templates, not a pre-encoded URL value.getLabel()Returns human-readable child label for editing UIs.
-
Constructor Details
-
EditableChild
Creates an editable-child descriptor. The id is stored as supplied, not globally validated. A modal child URL containing{id}validates and encodes this raw value when its action is built; disabled actions and templates omitting the token do not validate it.
-
-
Method Details
-
create
Static factory forEditableChild. -
getId
Returns the raw child identifier used by edit/delete templates, not a pre-encoded URL value. -
getLabel
Returns human-readable child label for editing UIs. -
getComponent
Returns the underlying child component reference.
-