litesoft
Diff Revisions
2
vs
23
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/nonpublic/external/MouseDragHandler.java
|
@@ -63,6 +63,7 @@ |
63 |
63 |
|
m_dragGesture = dragGesture; |
64 |
64 |
|
} |
65 |
65 |
|
|
|
66 |
+ |
@Override |
66 |
67 |
|
public void onMouseDown( MouseEvent e ) |
67 |
68 |
|
{ |
68 |
69 |
|
DOM.eventCancelBubble( e.getDomEvent(), true ); |
|
@@ -76,6 +77,7 @@ |
76 |
77 |
|
} |
77 |
78 |
|
} |
78 |
79 |
|
|
|
80 |
+ |
@Override |
79 |
81 |
|
public void onMouseMove( MouseEvent e ) |
80 |
82 |
|
{ |
81 |
83 |
|
if ( m_mouseDown != null ) |
|
@@ -85,6 +87,7 @@ |
85 |
87 |
|
} |
86 |
88 |
|
} |
87 |
89 |
|
|
|
90 |
+ |
@Override |
88 |
91 |
|
public void onMouseUp( MouseEvent e ) |
89 |
92 |
|
{ |
90 |
93 |
|
// it is possible to get a mouse up without a mouse down |
|
@@ -117,11 +120,13 @@ |
117 |
120 |
|
|
118 |
121 |
|
protected static class MouseDragHandlerImplIE6 extends MouseDragHandlerImpl |
119 |
122 |
|
{ |
|
123 |
+ |
@Override |
120 |
124 |
|
public native void onMouseDown( Event event ) /*-{ |
121 |
125 |
|
$doc.body.onselectstart = function() { return false; }; |
122 |
126 |
|
$doc.body.ondragstart = function() { return false; }; |
123 |
127 |
|
}-*/; |
124 |
128 |
|
|
|
129 |
+ |
@Override |
125 |
130 |
|
public native void onMouseUp( Event event ) /*-{ |
126 |
131 |
|
$doc.body.onselectstart = null; |
127 |
132 |
|
$doc.body.ondragstart = null; |