com.esri.arcgis.systemUI
Class ControlsOperationStack

java.lang.Object
  extended by com.esri.arcgis.systemUI.ControlsOperationStack
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, IOperationStack, java.io.Serializable

public class ControlsOperationStack
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IOperationStack, ISupportErrorInfo

COM Class 'ControlsOperationStack'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystemUI.olb'

Description 'Use this class to provide operation support to the ToolbarControl.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.systemUI.IOperationStack
IID, IID303ee675_3087_11d2_94c9_080009eebecb, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
ControlsOperationStack()
          Constructs a ControlsOperationStack using ArcGIS Engine.
ControlsOperationStack(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ControlsOperationStack theControlsOperationStack = (ControlsOperationStack) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void esri_do(IOperation operation)
          Performs the given operation and places it on the stack.
static java.lang.String getClsid()
          getClsid.
 int getCount()
          The number of operations on the stack.
 IOperation getItem(int index)
          The operation at the specified index.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IOperation getRedoOperation()
          Redoes a specified operation.
 IOperation getUndoOperation()
          Undoes a specified operation.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void redo()
          Redoes the next operation on the stack.
 void release()
          Release a ControlsOperationStack.
 void remove(int index)
          Removes an operation from the stack.
 void reset()
          Removes all operations from the stack.
 void undo()
          Undoes the previous operation on the stack.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlsOperationStack

public ControlsOperationStack()
                       throws java.io.IOException,
                              java.net.UnknownHostException
Constructs a ControlsOperationStack using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ControlsOperationStack

public ControlsOperationStack(java.lang.Object obj)
                       throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ControlsOperationStack theControlsOperationStack = (ControlsOperationStack) obj;

Construct a ControlsOperationStack using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ControlsOperationStack.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ControlsOperationStack.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The number of operations on the stack.

Specified by:
getCount in interface IOperationStack
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItem

public IOperation getItem(int index)
                   throws java.io.IOException,
                          AutomationException
The operation at the specified index.

Specified by:
getItem in interface IOperationStack
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.systemUI.IOperation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Removes all operations from the stack.

Specified by:
reset in interface IOperationStack
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_do

public void esri_do(IOperation operation)
             throws java.io.IOException,
                    AutomationException
Performs the given operation and places it on the stack.

Specified by:
esri_do in interface IOperationStack
Parameters:
operation - A reference to a com.esri.arcgis.systemUI.IOperation (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

undo

public void undo()
          throws java.io.IOException,
                 AutomationException
Undoes the previous operation on the stack.

Specified by:
undo in interface IOperationStack
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

redo

public void redo()
          throws java.io.IOException,
                 AutomationException
Redoes the next operation on the stack.

Specified by:
redo in interface IOperationStack
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUndoOperation

public IOperation getUndoOperation()
                            throws java.io.IOException,
                                   AutomationException
Undoes a specified operation.

Specified by:
getUndoOperation in interface IOperationStack
Returns:
A reference to a com.esri.arcgis.systemUI.IOperation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRedoOperation

public IOperation getRedoOperation()
                            throws java.io.IOException,
                                   AutomationException
Redoes a specified operation.

Specified by:
getRedoOperation in interface IOperationStack
Returns:
A reference to a com.esri.arcgis.systemUI.IOperation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int index)
            throws java.io.IOException,
                   AutomationException
Removes an operation from the stack.

Specified by:
remove in interface IOperationStack
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.