OLD | NEW |
(Empty) | |
| 1 |
| 2 class _MouseEventImpl extends _UIEventImpl implements MouseEvent { |
| 3 _MouseEventImpl._wrap(ptr) : super._wrap(ptr); |
| 4 |
| 5 bool get altKey() => _wrap(_ptr.altKey); |
| 6 |
| 7 int get button() => _wrap(_ptr.button); |
| 8 |
| 9 int get clientX() => _wrap(_ptr.clientX); |
| 10 |
| 11 int get clientY() => _wrap(_ptr.clientY); |
| 12 |
| 13 bool get ctrlKey() => _wrap(_ptr.ctrlKey); |
| 14 |
| 15 Clipboard get dataTransfer() => _wrap(_ptr.dataTransfer); |
| 16 |
| 17 Node get fromElement() => _wrap(_ptr.fromElement); |
| 18 |
| 19 bool get metaKey() => _wrap(_ptr.metaKey); |
| 20 |
| 21 int get offsetX() => _wrap(_ptr.offsetX); |
| 22 |
| 23 int get offsetY() => _wrap(_ptr.offsetY); |
| 24 |
| 25 EventTarget get relatedTarget() => _FixHtmlDocumentReference(_wrap(_ptr.relate
dTarget)); |
| 26 |
| 27 int get screenX() => _wrap(_ptr.screenX); |
| 28 |
| 29 int get screenY() => _wrap(_ptr.screenY); |
| 30 |
| 31 bool get shiftKey() => _wrap(_ptr.shiftKey); |
| 32 |
| 33 Node get toElement() => _wrap(_ptr.toElement); |
| 34 |
| 35 int get x() => _wrap(_ptr.x); |
| 36 |
| 37 int get y() => _wrap(_ptr.y); |
| 38 |
| 39 void _initMouseEvent(String type, bool canBubble, bool cancelable, Window view
, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey,
bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarget)
{ |
| 40 _ptr.initMouseEvent(_unwrap(type), _unwrap(canBubble), _unwrap(cancelable),
_unwrap(view), _unwrap(detail), _unwrap(screenX), _unwrap(screenY), _unwrap(clie
ntX), _unwrap(clientY), _unwrap(ctrlKey), _unwrap(altKey), _unwrap(shiftKey), _u
nwrap(metaKey), _unwrap(button), _unwrap(relatedTarget)); |
| 41 return; |
| 42 } |
| 43 } |
OLD | NEW |