Kanzi  3.9.5
Java API
PanManipulatorComponentMetadata Interface Reference

Metadata definitions for PanManipulatorComponent. More...

Inheritance diagram for PanManipulatorComponentMetadata:
[legend]

Public Attributes

DynamicPropertyType< Integer > MaximumTouchPointsProperty
 Sets the maximum number of touches allowed on the node area for the installed pan manipulator to recognize the pan gesture and to set off the Pan Started trigger. More...
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.PanManipulatorComponent")
 Metaclass for PanManipulatorComponent.
 
DynamicPropertyType< Integer > MinimumTouchPointsProperty
 Sets the minimum number of touches required on the node area for the installed pan manipulator to recognize the pan gesture and to set off the Pan Started trigger. More...
 
DynamicPropertyType< Vector2RecognitionThresholdProperty
 Sets the threshold in pixels on the horizontal and vertical axis that the finger must move before Kanzi recognizes it as a pan gesture. More...
 
DynamicPropertyType< Integer > RoutingModeProperty
 Routing mode determines when the input manipulator recognizes input events: More...
 
- Public Attributes inherited from NodeComponentMetadata
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.NodeComponent")
 Metaclass for NodeComponent.
 
DynamicPropertyType< String > NameProperty
 Name. More...
 

Detailed Description

Member Data Documentation

◆ MaximumTouchPointsProperty

DynamicPropertyType<Integer> MaximumTouchPointsProperty
Initial value:
=
new DynamicPropertyType<>("PanManipulatorComponent.MaximumTouchPoints", Integer.class)

Sets the maximum number of touches allowed on the node area for the installed pan manipulator to recognize the pan gesture and to set off the Pan Started trigger.

The default value is 10. The value cannot be lower than the value of the Minimum Touch Points property.

◆ MinimumTouchPointsProperty

DynamicPropertyType<Integer> MinimumTouchPointsProperty
Initial value:
=
new DynamicPropertyType<>("PanManipulatorComponent.MinimumTouchPoints", Integer.class)

Sets the minimum number of touches required on the node area for the installed pan manipulator to recognize the pan gesture and to set off the Pan Started trigger.

The default value is 1.

◆ RecognitionThresholdProperty

DynamicPropertyType<Vector2> RecognitionThresholdProperty
Initial value:
=
new DynamicPropertyType<>("PanManipulatorComponent.RecognitionThreshold", Vector2.class)

Sets the threshold in pixels on the horizontal and vertical axis that the finger must move before Kanzi recognizes it as a pan gesture.

The default value is 5 pixels on both axes. To disable the pan gesture along either axis, set the threshold on that axis to -1.

◆ RoutingModeProperty

DynamicPropertyType<Integer> RoutingModeProperty
Initial value:
=
new DynamicPropertyType<>("PanManipulatorComponent.RoutingMode", Integer.class)

Routing mode determines when the input manipulator recognizes input events:

  • Bubbling: The installed manipulator recognizes input events that are traversing from the hit test node or the focus node to the root node.
  • Tunneling: The installed manipulator recognizes input events that are traversing from the root node to the hit test node or to the focus node.