Package org.eclipse.swt.dnd
Class TableDropTargetEffect
java.lang.Object
org.eclipse.swt.dnd.DropTargetAdapter
org.eclipse.swt.dnd.DropTargetEffect
org.eclipse.swt.dnd.TableDropTargetEffect
- All Implemented Interfaces:
- EventListener,- DropTargetListener,- SWTEventListener
This class provides a default drag under effect (eg. select, insert and scroll)
 when a drag occurs over a 
Table.
 Classes that wish to provide their own drag under effect for a Table
 can extend the TableDropTargetEffect and override any applicable methods
 in TableDropTargetEffect to display their own drag under effect.
super method to get the default drag under effect implementation.
 The feedback value is either one of the FEEDBACK constants defined in
 class DND which is applicable to instances of this class,
 or it must be built by bitwise OR'ing together
 (that is, using the int "|" operator) two or more
 of those DND effect constants.
 
- Feedback:
- FEEDBACK_SELECT, FEEDBACK_SCROLL
- Since:
- 3.3
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionTableDropTargetEffect(Table table) Creates a newTableDropTargetEffectto handle the drag under effect on the specifiedTable.
- 
Method SummaryModifier and TypeMethodDescriptionvoiddragEnter(DropTargetEvent event) This implementation ofdragEnterprovides a default drag under effect for the feedback specified inevent.feedback.voiddragLeave(DropTargetEvent event) This implementation ofdragLeaveprovides a default drag under effect for the feedback specified inevent.feedback.voiddragOver(DropTargetEvent event) This implementation ofdragOverprovides a default drag under effect for the feedback specified inevent.feedback.Methods inherited from class org.eclipse.swt.dnd.DropTargetEffectgetControl, getItemMethods inherited from class org.eclipse.swt.dnd.DropTargetAdapterdragOperationChanged, drop, dropAccept
- 
Constructor Details- 
TableDropTargetEffectCreates a newTableDropTargetEffectto handle the drag under effect on the specifiedTable.- Parameters:
- table- the- Tableover which the user positions the cursor to drop the data
 
 
- 
- 
Method Details- 
dragEnterThis implementation ofdragEnterprovides a default drag under effect for the feedback specified inevent.feedback. For additional information seeDropTargetAdapter.dragEnter. Subclasses that override this method should callsuper.dragEnter(event)to get the default drag under effect implementation.- Specified by:
- dragEnterin interface- DropTargetListener
- Overrides:
- dragEnterin class- DropTargetAdapter
- Parameters:
- event- the information associated with the drag enter event
- See Also:
 
- 
dragLeaveThis implementation ofdragLeaveprovides a default drag under effect for the feedback specified inevent.feedback. For additional information seeDropTargetAdapter.dragLeave. Subclasses that override this method should callsuper.dragLeave(event)to get the default drag under effect implementation.- Specified by:
- dragLeavein interface- DropTargetListener
- Overrides:
- dragLeavein class- DropTargetAdapter
- Parameters:
- event- the information associated with the drag leave event
- See Also:
 
- 
dragOverThis implementation ofdragOverprovides a default drag under effect for the feedback specified inevent.feedback. The class description lists the FEEDBACK constants that are applicable to the class. For additional information seeDropTargetAdapter.dragOver. Subclasses that override this method should callsuper.dragOver(event)to get the default drag under effect implementation.- Specified by:
- dragOverin interface- DropTargetListener
- Overrides:
- dragOverin class- DropTargetAdapter
- Parameters:
- event- the information associated with the drag over event
- See Also:
 
 
-