Add support for Drag and Type operation for the JavaOnly implementation

Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>