Class | Line # | Actions | ||||
---|---|---|---|---|---|---|
AlignAnalysisUIText | 23 | 25 | 16 | 20 |
1 | /* | |
2 | * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) | |
3 | * Copyright (C) $$Year-Rel$$ The Jalview Authors | |
4 | * | |
5 | * This file is part of Jalview. | |
6 | * | |
7 | * Jalview is free software: you can redistribute it and/or | |
8 | * modify it under the terms of the GNU General Public License | |
9 | * as published by the Free Software Foundation, either version 3 | |
10 | * of the License, or (at your option) any later version. | |
11 | * | |
12 | * Jalview is distributed in the hope that it will be useful, but | |
13 | * WITHOUT ANY WARRANTY; without even the implied warranty | |
14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR | |
15 | * PURPOSE. See the GNU General Public License for more details. | |
16 | * | |
17 | * You should have received a copy of the GNU General Public License | |
18 | * along with Jalview. If not, see <http://www.gnu.org/licenses/>. | |
19 | * The Jalview Authors are detailed in the 'AUTHORS' file. | |
20 | */ | |
21 | package jalview.ws.uimodel; | |
22 | ||
23 | public class AlignAnalysisUIText | |
24 | { | |
25 | ||
26 | private String serviceType; | |
27 | ||
28 | 0 | public String getServiceType() |
29 | { | |
30 | 0 | return serviceType; |
31 | } | |
32 | ||
33 | private Class client; | |
34 | ||
35 | private String calcId; | |
36 | ||
37 | 0 | public String getCalcId() |
38 | { | |
39 | 0 | return calcId; |
40 | } | |
41 | ||
42 | private String AAconToggle, AAconToggleTooltip, AAeditSettings, | |
43 | AAeditSettingsTooltip; | |
44 | ||
45 | private boolean isNa; | |
46 | ||
47 | 0 | public boolean isNa() |
48 | { | |
49 | 0 | return isNa; |
50 | } | |
51 | ||
52 | 0 | public boolean isPr() |
53 | { | |
54 | 0 | return isPr; |
55 | } | |
56 | ||
57 | 0 | public boolean isAA() |
58 | { | |
59 | 0 | return isAA; |
60 | } | |
61 | ||
62 | private boolean isPr; | |
63 | ||
64 | private boolean isAA; | |
65 | ||
66 | 2 | public AlignAnalysisUIText(String serviceType, Class<?> client, |
67 | String calcId, boolean acceptNucl, boolean acceptProt, | |
68 | boolean acceptGaps, String toggle, String toggleTooltip, | |
69 | String settings, String settingsTooltip) | |
70 | { | |
71 | 2 | this.serviceType = serviceType; |
72 | 2 | this.calcId = calcId; |
73 | 2 | isNa = acceptNucl; |
74 | 2 | isPr = acceptProt; |
75 | 2 | isAA = acceptGaps; |
76 | 2 | this.client = client; |
77 | 2 | this.AAconToggle = toggle; |
78 | 2 | this.AAconToggleTooltip = toggleTooltip; |
79 | 2 | this.AAeditSettings = settings; |
80 | 2 | this.AAeditSettingsTooltip = settingsTooltip; |
81 | } | |
82 | ||
83 | 940 | public Class getClient() |
84 | { | |
85 | 940 | return client; |
86 | } | |
87 | ||
88 | 0 | public void setClient(Class client) |
89 | { | |
90 | 0 | this.client = client; |
91 | } | |
92 | ||
93 | 932 | public String getAAconToggle() |
94 | { | |
95 | 932 | return AAconToggle; |
96 | } | |
97 | ||
98 | 0 | public void setAAconToggle(String aAconToggle) |
99 | { | |
100 | 0 | AAconToggle = aAconToggle; |
101 | } | |
102 | ||
103 | 932 | public String getAAconToggleTooltip() |
104 | { | |
105 | 932 | return AAconToggleTooltip; |
106 | } | |
107 | ||
108 | 0 | public void setAAconToggleTooltip(String aAconToggleTooltip) |
109 | { | |
110 | 0 | AAconToggleTooltip = aAconToggleTooltip; |
111 | } | |
112 | ||
113 | 932 | public String getAAeditSettings() |
114 | { | |
115 | 932 | return AAeditSettings; |
116 | } | |
117 | ||
118 | 0 | public void setAAeditSettings(String aAeditSettings) |
119 | { | |
120 | 0 | AAeditSettings = aAeditSettings; |
121 | } | |
122 | ||
123 | 932 | public String getAAeditSettingsTooltip() |
124 | { | |
125 | 932 | return AAeditSettingsTooltip; |
126 | } | |
127 | ||
128 | 0 | public void setAAeditSettingsTooltip(String aAeditSettingsTooltip) |
129 | { | |
130 | 0 | AAeditSettingsTooltip = aAeditSettingsTooltip; |
131 | } | |
132 | ||
133 | } |