KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > roller > presentation > website > formbeans > ThemeEditorForm


1 package org.roller.presentation.website.formbeans;
2
3 import org.apache.struts.action.ActionForm;
4
5 /**
6  * Holds the name of the theme chosen or
7  * the template being edited.
8  *
9  * @struts.form name="themeEditorForm"
10  *
11  * @author llavandowska
12  */

13 public class ThemeEditorForm extends ActionForm
14 {
15     private String JavaDoc themeName;
16     private String JavaDoc themeTemplate;
17     /**
18      * Returns the themeName.
19      * @return String
20      */

21     public String JavaDoc getThemeName()
22     {
23         return themeName;
24     }
25
26     /**
27      * Returns the themeTemplate.
28      * @return String
29      */

30     public String JavaDoc getThemeTemplate()
31     {
32         return themeTemplate;
33     }
34
35     /**
36      * Sets the themeName.
37      * @param themeName The themeName to set
38      */

39     public void setThemeName(String JavaDoc themeName)
40     {
41         this.themeName = themeName;
42     }
43
44     /**
45      * Sets the themeTemplate.
46      * @param themeTemplate The themeTemplate to set
47      */

48     public void setThemeTemplate(String JavaDoc themeTemplate)
49     {
50         this.themeTemplate = themeTemplate;
51     }
52
53 }
54
Popular Tags