1 package net.sf.openrocket.gui.help.tours;
3 import java.util.ArrayList;
6 import javax.swing.text.html.StyleSheet;
9 * A set of slides that composes a tour.
11 * A slide set contains a (localized, plain-text) title for the tour, a (possibly
12 * multiline, HTML-formatted) description and a number of slides.
14 * @author Sampo Niskanen <sampo.niskanen@iki.fi>
16 public class SlideSet {
18 private String title = "";
19 private String description = "";
20 private final List<Slide> slides = new ArrayList<Slide>();
21 private StyleSheet styleSheet = new StyleSheet();
25 public String getTitle() {
29 public void setTitle(String name) {
33 public String getDescription() {
37 public void setDescription(String description) {
38 this.description = description;
42 public Slide getSlide(int index) {
43 return this.slides.get(index);
46 public void addSlide(Slide slide) {
47 this.slides.add(slide);
50 public int getSlideCount() {
51 return this.slides.size();
54 public StyleSheet getStyleSheet() {
58 public void setStyleSheet(StyleSheet styleSheet) {
59 this.styleSheet = styleSheet;