com.esri.arcgis.schematic
Class INgProjectToolProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.schematic.INgProjectToolProxy
All Implemented Interfaces:
INgProjectTool, Externalizable, Serializable

public class INgProjectToolProxy
extends com.esri.arcgis.interop.Dispatch
implements INgProjectTool, Serializable

Provides access to members that control the graphic project tool.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
INgProject, Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  INgProjectToolProxy()
           
  INgProjectToolProxy(Object obj)
           
protected INgProjectToolProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void dblClick(INgView view, int button, int shift, int xScreen, int yScreen, int xWindow, int yWindow, double xUser, double yUser)
          Occurs when a mouse button is double clicked when the project tool is active.
 boolean isSpatialEnvironment()
          Indicates if the event occured in ArcMap.
 void keyDown(INgView view, int keyCode, int shift)
          Occurs when a key on the keyboard is pressed when the project tool is active.
 void keyUp(INgView view, int keyCode, int shift)
          Occurs when a key on the keyboard is released when the project tool is active.
 void mouseDown(INgView view, int button, int shift, int xScreen, int yScreen, int xWindow, int yWindow, double xUser, double yUser)
          Occurs when a mouse button is pressed when the project tool is active.
 void mouseMove(INgView view, int button, int shift, int xScreen, int yScreen, int xWindow, int yWindow, double xUser, double yUser)
          Occurs when the mouse is moved when the project tool is active.
 void mouseUp(INgView view, int button, int shift, int xScreen, int yScreen, int xWindow, int yWindow, double xUser, double yUser)
          Occurs when a mouse button is released when the project tool is active.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void setSpatialEnvironment(boolean pVal)
          Indicates if the event occured in ArcMap.
 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

INgProjectToolProxy

public INgProjectToolProxy()

INgProjectToolProxy

public INgProjectToolProxy(Object obj)
                    throws IOException
Throws:
IOException

INgProjectToolProxy

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

mouseDown

public void mouseDown(INgView view,
                      int button,
                      int shift,
                      int xScreen,
                      int yScreen,
                      int xWindow,
                      int yWindow,
                      double xUser,
                      double yUser)
               throws IOException,
                      AutomationException
Occurs when a mouse button is pressed when the project tool is active.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
mouseDown in interface INgProjectTool
Parameters:
view - A reference to a com.esri.arcgis.schematic.INgView (in)
button - The button (in)
shift - The shift (in)
xScreen - The xScreen (in)
yScreen - The yScreen (in)
xWindow - The xWindow (in)
yWindow - The yWindow (in)
xUser - The xUser (in)
yUser - The yUser (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgProjectTool.mouseUp(com.esri.arcgis.schematic.INgView, int, int, int, int, int, int, double, double), INgProjectTool.mouseMove(com.esri.arcgis.schematic.INgView, int, int, int, int, int, int, double, double)

mouseMove

public void mouseMove(INgView view,
                      int button,
                      int shift,
                      int xScreen,
                      int yScreen,
                      int xWindow,
                      int yWindow,
                      double xUser,
                      double yUser)
               throws IOException,
                      AutomationException
Occurs when the mouse is moved when the project tool is active.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
mouseMove in interface INgProjectTool
Parameters:
view - A reference to a com.esri.arcgis.schematic.INgView (in)
button - The button (in)
shift - The shift (in)
xScreen - The xScreen (in)
yScreen - The yScreen (in)
xWindow - The xWindow (in)
yWindow - The yWindow (in)
xUser - The xUser (in)
yUser - The yUser (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgProjectTool.mouseDown(com.esri.arcgis.schematic.INgView, int, int, int, int, int, int, double, double), INgProjectTool.mouseUp(com.esri.arcgis.schematic.INgView, int, int, int, int, int, int, double, double)

mouseUp

public void mouseUp(INgView view,
                    int button,
                    int shift,
                    int xScreen,
                    int yScreen,
                    int xWindow,
                    int yWindow,
                    double xUser,
                    double yUser)
             throws IOException,
                    AutomationException
Occurs when a mouse button is released when the project tool is active.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
mouseUp in interface INgProjectTool
Parameters:
view - A reference to a com.esri.arcgis.schematic.INgView (in)
button - The button (in)
shift - The shift (in)
xScreen - The xScreen (in)
yScreen - The yScreen (in)
xWindow - The xWindow (in)
yWindow - The yWindow (in)
xUser - The xUser (in)
yUser - The yUser (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgProjectTool.mouseDown(com.esri.arcgis.schematic.INgView, int, int, int, int, int, int, double, double), INgProjectTool.mouseMove(com.esri.arcgis.schematic.INgView, int, int, int, int, int, int, double, double)

dblClick

public void dblClick(INgView view,
                     int button,
                     int shift,
                     int xScreen,
                     int yScreen,
                     int xWindow,
                     int yWindow,
                     double xUser,
                     double yUser)
              throws IOException,
                     AutomationException
Occurs when a mouse button is double clicked when the project tool is active.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
dblClick in interface INgProjectTool
Parameters:
view - A reference to a com.esri.arcgis.schematic.INgView (in)
button - The button (in)
shift - The shift (in)
xScreen - The xScreen (in)
yScreen - The yScreen (in)
xWindow - The xWindow (in)
yWindow - The yWindow (in)
xUser - The xUser (in)
yUser - The yUser (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

keyDown

public void keyDown(INgView view,
                    int keyCode,
                    int shift)
             throws IOException,
                    AutomationException
Occurs when a key on the keyboard is pressed when the project tool is active.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
keyDown in interface INgProjectTool
Parameters:
view - A reference to a com.esri.arcgis.schematic.INgView (in)
keyCode - The keyCode (in)
shift - The shift (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgProjectTool.keyUp(com.esri.arcgis.schematic.INgView, int, int)

keyUp

public void keyUp(INgView view,
                  int keyCode,
                  int shift)
           throws IOException,
                  AutomationException
Occurs when a key on the keyboard is released when the project tool is active.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
keyUp in interface INgProjectTool
Parameters:
view - A reference to a com.esri.arcgis.schematic.INgView (in)
keyCode - The keyCode (in)
shift - The shift (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
INgProjectTool.keyDown(com.esri.arcgis.schematic.INgView, int, int)

isSpatialEnvironment

public boolean isSpatialEnvironment()
                             throws IOException,
                                    AutomationException
Indicates if the event occured in ArcMap.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isSpatialEnvironment in interface INgProjectTool
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialEnvironment

public void setSpatialEnvironment(boolean pVal)
                           throws IOException,
                                  AutomationException
Indicates if the event occured in ArcMap.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setSpatialEnvironment in interface INgProjectTool
Parameters:
pVal - The pVal (in)
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