|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.arcmapui.IMxDocumentProxy
public class IMxDocumentProxy
Internal use class Proxy for COM Interface 'IMxDocument'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriArcMapUI.olb'
Description: 'Provides access to members that control the Mx 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 | |
---|---|
boolean |
noncastable
|
static java.lang.Class |
targetClass
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Fields inherited from interface com.esri.arcgis.arcmapui.IMxDocument |
---|
IID, IID0522a5f1_487c_11d0_98bd_00805f7ced21 |
Constructor Summary | |
---|---|
|
IMxDocumentProxy()
For internal use only |
|
IMxDocumentProxy(java.lang.Object obj)
|
protected |
IMxDocumentProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IMxDocumentProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
protected |
IMxDocumentProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
Method Summary | |
---|---|
void |
addLayer(ILayer layer)
Adds a layer to the current focus map. |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
|
void |
canInsertObject(boolean[] pEnabled)
Indicates if the document allows objects to be inserted. |
IActiveView |
getActivatedView()
The activated view. |
IActiveView |
getActiveView()
The active view. |
ICommand |
getActiveViewCommand()
The command associated with the active view. |
IContentsView |
getContentsView(int index)
The contents view at the specified index. |
int |
getContentsViewCount()
The number of contents views in the document. |
java.lang.Object |
getContextItem()
The last item that was right-clicked. |
IContentsView |
getCurrentContentsView()
The current contents view of the document. |
IPoint |
getCurrentLocation()
The current mouse location in map units. |
IColor |
getDefaultColor(int type)
The default color for the given type. |
Font |
getDefaultTextFont()
The default font for text. |
IFontSize |
getDefaultTextFontSize()
The default font size for text. |
IMap |
getFocusMap()
The current focus map. |
IMaps |
getMaps()
The collection of maps in the document. |
IOperationStack |
getOperationStack()
The operation stack. |
IPageLayout |
getPageLayout()
The page layout. |
double |
getSearchTolerance()
The global search tolerance in geographic units for selection. |
int |
getSearchTolerancePixels()
The global search tolerance in pixels for selection. |
java.lang.Object |
getSelectedItem()
The selected item in the layer control. |
ILayer |
getSelectedLayer()
The selected layer in the layer control. |
IStyleGallery |
getStyleGallery()
Reference to the document's Style Gallery. |
ITableProperties |
getTableProperties()
Table properties, for Layers and Tables in ArcMap. |
void |
insertObject()
Inserts an object into the document. |
boolean |
isRelativePaths()
Indicates if path names are stored relative to the document. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
|
void |
setActiveViewByRef(IActiveView activeView)
The active view. |
void |
setContextItem(java.lang.Object item)
The last item that was right-clicked. |
void |
setCurrentContentsViewByRef(IContentsView view)
The current contents view of the document. |
void |
setCurrentLocation(IPoint mouseLoc)
The current mouse location in map units. |
void |
setDefaultColor(int type,
IColor color)
The default color for the given type. |
void |
setDefaultTextFont(Font fontDisp)
The default font for text. |
void |
setDefaultTextFontSize(IFontSize fontSize)
The default font size for text. |
void |
setDelayUpdateContents(boolean rhs1)
Indicates document update notifications should be ignored. |
void |
setPageLayoutByRef(IPageLayout pageLayout)
The page layout. |
void |
setRelativePaths(boolean relPaths)
Indicates if path names are stored relative to the document. |
void |
setSearchTolerancePixels(int tol)
The global search tolerance in pixels for selection. |
void |
updateContents()
Notifies the document that the contents have been updated. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class targetClass
public boolean noncastable
Constructor Detail |
---|
public IMxDocumentProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IMxDocumentProxy()
public IMxDocumentProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IMxDocumentProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IMxDocumentProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
addListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void setPageLayoutByRef(IPageLayout pageLayout) throws java.io.IOException, AutomationException
setPageLayoutByRef
in interface IMxDocument
pageLayout
- A reference to a com.esri.arcgis.carto.IPageLayout (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPageLayout getPageLayout() throws java.io.IOException, AutomationException
getPageLayout
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IActiveView getActiveView() throws java.io.IOException, AutomationException
getActiveView
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setActiveViewByRef(IActiveView activeView) throws java.io.IOException, AutomationException
setActiveViewByRef
in interface IMxDocument
activeView
- A reference to a com.esri.arcgis.carto.IActiveView (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IActiveView getActivatedView() throws java.io.IOException, AutomationException
getActivatedView
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICommand getActiveViewCommand() throws java.io.IOException, AutomationException
getActiveViewCommand
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getFocusMap() throws java.io.IOException, AutomationException
getFocusMap
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getSelectedLayer() throws java.io.IOException, AutomationException
getSelectedLayer
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getSelectedItem() throws java.io.IOException, AutomationException
getSelectedItem
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getContextItem() throws java.io.IOException, AutomationException
getContextItem
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setContextItem(java.lang.Object item) throws java.io.IOException, AutomationException
setContextItem
in interface IMxDocument
item
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStyleGallery getStyleGallery() throws java.io.IOException, AutomationException
getStyleGallery
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addLayer(ILayer layer) throws java.io.IOException, AutomationException
addLayer
in interface IMxDocument
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateContents() throws java.io.IOException, AutomationException
updateContents
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSearchTolerance() throws java.io.IOException, AutomationException
getSearchTolerance
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSearchTolerancePixels() throws java.io.IOException, AutomationException
getSearchTolerancePixels
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSearchTolerancePixels(int tol) throws java.io.IOException, AutomationException
setSearchTolerancePixels
in interface IMxDocument
tol
- The tol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insertObject() throws java.io.IOException, AutomationException
insertObject
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void canInsertObject(boolean[] pEnabled) throws java.io.IOException, AutomationException
canInsertObject
in interface IMxDocument
pEnabled
- The pEnabled (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMaps getMaps() throws java.io.IOException, AutomationException
getMaps
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IOperationStack getOperationStack() throws java.io.IOException, AutomationException
getOperationStack
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Font getDefaultTextFont() throws java.io.IOException, AutomationException
getDefaultTextFont
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultTextFontSize(IFontSize fontSize) throws java.io.IOException, AutomationException
setDefaultTextFontSize
in interface IMxDocument
fontSize
- A reference to a com.esri.arcgis.display.IFontSize (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFontSize getDefaultTextFontSize() throws java.io.IOException, AutomationException
getDefaultTextFontSize
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultTextFont(Font fontDisp) throws java.io.IOException, AutomationException
setDefaultTextFont
in interface IMxDocument
fontDisp
- A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getDefaultColor(int type) throws java.io.IOException, AutomationException
getDefaultColor
in interface IMxDocument
type
- A com.esri.arcgis.arcmapui.esriMxDefaultColorTypes constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultColor(int type, IColor color) throws java.io.IOException, AutomationException
setDefaultColor
in interface IMxDocument
type
- A com.esri.arcgis.arcmapui.esriMxDefaultColorTypes constant (in)color
- A reference to a com.esri.arcgis.display.IColor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getCurrentLocation() throws java.io.IOException, AutomationException
getCurrentLocation
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentLocation(IPoint mouseLoc) throws java.io.IOException, AutomationException
setCurrentLocation
in interface IMxDocument
mouseLoc
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDelayUpdateContents(boolean rhs1) throws java.io.IOException, AutomationException
setDelayUpdateContents
in interface IMxDocument
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRelativePaths() throws java.io.IOException, AutomationException
isRelativePaths
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRelativePaths(boolean relPaths) throws java.io.IOException, AutomationException
setRelativePaths
in interface IMxDocument
relPaths
- The relPaths (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IContentsView getCurrentContentsView() throws java.io.IOException, AutomationException
getCurrentContentsView
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentContentsViewByRef(IContentsView view) throws java.io.IOException, AutomationException
setCurrentContentsViewByRef
in interface IMxDocument
view
- A reference to a com.esri.arcgis.arcmapui.IContentsView (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getContentsViewCount() throws java.io.IOException, AutomationException
getContentsViewCount
in interface IMxDocument
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IContentsView getContentsView(int index) throws java.io.IOException, AutomationException
getContentsView
in interface IMxDocument
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITableProperties getTableProperties() throws java.io.IOException, AutomationException
getTableProperties
in interface IMxDocument
java.io.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 |