Interface Presentation
-
public interface PresentationPresentation represents a single presentation created manually or from other sources that is intended to be communicated outside the software. Presentation contains some metadata but the bulk of the information is inSlides.- Since:
- 9.10.8
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddSlide(Slide slide)Adds the given slide to this presentation.static Presentationcreate()Creates an empty presentation.StringgetName()Returns the name of this presentation.Collection<Slide>getSlides()Returns all the issues in this presentation.booleanremoveSlide(Slide slide)Removes the given slide from this presentation.
-
-
-
Method Detail
-
create
static Presentation create()
Creates an empty presentation.- Returns:
- the new presentation
- Since:
- 9.12.0
-
getSlides
Collection<Slide> getSlides()
Returns all the issues in this presentation. The returned collection is unmodifiable. The returned issues inside that collection might not be.- Returns:
- the issues
- Since:
- 9.10.8
-
addSlide
boolean addSlide(Slide slide)
Adds the given slide to this presentation.- Parameters:
slide- the new slide- Returns:
- true if the slide did not previously exist for this presentation, false otherwise
- Since:
- 9.12.0
-
removeSlide
boolean removeSlide(Slide slide)
Removes the given slide from this presentation. If the slide is not in this presentation, nothing happens.- Parameters:
slide- the slide to remove- Returns:
- true if the slide was removed, false if it didn't exist to begin with
- Since:
- 9.12.0
-
getName
String getName()
Returns the name of this presentation.- Returns:
- the name
- Since:
- 9.10.8
-
-