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