JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / site / j2s / com / stevesoft / pat / Prop.js
1 Clazz.declarePackage ("com.stevesoft.pat");\r
2 Clazz.load (null, "com.stevesoft.pat.Prop", ["com.stevesoft.pat.Bits"], function () {\r
3 c$ = Clazz.declareType (com.stevesoft.pat, "Prop");\r
4 c$.isDecimalDigit = Clazz.defineMethod (c$, "isDecimalDigit", \r
5 function (c) {\r
6 if (com.stevesoft.pat.Bits.decimal_digit == null) {\r
7 com.stevesoft.pat.Bits.decimal_digit_f ();\r
8 }return com.stevesoft.pat.Bits.decimal_digit.get (c.charCodeAt (0));\r
9 }, "~S");\r
10 c$.isAlphabetic = Clazz.defineMethod (c$, "isAlphabetic", \r
11 function (c) {\r
12 if (com.stevesoft.pat.Bits.letter == null) {\r
13 com.stevesoft.pat.Bits.letter_f ();\r
14 }return com.stevesoft.pat.Bits.letter.get (c.charCodeAt (0));\r
15 }, "~S");\r
16 c$.isMath = Clazz.defineMethod (c$, "isMath", \r
17 function (c) {\r
18 if (com.stevesoft.pat.Bits.math == null) {\r
19 com.stevesoft.pat.Bits.math_f ();\r
20 }return com.stevesoft.pat.Bits.math.get (c.charCodeAt (0));\r
21 }, "~S");\r
22 c$.isCurrency = Clazz.defineMethod (c$, "isCurrency", \r
23 function (c) {\r
24 if (com.stevesoft.pat.Bits.currency == null) {\r
25 com.stevesoft.pat.Bits.currency_f ();\r
26 }return com.stevesoft.pat.Bits.currency.get (c.charCodeAt (0));\r
27 }, "~S");\r
28 c$.isWhite = Clazz.defineMethod (c$, "isWhite", \r
29 function (c) {\r
30 if (com.stevesoft.pat.Bits.white == null) {\r
31 com.stevesoft.pat.Bits.white_f ();\r
32 }return com.stevesoft.pat.Bits.white.get (c.charCodeAt (0));\r
33 }, "~S");\r
34 c$.isPunct = Clazz.defineMethod (c$, "isPunct", \r
35 function (c) {\r
36 if (com.stevesoft.pat.Bits.punct == null) {\r
37 com.stevesoft.pat.Bits.punct_f ();\r
38 }return com.stevesoft.pat.Bits.punct.get (c.charCodeAt (0));\r
39 }, "~S");\r
40 });\r