OHOS::UIView::OnDragListener

Overview

Related Modules:

Graphic

Description:

Defines a drag event listener. You need to register this listener with the view to listen to drag events.

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name

Description

OnDragStart (UIView &view, const DragEvent &event)

virtual bool 

Called when a view starts to drag.

OnDrag (UIView &view, const DragEvent &event)

virtual bool 

Called when a view is being dragged.

OnDragEnd (UIView &view, const DragEvent &event)

virtual bool 

Called when a view stops dragging.

~OnDragListener ()

virtual 

A destructor used to delete the OnDragListener instance.

operator new (size_t size)

void  

Overrides the new function.

operator delete (void p)

void 

Overrides the delete function.