X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=bin%2Fjalview%2Fviewmodel%2Fannotationfilter%2FAnnotationFilterParameter.js;h=5fd34a4de26dedbf78ccd931fbdf3aa4c8ebf1a1;hp=7daaad4a029a5ddcc390ce6c2adaf44fbdae3252;hb=8ffd05b3abe52c0b6b79b011c0966361f82d5fe6;hpb=6154cb57a6eac3bb1344b8342495f5bb701ee921 diff --git a/bin/jalview/viewmodel/annotationfilter/AnnotationFilterParameter.js b/bin/jalview/viewmodel/annotationfilter/AnnotationFilterParameter.js index 7daaad4..5fd34a4 100644 --- a/bin/jalview/viewmodel/annotationfilter/AnnotationFilterParameter.js +++ b/bin/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 (); -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 (); -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 (); +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 (); +c$ = Clazz.declareType (jalview.viewmodel.annotationfilter.AnnotationFilterParameter, "SearchableAnnotationField", Enum); +Clazz.defineEnumConstant (c$, "DISPLAY_STRING", 0, []); +Clazz.defineEnumConstant (c$, "DESCRIPTION", 1, []); +c$ = Clazz.p0p (); +});