X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjalview%2Fviewmodel%2Fannotationfilter%2FAnnotationFilterParameter.js;h=038c2aaa8612e4b74b89d721eb76ad8b954806da;hp=59bf74e3326863f4dc46fb617b71d8d18dbb6da5;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=8ffd05b3abe52c0b6b79b011c0966361f82d5fe6 diff --git a/site/j2s/jalview/viewmodel/annotationfilter/AnnotationFilterParameter.js b/site/j2s/jalview/viewmodel/annotationfilter/AnnotationFilterParameter.js index 59bf74e..038c2aa 100644 --- a/site/j2s/jalview/viewmodel/annotationfilter/AnnotationFilterParameter.js +++ b/site/j2s/jalview/viewmodel/annotationfilter/AnnotationFilterParameter.js @@ -1,83 +1,83 @@ -Clazz.declarePackage ("jalview.viewmodel.annotationfilter"); -Clazz.load (["java.lang.Enum", "java.util.ArrayList"], "jalview.viewmodel.annotationfilter.AnnotationFilterParameter", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.thresholdType = null; -this.thresholdValue = 0; -this.filterAlphaHelix = false; -this.filterBetaSheet = false; -this.filterTurn = false; -this.regexString = null; -this.regexSearchFields = null; -Clazz.instantialize (this, arguments); -}, jalview.viewmodel.annotationfilter, "AnnotationFilterParameter"); -Clazz.prepareFields (c$, function () { -this.regexSearchFields = new java.util.ArrayList (); -}); -Clazz.defineMethod (c$, "getThresholdType", -function () { -return this.thresholdType; -}); -Clazz.defineMethod (c$, "setThresholdType", -function (thresholdType) { -this.thresholdType = thresholdType; -}, "jalview.viewmodel.annotationfilter.AnnotationFilterParameter.ThresholdType"); -Clazz.defineMethod (c$, "getThresholdValue", -function () { -return this.thresholdValue; -}); -Clazz.defineMethod (c$, "setThresholdValue", -function (thresholdValue) { -this.thresholdValue = thresholdValue; -}, "~N"); -Clazz.defineMethod (c$, "getRegexString", -function () { -return this.regexString; -}); -Clazz.defineMethod (c$, "setRegexString", -function (regexString) { -this.regexString = regexString; -}, "~S"); -Clazz.defineMethod (c$, "getRegexSearchFields", -function () { -return this.regexSearchFields; -}); -Clazz.defineMethod (c$, "addRegexSearchField", -function (regexSearchField) { -this.regexSearchFields.add (regexSearchField); -}, "jalview.viewmodel.annotationfilter.AnnotationFilterParameter.SearchableAnnotationField"); -Clazz.defineMethod (c$, "isFilterAlphaHelix", -function () { -return this.filterAlphaHelix; -}); -Clazz.defineMethod (c$, "setFilterAlphaHelix", -function (alphaHelix) { -this.filterAlphaHelix = alphaHelix; -}, "~B"); -Clazz.defineMethod (c$, "isFilterBetaSheet", -function () { -return this.filterBetaSheet; -}); -Clazz.defineMethod (c$, "setFilterBetaSheet", -function (betaSheet) { -this.filterBetaSheet = betaSheet; -}, "~B"); -Clazz.defineMethod (c$, "isFilterTurn", -function () { -return this.filterTurn; -}); -Clazz.defineMethod (c$, "setFilterTurn", -function (turn) { -this.filterTurn = turn; -}, "~B"); -Clazz.pu$h(self.c$); -c$ = Clazz.declareType (jalview.viewmodel.annotationfilter.AnnotationFilterParameter, "ThresholdType", Enum); -Clazz.defineEnumConstant (c$, "NO_THRESHOLD", 0, []); -Clazz.defineEnumConstant (c$, "BELOW_THRESHOLD", 1, []); -Clazz.defineEnumConstant (c$, "ABOVE_THRESHOLD", 2, []); -c$ = Clazz.p0p (); -Clazz.pu$h(self.c$); -c$ = Clazz.declareType (jalview.viewmodel.annotationfilter.AnnotationFilterParameter, "SearchableAnnotationField", Enum); -Clazz.defineEnumConstant (c$, "DISPLAY_STRING", 0, []); -Clazz.defineEnumConstant (c$, "DESCRIPTION", 1, []); -c$ = Clazz.p0p (); -}); +Clazz.declarePackage ("jalview.viewmodel.annotationfilter"); +Clazz.load (["java.lang.Enum", "java.util.ArrayList"], "jalview.viewmodel.annotationfilter.AnnotationFilterParameter", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.thresholdType = null; +this.thresholdValue = 0; +this.filterAlphaHelix = false; +this.filterBetaSheet = false; +this.filterTurn = false; +this.regexString = null; +this.regexSearchFields = null; +Clazz.instantialize (this, arguments); +}, jalview.viewmodel.annotationfilter, "AnnotationFilterParameter"); +Clazz.prepareFields (c$, function () { +this.regexSearchFields = new java.util.ArrayList (); +}); +Clazz.defineMethod (c$, "getThresholdType", +function () { +return this.thresholdType; +}); +Clazz.defineMethod (c$, "setThresholdType", +function (thresholdType) { +this.thresholdType = thresholdType; +}, "jalview.viewmodel.annotationfilter.AnnotationFilterParameter.ThresholdType"); +Clazz.defineMethod (c$, "getThresholdValue", +function () { +return this.thresholdValue; +}); +Clazz.defineMethod (c$, "setThresholdValue", +function (thresholdValue) { +this.thresholdValue = thresholdValue; +}, "~N"); +Clazz.defineMethod (c$, "getRegexString", +function () { +return this.regexString; +}); +Clazz.defineMethod (c$, "setRegexString", +function (regexString) { +this.regexString = regexString; +}, "~S"); +Clazz.defineMethod (c$, "getRegexSearchFields", +function () { +return this.regexSearchFields; +}); +Clazz.defineMethod (c$, "addRegexSearchField", +function (regexSearchField) { +this.regexSearchFields.add (regexSearchField); +}, "jalview.viewmodel.annotationfilter.AnnotationFilterParameter.SearchableAnnotationField"); +Clazz.defineMethod (c$, "isFilterAlphaHelix", +function () { +return this.filterAlphaHelix; +}); +Clazz.defineMethod (c$, "setFilterAlphaHelix", +function (alphaHelix) { +this.filterAlphaHelix = alphaHelix; +}, "~B"); +Clazz.defineMethod (c$, "isFilterBetaSheet", +function () { +return this.filterBetaSheet; +}); +Clazz.defineMethod (c$, "setFilterBetaSheet", +function (betaSheet) { +this.filterBetaSheet = betaSheet; +}, "~B"); +Clazz.defineMethod (c$, "isFilterTurn", +function () { +return this.filterTurn; +}); +Clazz.defineMethod (c$, "setFilterTurn", +function (turn) { +this.filterTurn = turn; +}, "~B"); +Clazz.pu$h(self.c$); +c$ = Clazz.declareType (jalview.viewmodel.annotationfilter.AnnotationFilterParameter, "ThresholdType", Enum); +Clazz.defineEnumConstant (c$, "NO_THRESHOLD", 0, []); +Clazz.defineEnumConstant (c$, "BELOW_THRESHOLD", 1, []); +Clazz.defineEnumConstant (c$, "ABOVE_THRESHOLD", 2, []); +c$ = Clazz.p0p (); +Clazz.pu$h(self.c$); +c$ = Clazz.declareType (jalview.viewmodel.annotationfilter.AnnotationFilterParameter, "SearchableAnnotationField", Enum); +Clazz.defineEnumConstant (c$, "DISPLAY_STRING", 0, []); +Clazz.defineEnumConstant (c$, "DESCRIPTION", 1, []); +c$ = Clazz.p0p (); +});