com.esri.arcgis.carto
Interface IRotateOperation

All Superinterfaces:
IOperation, Serializable
All Known Implementing Classes:
RotateOperation

public interface IRotateOperation
extends IOperation, 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.


Method Summary
 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.
 
Methods inherited from interface com.esri.arcgis.systemUI.IOperation
esri_do, getMenuString, isCanRedo, isCanUndo, redo, undo
 

Method Detail

setName

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

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

setActiveView

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

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

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

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

setRotation

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

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

setRefresh

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

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