Package atessera.json

Class PresentationContent.Frame

java.lang.Object
atessera.json.PresentationContent.Frame
Enclosing class:
PresentationContent

public static final class PresentationContent.Frame extends Object
Represents a single frame (slide) within a presentation.

Each frame has a PresentationContent.FrameType that determines how its source text is interpreted, and may carry optional metadata: an identifier, a title, a subtitle, a LaTeX label, and a programming language hint for listings.

  • Constructor Details

  • Method Details

    • getType

      The type of content in this frame. Determines which processing pipeline is used.
    • getId

      public String getId()
      Unique identifier for this frame (used for cross-referencing).
    • getTitle

      public String getTitle()
      Frame title (displayed at the top of the slide).
    • getSubtitle

      public String getSubtitle()
      Frame subtitle (displayed below the title).
    • getLabel

      public String getLabel()
      LaTeX label for referencing this frame (e.g. for \\label and \\ref commands).
    • getListingLang

      public String getListingLang()
      Programming language hint for source code listings (e.g. "java", "python"). Used for syntax highlighting.
    • getSource

      public List<String> getSource()
      Source text of the frame. Interpreted according to the frame's type.
    • setType

      public void setType(PresentationContent.FrameType type)
      The type of content in this frame. Determines which processing pipeline is used.
    • setId

      public void setId(String id)
      Unique identifier for this frame (used for cross-referencing).
    • setTitle

      public void setTitle(String title)
      Frame title (displayed at the top of the slide).
    • setSubtitle

      public void setSubtitle(String subtitle)
      Frame subtitle (displayed below the title).
    • setLabel

      public void setLabel(String label)
      LaTeX label for referencing this frame (e.g. for \\label and \\ref commands).
    • setListingLang

      public void setListingLang(String listingLang)
      Programming language hint for source code listings (e.g. "java", "python"). Used for syntax highlighting.
    • setSource

      public void setSource(List<String> source)
      Source text of the frame. Interpreted according to the frame's type.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object