com.esri.arcgis.controls
Class IEngineInkEnvironmentEventsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.controls.IEngineInkEnvironmentEventsProxy
All Implemented Interfaces:
IEngineInkEnvironmentEvents, Externalizable, Serializable, EventListener

public class IEngineInkEnvironmentEventsProxy
extends com.esri.arcgis.interop.Dispatch
implements IEngineInkEnvironmentEvents, Serializable

Provides access to ink-related events.

Description

The IEngineInkEnvironmentEvents outbound interface is used to listen to Tablet events.

Note that OnGesture is supported on the Windows XP Tablet PC Edition only.

Product Availability

Available with ArcGIS Engine.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IEngineInkEnvironmentEventsProxy()
           
  IEngineInkEnvironmentEventsProxy(Object obj)
           
protected IEngineInkEnvironmentEventsProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void onGesture(IEngineInkEnvironmentEventsOnGestureEvent theEvent)
          Occurs when an ink gesture is made.
 void onStart(IEngineInkEnvironmentEventsOnStartEvent theEvent)
          Occurs when an ink collection is started.
 void onStop(IEngineInkEnvironmentEventsOnStopEvent theEvent)
          Occurs when an ink collection is halted.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IEngineInkEnvironmentEventsProxy

public IEngineInkEnvironmentEventsProxy()

IEngineInkEnvironmentEventsProxy

public IEngineInkEnvironmentEventsProxy(Object obj)
                                 throws IOException
Throws:
IOException

IEngineInkEnvironmentEventsProxy

protected IEngineInkEnvironmentEventsProxy(Object obj,
                                           String iid)
                                    throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

onGesture

public void onGesture(IEngineInkEnvironmentEventsOnGestureEvent theEvent)
               throws IOException,
                      AutomationException
Occurs when an ink gesture is made. Only available on TabletPC devices.

Description

Fired when an ink stroke is recognized as a gesture. The Ink tool uses ETPC_DownLeft to create graphic elements, ETPC_RightUp to recognize ink and create a text element, and ETPC_Scratchout to erase ink strokes. The ink tools can be extended by listening to OnGesture and responding to other gesture types that are exposed in ESRITPCGestures.

Note OnGesture is supported on the Windows XP Tablet PC Edition only.

Product Availability

Available with ArcGIS Engine.

Specified by:
onGesture in interface IEngineInkEnvironmentEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStart

public void onStart(IEngineInkEnvironmentEventsOnStartEvent theEvent)
             throws IOException,
                    AutomationException
Occurs when an ink collection is started.

Description

Fired when ink collection starts.

Product Availability

Available with ArcGIS Engine.

Specified by:
onStart in interface IEngineInkEnvironmentEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStop

public void onStop(IEngineInkEnvironmentEventsOnStopEvent theEvent)
            throws IOException,
                   AutomationException
Occurs when an ink collection is halted.

Description

Fired when ink collection stops.

Product Availability

Available with ArcGIS Engine.

Specified by:
onStop in interface IEngineInkEnvironmentEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.