com.esri.arcgis.controls
Class IARControlEventsProxy

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

public class IARControlEventsProxy
extends com.esri.arcgis.interop.Dispatch
implements IARControlEvents, Serializable

Provides access to events that occur with interaction to the control.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  IARControlEventsProxy()
           
  IARControlEventsProxy(Object obj)
           
protected IARControlEventsProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void onAction(IARControlEventsOnActionEvent theEvent)
          Fires when an action takes place.
 void onAfterScreenDraw(IARControlEventsOnAfterScreenDrawEvent theEvent)
          Fires after the current map or page layout view redraws.
 void onBeforeScreenDraw(IARControlEventsOnBeforeScreenDrawEvent theEvent)
          Fires before the current map or page layout view redraws.
 void onCurrentViewChanged(IARControlEventsOnCurrentViewChangedEvent theEvent)
          Fires when the current view type is changed.
 void onDocumentLoaded(IARControlEventsOnDocumentLoadedEvent theEvent)
          Fires when a document is loaded into the control.
 void onDocumentUnloaded(IARControlEventsOnDocumentUnloadedEvent theEvent)
          Fires when a document is unloaded from the control.
 void onDoubleClick(IARControlEventsOnDoubleClickEvent theEvent)
          Fires when the user presses and releases any mouse button twice in quick succession, while over the current map or page layout view.
 void onFocusARMapChanged(IARControlEventsOnFocusARMapChangedEvent theEvent)
          Fires when the current focus map is changed to a new map.
 void onKeyDown(IARControlEventsOnKeyDownEvent theEvent)
          Fires after a key is pressed on the keyboard whilst the current map or page layout view has focus.
 void onKeyUp(IARControlEventsOnKeyUpEvent theEvent)
          Fires after a pressed key is released on the keyboard whilst the current map or page layout view has focus.
 void onMouseDown(IARControlEventsOnMouseDownEvent theEvent)
          Fires when the user presses any mouse button while over the current map or page layout view.
 void onMouseMove(IARControlEventsOnMouseMoveEvent theEvent)
          Fires when the user moves the mouse pointer over the current map or page layout view.
 void onMouseUp(IARControlEventsOnMouseUpEvent theEvent)
          Fires when the user releases any mouse button while over the current map or page layout view.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void writeExternal(ObjectOutput out)
           
 
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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IARControlEventsProxy

public IARControlEventsProxy()

IARControlEventsProxy

public IARControlEventsProxy(Object obj)
                      throws IOException
Throws:
IOException

IARControlEventsProxy

protected IARControlEventsProxy(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

onMouseDown

public void onMouseDown(IARControlEventsOnMouseDownEvent theEvent)
                 throws IOException,
                        AutomationException
Fires when the user presses any mouse button while over the current map or page layout view.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

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

onBeforeScreenDraw

public void onBeforeScreenDraw(IARControlEventsOnBeforeScreenDrawEvent theEvent)
                        throws IOException,
                               AutomationException
Fires before the current map or page layout view redraws.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

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

onAfterScreenDraw

public void onAfterScreenDraw(IARControlEventsOnAfterScreenDrawEvent theEvent)
                       throws IOException,
                              AutomationException
Fires after the current map or page layout view redraws.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

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

onDocumentLoaded

public void onDocumentLoaded(IARControlEventsOnDocumentLoadedEvent theEvent)
                      throws IOException,
                             AutomationException
Fires when a document is loaded into the control.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

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

onDocumentUnloaded

public void onDocumentUnloaded(IARControlEventsOnDocumentUnloadedEvent theEvent)
                        throws IOException,
                               AutomationException
Fires when a document is unloaded from the control.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

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

onFocusARMapChanged

public void onFocusARMapChanged(IARControlEventsOnFocusARMapChangedEvent theEvent)
                         throws IOException,
                                AutomationException
Fires when the current focus map is changed to a new map.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

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

onCurrentViewChanged

public void onCurrentViewChanged(IARControlEventsOnCurrentViewChangedEvent theEvent)
                          throws IOException,
                                 AutomationException
Fires when the current view type is changed.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

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

onMouseUp

public void onMouseUp(IARControlEventsOnMouseUpEvent theEvent)
               throws IOException,
                      AutomationException
Fires when the user releases any mouse button while over the current map or page layout view.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

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

onMouseMove

public void onMouseMove(IARControlEventsOnMouseMoveEvent theEvent)
                 throws IOException,
                        AutomationException
Fires when the user moves the mouse pointer over the current map or page layout view.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

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

onDoubleClick

public void onDoubleClick(IARControlEventsOnDoubleClickEvent theEvent)
                   throws IOException,
                          AutomationException
Fires when the user presses and releases any mouse button twice in quick succession, while over the current map or page layout view.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

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

onKeyDown

public void onKeyDown(IARControlEventsOnKeyDownEvent theEvent)
               throws IOException,
                      AutomationException
Fires after a key is pressed on the keyboard whilst the current map or page layout view has focus.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

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

onKeyUp

public void onKeyUp(IARControlEventsOnKeyUpEvent theEvent)
             throws IOException,
                    AutomationException
Fires after a pressed key is released on the keyboard whilst the current map or page layout view has focus.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

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

onAction

public void onAction(IARControlEventsOnActionEvent theEvent)
              throws IOException,
                     AutomationException
Fires when an action takes place.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

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

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException