Clover icon

Coverage Report

  1. Project Clover database Wed Nov 13 2024 16:12:26 GMT
  2. Package jalview.ws.uimodel

File AlignAnalysisUIText.java

 

Coverage histogram

../../../img/srcFileCovDistChart6.png
37% of files have more coverage

Code metrics

0
25
16
1
133
88
16
0.64
1.56
16
1

Classes

Class Line # Actions
AlignAnalysisUIText 23 25 16
0.512195151.2%
 

Contributing tests

This file is covered by 16 tests. .

Source view

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 toggle public String getServiceType()
29    {
30  0 return serviceType;
31    }
32   
33    private Class client;
34   
35    private String calcId;
36   
 
37  0 toggle 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 toggle public boolean isNa()
48    {
49  0 return isNa;
50    }
51   
 
52  0 toggle public boolean isPr()
53    {
54  0 return isPr;
55    }
56   
 
57  0 toggle public boolean isAA()
58    {
59  0 return isAA;
60    }
61   
62    private boolean isPr;
63   
64    private boolean isAA;
65   
 
66  12 toggle 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  12 this.serviceType = serviceType;
72  12 this.calcId = calcId;
73  12 isNa = acceptNucl;
74  12 isPr = acceptProt;
75  12 isAA = acceptGaps;
76  12 this.client = client;
77  12 this.AAconToggle = toggle;
78  12 this.AAconToggleTooltip = toggleTooltip;
79  12 this.AAeditSettings = settings;
80  12 this.AAeditSettingsTooltip = settingsTooltip;
81    }
82   
 
83  40 toggle public Class getClient()
84    {
85  40 return client;
86    }
87   
 
88  0 toggle public void setClient(Class client)
89    {
90  0 this.client = client;
91    }
92   
 
93  39 toggle public String getAAconToggle()
94    {
95  39 return AAconToggle;
96    }
97   
 
98  0 toggle public void setAAconToggle(String aAconToggle)
99    {
100  0 AAconToggle = aAconToggle;
101    }
102   
 
103  39 toggle public String getAAconToggleTooltip()
104    {
105  39 return AAconToggleTooltip;
106    }
107   
 
108  0 toggle public void setAAconToggleTooltip(String aAconToggleTooltip)
109    {
110  0 AAconToggleTooltip = aAconToggleTooltip;
111    }
112   
 
113  39 toggle public String getAAeditSettings()
114    {
115  39 return AAeditSettings;
116    }
117   
 
118  0 toggle public void setAAeditSettings(String aAeditSettings)
119    {
120  0 AAeditSettings = aAeditSettings;
121    }
122   
 
123  39 toggle public String getAAeditSettingsTooltip()
124    {
125  39 return AAeditSettingsTooltip;
126    }
127   
 
128  0 toggle public void setAAeditSettingsTooltip(String aAeditSettingsTooltip)
129    {
130  0 AAeditSettingsTooltip = aAeditSettingsTooltip;
131    }
132   
133    }