ui_view.h

Overview

Related Modules:

Graphic

Description:

Declares the base class of a view, providing basic view attributes and operations. All views are derived from this class.

Since:

1.0

Version:

1.0

Summary

Data Structures

Data Structure Name

Description

OHOS::UIView

Defines the base class of a view, providing basic view attributes and operations. All views are derived from this class.

OHOS::UIView::OnClickListener

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

OHOS::UIView::OnLongPressListener

Defines a long-press event listener. You need to register this listener with the view to listen to long-press events.

OHOS::UIView::OnDragListener

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

OHOS::UIView::OnTouchListener

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