|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.framework.AppRef
public class AppRef
COM Class 'AppRef'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriFramework.olb'
Description 'A reference to the currently running 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 |
|---|
| Constructor Summary | |
|---|---|
AppRef()
Constructs a AppRef using ArcGIS Engine. |
|
AppRef(java.lang.Object obj)
Construct a AppRef 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 |
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. |
static java.lang.String |
getClsid()
getClsid. |
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. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
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. |
int |
hashCode()
the hashcode for this object |
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 |
release()
Release a AppRef. |
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 java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AppRef()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public AppRef(java.lang.Object obj)
throws java.io.IOException
obj to AppRef.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems
AppRef theAppRef = (AppRef) obj;| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface IApplicationjava.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 IApplicationjava.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 IApplicationjava.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 IApplicationdialogID - 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 IApplicationdialogID - 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 IApplicationjava.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 IApplicationtool - 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 IApplicationjava.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 IApplicationselectTemplate - 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 IApplicationpath - 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 IApplicationsaveAsPath - 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 IApplicationsaveAsPath - 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 IApplicationjava.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 IApplicationjava.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 IApplicationpassword - 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 IApplicationpassword - 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 IApplicationjava.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 IApplicationjava.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 IApplicationjava.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 IApplicationextensionName - 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 IApplicationextensionCLSID - 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 IApplicationjava.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 IApplicationjava.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 IApplicationvisible - 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 IApplicationcaption - 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 IApplicationjava.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 | ||||||||