X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemabinding%2Fversion2%2FViewport.java;h=159f7ae9ccb074ad5d38a3a72d57dc908a9d7560;hb=86fd4dbafd6175d651fe569c0861de10029cc7b8;hp=24a25c06ca3db238f1db8f63a87807e29ff18bfe;hpb=b57a02c25e335d033c97f8a6bacd6b54f62bd2b6;p=jalview.git diff --git a/src/jalview/schemabinding/version2/Viewport.java b/src/jalview/schemabinding/version2/Viewport.java index 24a25c0..159f7ae 100644 --- a/src/jalview/schemabinding/version2/Viewport.java +++ b/src/jalview/schemabinding/version2/Viewport.java @@ -332,6 +332,16 @@ public class Viewport implements java.io.Serializable private boolean _has_fontStyle; /** + * Field _scaleProteinAsCdna. + */ + private boolean _scaleProteinAsCdna = true; + + /** + * keeps track of state for field: _scaleProteinAsCdna + */ + private boolean _has_scaleProteinAsCdna; + + /** * Field _viewName. */ private java.lang.String _viewName; @@ -389,6 +399,12 @@ public class Viewport implements java.io.Serializable private java.lang.String _id; /** + * The viewport id of this viewport's (cdna/protein) coding complement, if any + * + */ + private java.lang.String _complementId; + + /** * Field _width. */ private int _width; @@ -623,6 +639,13 @@ public class Viewport implements java.io.Serializable /** */ + public void deleteScaleProteinAsCdna() + { + this._has_scaleProteinAsCdna = false; + } + + /** + */ public void deleteShowAnnotation() { this._has_showAnnotation = false; @@ -878,6 +901,19 @@ public class Viewport implements java.io.Serializable } /** + * Returns the value of field 'complementId'. The field 'complementId' has the + * following description: The viewport id of this viewport's (cdna/protein) + * coding complement, if any + * + * + * @return the value of field 'ComplementId'. + */ + public java.lang.String getComplementId() + { + return this._complementId; + } + + /** * Returns the value of field 'consThreshold'. * * @return the value of field 'ConsThreshold'. @@ -1091,6 +1127,16 @@ public class Viewport implements java.io.Serializable } /** + * Returns the value of field 'scaleProteinAsCdna'. + * + * @return the value of field 'ScaleProteinAsCdna'. + */ + public boolean getScaleProteinAsCdna() + { + return this._scaleProteinAsCdna; + } + + /** * Returns the value of field 'sequenceSetId'. * * @return the value of field 'SequenceSetId'. @@ -1491,6 +1537,16 @@ public class Viewport implements java.io.Serializable } /** + * Method hasScaleProteinAsCdna. + * + * @return true if at least one ScaleProteinAsCdna has been adde + */ + public boolean hasScaleProteinAsCdna() + { + return this._has_scaleProteinAsCdna; + } + + /** * Method hasShowAnnotation. * * @return true if at least one ShowAnnotation has been added @@ -1811,6 +1867,16 @@ public class Viewport implements java.io.Serializable } /** + * Returns the value of field 'scaleProteinAsCdna'. + * + * @return the value of field 'ScaleProteinAsCdna'. + */ + public boolean isScaleProteinAsCdna() + { + return this._scaleProteinAsCdna; + } + + /** * Returns the value of field 'showAnnotation'. * * @return the value of field 'ShowAnnotation'. @@ -2146,6 +2212,20 @@ public class Viewport implements java.io.Serializable } /** + * Sets the value of field 'complementId'. The field 'complementId' has the + * following description: The viewport id of this viewport's (cdna/protein) + * coding complement, if any + * + * + * @param complementId + * the value of field 'complementId'. + */ + public void setComplementId(final java.lang.String complementId) + { + this._complementId = complementId; + } + + /** * Sets the value of field 'consThreshold'. * * @param consThreshold @@ -2379,6 +2459,18 @@ public class Viewport implements java.io.Serializable } /** + * Sets the value of field 'scaleProteinAsCdna'. + * + * @param scaleProteinAsCdna + * the value of field 'scaleProteinAsCdna'. + */ + public void setScaleProteinAsCdna(final boolean scaleProteinAsCdna) + { + this._scaleProteinAsCdna = scaleProteinAsCdna; + this._has_scaleProteinAsCdna = true; + } + + /** * Sets the value of field 'sequenceSetId'. * * @param sequenceSetId