Kanzi 3.9.10
LongPressManipulator Class Reference

Long-press input manipulator recognizes the long-press gesture from the incoming touch events. More...

Inheritance diagram for LongPressManipulator:
[legend]

Static Public Member Functions

static ObjectRef< LongPressManipulatorcreate (Domain domain, String anonymous)
 

Static Public Attributes

static final Metaclass metaclass
 The Metaclass for the class.
 
- Static Public Attributes inherited from InputManipulator
static final Metaclass metaclass
 The Metaclass for the class.
 
- Static Public Attributes inherited from KanziObject
static final Metaclass metaclass = new AbstractMetaclass("Kanzi.Object")
 The Metaclass for the class.
 

Additional Inherited Members

- Public Member Functions inherited from KanziObject
boolean equals (Object object)
 
Domain getDomain ()
 Returns the domain the object belongs to.
 
Metaclass getDynamicMetaclass ()
 Returns the metaclass of the dynamic type of the object.
 
long getNative ()
 Gets a pointer to the backing C++ instance.
 
TDataType getOptionalProperty (PropertyType< TDataType > propertyType)
 Returns the current value of a property type, but does not use the default value if there are no inputs to the property value.
 
TDataType getProperty (PropertyType< TDataType > propertyType)
 Returns the current value of a property type.
 
int hashCode ()
 
boolean hasValue (PropertyType< TDataType > propertyType)
 Evaluates whether there are any inputs into the property value.
 
boolean isStale ()
 Test if the object is stale i.e.
 
void removeLocalValue (PropertyType< TDataType > propertyType)
 Removes the local value associated with the property.
 
void setProperty (PropertyType< TDataType > propertyType, TDataType value)
 Sets the local value of a property type.
 
ObjectRef< TTypetryCreateObjectRef (Class< TType > clazz)
 Tries to create an owning ObjectRef instance to this KanziObject.
 
- Public Attributes inherited from InputManipulatorMetadata
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.InputManipulator")
 Metaclass for InputManipulator.
 
- Public Attributes inherited from LongPressManipulatorMetadata
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.
 
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.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.LongPressManipulator")
 Metaclass for LongPressManipulator.
 

Detailed Description

Long-press input manipulator recognizes the long-press gesture from the incoming touch events.

It generates the required messages to implement logic for nodes that react to the long-press gesture. For example, use the long-press input manipulator to open a context menu.

Member Data Documentation

◆ metaclass

final Metaclass metaclass
static
Initial value:
=
com.rightware.kanzi.metadata.LongPressManipulatorMetadata.metaclass

The Metaclass for the class.