站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.awt.dnd.DragGestureRecognizer - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
java.awt.dnd.DragGestureRecognizer

Packages that use DragGestureRecognizer
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. 
 

Uses of DragGestureRecognizer in java.awt
 

Methods in java.awt that return DragGestureRecognizer
 DragGestureRecognizer Toolkit.createDragGestureRecognizer(Class abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)
          create a concrete, platform dependent, subclass of the abstract DragGestureRecognizer class requested, and associate it with the DragSource, Component and DragGestureListener specified subclasses should override this to provide their own implementation
 

Uses of DragGestureRecognizer in java.awt.dnd
 

Subclasses of DragGestureRecognizer in java.awt.dnd
 class MouseDragGestureRecognizer
          This abstract subclass of DragGestureRecognizer defines a DragGestureRecognizer for mouse based gestures.
 

Methods in java.awt.dnd that return DragGestureRecognizer
 DragGestureRecognizer DragSource.createDragGestureRecognizer(Class recognizerAbstractClass, Component c, int actions, DragGestureListener dgl)
          Creates a new DragGestureRecognizer that implements the specified abstract subclass of DragGestureRecognizer, and sets the specified Component and DragGestureListener on the newly created object.
 DragGestureRecognizer DragSource.createDefaultDragGestureRecognizer(Component c, int actions, DragGestureListener dgl)
          Creates a new DragSourceRecognizer that implements the default abstract subclass of DragGestureRecognizer for this DragSource, and sets the specified Component and DragGestureListener on the newly created object.
 DragGestureRecognizer DragGestureEvent.getSourceAsDragGestureRecognizer()
          This method returns the source as a DragGestureRecognizer.
 

Constructors in java.awt.dnd with parameters of type DragGestureRecognizer
DragGestureEvent.DragGestureEvent(DragGestureRecognizer dgr, int act, Point ori, List evs)
          Construct a DragGestureEvent given the DragGestureRecognizer firing this event, an int representing the user's preferred action, a Point indicating the origin of the drag, and a List of events that comprise the gesture.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.