Clover icon

Coverage Report

  1. Project Clover database Fri Nov 1 2024 11:46:37 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  5 toggle public boolean isScaleColLabel()
59    {
60  5 return scaleColLabel;
61    }
62   
 
63  5 toggle public void setScaleColLabel(boolean scaleColLabel)
64    {
65  5 this.scaleColLabel = scaleColLabel;
66    }
67   
 
68  5 toggle public boolean isShowAllColLabels()
69    {
70  5 return showAllColLabels;
71    }
72   
 
73  5 toggle public void setShowAllColLabels(boolean showAllColLabels)
74    {
75  5 this.showAllColLabels = showAllColLabels;
76    }
77   
 
78  5 toggle public boolean isCentreColLabels()
79    {
80  5 return centreColLabels;
81    }
82   
 
83  5 toggle public void setCentreColLabels(boolean centreColLabels)
84    {
85  5 this.centreColLabels = centreColLabels;
86    }
87   
 
88  5 toggle public boolean isBelowAlignment()
89    {
90  5 return belowAlignment;
91    }
92   
 
93  5 toggle public void setBelowAlignment(boolean belowAlignment)
94    {
95  5 this.belowAlignment = belowAlignment;
96    }
97   
 
98  5 toggle public boolean isVisible()
99    {
100  5 return visible;
101    }
102   
 
103  5 toggle public void setVisible(boolean visible)
104    {
105  5 this.visible = visible;
106    }
107   
 
108  5 toggle public boolean isHasIcon()
109    {
110  5 return hasIcon;
111    }
112   
 
113  5 toggle public void setHasIcon(boolean hasIcon)
114    {
115  5 this.hasIcon = hasIcon;
116    }
117   
118    }