JAL-1807
[jalview.git] / site / j2s / com / stevesoft / pat / UniValidator.js
diff --git a/site/j2s/com/stevesoft/pat/UniValidator.js b/site/j2s/com/stevesoft/pat/UniValidator.js
new file mode 100644 (file)
index 0000000..18aa516
--- /dev/null
@@ -0,0 +1,12 @@
+Clazz.declarePackage ("com.stevesoft.pat");
+Clazz.load (["com.stevesoft.pat.Validator"], "com.stevesoft.pat.UniValidator", ["com.stevesoft.pat.patInt"], function () {
+c$ = Clazz.declareType (com.stevesoft.pat, "UniValidator", com.stevesoft.pat.Validator);
+Clazz.overrideMethod (c$, "minChars", 
+function () {
+return  new com.stevesoft.pat.patInt (1);
+});
+Clazz.overrideMethod (c$, "maxChars", 
+function () {
+return  new com.stevesoft.pat.patInt (1);
+});
+});