|
|||||||||
| 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.controls.IARControlDefaultProxy
public class IARControlDefaultProxy
Provides access to members on the control.
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
IARControlDefaultProxy()
|
|
IARControlDefaultProxy(Object obj)
|
protected |
IARControlDefaultProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
aboutBox()
Displays a dialog of information about the control. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
boolean |
checkDocument(String sFilename)
Checks the document filename to determine if its a valid Published Map File (*.PMF), published with permission to load into the control. |
void |
copyViewToClipboard()
Copies the current map or page layout view to the clipboard. |
boolean |
esri_isEnabled()
Indicates whether the control can respond to user generated events. |
void |
esri_setEnabled(boolean rhs1)
Indicates whether the control can respond to user generated events. |
void |
exportView(int format,
String sFilename)
Export the current map or page layout view to the file. |
int |
getAppearance()
The appearance of the control. |
IARCommandInfo |
getARCommandInfo(int tool)
The ARCommandInfo contained by the control. |
IARConfiguration |
getARConfiguration()
The ARConfiguration used by the control. |
IARPageLayout |
getARPageLayout()
The page layout contained within the currently loaded document. |
IARUnitConverter |
getARUnitConverter()
The ARUnitConverter contained by the control. |
int |
getBorderStyle()
The border style of the control. |
int |
getCurrentARTool()
Current active tool for the control. |
Object |
getCurrentView()
The current map or page layout view. |
int |
getCurrentViewType()
The type of current view. |
Object |
getCustomProperty()
A property to associate data with a control. |
String |
getDocumentComment()
A comment about the currently loaded Published Map File (*.PMF). |
String |
getDocumentFilename()
The file name of the currently loaded Published Map File (*.PMF). |
int |
getHWnd()
Handle to the window associated with the control. |
int |
getMousePointer()
The mouse cursor displayed over the document. |
Object |
getObject()
A property that returns the underlying control. |
IARLayer |
getSelectedARLayer()
The selected ARLayer in the TOC. |
IARLayer |
getSwipeLayer()
The swipe layer used by the control. |
int |
getTOCWidth()
The width of the Table of Contents (TOC) in pixels. |
int |
getViewHeight()
The height of the Active View in pixels. |
int |
getViewLeft()
The number of pixels between the top of the control and the top of the Active View. |
int |
getViewTop()
The number of pixels between the left edge of the control and the left side of the Active View. |
int |
getViewWidth()
The width of the Active View in pixels. |
int |
getViewWindow()
Handle to the view window associated with the control. |
boolean |
hasDocumentPermission(int docPermission)
Indicates if the currently loaded Published Map File (*.PMF) was published with the specified permission. |
boolean |
isARWindowVisible(int win)
Indicates if the specified control window is visible. |
boolean |
isEnableFileDrop()
Indicates whether Published Map Files can be dropped onto the control. |
boolean |
isHasCustomARConfiguration()
Is the current PMF using settings stored in the PMF. |
boolean |
isShowMapTips()
Indicates if map tips are shown when the current view is a map or page layout. |
boolean |
isShowScrollbars(int viewType)
Indicates if the map and page layout scrollbars are visible. |
boolean |
isTOCVisible()
Indicates if the Table of Contents (TOC) is visible. |
void |
loadDocument(String sFilename,
String sPassword)
Loads the Published Map File (*.PMF) into the control. |
void |
printView()
Send the current map or page layout view to the printer. |
void |
readExternal(ObjectInput in)
|
void |
refresh(boolean refreshNow)
Refresh the control's window. |
void |
reloadDocument(String sPassword)
Reloads the currently loaded Published Map File (*.PMF) back into the control. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setAppearance(int rhs1)
The appearance of the control. |
void |
setARConfigurationByRef(IARConfiguration rhs1)
The ARConfiguration used by the control. |
void |
setBorderStyle(int rhs1)
The border style of the control. |
void |
setCurrentARTool(int rhs1)
Current active tool for the control. |
void |
setCurrentViewByRef(Object rhs1)
The current map or page layout view. |
void |
setCustomProperty(Object rhs1)
A property to associate data with a control. |
void |
setDocumentFilename(String rhs1)
The file name of the currently loaded Published Map File (*.PMF). |
void |
setEnableFileDrop(boolean rhs1)
Indicates whether Published Map Files can be dropped onto the control. |
void |
setMousePointer(int rhs1)
The mouse cursor displayed over the document. |
void |
setShowMapTips(boolean rhs1)
Indicates if map tips are shown when the current view is a map or page layout. |
void |
setShowScrollbars(int viewType,
boolean rhs2)
Indicates if the map and page layout scrollbars are visible. |
void |
setSwipeLayerByRef(IARLayer rhs1)
The swipe layer used by the control. |
void |
setTOCVisible(boolean rhs1)
Indicates if the Table of Contents (TOC) is visible. |
void |
setTOCWidth(int rhs1)
The width of the Table of Contents (TOC) in pixels. |
void |
showARWindow(int win,
boolean show,
Object data)
Shows or hides the specified control window. |
void |
suppressResizeDrawing(boolean suppressResize,
int resizeHWnd)
Suppress full redraw of control during resize operations. |
void |
unloadDocument()
Unloads the currently loaded Published Map File (*.PMF) from the control. |
void |
writeExternal(ObjectOutput out)
|
| 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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IARControlDefaultProxy()
public IARControlDefaultProxy(Object obj)
throws IOException
IOException
protected IARControlDefaultProxy(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 setBorderStyle(int rhs1)
throws IOException,
AutomationException
setBorderStyle in interface IARControlDefaultrhs1 - A com.esri.arcgis.controls.esriARBorderStyle constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getBorderStyle()
throws IOException,
AutomationException
getBorderStyle in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void esri_setEnabled(boolean rhs1)
throws IOException,
AutomationException
esri_setEnabled in interface IARControlDefaultrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean esri_isEnabled()
throws IOException,
AutomationException
esri_isEnabled in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAppearance(int rhs1)
throws IOException,
AutomationException
setAppearance in interface IARControlDefaultrhs1 - A com.esri.arcgis.controls.esriARAppearance constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getAppearance()
throws IOException,
AutomationException
getAppearance in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void aboutBox()
throws IOException,
AutomationException
aboutBox in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void loadDocument(String sFilename,
String sPassword)
throws IOException,
AutomationException
loadDocument in interface IARControlDefaultsFilename - The sFilename (in)sPassword - The sPassword (in, optional, pass if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void unloadDocument()
throws IOException,
AutomationException
unloadDocument in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void reloadDocument(String sPassword)
throws IOException,
AutomationException
reloadDocument in interface IARControlDefaultsPassword - The sPassword (in, optional, pass if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCurrentViewByRef(Object rhs1)
throws IOException,
AutomationException
setCurrentViewByRef in interface IARControlDefaultrhs1 - A reference to another Automation Object (IDispatch) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getCurrentView()
throws IOException,
AutomationException
getCurrentView in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDocumentComment()
throws IOException,
AutomationException
getDocumentComment in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARPageLayout getARPageLayout()
throws IOException,
AutomationException
getARPageLayout in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void showARWindow(int win,
boolean show,
Object data)
throws IOException,
AutomationException
showARWindow in interface IARControlDefaultwin - A com.esri.arcgis.controls.esriARWindows constant (in)show - The show (in, optional, pass true if not required)data - A Variant (in, optional, pass null if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isARWindowVisible(int win)
throws IOException,
AutomationException
isARWindowVisible in interface IARControlDefaultwin - A com.esri.arcgis.controls.esriARWindows constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void suppressResizeDrawing(boolean suppressResize,
int resizeHWnd)
throws IOException,
AutomationException
suppressResizeDrawing in interface IARControlDefaultsuppressResize - The suppressResize (in)resizeHWnd - The resizeHWnd (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTOCWidth(int rhs1)
throws IOException,
AutomationException
setTOCWidth in interface IARControlDefaultrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTOCWidth()
throws IOException,
AutomationException
getTOCWidth in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void printView()
throws IOException,
AutomationException
printView in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void copyViewToClipboard()
throws IOException,
AutomationException
copyViewToClipboard in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCurrentARTool(int rhs1)
throws IOException,
AutomationException
setCurrentARTool in interface IARControlDefaultrhs1 - A com.esri.arcgis.controls.esriARTool constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCurrentARTool()
throws IOException,
AutomationException
getCurrentARTool in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean hasDocumentPermission(int docPermission)
throws IOException,
AutomationException
hasDocumentPermission in interface IARControlDefaultdocPermission - A com.esri.arcgis.controls.esriARDocumentPermissions constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowScrollbars(int viewType,
boolean rhs2)
throws IOException,
AutomationException
setShowScrollbars in interface IARControlDefaultviewType - A com.esri.arcgis.controls.esriARViewType constant (in)rhs2 - The rhs2 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isShowScrollbars(int viewType)
throws IOException,
AutomationException
isShowScrollbars in interface IARControlDefaultviewType - A com.esri.arcgis.controls.esriARViewType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTOCVisible(boolean rhs1)
throws IOException,
AutomationException
setTOCVisible in interface IARControlDefaultrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isTOCVisible()
throws IOException,
AutomationException
isTOCVisible in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHWnd()
throws IOException,
AutomationException
getHWnd in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowMapTips(boolean rhs1)
throws IOException,
AutomationException
setShowMapTips in interface IARControlDefaultrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isShowMapTips()
throws IOException,
AutomationException
isShowMapTips in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh(boolean refreshNow)
throws IOException,
AutomationException
refresh in interface IARControlDefaultrefreshNow - The refreshNow (in, optional, pass false if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCurrentViewType()
throws IOException,
AutomationException
getCurrentViewType in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARConfiguration getARConfiguration()
throws IOException,
AutomationException
getARConfiguration in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setARConfigurationByRef(IARConfiguration rhs1)
throws IOException,
AutomationException
setARConfigurationByRef in interface IARControlDefaultrhs1 - A reference to a com.esri.arcgis.controls.IARConfiguration (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARUnitConverter getARUnitConverter()
throws IOException,
AutomationException
getARUnitConverter in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDocumentFilename()
throws IOException,
AutomationException
getDocumentFilename in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDocumentFilename(String rhs1)
throws IOException,
AutomationException
setDocumentFilename in interface IARControlDefaultrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean checkDocument(String sFilename)
throws IOException,
AutomationException
checkDocument in interface IARControlDefaultsFilename - The sFilename (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARCommandInfo getARCommandInfo(int tool)
throws IOException,
AutomationException
getARCommandInfo in interface IARControlDefaulttool - A com.esri.arcgis.controls.esriARTool constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void exportView(int format,
String sFilename)
throws IOException,
AutomationException
exportView in interface IARControlDefaultformat - A com.esri.arcgis.controls.esriARExportFormat constant (in)sFilename - The sFilename (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEnableFileDrop(boolean rhs1)
throws IOException,
AutomationException
setEnableFileDrop in interface IARControlDefaultrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEnableFileDrop()
throws IOException,
AutomationException
isEnableFileDrop in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getCustomProperty()
throws IOException,
AutomationException
getCustomProperty in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomProperty(Object rhs1)
throws IOException,
AutomationException
setCustomProperty in interface IARControlDefaultrhs1 - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getObject()
throws IOException,
AutomationException
getObject in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getViewTop()
throws IOException,
AutomationException
getViewTop in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getViewLeft()
throws IOException,
AutomationException
getViewLeft in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getViewHeight()
throws IOException,
AutomationException
getViewHeight in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getViewWidth()
throws IOException,
AutomationException
getViewWidth in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHasCustomARConfiguration()
throws IOException,
AutomationException
isHasCustomARConfiguration in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSwipeLayerByRef(IARLayer rhs1)
throws IOException,
AutomationException
setSwipeLayerByRef in interface IARControlDefaultrhs1 - A reference to a com.esri.arcgis.controls.IARLayer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARLayer getSwipeLayer()
throws IOException,
AutomationException
getSwipeLayer in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getViewWindow()
throws IOException,
AutomationException
getViewWindow in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMousePointer(int rhs1)
throws IOException,
AutomationException
setMousePointer in interface IARControlDefaultrhs1 - A com.esri.arcgis.controls.esriARMousePointer constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMousePointer()
throws IOException,
AutomationException
getMousePointer in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARLayer getSelectedARLayer()
throws IOException,
AutomationException
getSelectedARLayer in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class com.esri.arcgis.interop.DispatchIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class com.esri.arcgis.interop.DispatchIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||