JAL-2089 patch broken merge to master for Release 2.10.0b1
[jalview.git] / src / jalview / json / binding / biojson / v1 / AnnotationDisplaySettingPojo.java
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   public boolean isScaleColLabel()
59   {
60     return scaleColLabel;
61   }
62
63   public void setScaleColLabel(boolean scaleColLabel)
64   {
65     this.scaleColLabel = scaleColLabel;
66   }
67
68   public boolean isShowAllColLabels()
69   {
70     return showAllColLabels;
71   }
72
73   public void setShowAllColLabels(boolean showAllColLabels)
74   {
75     this.showAllColLabels = showAllColLabels;
76   }
77
78   public boolean isCentreColLabels()
79   {
80     return centreColLabels;
81   }
82
83   public void setCentreColLabels(boolean centreColLabels)
84   {
85     this.centreColLabels = centreColLabels;
86   }
87
88   public boolean isBelowAlignment()
89   {
90     return belowAlignment;
91   }
92
93   public void setBelowAlignment(boolean belowAlignment)
94   {
95     this.belowAlignment = belowAlignment;
96   }
97
98   public boolean isVisible()
99   {
100     return visible;
101   }
102
103   public void setVisible(boolean visible)
104   {
105     this.visible = visible;
106   }
107
108   public boolean isHasIcon()
109   {
110     return hasIcon;
111   }
112
113   public void setHasIcon(boolean hasIcon)
114   {
115     this.hasIcon = hasIcon;
116   }
117
118 }