com.esri.arcgis.carto
Class IRotateOperationProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.systemUI.IOperationProxy
          extended by com.esri.arcgis.carto.IRotateOperationProxy
All Implemented Interfaces:
IRotateOperation, IOperation, Externalizable, Serializable

public class IRotateOperationProxy
extends IOperationProxy
implements IRotateOperation, Serializable

Provides access to members that control the Rotate Operation.

Remarks

IRotateOperation inherits from IOperation and allows you to stack a rotation applying to the dataframe in the undo stacks. Use this interface to set all the parameters for the rotation operation before performing the operation using IOperationStack.

Name is the name of the operation as it will appear as Undo in the menu.

ActiveView is the view that will be rotated, usually the focus map.

The PreviousRotation can be read from IDisplayTransformation::Rotation. The display transformation of the active view can be accessed via IActiveView::ScreenDisplay.

Rotation is the new rotation you want to apply to the dataframe.

Refresh is a boolean specify if the view will be refreshed after the operation is performed.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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
  IRotateOperationProxy()
           
  IRotateOperationProxy(Object obj)
           
protected IRotateOperationProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void setActiveView(IActiveView rhs1)
          The view that is being Rotated.
 void setName(String rhs1)
          The name of this operation, i.e., description of the kind of Rotate.
 void setPreviousRotation(double rhs1)
          The previous rotation.
 void setRefresh(boolean rhs1)
          Indicates if refresh happens.
 void setRotation(double rhs1)
          The new rotation.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.systemUI.IOperationProxy
esri_do, getMenuString, isCanRedo, isCanUndo, redo, undo
 
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
 
Methods inherited from interface com.esri.arcgis.systemUI.IOperation
esri_do, getMenuString, isCanRedo, isCanUndo, redo, undo
 

Constructor Detail

IRotateOperationProxy

public IRotateOperationProxy()

IRotateOperationProxy

public IRotateOperationProxy(Object obj)
                      throws IOException
Throws:
IOException

IRotateOperationProxy

protected IRotateOperationProxy(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 IOperationProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IOperationProxy
Throws:
IOException

setName

public void setName(String rhs1)
             throws IOException,
                    AutomationException
The name of this operation, i.e., description of the kind of Rotate.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setName in interface IRotateOperation
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveView

public void setActiveView(IActiveView rhs1)
                   throws IOException,
                          AutomationException
The view that is being Rotated.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setActiveView in interface IRotateOperation
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IActiveView (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPreviousRotation

public void setPreviousRotation(double rhs1)
                         throws IOException,
                                AutomationException
The previous rotation.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setPreviousRotation in interface IRotateOperation
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRotation

public void setRotation(double rhs1)
                 throws IOException,
                        AutomationException
The new rotation.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setRotation in interface IRotateOperation
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRefresh

public void setRefresh(boolean rhs1)
                throws IOException,
                       AutomationException
Indicates if refresh happens.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setRefresh in interface IRotateOperation
Parameters:
rhs1 - The rhs1 (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