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

JavaTM 2 Platform
Standard Edition

Uses of Class
java.awt.dnd.DragSource

Packages that use DragSource
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 DragSource in java.awt
 

Methods in java.awt with parameters of type DragSource
 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 DragSource in java.awt.dnd
 

Fields in java.awt.dnd declared as DragSource
protected  DragSource DragGestureRecognizer.dragSource
          The DragSource associated with this DragGestureRecognizer.
 

Methods in java.awt.dnd that return DragSource
static DragSource DragSource.getDefaultDragSource()
          This method returns the DragSource object associated with the underlying platform.
 DragSource DragGestureEvent.getDragSource()
          This method returns the DragSource.
 DragSource DragGestureRecognizer.getDragSource()
          This method returns the DragSource this DragGestureRecognizer will use in order to process the Drag and Drop operation.
 DragSource DragSourceContext.getDragSource()
          This method returns the DragSource that instantiated this DragSourceContext.
 

Constructors in java.awt.dnd with parameters of type DragSource
DragGestureRecognizer.DragGestureRecognizer(DragSource ds, Component c, int sa, DragGestureListener dgl)
          Construct a new DragGestureRecognizer given the DragSource to be used in this Drag and Drop operation, the Component this DragGestureRecognizer should "observe" for drag initiating gestures, the action(s) supported for this Drag and Drop operation, and the DragGestureListener to notify once a drag initiating gesture has been detected.
DragGestureRecognizer.DragGestureRecognizer(DragSource ds, Component c, int sa)
          Construct a new DragGestureRecognizer given the DragSource to be used in this Drag and Drop operation, the Component this DragGestureRecognizer should "observe" for drag initiating gestures, and the action(s) supported for this Drag and Drop operation.
DragGestureRecognizer.DragGestureRecognizer(DragSource ds, Component c)
          Construct a new DragGestureRecognizer given the DragSource to be used in this Drag and Drop operation, and the Component this DragGestureRecognizer should "observe" for drag initiating gestures.
DragGestureRecognizer.DragGestureRecognizer(DragSource ds)
          Construct a new DragGestureRecognizer given the DragSource to be used in this Drag and Drop operation.
MouseDragGestureRecognizer.MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl)
          Construct a new MouseDragGestureRecognizer given the DragSource for the Component c, the Component to observe, the action(s) permitted for this drag operation, and the DragGestureListener to notify when a drag gesture is detected.
MouseDragGestureRecognizer.MouseDragGestureRecognizer(DragSource ds, Component c, int act)
          Construct a new MouseDragGestureRecognizer given the DragSource for the Component c, the Component to observe, and the action(s) permitted for this drag operation.
MouseDragGestureRecognizer.MouseDragGestureRecognizer(DragSource ds, Component c)
          Construct a new MouseDragGestureRecognizer given the DragSource for the Component c, and the Component to observe.
MouseDragGestureRecognizer.MouseDragGestureRecognizer(DragSource ds)
          Construct a new MouseDragGestureRecognizer given the DragSource for the Component.
 


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.