Package atessera.templ
Class PresentationTemplate.Frame
java.lang.Object
atessera.templ.PresentationTemplate.Frame
- Enclosing class:
PresentationTemplate
Represents a single frame (slide) within a presentation.
Each frame has a type (REGULAR or FIGURE), a
title, a subtitle, and body text.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumerates the possible frame types. -
Constructor Summary
Constructors -
Method Summary
-
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 benulltitle- the frame title; will be escaped (may benull)subtitle- the frame subtitle; will be escaped (may benull)text- the frame body as a list of lines; may benullor empty
-
Frame
Constructs a frame from a single text string.- Parameters:
type- the frame type; must not benulltitle- the frame title; will be escaped (may benull)subtitle- the frame subtitle; will be escaped (may benull)text- the frame body as a single string; may benull
-
-
Method Details