diff options
author | Roman Kennke <roman@kennke.org> | 2006-10-30 14:36:23 +0000 |
---|---|---|
committer | Roman Kennke <roman@kennke.org> | 2006-10-30 14:36:23 +0000 |
commit | 44af93e90fc76ad7965ddb46a3b5509d06247664 (patch) | |
tree | aa1aae873f3983a0fa5d6cdd9f0301910caf7d4a /java | |
parent | 4af69589c3a5df10efd0d614eac0e8ec8624b804 (diff) | |
download | classpath-44af93e90fc76ad7965ddb46a3b5509d06247664.tar.gz |
2006-10-30 Roman Kennke <kennke@aicas.com>
* java/awt/dnd/DragGestureRecognizer.java
(resetRecognizer): Added API docs. Do not replace the events object
but rather clear() it. Removed not implemented tag.
Diffstat (limited to 'java')
-rw-r--r-- | java/awt/dnd/DragGestureRecognizer.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/java/awt/dnd/DragGestureRecognizer.java b/java/awt/dnd/DragGestureRecognizer.java index 2327a5ee1..212c5fa8d 100644 --- a/java/awt/dnd/DragGestureRecognizer.java +++ b/java/awt/dnd/DragGestureRecognizer.java @@ -38,8 +38,6 @@ exception statement from your version. */ package java.awt.dnd; -import gnu.classpath.NotImplementedException; - import java.awt.Component; import java.awt.Point; import java.awt.event.InputEvent; @@ -127,11 +125,12 @@ public abstract class DragGestureRecognizer implements Serializable return events.size() > 0 ? (InputEvent) events.get(0) : null; } + /** + * Resets the recognizer. If a gesture is currently recognize, discard it. + */ public void resetRecognizer() - throws NotImplementedException { - events = new ArrayList(); - // FIXME: Not implemented fully. + events.clear(); } /** |