com.esri.arcgis.arcmapui
Class UngroupLayerOperation

java.lang.Object
  extended by com.esri.arcgis.arcmapui.UngroupLayerOperation
All Implemented Interfaces:
IUngroupLayerOperation, com.esri.arcgis.interop.RemoteObjRef, IOperation, java.io.Serializable

public class UngroupLayerOperation
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IOperation, IUngroupLayerOperation

COM Class 'UngroupLayerOperation'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriArcMapUI.olb'

Description 'Ungroup Layer Operation.' 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.IOperation
IID, IID80a807ab_7bb9_11d0_87ec_080009ec732a, xxDummy
 
Fields inherited from interface com.esri.arcgis.arcmapui.IUngroupLayerOperation
IID, IID0c33b683_c94b_401f_927c_a3f8fba76683, xxDummy
 
Constructor Summary
UngroupLayerOperation()
          Constructs a UngroupLayerOperation using ArcGIS Engine.
UngroupLayerOperation(java.lang.Object obj)
          Construct a UngroupLayerOperation using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void esri_do()
          Performs the operation.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.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 release()
          Release a UngroupLayerOperation.
 void setGroupLayer(IGroupLayer rhs1)
          Group layer that needs to be ungrouped.
 void setParentGroupLayer(IGroupLayer rhs1)
          Parent group layer, if any to which the layer that needs to be ungrouped belongs to.
 void setParentMap(IMap rhs1)
          Parent map to which the group layer or parent group layer belongs to.
 void undo()
          Undoes the operation.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UngroupLayerOperation

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

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

UngroupLayerOperation

public UngroupLayerOperation(java.lang.Object obj)
                      throws java.io.IOException
Construct a UngroupLayerOperation using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to UngroupLayerOperation.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems UngroupLayerOperation theUngroupLayerOperation = (UngroupLayerOperation) obj;
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 UngroupLayerOperation.

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

getMenuString

public java.lang.String getMenuString()
                               throws java.io.IOException,
                                      AutomationException
The menu string.

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

isCanUndo

public boolean isCanUndo()
                  throws java.io.IOException,
                         AutomationException
Indicates if the operation can be undone.

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

isCanRedo

public boolean isCanRedo()
                  throws java.io.IOException,
                         AutomationException
Indicates if the operation can be redone.

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

esri_do

public void esri_do()
             throws java.io.IOException,
                    AutomationException
Performs the operation.

Specified by:
esri_do in interface IOperation
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 operation.

Specified by:
undo in interface IOperation
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 operation.

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

setParentGroupLayer

public void setParentGroupLayer(IGroupLayer rhs1)
                         throws java.io.IOException,
                                AutomationException
Parent group layer, if any to which the layer that needs to be ungrouped belongs to.

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

setParentMap

public void setParentMap(IMap rhs1)
                  throws java.io.IOException,
                         AutomationException
Parent map to which the group layer or parent group layer belongs to.

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

setGroupLayer

public void setGroupLayer(IGroupLayer rhs1)
                   throws java.io.IOException,
                          AutomationException
Group layer that needs to be ungrouped.

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