Class PresentationTemplate.Frame

java.lang.Object
atessera.templ.PresentationTemplate.Frame
Enclosing class:
PresentationTemplate

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

Each frame has a type (REGULAR or FIGURE), a title, a subtitle, and body text.

  • Constructor Details

    • Frame

      public Frame(PresentationTemplate.Frame.Type type, String title, String subtitle, List<String> text)
      Constructs a frame from a list of text lines.
      Parameters:
      type - the frame type; must not be null
      title - the frame title; will be escaped (may be null)
      subtitle - the frame subtitle; will be escaped (may be null)
      text - the frame body as a list of lines; may be null or empty
    • Frame

      public Frame(PresentationTemplate.Frame.Type type, String title, String subtitle, String text)
      Constructs a frame from a single text string.
      Parameters:
      type - the frame type; must not be null
      title - the frame title; will be escaped (may be null)
      subtitle - the frame subtitle; will be escaped (may be null)
      text - the frame body as a single string; may be null
  • Method Details