|
|||||||||
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.controls.IARControlProxy
public class IARControlProxy
Internal use class Proxy for COM Interface 'IARControl'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriPublisherControls.olb'
Description: 'Provides access to members on the control.' 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 | |
---|---|
|
IARControlProxy()
For internal use only |
|
IARControlProxy(java.lang.Object obj)
|
protected |
IARControlProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IARControlProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
protected |
IARControlProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
Method Summary | |
---|---|
void |
aboutBox()
Displays a dialog of information about the control. |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
|
boolean |
checkDocument(java.lang.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 pbool)
Indicates whether the control can respond to user generated events. |
void |
exportView(int format,
java.lang.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. |
java.lang.Object |
getCurrentView()
The current map or page layout view. |
int |
getCurrentViewType()
The type of current view. |
java.lang.Object |
getCustomProperty()
A property to associate data with a control. |
java.lang.String |
getDocumentComment()
A comment about the currently loaded Published Map File (*.PMF). |
java.lang.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. |
java.lang.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(java.lang.String sFilename,
java.lang.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 |
refresh(boolean refreshNow)
Refresh the control's window. |
void |
reloadDocument(java.lang.String sPassword)
Reloads the currently loaded Published Map File (*.PMF) back into the control. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
|
void |
setAppearance(int pappearance)
The appearance of the control. |
void |
setARConfigurationByRef(IARConfiguration ppConfiguration)
The ARConfiguration used by the control. |
void |
setBorderStyle(int pstyle)
The border style of the control. |
void |
setCurrentARTool(int tool)
Current active tool for the control. |
void |
setCurrentViewByRef(java.lang.Object ppCurrentView)
The current map or page layout view. |
void |
setCustomProperty(java.lang.Object pVal)
A property to associate data with a control. |
void |
setDocumentFilename(java.lang.String bsFilename)
The file name of the currently loaded Published Map File (*.PMF). |
void |
setEnableFileDrop(boolean pvbValue)
Indicates whether Published Map Files can be dropped onto the control. |
void |
setMousePointer(int pcursor)
The mouse cursor displayed over the document. |
void |
setShowMapTips(boolean show)
Indicates if map tips are shown when the current view is a map or page layout. |
void |
setShowScrollbars(int viewType,
boolean show)
Indicates if the map and page layout scrollbars are visible. |
void |
setSwipeLayerByRef(IARLayer ppLayer)
The swipe layer used by the control. |
void |
setTOCVisible(boolean visible)
Indicates if the Table of Contents (TOC) is visible. |
void |
setTOCWidth(int lWidth)
The width of the Table of Contents (TOC) in pixels. |
void |
showARWindow(int win,
boolean show,
java.lang.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. |
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 IARControlProxy(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 IARControlProxy()
public IARControlProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IARControlProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IARControlProxy(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 setBorderStyle(int pstyle) throws java.io.IOException, AutomationException
setBorderStyle
in interface IARControl
pstyle
- A com.esri.arcgis.controls.esriARBorderStyle constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBorderStyle() throws java.io.IOException, AutomationException
getBorderStyle
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_setEnabled(boolean pbool) throws java.io.IOException, AutomationException
esri_setEnabled
in interface IARControl
pbool
- The pbool (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean esri_isEnabled() throws java.io.IOException, AutomationException
esri_isEnabled
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAppearance(int pappearance) throws java.io.IOException, AutomationException
setAppearance
in interface IARControl
pappearance
- A com.esri.arcgis.controls.esriARAppearance constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAppearance() throws java.io.IOException, AutomationException
getAppearance
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void aboutBox() throws java.io.IOException, AutomationException
aboutBox
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadDocument(java.lang.String sFilename, java.lang.String sPassword) throws java.io.IOException, AutomationException
loadDocument
in interface IARControl
sFilename
- The sFilename (in)sPassword
- The sPassword (in, optional, pass if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void unloadDocument() throws java.io.IOException, AutomationException
unloadDocument
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reloadDocument(java.lang.String sPassword) throws java.io.IOException, AutomationException
reloadDocument
in interface IARControl
sPassword
- The sPassword (in, optional, pass if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentViewByRef(java.lang.Object ppCurrentView) throws java.io.IOException, AutomationException
setCurrentViewByRef
in interface IARControl
ppCurrentView
- A reference to another Automation Object (IDispatch) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getCurrentView() throws java.io.IOException, AutomationException
getCurrentView
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDocumentComment() throws java.io.IOException, AutomationException
getDocumentComment
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IARPageLayout getARPageLayout() throws java.io.IOException, AutomationException
getARPageLayout
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void showARWindow(int win, boolean show, java.lang.Object data) throws java.io.IOException, AutomationException
showARWindow
in interface IARControl
win
- 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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isARWindowVisible(int win) throws java.io.IOException, AutomationException
isARWindowVisible
in interface IARControl
win
- A com.esri.arcgis.controls.esriARWindows constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void suppressResizeDrawing(boolean suppressResize, int resizeHWnd) throws java.io.IOException, AutomationException
suppressResizeDrawing
in interface IARControl
suppressResize
- The suppressResize (in)resizeHWnd
- The resizeHWnd (in, optional, pass 0 if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTOCWidth(int lWidth) throws java.io.IOException, AutomationException
setTOCWidth
in interface IARControl
lWidth
- The lWidth (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTOCWidth() throws java.io.IOException, AutomationException
getTOCWidth
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void printView() throws java.io.IOException, AutomationException
printView
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void copyViewToClipboard() throws java.io.IOException, AutomationException
copyViewToClipboard
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentARTool(int tool) throws java.io.IOException, AutomationException
setCurrentARTool
in interface IARControl
tool
- A com.esri.arcgis.controls.esriARTool constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCurrentARTool() throws java.io.IOException, AutomationException
getCurrentARTool
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean hasDocumentPermission(int docPermission) throws java.io.IOException, AutomationException
hasDocumentPermission
in interface IARControl
docPermission
- A com.esri.arcgis.controls.esriARDocumentPermissions constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowScrollbars(int viewType, boolean show) throws java.io.IOException, AutomationException
setShowScrollbars
in interface IARControl
viewType
- A com.esri.arcgis.controls.esriARViewType constant (in)show
- The show (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowScrollbars(int viewType) throws java.io.IOException, AutomationException
isShowScrollbars
in interface IARControl
viewType
- A com.esri.arcgis.controls.esriARViewType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTOCVisible(boolean visible) throws java.io.IOException, AutomationException
setTOCVisible
in interface IARControl
visible
- The visible (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isTOCVisible() throws java.io.IOException, AutomationException
isTOCVisible
in interface IARControl
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 IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowMapTips(boolean show) throws java.io.IOException, AutomationException
setShowMapTips
in interface IARControl
show
- The show (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowMapTips() throws java.io.IOException, AutomationException
isShowMapTips
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh(boolean refreshNow) throws java.io.IOException, AutomationException
refresh
in interface IARControl
refreshNow
- The refreshNow (in, optional, pass false if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCurrentViewType() throws java.io.IOException, AutomationException
getCurrentViewType
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IARConfiguration getARConfiguration() throws java.io.IOException, AutomationException
getARConfiguration
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setARConfigurationByRef(IARConfiguration ppConfiguration) throws java.io.IOException, AutomationException
setARConfigurationByRef
in interface IARControl
ppConfiguration
- A reference to a com.esri.arcgis.controls.IARConfiguration (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IARUnitConverter getARUnitConverter() throws java.io.IOException, AutomationException
getARUnitConverter
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDocumentFilename() throws java.io.IOException, AutomationException
getDocumentFilename
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDocumentFilename(java.lang.String bsFilename) throws java.io.IOException, AutomationException
setDocumentFilename
in interface IARControl
bsFilename
- The bsFilename (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean checkDocument(java.lang.String sFilename) throws java.io.IOException, AutomationException
checkDocument
in interface IARControl
sFilename
- The sFilename (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IARCommandInfo getARCommandInfo(int tool) throws java.io.IOException, AutomationException
getARCommandInfo
in interface IARControl
tool
- A com.esri.arcgis.controls.esriARTool constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void exportView(int format, java.lang.String sFilename) throws java.io.IOException, AutomationException
exportView
in interface IARControl
format
- A com.esri.arcgis.controls.esriARExportFormat constant (in)sFilename
- The sFilename (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEnableFileDrop(boolean pvbValue) throws java.io.IOException, AutomationException
setEnableFileDrop
in interface IARControl
pvbValue
- The pvbValue (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnableFileDrop() throws java.io.IOException, AutomationException
isEnableFileDrop
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getCustomProperty() throws java.io.IOException, AutomationException
getCustomProperty
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCustomProperty(java.lang.Object pVal) throws java.io.IOException, AutomationException
setCustomProperty
in interface IARControl
pVal
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getObject() throws java.io.IOException, AutomationException
getObject
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getViewTop() throws java.io.IOException, AutomationException
getViewTop
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getViewLeft() throws java.io.IOException, AutomationException
getViewLeft
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getViewHeight() throws java.io.IOException, AutomationException
getViewHeight
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getViewWidth() throws java.io.IOException, AutomationException
getViewWidth
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasCustomARConfiguration() throws java.io.IOException, AutomationException
isHasCustomARConfiguration
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSwipeLayerByRef(IARLayer ppLayer) throws java.io.IOException, AutomationException
setSwipeLayerByRef
in interface IARControl
ppLayer
- A reference to a com.esri.arcgis.controls.IARLayer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IARLayer getSwipeLayer() throws java.io.IOException, AutomationException
getSwipeLayer
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getViewWindow() throws java.io.IOException, AutomationException
getViewWindow
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMousePointer(int pcursor) throws java.io.IOException, AutomationException
setMousePointer
in interface IARControl
pcursor
- A com.esri.arcgis.controls.esriARMousePointer constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMousePointer() throws java.io.IOException, AutomationException
getMousePointer
in interface IARControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IARLayer getSelectedARLayer() throws java.io.IOException, AutomationException
getSelectedARLayer
in interface IARControl
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 |