private class UiWidgetAdapterGwtTableColumn.ReorderHandler extends AbstractDragAndDropHandler
| Modifier and Type | Field and Description |
|---|---|
private static String |
DATA_FORMAT
The data format used to store the drag information in DND events.
|
| Constructor and Description |
|---|
ReorderHandler()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isActive()
This method can be overridden for dynamic activation of this handler.
|
void |
onDragEnd(com.google.gwt.event.dom.client.DragEndEvent event) |
void |
onDragOver(com.google.gwt.event.dom.client.DragOverEvent event)
ATTENTION: This method is invoked on the listener registered on the widget that is currently under the dragged item and NOT on the widget that is actually dragged around. |
void |
onDrop(com.google.gwt.event.dom.client.DropEvent event) |
private void |
updateDragOver(AbstractUiWidgetTableColumn<?,?,?> dragOverColumn,
boolean addStyle)
Updates the style of the given
dragOverColumn. |
getWidget, onDragStart, registerprivate static final String DATA_FORMAT
protected boolean isActive()
isActive in class AbstractDragAndDropHandlertrue if this handler is active, false if it is inactive (ignores all
events and does nothing).public void onDrop(com.google.gwt.event.dom.client.DropEvent event)
onDrop in interface com.google.gwt.event.dom.client.DropHandleronDrop in class AbstractDragAndDropHandlerpublic void onDragOver(com.google.gwt.event.dom.client.DragOverEvent event)
onDragOver in interface com.google.gwt.event.dom.client.DragOverHandleronDragOver in class AbstractDragAndDropHandlerprivate void updateDragOver(AbstractUiWidgetTableColumn<?,?,?> dragOverColumn, boolean addStyle)
dragOverColumn.dragOverColumn - is the AbstractUiWidgetTableColumn that is dragged over and shall be
updated.addStyle - - true to add drag over style, false to remove.public void onDragEnd(com.google.gwt.event.dom.client.DragEndEvent event)
Copyright © 2001–2016 mmm-Team. All rights reserved.