OLD | NEW |
1 | 1 |
2 class SVGTextContentElementJs extends SVGElementJs implements SVGTextContentElem
ent native "*SVGTextContentElement" { | 2 class _SVGTextContentElementJs extends _SVGElementJs implements SVGTextContentEl
ement native "*SVGTextContentElement" { |
3 | 3 |
4 static final int LENGTHADJUST_SPACING = 1; | 4 static final int LENGTHADJUST_SPACING = 1; |
5 | 5 |
6 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2; | 6 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2; |
7 | 7 |
8 static final int LENGTHADJUST_UNKNOWN = 0; | 8 static final int LENGTHADJUST_UNKNOWN = 0; |
9 | 9 |
10 SVGAnimatedEnumerationJs get lengthAdjust() native "return this.lengthAdjust;"
; | 10 _SVGAnimatedEnumerationJs get lengthAdjust() native "return this.lengthAdjust;
"; |
11 | 11 |
12 SVGAnimatedLengthJs get textLength() native "return this.textLength;"; | 12 _SVGAnimatedLengthJs get textLength() native "return this.textLength;"; |
13 | 13 |
14 int getCharNumAtPosition(SVGPointJs point) native; | 14 int getCharNumAtPosition(_SVGPointJs point) native; |
15 | 15 |
16 num getComputedTextLength() native; | 16 num getComputedTextLength() native; |
17 | 17 |
18 SVGPointJs getEndPositionOfChar(int offset) native; | 18 _SVGPointJs getEndPositionOfChar(int offset) native; |
19 | 19 |
20 SVGRectJs getExtentOfChar(int offset) native; | 20 _SVGRectJs getExtentOfChar(int offset) native; |
21 | 21 |
22 int getNumberOfChars() native; | 22 int getNumberOfChars() native; |
23 | 23 |
24 num getRotationOfChar(int offset) native; | 24 num getRotationOfChar(int offset) native; |
25 | 25 |
26 SVGPointJs getStartPositionOfChar(int offset) native; | 26 _SVGPointJs getStartPositionOfChar(int offset) native; |
27 | 27 |
28 num getSubStringLength(int offset, int length) native; | 28 num getSubStringLength(int offset, int length) native; |
29 | 29 |
30 void selectSubString(int offset, int length) native; | 30 void selectSubString(int offset, int length) native; |
31 | 31 |
32 // From SVGTests | 32 // From SVGTests |
33 | 33 |
34 SVGStringListJs get requiredExtensions() native "return this.requiredExtension
s;"; | 34 _SVGStringListJs get requiredExtensions() native "return this.requiredExtensio
ns;"; |
35 | 35 |
36 SVGStringListJs get requiredFeatures() native "return this.requiredFeatures;"; | 36 _SVGStringListJs get requiredFeatures() native "return this.requiredFeatures;"
; |
37 | 37 |
38 SVGStringListJs get systemLanguage() native "return this.systemLanguage;"; | 38 _SVGStringListJs get systemLanguage() native "return this.systemLanguage;"; |
39 | 39 |
40 bool hasExtension(String extension) native; | 40 bool hasExtension(String extension) native; |
41 | 41 |
42 // From SVGLangSpace | 42 // From SVGLangSpace |
43 | 43 |
44 String get xmllang() native "return this.xmllang;"; | 44 String get xmllang() native "return this.xmllang;"; |
45 | 45 |
46 void set xmllang(String value) native "this.xmllang = value;"; | 46 void set xmllang(String value) native "this.xmllang = value;"; |
47 | 47 |
48 String get xmlspace() native "return this.xmlspace;"; | 48 String get xmlspace() native "return this.xmlspace;"; |
49 | 49 |
50 void set xmlspace(String value) native "this.xmlspace = value;"; | 50 void set xmlspace(String value) native "this.xmlspace = value;"; |
51 | 51 |
52 // From SVGExternalResourcesRequired | 52 // From SVGExternalResourcesRequired |
53 | 53 |
54 SVGAnimatedBooleanJs get externalResourcesRequired() native "return this.exter
nalResourcesRequired;"; | 54 _SVGAnimatedBooleanJs get externalResourcesRequired() native "return this.exte
rnalResourcesRequired;"; |
55 | 55 |
56 // From SVGStylable | 56 // From SVGStylable |
57 | 57 |
58 SVGAnimatedStringJs get className() native "return this.className;"; | 58 _SVGAnimatedStringJs get className() native "return this.className;"; |
59 | 59 |
60 CSSStyleDeclarationJs get style() native "return this.style;"; | 60 _CSSStyleDeclarationJs get style() native "return this.style;"; |
61 | 61 |
62 CSSValueJs getPresentationAttribute(String name) native; | 62 _CSSValueJs getPresentationAttribute(String name) native; |
63 } | 63 } |
OLD | NEW |