OHOS::UIView::OnClickListener

Overview

Related Modules:

Graphic

Description:

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

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name

Description

OnClick (UIView &view, const ClickEvent &event)

virtual bool 

Called when a view is clicked.

~OnClickListener ()

virtual 

A destructor used to delete the OnClickListener instance.

operator new (size_t size)

void  

Overrides the new function.

operator delete (void p)

void 

Overrides the delete function.