com.esri.arcgis.arcmapui
Interface IBasicDocument

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IBasicDocumentProxy, MxDocument

public interface IBasicDocument
extends java.io.Serializable

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

Description: 'Provides access to members that control the Basic Document.' 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 IIDa58923bc_14d4_11d4_a0ff_00c04f8ece27
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void addLayer(ILayer pLayer)
          Adds a layer to the current focus map or scene.
 java.lang.Object getContextItem()
          The last item that was right-clicked.
 java.lang.Object getSelectedItem()
          The selected item in the layer control.
 ILayer getSelectedLayer()
          The selected layer in the layer control.
 ITableProperties getTableProperties()
          Table properties, for Layers and Tables.
 void setContextItem(java.lang.Object ppItem)
          The last item that was right-clicked.
 void updateContents()
          Notifies the document that the contents have been updated.
 

Field Detail

IIDa58923bc_14d4_11d4_a0ff_00c04f8ece27

static final int IIDa58923bc_14d4_11d4_a0ff_00c04f8ece27
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

getSelectedLayer

ILayer getSelectedLayer()
                        throws java.io.IOException,
                               AutomationException
The selected layer in the layer control.

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

getSelectedItem

java.lang.Object getSelectedItem()
                                 throws java.io.IOException,
                                        AutomationException
The selected item in the layer control.

Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getContextItem

java.lang.Object getContextItem()
                                throws java.io.IOException,
                                       AutomationException
The last item that was right-clicked.

Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setContextItem

void setContextItem(java.lang.Object ppItem)
                    throws java.io.IOException,
                           AutomationException
The last item that was right-clicked.

Parameters:
ppItem - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addLayer

void addLayer(ILayer pLayer)
              throws java.io.IOException,
                     AutomationException
Adds a layer to the current focus map or scene.

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

updateContents

void updateContents()
                    throws java.io.IOException,
                           AutomationException
Notifies the document that the contents have been updated.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTableProperties

ITableProperties getTableProperties()
                                    throws java.io.IOException,
                                           AutomationException
Table properties, for Layers and Tables.

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