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