The STJS bridge to HammerJS gives you access to this great library using a Java syntax.
new Hammer(cell).on(
"touchstart touchend touchcancel touchleave touchmove dragstart drag dragstop",
ev -> {
if (!that.isDragAllowed()) {
ev.stopPropagation();
return false;
}
return true;
}
);