Kanzi  3.9.5
Java API
LongPressManipulatorMetadata Interface Reference

Metadata definitions for LongPressManipulator. More...

Inheritance diagram for LongPressManipulatorMetadata:
[legend]

Classes

class  LongPressCancelMessageArguments
 Metadata definitions for LongPressCancelMessageArguments. More...
 
class  LongPressMessageArguments
 Metadata definitions for LongPressMessageArguments. More...
 

Public Attributes

DynamicMessageType< LongPressManipulatorMetadata.LongPressCancelMessageArguments > LongPressCancelMessage
 Occurs during the long-press gesture when the user moves the focus away from a hit-testable node with a Long-Press Manipulator. More...
 
DynamicMessageType< LongPressManipulatorMetadata.LongPressMessageArguments > LongPressMessage
 Occurs when the user presses a hit-testable node with a Long-Press Manipulator and holds the press for the time that you set in the Long-Press Manipulator. More...
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.LongPressManipulator")
 Metaclass for LongPressManipulator.
 
- Public Attributes inherited from InputManipulatorMetadata
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.InputManipulator")
 Metaclass for InputManipulator.
 

Detailed Description

Metadata definitions for LongPressManipulator.

Member Data Documentation

◆ LongPressCancelMessage

DynamicMessageType<LongPressManipulatorMetadata.LongPressCancelMessageArguments> LongPressCancelMessage
Initial value:
= new DynamicMessageType<>("Message.LongPressCancel",
LongPressManipulatorMetadata.LongPressCancelMessageArguments.class)

Occurs during the long-press gesture when the user moves the focus away from a hit-testable node with a Long-Press Manipulator.

You cannot use this trigger with nodes that handle input by default, such as Button and Toggle Button nodes.

◆ LongPressMessage

DynamicMessageType<LongPressManipulatorMetadata.LongPressMessageArguments> LongPressMessage
Initial value:
=
new DynamicMessageType<>(
"Message.LongPress", LongPressManipulatorMetadata.LongPressMessageArguments.class)

Occurs when the user presses a hit-testable node with a Long-Press Manipulator and holds the press for the time that you set in the Long-Press Manipulator.

You cannot use this trigger with nodes that handle input by default, such as Button and Toggle Button nodes.