*/
public JQUISlideDeckPanel(String id) {
super(id);
List<IDeck> decks = new ArrayList<IDeck>();
decks.add(new IDeck() {
private static final long serialVersionUID = 1L;
public IModel<String> getDeckTitle() {
return new Model<String>("Slide 1");
}
public Component getDeckContents(String id) {
return new Label(id, "Slide 1");
}
});
decks.add(new IDeck() {
private static final long serialVersionUID = 1L;
public IModel<String> getDeckTitle() {
return new Model<String>("Slide 2");
}
public Component getDeckContents(String id) {
return new Label(id, "Slide 2");
}
});
decks.add(new IDeck() {
private static final long serialVersionUID = 1L;
public IModel<String> getDeckTitle() {
return new Model<String>("Slide 3");