Class EditableChild

java.lang.Object
io.mindspice.simplypages.editing.EditableChild

public class EditableChild extends Object
Immutable descriptor for a module child that can be edited independently.

Mutability and thread-safety: immutable and thread-safe once created.

  • Constructor Details

    • EditableChild

      public EditableChild(String id, String label, Component component)
      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

      public static EditableChild create(String id, String label, Component component)
      Static factory for EditableChild.
    • getId

      public String getId()
      Returns the raw child identifier used by edit/delete templates, not a pre-encoded URL value.
    • getLabel

      public String getLabel()
      Returns human-readable child label for editing UIs.
    • getComponent

      public Component getComponent()
      Returns the underlying child component reference.