|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swt.dnd.DropTargetAdapter
public class DropTargetAdapter
This adapter class provides default implementations for the
methods described by the DropTargetListener
interface.
Classes that wish to deal with DropTargetEvent
s can
extend this class and override only the methods which they are
interested in.
DropTargetListener
,
DropTargetEvent
Constructor Summary | |
---|---|
DropTargetAdapter()
|
Method Summary | |
---|---|
void |
dragEnter(DropTargetEvent event)
This implementation of dragEnter permits the default
operation defined in event.detail to be performed on the current data type
defined in event.currentDataType . |
void |
dragLeave(DropTargetEvent event)
This implementation of dragLeave does nothing. |
void |
dragOperationChanged(DropTargetEvent event)
This implementation of dragOperationChanged permits the default
operation defined in event.detail to be performed on the current data type
defined in event.currentDataType . |
void |
dragOver(DropTargetEvent event)
This implementation of dragOver permits the default
operation defined in event.detail to be performed on the current data type
defined in event.currentDataType . |
void |
drop(DropTargetEvent event)
This implementation of drop does nothing. |
void |
dropAccept(DropTargetEvent event)
This implementation of dropAccept permits the default
operation defined in event.detail to be performed on the current data type
defined in event.currentDataType . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DropTargetAdapter()
Method Detail |
---|
public void dragEnter(DropTargetEvent event)
dragEnter
permits the default
operation defined in event.detail
to be performed on the current data type
defined in event.currentDataType
.
For additional information see DropTargetListener.dragEnter
.
dragEnter
in interface DropTargetListener
event
- the information associated with the drag enter eventDropTargetEvent
public void dragLeave(DropTargetEvent event)
dragLeave
does nothing.
For additional information see DropTargetListener.dragOperationChanged
.
dragLeave
in interface DropTargetListener
event
- the information associated with the drag leave eventDropTargetEvent
public void dragOperationChanged(DropTargetEvent event)
dragOperationChanged
permits the default
operation defined in event.detail
to be performed on the current data type
defined in event.currentDataType
.
For additional information see DropTargetListener.dragOperationChanged
.
dragOperationChanged
in interface DropTargetListener
event
- the information associated with the drag operation changed eventDropTargetEvent
public void dragOver(DropTargetEvent event)
dragOver
permits the default
operation defined in event.detail
to be performed on the current data type
defined in event.currentDataType
.
For additional information see DropTargetListener.dragOver
.
dragOver
in interface DropTargetListener
event
- the information associated with the drag over eventDropTargetEvent
public void drop(DropTargetEvent event)
drop
does nothing.
For additional information see DropTargetListener.drop
.
drop
in interface DropTargetListener
event
- the information associated with the drop eventDropTargetEvent
public void dropAccept(DropTargetEvent event)
dropAccept
permits the default
operation defined in event.detail
to be performed on the current data type
defined in event.currentDataType
.
For additional information see DropTargetListener.dropAccept
.
dropAccept
in interface DropTargetListener
event
- the information associated with the drop accept eventDropTargetEvent
|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) EclipseSource and others 2002, 2013. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0