Clover icon

Coverage Report

  1. Project Clover database Mon Nov 18 2024 09:38:20 GMT
  2. Package jalview.json.binding.biojson.v1

File AnnotationDisplaySettingPojo.java

 

Coverage histogram

../../../../../img/srcFileCovDistChart10.png
0% of files have more coverage

Code metrics

0
12
12
1
118
77
12
1
1
12
1

Classes

Class Line # Actions
AnnotationDisplaySettingPojo 25 12 12
1.0100%
 

Contributing tests

This file is covered by 1 test. .

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.json.binding.biojson.v1;
22   
23    import com.github.reinert.jjschema.Attributes;
24   
 
25    public class AnnotationDisplaySettingPojo
26    {
27   
28    @Attributes(
29    required = false,
30    description = "Indicates if column label is scaled to fit within the <br>alignment column")
31    private boolean scaleColLabel;
32   
33    @Attributes(
34    required = false,
35    description = "Indicates if every column label is displayed.")
36    private boolean showAllColLabels;
37   
38    @Attributes(
39    required = false,
40    description = "Indicates if column labels is centred relative to the <br>alignment column")
41    private boolean centreColLabels;
42   
43    @Attributes(
44    required = false,
45    description = "Indicates if the Annotation is shown below the alignment")
46    private boolean belowAlignment;
47   
48    @Attributes(
49    required = false,
50    description = "Indicates if the annotation row is visible")
51    private boolean visible;
52   
53    @Attributes(
54    required = false,
55    description = "Indicates if annotation has a graphical symbol track")
56    private boolean hasIcon;
57   
 
58  2 toggle public boolean isScaleColLabel()
59    {
60  2 return scaleColLabel;
61    }
62   
 
63  2 toggle public void setScaleColLabel(boolean scaleColLabel)
64    {
65  2 this.scaleColLabel = scaleColLabel;
66    }
67   
 
68  2 toggle public boolean isShowAllColLabels()
69    {
70  2 return showAllColLabels;
71    }
72   
 
73  2 toggle public void setShowAllColLabels(boolean showAllColLabels)
74    {
75  2 this.showAllColLabels = showAllColLabels;
76    }
77   
 
78  2 toggle public boolean isCentreColLabels()
79    {
80  2 return centreColLabels;
81    }
82   
 
83  2 toggle public void setCentreColLabels(boolean centreColLabels)
84    {
85  2 this.centreColLabels = centreColLabels;
86    }
87   
 
88  2 toggle public boolean isBelowAlignment()
89    {
90  2 return belowAlignment;
91    }
92   
 
93  2 toggle public void setBelowAlignment(boolean belowAlignment)
94    {
95  2 this.belowAlignment = belowAlignment;
96    }
97   
 
98  2 toggle public boolean isVisible()
99    {
100  2 return visible;
101    }
102   
 
103  2 toggle public void setVisible(boolean visible)
104    {
105  2 this.visible = visible;
106    }
107   
 
108  2 toggle public boolean isHasIcon()
109    {
110  2 return hasIcon;
111    }
112   
 
113  2 toggle public void setHasIcon(boolean hasIcon)
114    {
115  2 this.hasIcon = hasIcon;
116    }
117   
118    }