|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.framework.IApplicationProxy
public class IApplicationProxy
Internal use class Proxy for COM Interface 'IApplication'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriFramework.olb'
Description: 'Provides access to members that query or modify the application.' 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 |
Constructor Summary | |
---|---|
|
IApplicationProxy()
For internal use only |
|
IApplicationProxy(java.lang.Object obj)
|
protected |
IApplicationProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IApplicationProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
protected |
IApplicationProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
Method Summary | |
---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
|
IExtension |
findExtensionByCLSID(IUID extensionCLSID)
Finds an extension by its CLSID. |
IExtension |
findExtensionByName(java.lang.String extensionName)
Finds an extension by its name. |
java.lang.String |
getCaption()
The caption of this application. |
ICommandItem |
getCurrentTool()
The currently selected tool. |
IDocument |
getDocument()
The document that is currently loaded in the application. |
int |
getHWnd()
The handle of the application's window. |
java.lang.String |
getName()
The name of this application. |
IStatusBar |
getStatusBar()
The statusbar of this application. |
ITemplates |
getTemplates()
The templates collection. |
java.lang.Object |
getVBE()
The Visual Basic Environment. |
boolean |
isDialogVisible(int dialogID)
Indicates if the specified dialog is visible in the application. |
boolean |
isVisible()
Indicates if the application window is visible. |
void |
lockCustomization(java.lang.String password,
ICustomizationFilter custFilter)
Locks the application's user interface against any customizations. |
void |
newDocument(boolean selectTemplate,
java.lang.String templatePath)
Creates a new document in this application. |
void |
openDocument(java.lang.String path)
Opens a document in this application. |
void |
printDocument()
Displays the Print dialog. |
void |
printPreview()
Displays how the document will look like when it is printed. |
void |
refreshWindow()
Redraws the application window. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
|
void |
saveAsDocument(java.lang.String saveAsPath,
boolean saveAsCopy)
Saves the document that is currently open in this application to a different file. |
void |
saveDocument(java.lang.String saveAsPath)
Saves the document that is currently open in this application. |
void |
setCaption(java.lang.String caption)
The caption of this application. |
void |
setCurrentToolByRef(ICommandItem tool)
The currently selected tool. |
void |
setVisible(boolean visible)
Indicates if the application window is visible. |
java.lang.Object |
showDialog(int dialogID,
java.lang.Object bShow)
Displays the specified dialog in the application. |
void |
shutdown()
Terminates the application. |
void |
unlockCustomization(java.lang.String password)
Unlocks previous user interface customization lock. |
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 IApplicationProxy(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 IApplicationProxy()
public IApplicationProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IApplicationProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IApplicationProxy(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 java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IApplication
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDocument getDocument() throws java.io.IOException, AutomationException
getDocument
in interface IApplication
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStatusBar getStatusBar() throws java.io.IOException, AutomationException
getStatusBar
in interface IApplication
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object showDialog(int dialogID, java.lang.Object bShow) throws java.io.IOException, AutomationException
showDialog
in interface IApplication
dialogID
- The dialogID (in)bShow
- A Variant (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDialogVisible(int dialogID) throws java.io.IOException, AutomationException
isDialogVisible
in interface IApplication
dialogID
- The dialogID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICommandItem getCurrentTool() throws java.io.IOException, AutomationException
getCurrentTool
in interface IApplication
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentToolByRef(ICommandItem tool) throws java.io.IOException, AutomationException
setCurrentToolByRef
in interface IApplication
tool
- A reference to a com.esri.arcgis.framework.ICommandItem (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getVBE() throws java.io.IOException, AutomationException
getVBE
in interface IApplication
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void newDocument(boolean selectTemplate, java.lang.String templatePath) throws java.io.IOException, AutomationException
newDocument
in interface IApplication
selectTemplate
- The selectTemplate (in, optional, pass false if not required)templatePath
- The templatePath (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void openDocument(java.lang.String path) throws java.io.IOException, AutomationException
openDocument
in interface IApplication
path
- The path (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void saveDocument(java.lang.String saveAsPath) throws java.io.IOException, AutomationException
saveDocument
in interface IApplication
saveAsPath
- The saveAsPath (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void saveAsDocument(java.lang.String saveAsPath, boolean saveAsCopy) throws java.io.IOException, AutomationException
saveAsDocument
in interface IApplication
saveAsPath
- The saveAsPath (in, optional, pass null if not required)saveAsCopy
- The saveAsCopy (in, optional, pass false if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void printPreview() throws java.io.IOException, AutomationException
printPreview
in interface IApplication
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void printDocument() throws java.io.IOException, AutomationException
printDocument
in interface IApplication
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void lockCustomization(java.lang.String password, ICustomizationFilter custFilter) throws java.io.IOException, AutomationException
lockCustomization
in interface IApplication
password
- The password (in)custFilter
- A reference to a com.esri.arcgis.framework.ICustomizationFilter (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void unlockCustomization(java.lang.String password) throws java.io.IOException, AutomationException
unlockCustomization
in interface IApplication
password
- The password (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refreshWindow() throws java.io.IOException, AutomationException
refreshWindow
in interface IApplication
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITemplates getTemplates() throws java.io.IOException, AutomationException
getTemplates
in interface IApplication
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHWnd() throws java.io.IOException, AutomationException
getHWnd
in interface IApplication
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IExtension findExtensionByName(java.lang.String extensionName) throws java.io.IOException, AutomationException
findExtensionByName
in interface IApplication
extensionName
- The extensionName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IExtension findExtensionByCLSID(IUID extensionCLSID) throws java.io.IOException, AutomationException
findExtensionByCLSID
in interface IApplication
extensionCLSID
- A reference to a com.esri.arcgis.system.IUID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void shutdown() throws java.io.IOException, AutomationException
shutdown
in interface IApplication
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isVisible() throws java.io.IOException, AutomationException
isVisible
in interface IApplication
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVisible(boolean visible) throws java.io.IOException, AutomationException
setVisible
in interface IApplication
visible
- The visible (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCaption(java.lang.String caption) throws java.io.IOException, AutomationException
setCaption
in interface IApplication
caption
- The caption (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCaption() throws java.io.IOException, AutomationException
getCaption
in interface IApplication
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 |