1 package com.explosion.expf;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 /***
24 * @author Stephen Cowx
25 * Created on 27-Oct-2004
26 * This class holds information about a look and feel. Its action name (for menus),
27 * it's class name and it's description. Simple.
28 */
29 public class ExpLookAndFeel
30 {
31 private String className;
32 private String displayName;
33 private String actionName;
34 private int sortOrder =0;
35
36 /***
37 * Constructs an Exp look and feel with the given attributes
38 * @param className
39 * @param displayName
40 * @param actionName
41 */
42 public ExpLookAndFeel(String className, String displayName, String actionName)
43 {
44 super();
45 this.className = className;
46 this.displayName = displayName;
47 this.actionName = actionName;
48 }
49 /***
50 * @return Returns the actionName.
51 */
52 public String getActionName()
53 {
54 return actionName;
55 }
56 /***
57 * @param actionName The actionName to set.
58 */
59 public void setActionName(String actionName)
60 {
61 this.actionName = actionName;
62 }
63 /***
64 * @return Returns the className.
65 */
66 public String getClassName()
67 {
68 return className;
69 }
70 /***
71 * @param className The className to set.
72 */
73 public void setClassName(String className)
74 {
75 this.className = className;
76 }
77 /***
78 * @return Returns the displayName.
79 */
80 public String getDisplayName()
81 {
82 return displayName;
83 }
84 /***
85 * @param displayName The displayName to set.
86 */
87 public void setDisplayName(String displayName)
88 {
89 this.displayName = displayName;
90 }
91
92 /***
93 * This method returns the className
94 */
95 public String toString()
96 {
97 return getClassName();
98 }
99 }