public class TableDragSource<E> extends Object implements DragSource<Table<E>,E>, ReflowScheduler<TableDragSource<E>>, MouseDownHandler<Table<E>>, MouseMoveHandler<Table<E>>, MouseUpHandler<Table<E>>, TouchStartHandler<Table<E>>, TouchMoveHandler<Table<E>>, TouchEndHandler<Table<E>>, TouchCancelHandler<Table<E>>
Constructor and Description |
---|
TableDragSource(AllowDrag<E> allowDrag) |
TableDragSource(AllowDrag<E> allowDrag,
Getter<E,String> getter) |
Modifier and Type | Method and Description |
---|---|
void |
attach(Table<E> source) |
void |
detach() |
Table<E> |
getSource() |
boolean |
isDraggable(E draggable) |
void |
onMouseDown(MouseDownEvent<Table<E>> event) |
void |
onMouseMove(MouseMoveEvent<Table<E>> event) |
void |
onMouseUp(MouseUpEvent<Table<E>> event) |
void |
onTouchCancel(TouchCancelEvent<Table<E>> event) |
void |
onTouchEnd(TouchEndEvent<Table<E>> event) |
void |
onTouchMove(TouchMoveEvent<Table<E>> event) |
void |
onTouchStart(TouchStartEvent<Table<E>> event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelMeasure, cancelMutation, measureAsSoonAsPossible, mutateAsSoonAsPossible, mutateAsSoonAsPossible, scheduleMeasure, scheduleMutation
public void detach()
detach
in interface DragSource<Table<E>,E>
public boolean isDraggable(E draggable)
isDraggable
in interface DragSource<Table<E>,E>
public void onMouseDown(MouseDownEvent<Table<E>> event)
onMouseDown
in interface MouseDownHandler<Table<E>>
public void onMouseMove(MouseMoveEvent<Table<E>> event)
onMouseMove
in interface MouseMoveHandler<Table<E>>
public void onMouseUp(MouseUpEvent<Table<E>> event)
onMouseUp
in interface MouseUpHandler<Table<E>>
public void onTouchCancel(TouchCancelEvent<Table<E>> event)
onTouchCancel
in interface TouchCancelHandler<Table<E>>
public void onTouchEnd(TouchEndEvent<Table<E>> event)
onTouchEnd
in interface TouchEndHandler<Table<E>>
public void onTouchMove(TouchMoveEvent<Table<E>> event)
onTouchMove
in interface TouchMoveHandler<Table<E>>
public void onTouchStart(TouchStartEvent<Table<E>> event)
onTouchStart
in interface TouchStartHandler<Table<E>>
Copyright © 2018 Xalys. All rights reserved.