|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Canvas
com.esri.arcgis.interop.Ocx
com.esri.arcgis.controls.ArcReaderControl
public class ArcReaderControl
ESRI ArcReaderControl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.Canvas |
|---|
Canvas.AccessibleAWTCanvas |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Ocx |
|---|
rootParentContainers, rootWindows |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ArcReaderControl()
Constructs a ArcReaderControl using ArcGIS Engine. |
|
ArcReaderControl(Object o)
Constructs a ArcReaderControl. |
|
| Method Summary | |
|---|---|
void |
aboutBox()
Displays a dialog of information about the control. |
void |
addIARControlEventsListener(IARControlEvents theListener)
addIARControlEventsListener. |
void |
addNotify()
|
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 |
equals(Object o)
Compare this object with another |
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,
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. |
static String |
getClsid()
getClsid. |
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 |
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 |
removeIARControlEventsListener(IARControlEvents theListener)
removeIARControlEventsListener. |
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(Object ppCurrentView)
The current map or page layout view. |
void |
setCustomProperty(Object pVal)
A property to associate data with a control. |
void |
setDocumentFilename(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,
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.Ocx |
|---|
checkIfVisible, getMinimumSize, getObjRef, getPreferredSize, paint, removeNotify, setBounds, setBounds, setSize, setSize, zz_doQueuedSets, zz_get, zz_get, zz_get, zz_get, zz_get, zz_get, zz_get, zz_get, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet |
| Methods inherited from class java.awt.Canvas |
|---|
createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy, update |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public ArcReaderControl()
public ArcReaderControl(Object o)
| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Object
public void addIARControlEventsListener(IARControlEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.controls.IARControlEvents interface.
IOException - If there are communications problems.
public void removeIARControlEventsListener(IARControlEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.controls.IARControlEvents interface.
IOException - If there are communications problems.public void addNotify()
addNotify in class com.esri.arcgis.interop.Ocx
public void setBorderStyle(int pstyle)
throws IOException,
AutomationException
setBorderStyle in interface IARControlsetBorderStyle in interface IARControlDefaultpstyle - 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 IARControlgetBorderStyle in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void esri_setEnabled(boolean pbool)
throws IOException,
AutomationException
esri_setEnabled in interface IARControlesri_setEnabled in interface IARControlDefaultpbool - The pbool (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 IARControlesri_isEnabled in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAppearance(int pappearance)
throws IOException,
AutomationException
setAppearance in interface IARControlsetAppearance in interface IARControlDefaultpappearance - 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 IARControlgetAppearance 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 IARControlaboutBox 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 IARControlloadDocument 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 IARControlunloadDocument 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 IARControlreloadDocument 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 ppCurrentView)
throws IOException,
AutomationException
setCurrentViewByRef in interface IARControlsetCurrentViewByRef in interface IARControlDefaultppCurrentView - 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 IARControlgetCurrentView 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 IARControlgetDocumentComment 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 IARControlgetARPageLayout 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 IARControlshowARWindow 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 IARControlisARWindowVisible 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 IARControlsuppressResizeDrawing 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 lWidth)
throws IOException,
AutomationException
setTOCWidth in interface IARControlsetTOCWidth in interface IARControlDefaultlWidth - The lWidth (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTOCWidth()
throws IOException,
AutomationException
getTOCWidth in interface IARControlgetTOCWidth 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 IARControlprintView 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 IARControlcopyViewToClipboard in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCurrentARTool(int tool)
throws IOException,
AutomationException
setCurrentARTool in interface IARControlsetCurrentARTool 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 int getCurrentARTool()
throws IOException,
AutomationException
getCurrentARTool in interface IARControlgetCurrentARTool 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 IARControlhasDocumentPermission 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 show)
throws IOException,
AutomationException
setShowScrollbars in interface IARControlsetShowScrollbars in interface IARControlDefaultviewType - A com.esri.arcgis.controls.esriARViewType constant (in)show - The show (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 IARControlisShowScrollbars 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 visible)
throws IOException,
AutomationException
setTOCVisible in interface IARControlsetTOCVisible in interface IARControlDefaultvisible - The visible (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isTOCVisible()
throws IOException,
AutomationException
isTOCVisible in interface IARControlisTOCVisible 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 IARControlgetHWnd in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowMapTips(boolean show)
throws IOException,
AutomationException
setShowMapTips in interface IARControlsetShowMapTips in interface IARControlDefaultshow - The show (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isShowMapTips()
throws IOException,
AutomationException
isShowMapTips in interface IARControlisShowMapTips 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 IARControlrefresh 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 IARControlgetCurrentViewType 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 IARControlgetARConfiguration in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setARConfigurationByRef(IARConfiguration ppConfiguration)
throws IOException,
AutomationException
setARConfigurationByRef in interface IARControlsetARConfigurationByRef in interface IARControlDefaultppConfiguration - 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 IARControlgetARUnitConverter 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 IARControlgetDocumentFilename in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDocumentFilename(String bsFilename)
throws IOException,
AutomationException
setDocumentFilename in interface IARControlsetDocumentFilename in interface IARControlDefaultbsFilename - The bsFilename (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 IARControlcheckDocument 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 IARControlgetARCommandInfo 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 IARControlexportView 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 pvbValue)
throws IOException,
AutomationException
setEnableFileDrop in interface IARControlsetEnableFileDrop in interface IARControlDefaultpvbValue - The pvbValue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEnableFileDrop()
throws IOException,
AutomationException
isEnableFileDrop in interface IARControlisEnableFileDrop 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 IARControlgetCustomProperty in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomProperty(Object pVal)
throws IOException,
AutomationException
setCustomProperty in interface IARControlsetCustomProperty in interface IARControlDefaultpVal - 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 IARControlgetObject 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 IARControlgetViewTop 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 IARControlgetViewLeft 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 IARControlgetViewHeight 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 IARControlgetViewWidth 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 IARControlisHasCustomARConfiguration in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSwipeLayerByRef(IARLayer ppLayer)
throws IOException,
AutomationException
setSwipeLayerByRef in interface IARControlsetSwipeLayerByRef in interface IARControlDefaultppLayer - 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 IARControlgetSwipeLayer 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 IARControlgetViewWindow in interface IARControlDefaultIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMousePointer(int pcursor)
throws IOException,
AutomationException
setMousePointer in interface IARControlsetMousePointer in interface IARControlDefaultpcursor - 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 IARControlgetMousePointer 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 IARControlgetSelectedARLayer in interface IARControlDefaultIOException - 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 | ||||||||