|
Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
java.awt.dnd.DropTargetEvent
public class DropTargetEvent extends EventObject
The DropTargetEvent is the base
class for both the DropTargetDragEvent
and the DropTargetDropEvent.
It encapsulates the current state of the Drag and
Drop operations, in particular the current
DropTargetContext.
| Modifier and Type | Field and Description |
|---|---|
protected DropTargetContext |
context
The DropTargetContext associated with this
DropTargetEvent. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor and Description |
|---|
DropTargetEvent(DropTargetContext dtc)
Construct a DropTargetEvent object with
the specified DropTargetContext. |
| Modifier and Type | Method and Description |
|---|---|
DropTargetContext |
getDropTargetContext()
This method returns the DropTargetContext
associated with this DropTargetEvent. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected DropTargetContext context
DropTargetContext associated with this
DropTargetEvent.
| Constructor Detail |
|---|
public DropTargetEvent(DropTargetContext dtc)
DropTargetEvent object with
the specified DropTargetContext.
dtc - The DropTargetContextNullPointerException - if dtc equals null.EventObject.getSource(),
getDropTargetContext()| Method Detail |
|---|
public DropTargetContext getDropTargetContext()
DropTargetContext
associated with this DropTargetEvent.
DropTargetContext
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.