com.esri.arcgis.arcmapui
Interface IViewCommand

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IViewCommandProxy

public interface IViewCommand
extends java.io.Serializable

COM Interface 'IViewCommand'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriArcMapUI.olb'

Description: 'Provides access to members that control view commands.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID565faf4d_5961_11d3_b8c5_00600802e603
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 boolean applies(IActiveView view)
          Indicates if command works with the specified view.
 ISelection getSelection()
          The selection object used by the associated view.
 

Field Detail

IID565faf4d_5961_11d3_b8c5_00600802e603

static final int IID565faf4d_5961_11d3_b8c5_00600802e603
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getSelection

ISelection getSelection()
                        throws java.io.IOException,
                               AutomationException
The selection object used by the associated view.

Returns:
A reference to a com.esri.arcgis.carto.ISelection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

applies

boolean applies(IActiveView view)
                throws java.io.IOException,
                       AutomationException
Indicates if command works with the specified view.

Parameters:
view - A reference to a com.esri.arcgis.carto.IActiveView (in)
Returns:
The applies
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.