d937f15e7745dc4c395dc5f3f9829e2072e97146
[jalview.git] / src / jalview / ws / uimodel / AlignAnalysisUIText.java
1 /*
2  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
3  * Copyright (C) 2014 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 import java.util.HashMap;
24
25 public class AlignAnalysisUIText
26 {
27
28   private String serviceType;
29
30   public String getServiceType()
31   {
32     return serviceType;
33   }
34
35   private Class client;
36
37   private String calcId;
38
39   public String getCalcId()
40   {
41     return calcId;
42   }
43
44   private String AAconToggle, AAconToggleTooltip, AAeditSettings,
45           AAeditSettingsTooltip;
46
47   private boolean isNa;
48
49   public boolean isNa()
50   {
51     return isNa;
52   }
53
54   public boolean isPr()
55   {
56     return isPr;
57   }
58
59   public boolean isAA()
60   {
61     return isAA;
62   }
63
64   private boolean isPr;
65
66   private boolean isAA;
67
68   public AlignAnalysisUIText(String serviceType, Class<?> client,
69           String calcId, boolean acceptNucl, boolean acceptProt,
70           boolean acceptGaps, String toggle, String toggleTooltip,
71           String settings, String settingsTooltip)
72   {
73     this.serviceType = serviceType;
74     this.calcId = calcId;
75     isNa = acceptNucl;
76     isPr = acceptProt;
77     isAA = acceptGaps;
78     this.client = client;
79     this.AAconToggle = toggle;
80     this.AAconToggleTooltip = toggleTooltip;
81     this.AAeditSettings = settings;
82     this.AAeditSettingsTooltip = settingsTooltip;
83   }
84
85   public Class getClient()
86   {
87     return client;
88   }
89
90   public void setClient(Class client)
91   {
92     this.client = client;
93   }
94
95   public String getAAconToggle()
96   {
97     return AAconToggle;
98   }
99
100   public void setAAconToggle(String aAconToggle)
101   {
102     AAconToggle = aAconToggle;
103   }
104
105   public String getAAconToggleTooltip()
106   {
107     return AAconToggleTooltip;
108   }
109
110   public void setAAconToggleTooltip(String aAconToggleTooltip)
111   {
112     AAconToggleTooltip = aAconToggleTooltip;
113   }
114
115   public String getAAeditSettings()
116   {
117     return AAeditSettings;
118   }
119
120   public void setAAeditSettings(String aAeditSettings)
121   {
122     AAeditSettings = aAeditSettings;
123   }
124
125   public String getAAeditSettingsTooltip()
126   {
127     return AAeditSettingsTooltip;
128   }
129
130   public void setAAeditSettingsTooltip(String aAeditSettingsTooltip)
131   {
132     AAeditSettingsTooltip = aAeditSettingsTooltip;
133   }
134
135 }