diff options
Diffstat (limited to 'src/cppcheckplus/outlookpanel/MyOutlookPanelListItem.java')
-rw-r--r-- | src/cppcheckplus/outlookpanel/MyOutlookPanelListItem.java | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/cppcheckplus/outlookpanel/MyOutlookPanelListItem.java b/src/cppcheckplus/outlookpanel/MyOutlookPanelListItem.java new file mode 100644 index 0000000..92fd09e --- /dev/null +++ b/src/cppcheckplus/outlookpanel/MyOutlookPanelListItem.java | |||
@@ -0,0 +1,51 @@ | |||
1 | package cppcheckplus.outlookpanel; | ||
2 | |||
3 | import javax.swing.Icon; | ||
4 | |||
5 | public class MyOutlookPanelListItem | ||
6 | { | ||
7 | private Icon icon; | ||
8 | private String text; | ||
9 | private String toolTip; | ||
10 | private String actionCommand; | ||
11 | |||
12 | public void setIcon(Icon icon) | ||
13 | { | ||
14 | this.icon = icon; | ||
15 | } | ||
16 | |||
17 | public Icon getIcon() | ||
18 | { | ||
19 | return icon; | ||
20 | } | ||
21 | |||
22 | public void setText(String value) | ||
23 | { | ||
24 | this.text = value; | ||
25 | } | ||
26 | |||
27 | public String getText() | ||
28 | { | ||
29 | return text; | ||
30 | } | ||
31 | |||
32 | public void setToolTip(String toolTip) | ||
33 | { | ||
34 | this.toolTip = toolTip; | ||
35 | } | ||
36 | |||
37 | public String getToolTip() | ||
38 | { | ||
39 | return toolTip; | ||
40 | } | ||
41 | |||
42 | public void setActionCommand(String actionCommand) | ||
43 | { | ||
44 | this.actionCommand = actionCommand; | ||
45 | } | ||
46 | |||
47 | public String getActionCommand() | ||
48 | { | ||
49 | return actionCommand; | ||
50 | } | ||
51 | } | ||