java.lang.Object
|---ohos.multimodalinput.event.MultimodalEvent
|---|---ohos.multimodalinput.event.RotationEvent
public abstract class RotationEvent
extends MultimodalEvent
定义由旋转组件生成的事件,例如智能手表上的数字表冠。
Since:
3
从接口 ohos.utils.Sequenceable 继承的嵌套类/接口 |
---|
Sequenceable.ProducerT |
从类 ohos.multimodalinput.event.MultimodalEvent 继承的字段 |
---|
BUILTIN_KEY, DEFAULT_TYPE, highLevelEvent, KEYBOARD, MOUSE, ROTATION, SPEECH, STYLUS, TOUCH_PANEL, UNSUPPORTED_DEVICE, uuid |
构造函数 | 描述 |
---|---|
RotationEvent() |
修饰符和类型 | 方法 | 描述 |
---|---|---|
abstract float | getRotationValue() | 获取旋转组件生成的旋转值。 |
从类 ohos.multimodalinput.event.MultimodalEvent 继承的方法 |
---|
getDeviceId, getInputDeviceId, getOccurredTime, getSourceDevice, getUuid, isSameEvent, marshalling, unmarshalling |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
从接口 ohos.utils.Sequenceable 继承的方法 |
---|
hasFileDescriptor |
public RotationEvent()
public abstract float getRotationValue()
获取旋转组件生成的旋转值。
值定义可能因组件而异。 例如,一些组件的这个值可能表示旋转的角度,而其他组件的这个值可能表示已经旋转的圈数。
返回:
返回生成的旋转值。
Since:
3
FileFilter@FunctionalInterfacepublic interface FileFilter抽象路径名的过滤器。此接口的实例可以传递给 File 类的 File#listF...
BufferedInputStreamjava.lang.Object |---java.io.InputStream |---|---java.io.FilterInputStream |---|---|---java.io.Buffer...
Consolejava.lang.Object |---java.io.Consolepublic final class Consoleextends Objectimplements Flushable访问与当前 Java ...
StringReaderjava.lang.Object |---java.io.Reader |---|---java.io.StringReaderpublic class StringReaderextends Reader源为...
InvalidObjectExceptionjava.lang.Object |---java.lang.Throwable |---|---java.lang.Exception |---|---|---java.io.IOExcepti...