|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.arcmapui.RotateOperation
public class RotateOperation
Operation for handling rotation.
Constructor Summary | |
---|---|
RotateOperation()
Constructs a RotateOperation using ArcGIS Engine. |
|
RotateOperation(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RotateOperation theRotateOperation = (RotateOperation) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
void |
esri_do()
Performs the operation. |
static String |
getClsid()
getClsid. |
String |
getMenuString()
The menu string. |
int |
hashCode()
the hashcode for this object |
boolean |
isCanRedo()
Indicates if the operation can be redone. |
boolean |
isCanUndo()
Indicates if the operation can be undone. |
void |
redo()
Redoes the operation. |
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 |
undo()
Undoes the operation. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public RotateOperation() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RotateOperation(Object obj) throws IOException
RotateOperation theRotateOperation = (RotateOperation) obj;
obj
to RotateOperation
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setName(String rhs1) throws IOException, AutomationException
setName
in interface IRotateOperation
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setActiveView(IActiveView rhs1) throws IOException, AutomationException
setActiveView
in interface IRotateOperation
rhs1
- A reference to a com.esri.arcgis.carto.IActiveView (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPreviousRotation(double rhs1) throws IOException, AutomationException
setPreviousRotation
in interface IRotateOperation
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRotation(double rhs1) throws IOException, AutomationException
setRotation
in interface IRotateOperation
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRefresh(boolean rhs1) throws IOException, AutomationException
setRefresh
in interface IRotateOperation
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMenuString() throws IOException, AutomationException
The MenuString associated with the Operation. This is used by the application framework to populate the Edit menu in ArcMap. For example, adding a layer to ArcMap adds the menu string of the Operation "Undo Add Layers(s)" to the Edit menu.
getMenuString
in interface IOperation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanUndo() throws IOException, AutomationException
CanUndo indicates if the operation can be un-done. Use the property before using the Undo method.
isCanUndo
in interface IOperation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanRedo() throws IOException, AutomationException
CanRedo indicates if the operation can be re-done. Use the property before using the Redo method.
isCanRedo
in interface IOperation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_do() throws IOException, AutomationException
esri_do
in interface IOperation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void undo() throws IOException, AutomationException
Undo the operation to reset the action from the Do method. Use the CanUndo property to determine whether the operation can be un-done.
undo
in interface IOperation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void redo() throws IOException, AutomationException
Redo the operation to redo the action from the Do method. Use the CanRedo property to determine whether the operation can be re-done.
redo
in interface IOperation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |