X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjalview%2Fviewmodel%2Fstyles%2FViewStyle.js;h=8ec10fa7d7e856e2fe1b116e250770899360b296;hp=f41fe5dd518d3a3456c3d958a29f37e4a0f96130;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=8ffd05b3abe52c0b6b79b011c0966361f82d5fe6 diff --git a/site/j2s/jalview/viewmodel/styles/ViewStyle.js b/site/j2s/jalview/viewmodel/styles/ViewStyle.js index f41fe5d..8ec10fa 100644 --- a/site/j2s/jalview/viewmodel/styles/ViewStyle.js +++ b/site/j2s/jalview/viewmodel/styles/ViewStyle.js @@ -1,457 +1,457 @@ -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"); +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"); +});