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.
DropTargetAdapter, DropTargetEvent, Sample code and further information
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv long | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public | TableDropTargetEffect(Table
the table)Table over which the user positions the cursor to drop the dataCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| public void | dragEnter(DropTargetEvent
the information associated with the drag enter event event)Overrides org. Implements org. dragEnter provides a default drag under effect
for the feedback specified in event.feedback.
|
| public void | dragLeave(DropTargetEvent
the information associated with the drag leave event event)Overrides org. Implements org. dragLeave provides a default drag under effect
for the feedback specified in event.feedback.
|
| public void | dragOver(DropTargetEvent
the information associated with the drag over event event)Overrides org. Implements org. dragOver provides a default drag under effect
for the feedback specified in event.feedback.
|
| SCROLL_HYSTERESIS | back to summary |
|---|---|
| pack-priv static final int SCROLL_HYSTERESIS | |
| scrollBeginTime | back to summary |
|---|---|
| pack-priv long scrollBeginTime | |
| scrollIndex | back to summary |
|---|---|
| pack-priv int scrollIndex | |
| TableDropTargetEffect | back to summary |
|---|---|
| public TableDropTargetEffect(Table table) Creates a new
| |
| checkEffect | back to summary |
|---|---|
| pack-priv int checkEffect(int effect) | |
| dragEnter | back to summary |
|---|---|
| public void dragEnter(DropTargetEvent event) Overrides org. Implements org. This implementation of
| |
| dragLeave | back to summary |
|---|---|
| public void dragLeave(DropTargetEvent event) Overrides org. Implements org. This implementation of
| |
| dragOver | back to summary |
|---|---|
| public void dragOver(DropTargetEvent event) Overrides org. Implements org. This implementation of
| |