com.visioglobe.libVisioDevKit
Class VgSimpleGestureManipulator
java.lang.Object
com.visioglobe.libVisioDevKit.VgManipulator
com.visioglobe.libVisioDevKit.VgSimpleGestureManipulator
public class VgSimpleGestureManipulator
- extends VgManipulator
Handles simple gestures.
It is a convinience class to allow developers to write their own gesture handling.
This manipulator will notify its listener when simple gestures happens.
Developers can override only the method they require in VgISimpleGestureManipulatorListener.
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VgSimpleGestureManipulator
public VgSimpleGestureManipulator(long cPtr,
boolean cMemoryOwn)
getCPtr
public static long getCPtr(VgSimpleGestureManipulator obj)
finalize
protected void finalize()
- Overrides:
finalize
in class VgManipulator
delete
public void delete()
- Overrides:
delete
in class VgManipulator
setListener
public void setListener(VgISimpleGestureManipulatorListenerRefPtr pListener)
- Sets the listener to simple gestures.
It is notified once a simple gesture is recognized.
- Parameters:
pListener
- Simple gestures listener. Pass NULL to remove the current Listener.- Remark:
- The listener won't be deleted in ~VgSimpleGestureManipulator(). The caller is responsible of its deletion.
getType
public java.lang.String getType()
- Overrides:
getType
in class VgManipulator
- Returns:
- The type identifer of the VgSimpleGestureManipulator class.