鸿蒙OS Component.DragFeedbackProvider
Component.DragFeedbackProvider
java.lang.Object
|---ohos.agp.components.Component.DragFeedbackProvider
public static class Component.DragFeedbackProvider
extends Object
提供系统在拖放操作期间显示的图像(称为“拖动阴影”)。
开始拖动时传递一个 DragFeedbackProvider 对象对应的组件。
构造函数摘要
| 构造函数 | 描述 |
|---|---|
| DragFeedbackProvider(Component component) | 创建系统在拖放操作期间显示的图像(称为“拖动阴影”)。 |
方法总结
| 修饰符和类型 | 方法 | 描述 |
|---|---|---|
| Component | getComponent() | 返回 DragFeedbackProvider 的组件。 |
| 从类 java.lang.Object 继承的方法 |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造函数详细信息
DragFeedbackProvider
public DragFeedbackProvider(Component component)
创建系统在拖放操作期间显示的图像(称为“拖动阴影”)。
参数:
| 参数名称 | 参数描述 |
|---|---|
| component | 阴影 |
方法详情
getComponent
public final Component getComponent()
返回 DragFeedbackProvider 的组件。
返回:
Component