com.visioglobe.libVisioDevKit
Class VgSimpleGestureManipulator

java.lang.Object
  extended by com.visioglobe.libVisioDevKit.VgManipulator
      extended by 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.


Field Summary
 
Fields inherited from class com.visioglobe.libVisioDevKit.VgManipulator
swigCMemOwn
 
Constructor Summary
VgSimpleGestureManipulator(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 void delete()
           
protected  void finalize()
           
static long getCPtr(VgSimpleGestureManipulator obj)
           
 java.lang.String getType()
           
 void setListener(VgISimpleGestureManipulatorListenerRefPtr pListener)
          Sets the listener to simple gestures.
 
Methods inherited from class com.visioglobe.libVisioDevKit.VgManipulator
getCPtr
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VgSimpleGestureManipulator

public VgSimpleGestureManipulator(long cPtr,
                                  boolean cMemoryOwn)
Method Detail

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.

VisioDevKit 2.0, Visioglobe® 2013