OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 class _CSSStyleDeclarationWrappingImplementation extends DOMWrapperBase implemen
ts CSSStyleDeclaration { | |
8 _CSSStyleDeclarationWrappingImplementation() : super() {} | |
9 | |
10 static create__CSSStyleDeclarationWrappingImplementation() native { | |
11 return new _CSSStyleDeclarationWrappingImplementation(); | |
12 } | |
13 | |
14 String get cssText() { return _get_cssText(this); } | |
15 static String _get_cssText(var _this) native; | |
16 | |
17 void set cssText(String value) { _set_cssText(this, value); } | |
18 static void _set_cssText(var _this, String value) native; | |
19 | |
20 int get length() { return _get_length(this); } | |
21 static int _get_length(var _this) native; | |
22 | |
23 CSSRule get parentRule() { return _get_parentRule(this); } | |
24 static CSSRule _get_parentRule(var _this) native; | |
25 | |
26 CSSValue getPropertyCSSValue(String propertyName) { | |
27 return _getPropertyCSSValue(this, propertyName); | |
28 } | |
29 static CSSValue _getPropertyCSSValue(receiver, propertyName) native; | |
30 | |
31 String getPropertyPriority(String propertyName) { | |
32 return _getPropertyPriority(this, propertyName); | |
33 } | |
34 static String _getPropertyPriority(receiver, propertyName) native; | |
35 | |
36 String getPropertyShorthand(String propertyName) { | |
37 return _getPropertyShorthand(this, propertyName); | |
38 } | |
39 static String _getPropertyShorthand(receiver, propertyName) native; | |
40 | |
41 String getPropertyValue(String propertyName) { | |
42 return _getPropertyValue(this, propertyName); | |
43 } | |
44 static String _getPropertyValue(receiver, propertyName) native; | |
45 | |
46 bool isPropertyImplicit(String propertyName) { | |
47 return _isPropertyImplicit(this, propertyName); | |
48 } | |
49 static bool _isPropertyImplicit(receiver, propertyName) native; | |
50 | |
51 String item(int index) { | |
52 return _item(this, index); | |
53 } | |
54 static String _item(receiver, index) native; | |
55 | |
56 String removeProperty(String propertyName) { | |
57 return _removeProperty(this, propertyName); | |
58 } | |
59 static String _removeProperty(receiver, propertyName) native; | |
60 | |
61 void setProperty(String propertyName, String value, [String priority = null])
{ | |
62 _setProperty(this, propertyName, value, priority); | |
63 return; | |
64 } | |
65 static void _setProperty(receiver, propertyName, value, priority) native; | |
66 | |
67 String get typeName() { return "CSSStyleDeclaration"; } | |
68 } | |
OLD | NEW |