X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fjson%2Fbinding%2Fbiojson%2Fv1%2FAnnotationDisplaySettingPojo.java;h=d493bf21ebd3d19d2446aa6195cb7b05868e981d;hb=5969ead0fd401f4435a3435ede9e4e87cf9c1d0b;hp=a3011a0657dbb42aa74a0add2e7b5a0df00515b1;hpb=9359a2279fcaa47910e31805b967390bffd6a573;p=jalview.git
diff --git a/src/jalview/json/binding/biojson/v1/AnnotationDisplaySettingPojo.java b/src/jalview/json/binding/biojson/v1/AnnotationDisplaySettingPojo.java
index a3011a0..d493bf2 100644
--- a/src/jalview/json/binding/biojson/v1/AnnotationDisplaySettingPojo.java
+++ b/src/jalview/json/binding/biojson/v1/AnnotationDisplaySettingPojo.java
@@ -1,17 +1,60 @@
+/*******************************************************************************
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ *
+ * This file is part of Jalview.
+ *
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
+ *
+ * Jalview is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview. If not, see .
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ ******************************************************************************/
package jalview.json.binding.biojson.v1;
+import com.github.reinert.jjschema.Attributes;
+
public class AnnotationDisplaySettingPojo
{
+
+ @Attributes(
+ required = false,
+ description = "Indicates if column label is scaled to fit within the
alignment column")
private boolean scaleColLabel;
+ @Attributes(
+ required = false,
+ description = "Indicates if every column label is displayed.")
private boolean showAllColLabels;
+ @Attributes(
+ required = false,
+ description = "Indicates if column labels is centred relative to the
alignment column")
private boolean centreColLabels;
+ @Attributes(
+ required = false,
+ description = "Indicates if the Annotation is shown below the alignment")
private boolean belowAlignment;
+ @Attributes(
+ required = false,
+ description = "Indicates if the annotation row is visible")
private boolean visible;
+ @Attributes(
+ required = false,
+ description = "Indicates if annotation has a graphical symbol track")
+ private boolean hasIcon;
+
public boolean isScaleColLabel()
{
return scaleColLabel;
@@ -61,4 +104,15 @@ public class AnnotationDisplaySettingPojo
{
this.visible = visible;
}
+
+ public boolean isHasIcon()
+ {
+ return hasIcon;
+ }
+
+ public void setHasIcon(boolean hasIcon)
+ {
+ this.hasIcon = hasIcon;
+ }
+
}