JAL-1807 still testing
[jalviewjs.git] / bin / jalview / viewmodel / styles / ViewStyle.js
index 8ec10fa..f41fe5d 100644 (file)
-Clazz.declarePackage ("jalview.viewmodel.styles");
-Clazz.load (["jalview.api.ViewStyleI", "java.awt.Color"], "jalview.viewmodel.styles.ViewStyle", ["java.lang.Boolean"], function () {
-c$ = Clazz.decorateAsClass (function () {
-this.abovePIDThreshold = false;
-this.charHeight = 0;
-this.charWidth = 0;
-this.idWidth = -1;
-this.colourAppliesToAllGroups = false;
-this.centreColumnLabels = false;
-this.showdbrefs = false;
-this.shownpfeats = false;
-this.colourByReferenceSeq = false;
-this.conservationColourSelected = false;
-this.displayReferenceSeq = false;
-this.increment = 0;
-this.renderGaps = true;
-this.rightAlignIds = false;
-this.scaleAboveWrapped = false;
-this.scaleLeftWrapped = true;
-this.scaleRightWrapped = true;
-this.seqNameItalics = false;
-this.showAnnotation = true;
-this.showBoxes = true;
-this.showColourText = false;
-this.showHiddenMarkers = true;
-this.showJVSuffix = true;
-this.showSeqFeaturesHeight = false;
-this.showSequenceFeatures = false;
-this.showText = true;
-this.showUnconserved = false;
-this.textColour = null;
-this.textColour2 = null;
-this.threshold = 0;
-this.thresholdTextColour = 0;
-this.upperCasebold = false;
-this.fontName = null;
-this.fontSize = 0;
-this.scaleProteinAsCdna = true;
-this.wrapAlignment = false;
-this.wrappedWidth = 0;
-this.fontStyle = 0;
-Clazz.instantialize (this, arguments);
-}, jalview.viewmodel.styles, "ViewStyle", null, jalview.api.ViewStyleI);
-Clazz.prepareFields (c$, function () {
-this.textColour = java.awt.Color.black;
-this.textColour2 = java.awt.Color.white;
-});
-Clazz.makeConstructor (c$, 
-function (vs) {
-this.setAbovePIDThreshold (vs.getAbovePIDThreshold ());
-this.setCentreColumnLabels (vs.isCentreColumnLabels ());
-this.setCharHeight (vs.getCharHeight ());
-this.setCharWidth (vs.getCharWidth ());
-this.setColourAppliesToAllGroups (vs.getColourAppliesToAllGroups ());
-this.setColourByReferenceSeq (vs.isColourByReferenceSeq ());
-this.setColourText (vs.getColourText ());
-this.setConservationColourSelected (vs.isConservationColourSelected ());
-this.setConservationSelected (vs.getConservationSelected ());
-this.setDisplayReferenceSeq (vs.isDisplayReferenceSeq ());
-this.setFontName (vs.getFontName ());
-this.setFontSize (vs.getFontSize ());
-this.setFontStyle (vs.getFontStyle ());
-this.setIdWidth (vs.getIdWidth ());
-this.setIncrement (vs.getIncrement ());
-this.setRenderGaps (vs.isRenderGaps ());
-this.setRightAlignIds (vs.isRightAlignIds ());
-this.setScaleAboveWrapped (vs.getScaleAboveWrapped ());
-this.setScaleLeftWrapped (vs.getScaleLeftWrapped ());
-this.setScaleProteinAsCdna (vs.isScaleProteinAsCdna ());
-this.setScaleRightWrapped (vs.getScaleRightWrapped ());
-this.setSeqNameItalics (vs.isSeqNameItalics ());
-this.setShowAnnotation (vs.isShowAnnotation ());
-this.setShowBoxes (vs.getShowBoxes ());
-this.setShowColourText (vs.isShowColourText ());
-this.setShowDBRefs (vs.isShowDBRefs ());
-this.setShowHiddenMarkers (vs.getShowHiddenMarkers ());
-this.setShowJVSuffix (vs.getShowJVSuffix ());
-this.setShowNPFeats (vs.isShowNPFeats ());
-this.setShowSequenceFeaturesHeight (vs.isShowSequenceFeaturesHeight ());
-this.setShowSequenceFeatures (vs.isShowSequenceFeatures ());
-this.setShowText (vs.getShowText ());
-this.setShowUnconserved (vs.getShowUnconserved ());
-this.setTextColour (vs.getTextColour ());
-this.setTextColour2 (vs.getTextColour2 ());
-this.setThreshold (vs.getThreshold ());
-this.setThresholdTextColour (vs.getThresholdTextColour ());
-this.setUpperCasebold (vs.isUpperCasebold ());
-this.setWrapAlignment (vs.getWrapAlignment ());
-this.setWrappedWidth (vs.getWrappedWidth ());
-}, "jalview.api.ViewStyleI");
-Clazz.makeConstructor (c$, 
-function () {
-});
-Clazz.overrideMethod (c$, "equals", 
-function (other) {
-if (other == null || !(Clazz.instanceOf (other, jalview.viewmodel.styles.ViewStyle))) {
-return false;
-}var vs = other;
-var match = (this.getAbovePIDThreshold () == vs.getAbovePIDThreshold () && this.isCentreColumnLabels () == vs.isCentreColumnLabels () && this.getCharHeight () == vs.getCharHeight () && this.getCharWidth () == vs.getCharWidth () && this.getColourAppliesToAllGroups () == vs.getColourAppliesToAllGroups () && this.isColourByReferenceSeq () == vs.isColourByReferenceSeq () && this.getColourText () == vs.getColourText () && this.isConservationColourSelected () == vs.isConservationColourSelected () && this.getConservationSelected () == vs.getConservationSelected () && this.isDisplayReferenceSeq () == vs.isDisplayReferenceSeq () && this.getFontSize () == vs.getFontSize () && this.getFontStyle () == vs.getFontStyle () && this.getIdWidth () == vs.getIdWidth () && this.getIncrement () == vs.getIncrement () && this.isRenderGaps () == vs.isRenderGaps () && this.isRightAlignIds () == vs.isRightAlignIds () && this.getScaleAboveWrapped () == vs.getScaleAboveWrapped () && this.getScaleLeftWrapped () == vs.getScaleLeftWrapped () && this.isScaleProteinAsCdna () == vs.isScaleProteinAsCdna () && this.getScaleRightWrapped () == vs.getScaleRightWrapped () && this.isSeqNameItalics () == vs.isSeqNameItalics () && this.isShowAnnotation () == vs.isShowAnnotation () && this.getShowBoxes () == vs.getShowBoxes () && this.isShowColourText () == vs.isShowColourText () && this.isShowDBRefs () == vs.isShowDBRefs () && this.getShowHiddenMarkers () == vs.getShowHiddenMarkers () && this.getShowJVSuffix () == vs.getShowJVSuffix () && this.isShowNPFeats () == vs.isShowNPFeats () && this.isShowSequenceFeaturesHeight () == vs.isShowSequenceFeaturesHeight () && this.isShowSequenceFeatures () == vs.isShowSequenceFeatures () && this.getShowText () == vs.getShowText () && this.getShowUnconserved () == vs.getShowUnconserved () && this.getThreshold () == vs.getThreshold () && this.getThresholdTextColour () == vs.getThresholdTextColour () && this.isUpperCasebold () == vs.isUpperCasebold () && this.getWrapAlignment () == vs.getWrapAlignment () && this.getWrappedWidth () == vs.getWrappedWidth ());
-match = match && String.valueOf (this.getFontName ()).equals (String.valueOf (vs.getFontName ()));
-match = match && String.valueOf (this.getTextColour ()).equals (String.valueOf (vs.getTextColour ()));
-match = match && String.valueOf (this.getTextColour2 ()).equals (String.valueOf (vs.getTextColour2 ()));
-return match;
-}, "~O");
-Clazz.overrideMethod (c$, "hashCode", 
-function () {
-var hash = 0;
-var m = 1;
-hash += m++ * Boolean.$valueOf (this.abovePIDThreshold).hashCode ();
-hash += m++ * Boolean.$valueOf (this.centreColumnLabels).hashCode ();
-hash += m++ * Boolean.$valueOf (this.colourAppliesToAllGroups).hashCode ();
-hash += m++ * Boolean.$valueOf (this.displayReferenceSeq).hashCode ();
-hash += m++ * Boolean.$valueOf (this.renderGaps).hashCode ();
-hash += m++ * Boolean.$valueOf (this.rightAlignIds).hashCode ();
-hash += m++ * Boolean.$valueOf (this.scaleProteinAsCdna).hashCode ();
-hash += m++ * Boolean.$valueOf (this.scaleRightWrapped).hashCode ();
-hash += m++ * Boolean.$valueOf (this.seqNameItalics).hashCode ();
-hash += m++ * Boolean.$valueOf (this.showAnnotation).hashCode ();
-hash += m++ * Boolean.$valueOf (this.showBoxes).hashCode ();
-hash += m++ * Boolean.$valueOf (this.showdbrefs).hashCode ();
-hash += m++ * Boolean.$valueOf (this.showJVSuffix).hashCode ();
-hash += m++ * Boolean.$valueOf (this.showSequenceFeatures).hashCode ();
-hash += m++ * Boolean.$valueOf (this.showUnconserved).hashCode ();
-hash += m++ * Boolean.$valueOf (this.wrapAlignment).hashCode ();
-hash += m++ * this.charHeight;
-hash += m++ * this.charWidth;
-hash += m++ * this.fontSize;
-hash += m++ * this.fontStyle;
-hash += m++ * this.idWidth;
-hash += String.valueOf (this.fontName).hashCode ();
-return hash;
-});
-Clazz.defineMethod (c$, "isUpperCasebold", 
-function () {
-return this.upperCasebold;
-});
-Clazz.overrideMethod (c$, "setUpperCasebold", 
-function (upperCasebold) {
-this.upperCasebold = upperCasebold;
-}, "~B");
-Clazz.defineMethod (c$, "getAbovePIDThreshold", 
-function () {
-return this.abovePIDThreshold;
-});
-Clazz.defineMethod (c$, "getCharHeight", 
-function () {
-return this.charHeight;
-});
-Clazz.defineMethod (c$, "getCharWidth", 
-function () {
-return this.charWidth;
-});
-Clazz.defineMethod (c$, "getColourAppliesToAllGroups", 
-function () {
-return this.colourAppliesToAllGroups;
-});
-Clazz.defineMethod (c$, "getColourText", 
-function () {
-return this.showColourText;
-});
-Clazz.defineMethod (c$, "getConservationSelected", 
-function () {
-return this.conservationColourSelected;
-});
-Clazz.defineMethod (c$, "getIncrement", 
-function () {
-return this.increment;
-});
-Clazz.defineMethod (c$, "getScaleAboveWrapped", 
-function () {
-return this.scaleAboveWrapped;
-});
-Clazz.defineMethod (c$, "getScaleLeftWrapped", 
-function () {
-return this.scaleLeftWrapped;
-});
-Clazz.defineMethod (c$, "getScaleRightWrapped", 
-function () {
-return this.scaleRightWrapped;
-});
-Clazz.defineMethod (c$, "getShowBoxes", 
-function () {
-return this.showBoxes;
-});
-Clazz.defineMethod (c$, "getShowHiddenMarkers", 
-function () {
-return this.showHiddenMarkers;
-});
-Clazz.defineMethod (c$, "getShowJVSuffix", 
-function () {
-return this.showJVSuffix;
-});
-Clazz.defineMethod (c$, "getShowText", 
-function () {
-return this.showText;
-});
-Clazz.defineMethod (c$, "getShowUnconserved", 
-function () {
-return this.showUnconserved;
-});
-Clazz.defineMethod (c$, "getTextColour", 
-function () {
-return this.textColour;
-});
-Clazz.defineMethod (c$, "getTextColour2", 
-function () {
-return this.textColour2;
-});
-Clazz.defineMethod (c$, "getThreshold", 
-function () {
-return this.threshold;
-});
-Clazz.defineMethod (c$, "getThresholdTextColour", 
-function () {
-return this.thresholdTextColour;
-});
-Clazz.defineMethod (c$, "getWrapAlignment", 
-function () {
-return this.wrapAlignment;
-});
-Clazz.defineMethod (c$, "getWrappedWidth", 
-function () {
-return this.wrappedWidth;
-});
-Clazz.defineMethod (c$, "isColourByReferenceSeq", 
-function () {
-return this.colourByReferenceSeq;
-});
-Clazz.defineMethod (c$, "isConservationColourSelected", 
-function () {
-return this.conservationColourSelected;
-});
-Clazz.defineMethod (c$, "isDisplayReferenceSeq", 
-function () {
-return this.displayReferenceSeq;
-});
-Clazz.defineMethod (c$, "isRenderGaps", 
-function () {
-return this.renderGaps;
-});
-Clazz.defineMethod (c$, "isRightAlignIds", 
-function () {
-return this.rightAlignIds;
-});
-Clazz.defineMethod (c$, "isSeqNameItalics", 
-function () {
-return this.seqNameItalics;
-});
-Clazz.defineMethod (c$, "isShowAnnotation", 
-function () {
-return this.showAnnotation;
-});
-Clazz.defineMethod (c$, "isShowColourText", 
-function () {
-return this.showColourText;
-});
-Clazz.defineMethod (c$, "isShowSequenceFeaturesHeight", 
-function () {
-return this.showSeqFeaturesHeight;
-});
-Clazz.defineMethod (c$, "isShowSequenceFeatures", 
-function () {
-return this.showSequenceFeatures;
-});
-Clazz.overrideMethod (c$, "setAbovePIDThreshold", 
-function (b) {
-this.abovePIDThreshold = b;
-}, "~B");
-Clazz.overrideMethod (c$, "setCharHeight", 
-function (h) {
-this.charHeight = h;
-}, "~N");
-Clazz.overrideMethod (c$, "setCharWidth", 
-function (w) {
-this.charWidth = w;
-}, "~N");
-Clazz.overrideMethod (c$, "setColourAppliesToAllGroups", 
-function (b) {
-this.colourAppliesToAllGroups = b;
-}, "~B");
-Clazz.overrideMethod (c$, "setColourByReferenceSeq", 
-function (colourByReferenceSeq) {
-this.colourByReferenceSeq = colourByReferenceSeq;
-}, "~B");
-Clazz.overrideMethod (c$, "setColourText", 
-function (state) {
-this.showColourText = state;
-}, "~B");
-Clazz.overrideMethod (c$, "setConservationColourSelected", 
-function (conservationColourSelected) {
-this.conservationColourSelected = conservationColourSelected;
-}, "~B");
-Clazz.overrideMethod (c$, "setConservationSelected", 
-function (b) {
-this.conservationColourSelected = b;
-}, "~B");
-Clazz.overrideMethod (c$, "setDisplayReferenceSeq", 
-function (displayReferenceSeq) {
-this.displayReferenceSeq = displayReferenceSeq;
-}, "~B");
-Clazz.overrideMethod (c$, "setIncrement", 
-function (inc) {
-this.increment = inc;
-}, "~N");
-Clazz.overrideMethod (c$, "setRenderGaps", 
-function (state) {
-this.renderGaps = state;
-}, "~B");
-Clazz.overrideMethod (c$, "setRightAlignIds", 
-function (rightAlignIds) {
-this.rightAlignIds = rightAlignIds;
-}, "~B");
-Clazz.overrideMethod (c$, "setScaleAboveWrapped", 
-function (b) {
-this.scaleAboveWrapped = b;
-}, "~B");
-Clazz.overrideMethod (c$, "setScaleLeftWrapped", 
-function (b) {
-this.scaleLeftWrapped = b;
-}, "~B");
-Clazz.overrideMethod (c$, "setScaleRightWrapped", 
-function (b) {
-this.scaleRightWrapped = b;
-}, "~B");
-Clazz.overrideMethod (c$, "setSeqNameItalics", 
-function (italics) {
-this.seqNameItalics = italics;
-}, "~B");
-Clazz.overrideMethod (c$, "setShowAnnotation", 
-function (b) {
-this.showAnnotation = b;
-}, "~B");
-Clazz.overrideMethod (c$, "setShowBoxes", 
-function (state) {
-this.showBoxes = state;
-}, "~B");
-Clazz.overrideMethod (c$, "setShowColourText", 
-function (showColourText) {
-this.showColourText = showColourText;
-}, "~B");
-Clazz.overrideMethod (c$, "setShowHiddenMarkers", 
-function (show) {
-this.showHiddenMarkers = show;
-}, "~B");
-Clazz.overrideMethod (c$, "setShowJVSuffix", 
-function (b) {
-this.showJVSuffix = b;
-}, "~B");
-Clazz.overrideMethod (c$, "setShowSequenceFeaturesHeight", 
-function (selected) {
-this.showSeqFeaturesHeight = selected;
-}, "~B");
-Clazz.overrideMethod (c$, "setShowSequenceFeatures", 
-function (b) {
-this.showSequenceFeatures = b;
-}, "~B");
-Clazz.overrideMethod (c$, "setShowText", 
-function (state) {
-this.showText = state;
-}, "~B");
-Clazz.overrideMethod (c$, "setShowUnconserved", 
-function (showunconserved) {
-this.showUnconserved = showunconserved;
-}, "~B");
-Clazz.overrideMethod (c$, "setTextColour", 
-function (textColour) {
-this.textColour = textColour;
-}, "java.awt.Color");
-Clazz.overrideMethod (c$, "setTextColour2", 
-function (textColour2) {
-this.textColour2 = textColour2;
-}, "java.awt.Color");
-Clazz.overrideMethod (c$, "setThreshold", 
-function (thresh) {
-this.threshold = thresh;
-}, "~N");
-Clazz.overrideMethod (c$, "setThresholdTextColour", 
-function (thresholdTextColour) {
-this.thresholdTextColour = thresholdTextColour;
-}, "~N");
-Clazz.overrideMethod (c$, "setWrapAlignment", 
-function (state) {
-this.wrapAlignment = state;
-}, "~B");
-Clazz.overrideMethod (c$, "setWrappedWidth", 
-function (w) {
-this.wrappedWidth = w;
-}, "~N");
-Clazz.overrideMethod (c$, "sameStyle", 
-function (that) {
-return this.equals (that);
-}, "jalview.api.ViewStyleI");
-Clazz.defineMethod (c$, "getFontName", 
-function () {
-return this.fontName;
-});
-Clazz.defineMethod (c$, "getFontSize", 
-function () {
-return this.fontSize;
-});
-Clazz.defineMethod (c$, "getFontStyle", 
-function () {
-return this.fontStyle;
-});
-Clazz.overrideMethod (c$, "setFontName", 
-function (name) {
-this.fontName = name;
-}, "~S");
-Clazz.overrideMethod (c$, "setFontSize", 
-function (size) {
-this.fontSize = size;
-}, "~N");
-Clazz.overrideMethod (c$, "setFontStyle", 
-function (style) {
-this.fontStyle = style;
-}, "~N");
-Clazz.defineMethod (c$, "getIdWidth", 
-function () {
-return this.idWidth;
-});
-Clazz.overrideMethod (c$, "setIdWidth", 
-function (idWidth) {
-this.idWidth = idWidth;
-}, "~N");
-Clazz.defineMethod (c$, "isCentreColumnLabels", 
-function () {
-return this.centreColumnLabels;
-});
-Clazz.overrideMethod (c$, "setCentreColumnLabels", 
-function (centreColumnLabels) {
-this.centreColumnLabels = centreColumnLabels;
-}, "~B");
-Clazz.defineMethod (c$, "isShowDBRefs", 
-function () {
-return this.showdbrefs;
-});
-Clazz.overrideMethod (c$, "setShowDBRefs", 
-function (showdbrefs) {
-this.showdbrefs = showdbrefs;
-}, "~B");
-Clazz.defineMethod (c$, "isShowNPFeats", 
-function () {
-return this.shownpfeats;
-});
-Clazz.overrideMethod (c$, "setShowNPFeats", 
-function (shownpfeats) {
-this.shownpfeats = shownpfeats;
-}, "~B");
-Clazz.defineMethod (c$, "isScaleProteinAsCdna", 
-function () {
-return this.scaleProteinAsCdna;
-});
-Clazz.overrideMethod (c$, "setScaleProteinAsCdna", 
-function (b) {
-this.scaleProteinAsCdna = b;
-}, "~B");
-});
+Clazz.declarePackage ("jalview.viewmodel.styles");\r
+Clazz.load (["jalview.api.ViewStyleI", "java.awt.Color"], "jalview.viewmodel.styles.ViewStyle", ["java.lang.Boolean"], function () {\r
+c$ = Clazz.decorateAsClass (function () {\r
+this.abovePIDThreshold = false;\r
+this.charHeight = 0;\r
+this.charWidth = 0;\r
+this.idWidth = -1;\r
+this.colourAppliesToAllGroups = false;\r
+this.centreColumnLabels = false;\r
+this.showdbrefs = false;\r
+this.shownpfeats = false;\r
+this.colourByReferenceSeq = false;\r
+this.conservationColourSelected = false;\r
+this.displayReferenceSeq = false;\r
+this.increment = 0;\r
+this.renderGaps = true;\r
+this.rightAlignIds = false;\r
+this.scaleAboveWrapped = false;\r
+this.scaleLeftWrapped = true;\r
+this.scaleRightWrapped = true;\r
+this.seqNameItalics = false;\r
+this.showAnnotation = true;\r
+this.showBoxes = true;\r
+this.showColourText = false;\r
+this.showHiddenMarkers = true;\r
+this.showJVSuffix = true;\r
+this.showSeqFeaturesHeight = false;\r
+this.showSequenceFeatures = false;\r
+this.showText = true;\r
+this.showUnconserved = false;\r
+this.textColour = null;\r
+this.textColour2 = null;\r
+this.threshold = 0;\r
+this.thresholdTextColour = 0;\r
+this.upperCasebold = false;\r
+this.fontName = null;\r
+this.fontSize = 0;\r
+this.scaleProteinAsCdna = true;\r
+this.wrapAlignment = false;\r
+this.wrappedWidth = 0;\r
+this.fontStyle = 0;\r
+Clazz.instantialize (this, arguments);\r
+}, jalview.viewmodel.styles, "ViewStyle", null, jalview.api.ViewStyleI);\r
+Clazz.prepareFields (c$, function () {\r
+this.textColour = java.awt.Color.black;\r
+this.textColour2 = java.awt.Color.white;\r
+});\r
+Clazz.makeConstructor (c$, \r
+function (vs) {\r
+this.setAbovePIDThreshold (vs.getAbovePIDThreshold ());\r
+this.setCentreColumnLabels (vs.isCentreColumnLabels ());\r
+this.setCharHeight (vs.getCharHeight ());\r
+this.setCharWidth (vs.getCharWidth ());\r
+this.setColourAppliesToAllGroups (vs.getColourAppliesToAllGroups ());\r
+this.setColourByReferenceSeq (vs.isColourByReferenceSeq ());\r
+this.setColourText (vs.getColourText ());\r
+this.setConservationColourSelected (vs.isConservationColourSelected ());\r
+this.setConservationSelected (vs.getConservationSelected ());\r
+this.setDisplayReferenceSeq (vs.isDisplayReferenceSeq ());\r
+this.setFontName (vs.getFontName ());\r
+this.setFontSize (vs.getFontSize ());\r
+this.setFontStyle (vs.getFontStyle ());\r
+this.setIdWidth (vs.getIdWidth ());\r
+this.setIncrement (vs.getIncrement ());\r
+this.setRenderGaps (vs.isRenderGaps ());\r
+this.setRightAlignIds (vs.isRightAlignIds ());\r
+this.setScaleAboveWrapped (vs.getScaleAboveWrapped ());\r
+this.setScaleLeftWrapped (vs.getScaleLeftWrapped ());\r
+this.setScaleProteinAsCdna (vs.isScaleProteinAsCdna ());\r
+this.setScaleRightWrapped (vs.getScaleRightWrapped ());\r
+this.setSeqNameItalics (vs.isSeqNameItalics ());\r
+this.setShowAnnotation (vs.isShowAnnotation ());\r
+this.setShowBoxes (vs.getShowBoxes ());\r
+this.setShowColourText (vs.isShowColourText ());\r
+this.setShowDBRefs (vs.isShowDBRefs ());\r
+this.setShowHiddenMarkers (vs.getShowHiddenMarkers ());\r
+this.setShowJVSuffix (vs.getShowJVSuffix ());\r
+this.setShowNPFeats (vs.isShowNPFeats ());\r
+this.setShowSequenceFeaturesHeight (vs.isShowSequenceFeaturesHeight ());\r
+this.setShowSequenceFeatures (vs.isShowSequenceFeatures ());\r
+this.setShowText (vs.getShowText ());\r
+this.setShowUnconserved (vs.getShowUnconserved ());\r
+this.setTextColour (vs.getTextColour ());\r
+this.setTextColour2 (vs.getTextColour2 ());\r
+this.setThreshold (vs.getThreshold ());\r
+this.setThresholdTextColour (vs.getThresholdTextColour ());\r
+this.setUpperCasebold (vs.isUpperCasebold ());\r
+this.setWrapAlignment (vs.getWrapAlignment ());\r
+this.setWrappedWidth (vs.getWrappedWidth ());\r
+}, "jalview.api.ViewStyleI");\r
+Clazz.makeConstructor (c$, \r
+function () {\r
+});\r
+Clazz.overrideMethod (c$, "equals", \r
+function (other) {\r
+if (other == null || !(Clazz.instanceOf (other, jalview.viewmodel.styles.ViewStyle))) {\r
+return false;\r
+}var vs = other;\r
+var match = (this.getAbovePIDThreshold () == vs.getAbovePIDThreshold () && this.isCentreColumnLabels () == vs.isCentreColumnLabels () && this.getCharHeight () == vs.getCharHeight () && this.getCharWidth () == vs.getCharWidth () && this.getColourAppliesToAllGroups () == vs.getColourAppliesToAllGroups () && this.isColourByReferenceSeq () == vs.isColourByReferenceSeq () && this.getColourText () == vs.getColourText () && this.isConservationColourSelected () == vs.isConservationColourSelected () && this.getConservationSelected () == vs.getConservationSelected () && this.isDisplayReferenceSeq () == vs.isDisplayReferenceSeq () && this.getFontSize () == vs.getFontSize () && this.getFontStyle () == vs.getFontStyle () && this.getIdWidth () == vs.getIdWidth () && this.getIncrement () == vs.getIncrement () && this.isRenderGaps () == vs.isRenderGaps () && this.isRightAlignIds () == vs.isRightAlignIds () && this.getScaleAboveWrapped () == vs.getScaleAboveWrapped () && this.getScaleLeftWrapped () == vs.getScaleLeftWrapped () && this.isScaleProteinAsCdna () == vs.isScaleProteinAsCdna () && this.getScaleRightWrapped () == vs.getScaleRightWrapped () && this.isSeqNameItalics () == vs.isSeqNameItalics () && this.isShowAnnotation () == vs.isShowAnnotation () && this.getShowBoxes () == vs.getShowBoxes () && this.isShowColourText () == vs.isShowColourText () && this.isShowDBRefs () == vs.isShowDBRefs () && this.getShowHiddenMarkers () == vs.getShowHiddenMarkers () && this.getShowJVSuffix () == vs.getShowJVSuffix () && this.isShowNPFeats () == vs.isShowNPFeats () && this.isShowSequenceFeaturesHeight () == vs.isShowSequenceFeaturesHeight () && this.isShowSequenceFeatures () == vs.isShowSequenceFeatures () && this.getShowText () == vs.getShowText () && this.getShowUnconserved () == vs.getShowUnconserved () && this.getThreshold () == vs.getThreshold () && this.getThresholdTextColour () == vs.getThresholdTextColour () && this.isUpperCasebold () == vs.isUpperCasebold () && this.getWrapAlignment () == vs.getWrapAlignment () && this.getWrappedWidth () == vs.getWrappedWidth ());\r
+match = match && String.valueOf (this.getFontName ()).equals (String.valueOf (vs.getFontName ()));\r
+match = match && String.valueOf (this.getTextColour ()).equals (String.valueOf (vs.getTextColour ()));\r
+match = match && String.valueOf (this.getTextColour2 ()).equals (String.valueOf (vs.getTextColour2 ()));\r
+return match;\r
+}, "~O");\r
+Clazz.overrideMethod (c$, "hashCode", \r
+function () {\r
+var hash = 0;\r
+var m = 1;\r
+hash += m++ * Boolean.$valueOf (this.abovePIDThreshold).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.centreColumnLabels).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.colourAppliesToAllGroups).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.displayReferenceSeq).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.renderGaps).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.rightAlignIds).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.scaleProteinAsCdna).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.scaleRightWrapped).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.seqNameItalics).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.showAnnotation).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.showBoxes).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.showdbrefs).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.showJVSuffix).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.showSequenceFeatures).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.showUnconserved).hashCode ();\r
+hash += m++ * Boolean.$valueOf (this.wrapAlignment).hashCode ();\r
+hash += m++ * this.charHeight;\r
+hash += m++ * this.charWidth;\r
+hash += m++ * this.fontSize;\r
+hash += m++ * this.fontStyle;\r
+hash += m++ * this.idWidth;\r
+hash += String.valueOf (this.fontName).hashCode ();\r
+return hash;\r
+});\r
+Clazz.defineMethod (c$, "isUpperCasebold", \r
+function () {\r
+return this.upperCasebold;\r
+});\r
+Clazz.overrideMethod (c$, "setUpperCasebold", \r
+function (upperCasebold) {\r
+this.upperCasebold = upperCasebold;\r
+}, "~B");\r
+Clazz.defineMethod (c$, "getAbovePIDThreshold", \r
+function () {\r
+return this.abovePIDThreshold;\r
+});\r
+Clazz.defineMethod (c$, "getCharHeight", \r
+function () {\r
+return this.charHeight;\r
+});\r
+Clazz.defineMethod (c$, "getCharWidth", \r
+function () {\r
+return this.charWidth;\r
+});\r
+Clazz.defineMethod (c$, "getColourAppliesToAllGroups", \r
+function () {\r
+return this.colourAppliesToAllGroups;\r
+});\r
+Clazz.defineMethod (c$, "getColourText", \r
+function () {\r
+return this.showColourText;\r
+});\r
+Clazz.defineMethod (c$, "getConservationSelected", \r
+function () {\r
+return this.conservationColourSelected;\r
+});\r
+Clazz.defineMethod (c$, "getIncrement", \r
+function () {\r
+return this.increment;\r
+});\r
+Clazz.defineMethod (c$, "getScaleAboveWrapped", \r
+function () {\r
+return this.scaleAboveWrapped;\r
+});\r
+Clazz.defineMethod (c$, "getScaleLeftWrapped", \r
+function () {\r
+return this.scaleLeftWrapped;\r
+});\r
+Clazz.defineMethod (c$, "getScaleRightWrapped", \r
+function () {\r
+return this.scaleRightWrapped;\r
+});\r
+Clazz.defineMethod (c$, "getShowBoxes", \r
+function () {\r
+return this.showBoxes;\r
+});\r
+Clazz.defineMethod (c$, "getShowHiddenMarkers", \r
+function () {\r
+return this.showHiddenMarkers;\r
+});\r
+Clazz.defineMethod (c$, "getShowJVSuffix", \r
+function () {\r
+return this.showJVSuffix;\r
+});\r
+Clazz.defineMethod (c$, "getShowText", \r
+function () {\r
+return this.showText;\r
+});\r
+Clazz.defineMethod (c$, "getShowUnconserved", \r
+function () {\r
+return this.showUnconserved;\r
+});\r
+Clazz.defineMethod (c$, "getTextColour", \r
+function () {\r
+return this.textColour;\r
+});\r
+Clazz.defineMethod (c$, "getTextColour2", \r
+function () {\r
+return this.textColour2;\r
+});\r
+Clazz.defineMethod (c$, "getThreshold", \r
+function () {\r
+return this.threshold;\r
+});\r
+Clazz.defineMethod (c$, "getThresholdTextColour", \r
+function () {\r
+return this.thresholdTextColour;\r
+});\r
+Clazz.defineMethod (c$, "getWrapAlignment", \r
+function () {\r
+return this.wrapAlignment;\r
+});\r
+Clazz.defineMethod (c$, "getWrappedWidth", \r
+function () {\r
+return this.wrappedWidth;\r
+});\r
+Clazz.defineMethod (c$, "isColourByReferenceSeq", \r
+function () {\r
+return this.colourByReferenceSeq;\r
+});\r
+Clazz.defineMethod (c$, "isConservationColourSelected", \r
+function () {\r
+return this.conservationColourSelected;\r
+});\r
+Clazz.defineMethod (c$, "isDisplayReferenceSeq", \r
+function () {\r
+return this.displayReferenceSeq;\r
+});\r
+Clazz.defineMethod (c$, "isRenderGaps", \r
+function () {\r
+return this.renderGaps;\r
+});\r
+Clazz.defineMethod (c$, "isRightAlignIds", \r
+function () {\r
+return this.rightAlignIds;\r
+});\r
+Clazz.defineMethod (c$, "isSeqNameItalics", \r
+function () {\r
+return this.seqNameItalics;\r
+});\r
+Clazz.defineMethod (c$, "isShowAnnotation", \r
+function () {\r
+return this.showAnnotation;\r
+});\r
+Clazz.defineMethod (c$, "isShowColourText", \r
+function () {\r
+return this.showColourText;\r
+});\r
+Clazz.defineMethod (c$, "isShowSequenceFeaturesHeight", \r
+function () {\r
+return this.showSeqFeaturesHeight;\r
+});\r
+Clazz.defineMethod (c$, "isShowSequenceFeatures", \r
+function () {\r
+return this.showSequenceFeatures;\r
+});\r
+Clazz.overrideMethod (c$, "setAbovePIDThreshold", \r
+function (b) {\r
+this.abovePIDThreshold = b;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setCharHeight", \r
+function (h) {\r
+this.charHeight = h;\r
+}, "~N");\r
+Clazz.overrideMethod (c$, "setCharWidth", \r
+function (w) {\r
+this.charWidth = w;\r
+}, "~N");\r
+Clazz.overrideMethod (c$, "setColourAppliesToAllGroups", \r
+function (b) {\r
+this.colourAppliesToAllGroups = b;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setColourByReferenceSeq", \r
+function (colourByReferenceSeq) {\r
+this.colourByReferenceSeq = colourByReferenceSeq;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setColourText", \r
+function (state) {\r
+this.showColourText = state;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setConservationColourSelected", \r
+function (conservationColourSelected) {\r
+this.conservationColourSelected = conservationColourSelected;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setConservationSelected", \r
+function (b) {\r
+this.conservationColourSelected = b;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setDisplayReferenceSeq", \r
+function (displayReferenceSeq) {\r
+this.displayReferenceSeq = displayReferenceSeq;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setIncrement", \r
+function (inc) {\r
+this.increment = inc;\r
+}, "~N");\r
+Clazz.overrideMethod (c$, "setRenderGaps", \r
+function (state) {\r
+this.renderGaps = state;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setRightAlignIds", \r
+function (rightAlignIds) {\r
+this.rightAlignIds = rightAlignIds;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setScaleAboveWrapped", \r
+function (b) {\r
+this.scaleAboveWrapped = b;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setScaleLeftWrapped", \r
+function (b) {\r
+this.scaleLeftWrapped = b;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setScaleRightWrapped", \r
+function (b) {\r
+this.scaleRightWrapped = b;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setSeqNameItalics", \r
+function (italics) {\r
+this.seqNameItalics = italics;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setShowAnnotation", \r
+function (b) {\r
+this.showAnnotation = b;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setShowBoxes", \r
+function (state) {\r
+this.showBoxes = state;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setShowColourText", \r
+function (showColourText) {\r
+this.showColourText = showColourText;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setShowHiddenMarkers", \r
+function (show) {\r
+this.showHiddenMarkers = show;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setShowJVSuffix", \r
+function (b) {\r
+this.showJVSuffix = b;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setShowSequenceFeaturesHeight", \r
+function (selected) {\r
+this.showSeqFeaturesHeight = selected;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setShowSequenceFeatures", \r
+function (b) {\r
+this.showSequenceFeatures = b;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setShowText", \r
+function (state) {\r
+this.showText = state;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setShowUnconserved", \r
+function (showunconserved) {\r
+this.showUnconserved = showunconserved;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setTextColour", \r
+function (textColour) {\r
+this.textColour = textColour;\r
+}, "java.awt.Color");\r
+Clazz.overrideMethod (c$, "setTextColour2", \r
+function (textColour2) {\r
+this.textColour2 = textColour2;\r
+}, "java.awt.Color");\r
+Clazz.overrideMethod (c$, "setThreshold", \r
+function (thresh) {\r
+this.threshold = thresh;\r
+}, "~N");\r
+Clazz.overrideMethod (c$, "setThresholdTextColour", \r
+function (thresholdTextColour) {\r
+this.thresholdTextColour = thresholdTextColour;\r
+}, "~N");\r
+Clazz.overrideMethod (c$, "setWrapAlignment", \r
+function (state) {\r
+this.wrapAlignment = state;\r
+}, "~B");\r
+Clazz.overrideMethod (c$, "setWrappedWidth", \r
+function (w) {\r
+this.wrappedWidth = w;\r
+}, "~N");\r
+Clazz.overrideMethod (c$, "sameStyle", \r
+function (that) {\r
+return this.equals (that);\r
+}, "jalview.api.ViewStyleI");\r
+Clazz.defineMethod (c$, "getFontName", \r
+function () {\r
+return this.fontName;\r
+});\r
+Clazz.defineMethod (c$, "getFontSize", \r
+function () {\r
+return this.fontSize;\r
+});\r
+Clazz.defineMethod (c$, "getFontStyle", \r
+function () {\r
+return this.fontStyle;\r
+});\r
+Clazz.overrideMethod (c$, "setFontName", \r
+function (name) {\r
+this.fontName = name;\r
+}, "~S");\r
+Clazz.overrideMethod (c$, "setFontSize", \r
+function (size) {\r
+this.fontSize = size;\r
+}, "~N");\r
+Clazz.overrideMethod (c$, "setFontStyle", \r
+function (style) {\r
+this.fontStyle = style;\r
+}, "~N");\r
+Clazz.defineMethod (c$, "getIdWidth", \r
+function () {\r
+return this.idWidth;\r
+});\r
+Clazz.overrideMethod (c$, "setIdWidth", \r
+function (idWidth) {\r
+this.idWidth = idWidth;\r
+}, "~N");\r
+Clazz.defineMethod (c$, "isCentreColumnLabels", \r
+function () {\r
+return this.centreColumnLabels;\r
+});\r
+Clazz.overrideMethod (c$, "setCentreColumnLabels", \r
+function (centreColumnLabels) {\r
+this.centreColumnLabels = centreColumnLabels;\r
+}, "~B");\r
+Clazz.defineMethod (c$, "isShowDBRefs", \r
+function () {\r
+return this.showdbrefs;\r
+});\r
+Clazz.overrideMethod (c$, "setShowDBRefs", \r
+function (showdbrefs) {\r
+this.showdbrefs = showdbrefs;\r
+}, "~B");\r
+Clazz.defineMethod (c$, "isShowNPFeats", \r
+function () {\r
+return this.shownpfeats;\r
+});\r
+Clazz.overrideMethod (c$, "setShowNPFeats", \r
+function (shownpfeats) {\r
+this.shownpfeats = shownpfeats;\r
+}, "~B");\r
+Clazz.defineMethod (c$, "isScaleProteinAsCdna", \r
+function () {\r
+return this.scaleProteinAsCdna;\r
+});\r
+Clazz.overrideMethod (c$, "setScaleProteinAsCdna", \r
+function (b) {\r
+this.scaleProteinAsCdna = b;\r
+}, "~B");\r
+});\r