|
|||||||||
| 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.arcmapui.IMxApplicationProxy
public class IMxApplicationProxy
Provides access to members that control the Mx Application.
IPaper,
IApplication,
com.esri.arcgis.mx.Application,
com.esri.arcgis.arcmapUI.IAppDisplay,
Serialized Form| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
IMxApplicationProxy()
|
|
IMxApplicationProxy(Object obj)
|
protected |
IMxApplicationProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
copyToClipboard()
Copies the current view to the clipboard. |
void |
export()
Exports the current document. |
IAppDisplay |
getDisplay()
The application display. |
IPaper |
getPaper()
The current paper settings. |
IPrinter |
getPrinter()
The current printer settings. |
ISelectionEnvironment |
getSelectionEnvironment()
The selection environment. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setPrinterByRef(IPrinter printer)
The current printer settings. |
| 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 boolean noncastable
| Constructor Detail |
|---|
public IMxApplicationProxy()
public IMxApplicationProxy(Object obj)
throws IOException
IOException
protected IMxApplicationProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public void setPrinterByRef(IPrinter printer)
throws IOException,
AutomationException
setPrinterByRef in interface IMxApplicationprinter - A reference to a com.esri.arcgis.output.IPrinter (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPrinter getPrinter()
throws IOException,
AutomationException
getPrinter in interface IMxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IPrinter
public IPaper getPaper()
throws IOException,
AutomationException
The IPaper interface and the IPrint interface are the main components for printing. The IPaper interface controls the current paper settings. The IPrint interface has a Paper member which must be set for the print output to be correct.
The IPaper interface is persisted in the document when 'Same As Printer' is checked on in the Page Setup dialog.
In Microsoft Windows terms, the IPaper interface is a wrapper around the GDI DEVMODE and DEVNAME structures.
getPaper in interface IMxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IPaper
public IAppDisplay getDisplay()
throws IOException,
AutomationException
getDisplay in interface IMxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.com.esri.arcgis.arcmapUI.IAppDisplay
public ISelectionEnvironment getSelectionEnvironment()
throws IOException,
AutomationException
getSelectionEnvironment in interface IMxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.ISelectionEnvironment
public void export()
throws IOException,
AutomationException
Calling this method launches the Export dialog. Supported export formats for the document are: EMF, EPS, PDF, AI, SVG, BMP, JPEG, PNG, GIF, and TIFF.
export in interface IMxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void copyToClipboard()
throws IOException,
AutomationException
copyToClipboard in interface IMxApplicationIOException - 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 | ||||||||