com.esri.arcgis.carto
Class IActiveViewProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IActiveViewProxy
All Implemented Interfaces:
IActiveView, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IActiveView'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control the active view - the main application window.' 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 =

public class IActiveViewProxy
extends com.esri.arcgis.interop.Dispatch
implements IActiveView, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.carto.IActiveView
IID, IIDdd94d76b_836d_11d0_87ec_080009ec732a
 
Constructor Summary
  IActiveViewProxy()
          Deprecated. For internal use only
  IActiveViewProxy(java.lang.Object obj)
          Deprecated.  
protected IActiveViewProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IActiveViewProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IActiveViewProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void activate(int hWnd)
          Deprecated. Gives this view control of the specified window.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void clear()
          Deprecated. Empties the view contents.
 void contentsChanged()
          Deprecated. Called by clients when view objects are modified.
 void deactivate()
          Deprecated. Another view takes over the associated window.
 void draw(int hDC, ITrackCancel trackCancel)
          Deprecated. Draws the view to the specified device context.
 void getContextMenu(double x, double y, IUID[] clsidMenu)
          Deprecated. Called when a context menu should be displayed at the given xy location.
 tagRECT getExportFrame()
          Deprecated. The device rectangle to export.
 IEnvelope getExtent()
          Deprecated. The visible extent rectangle.
 IExtentStack getExtentStack()
          Deprecated. The extent stack.
 IMap getFocusMap()
          Deprecated. The map that tools and controls act on.
 IEnvelope getFullExtent()
          Deprecated. The full extent rectangle.
 IGraphicsContainer getGraphicsContainer()
          Deprecated. The active graphics container.
 short getScreenCacheID(int phase, java.lang.Object data)
          Deprecated. The screen cache ID that is used to draw the specified phase.
 IScreenDisplay getScreenDisplay()
          Deprecated. The screen display used by the view.
 ISelection getSelection()
          Deprecated. The selection.
 java.lang.String getTipText(double x, double y)
          Deprecated. The tip text to display at the given location.
 IMap hitTestMap(IPoint location)
          Deprecated. Returns any maps present in the view at the given location.
 boolean isActive()
          Deprecated. Indicates if view is active or not.
 boolean isMapActivated()
          Deprecated. Indicates if the focus map is activated.
 boolean isShowRulers()
          Deprecated. Indicates if rulers are visible.
 boolean isShowScrollBars()
          Deprecated. Indicates if scrollbars are visible.
 boolean isShowSelection()
          Deprecated. Indicates if selection is visible.
 void onMessage(int msg, int wParam, int lParam)
          Deprecated. Call from your application's message loop to enable automatic resizing and keyboard accelerators.
 void output(int hDC, int dpi, tagRECT pixelBounds, IEnvelope visibleBounds, ITrackCancel trackCancel)
          Deprecated. Renders the view to the specified DC.
 void partialRefresh(int phase, java.lang.Object data, IEnvelope envelope)
          Deprecated. Draws the specified view phase.
 void printerChanged(IPrinter printer)
          Deprecated. Called by application when printer changes.
 void refresh()
          Deprecated. Causes the entire view to draw.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void setExtent(IEnvelope extent)
          Deprecated. The visible extent rectangle.
 void setFocusMapByRef(IMap activeMap)
          Deprecated. The map that tools and controls act on.
 void setFullExtent(IEnvelope extent)
          Deprecated. The full extent rectangle.
 void setIsMapActivated(boolean isMapActivated)
          Deprecated. Indicates if the focus map is activated.
 void setSelectionByRef(ISelection selection)
          Deprecated. The selection.
 void setShowRulers(boolean showRulers)
          Deprecated. Indicates if rulers are visible.
 void setShowScrollBars(boolean showScrollBars)
          Deprecated. Indicates if scrollbars are visible.
 void setShowSelection(boolean showRulers)
          Deprecated. Indicates if selection is visible.
 
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

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IActiveViewProxy

public IActiveViewProxy(java.lang.String CLSID,
                        java.lang.String host,
                        com.esri.arcgis.interop.AuthInfo authInfo)
                 throws java.net.UnknownHostException,
                        java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IActiveViewProxy

public IActiveViewProxy()
Deprecated. 
For internal use only


IActiveViewProxy

public IActiveViewProxy(java.lang.Object obj)
                 throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IActiveViewProxy

protected IActiveViewProxy(java.lang.Object obj,
                           java.lang.String iid)
                    throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IActiveViewProxy

protected IActiveViewProxy(java.lang.String CLSID,
                           java.lang.String iid,
                           java.lang.String host,
                           com.esri.arcgis.interop.AuthInfo authInfo)
                    throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getFullExtent

public IEnvelope getFullExtent()
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
The full extent rectangle.

Specified by:
getFullExtent in interface IActiveView
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFullExtent

public void setFullExtent(IEnvelope extent)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
The full extent rectangle.

Specified by:
setFullExtent in interface IActiveView
Parameters:
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
The visible extent rectangle.

Specified by:
getExtent in interface IActiveView
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtent

public void setExtent(IEnvelope extent)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
The visible extent rectangle.

Specified by:
setExtent in interface IActiveView
Parameters:
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScreenDisplay

public IScreenDisplay getScreenDisplay()
                                throws java.io.IOException,
                                       AutomationException
Deprecated. 
The screen display used by the view.

Specified by:
getScreenDisplay in interface IActiveView
Returns:
A reference to a com.esri.arcgis.display.IScreenDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGraphicsContainer

public IGraphicsContainer getGraphicsContainer()
                                        throws java.io.IOException,
                                               AutomationException
Deprecated. 
The active graphics container.

Specified by:
getGraphicsContainer in interface IActiveView
Returns:
A reference to a com.esri.arcgis.carto.IGraphicsContainer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFocusMap

public IMap getFocusMap()
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
The map that tools and controls act on.

Specified by:
getFocusMap in interface IActiveView
Returns:
A reference to a com.esri.arcgis.carto.IMap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFocusMapByRef

public void setFocusMapByRef(IMap activeMap)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
The map that tools and controls act on.

Specified by:
setFocusMapByRef in interface IActiveView
Parameters:
activeMap - A reference to a com.esri.arcgis.carto.IMap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isMapActivated

public boolean isMapActivated()
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Indicates if the focus map is activated.

Specified by:
isMapActivated in interface IActiveView
Returns:
The isMapActivated
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsMapActivated

public void setIsMapActivated(boolean isMapActivated)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Indicates if the focus map is activated.

Specified by:
setIsMapActivated in interface IActiveView
Parameters:
isMapActivated - The isMapActivated (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelection

public ISelection getSelection()
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
The selection.

Specified by:
getSelection in interface IActiveView
Returns:
A reference to a com.esri.arcgis.carto.ISelection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSelectionByRef

public void setSelectionByRef(ISelection selection)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
The selection.

Specified by:
setSelectionByRef in interface IActiveView
Parameters:
selection - A reference to a com.esri.arcgis.carto.ISelection (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTipText

public java.lang.String getTipText(double x,
                                   double y)
                            throws java.io.IOException,
                                   AutomationException
Deprecated. 
The tip text to display at the given location.

Specified by:
getTipText in interface IActiveView
Parameters:
x - The x (in)
y - The y (in)
Returns:
The tipText
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExportFrame

public tagRECT getExportFrame()
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
The device rectangle to export.

Specified by:
getExportFrame in interface IActiveView
Returns:
A Structure: com.esri.arcgis.system.tagRECT
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isShowScrollBars

public boolean isShowScrollBars()
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Indicates if scrollbars are visible.

Specified by:
isShowScrollBars in interface IActiveView
Returns:
The showScrollBars
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setShowScrollBars

public void setShowScrollBars(boolean showScrollBars)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Indicates if scrollbars are visible.

Specified by:
setShowScrollBars in interface IActiveView
Parameters:
showScrollBars - The showScrollBars (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isShowRulers

public boolean isShowRulers()
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Indicates if rulers are visible.

Specified by:
isShowRulers in interface IActiveView
Returns:
The showRulers
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setShowRulers

public void setShowRulers(boolean showRulers)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Indicates if rulers are visible.

Specified by:
setShowRulers in interface IActiveView
Parameters:
showRulers - The showRulers (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isShowSelection

public boolean isShowSelection()
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Indicates if selection is visible.

Specified by:
isShowSelection in interface IActiveView
Returns:
The showRulers
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setShowSelection

public void setShowSelection(boolean showRulers)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Indicates if selection is visible.

Specified by:
setShowSelection in interface IActiveView
Parameters:
showRulers - The showRulers (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtentStack

public IExtentStack getExtentStack()
                            throws java.io.IOException,
                                   AutomationException
Deprecated. 
The extent stack.

Specified by:
getExtentStack in interface IActiveView
Returns:
A reference to a com.esri.arcgis.carto.IExtentStack
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScreenCacheID

public short getScreenCacheID(int phase,
                              java.lang.Object data)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
The screen cache ID that is used to draw the specified phase.

Specified by:
getScreenCacheID in interface IActiveView
Parameters:
phase - A com.esri.arcgis.carto.esriViewDrawPhase constant (in)
data - A reference to another Object (IUnknown) (in)
Returns:
The cacheID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hitTestMap

public IMap hitTestMap(IPoint location)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Returns any maps present in the view at the given location. Return value may be zero if there are no maps or the coordinate is not over a map.

Specified by:
hitTestMap in interface IActiveView
Parameters:
location - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
A reference to a com.esri.arcgis.carto.IMap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isActive

public boolean isActive()
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Indicates if view is active or not.

Specified by:
isActive in interface IActiveView
Returns:
The isActive
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

activate

public void activate(int hWnd)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Gives this view control of the specified window.

Specified by:
activate in interface IActiveView
Parameters:
hWnd - The hWnd (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deactivate

public void deactivate()
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Another view takes over the associated window.

Specified by:
deactivate in interface IActiveView
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

draw

public void draw(int hDC,
                 ITrackCancel trackCancel)
          throws java.io.IOException,
                 AutomationException
Deprecated. 
Draws the view to the specified device context.

Specified by:
draw in interface IActiveView
Parameters:
hDC - The hDC (A COM typedef) (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

output

public void output(int hDC,
                   int dpi,
                   tagRECT pixelBounds,
                   IEnvelope visibleBounds,
                   ITrackCancel trackCancel)
            throws java.io.IOException,
                   AutomationException
Deprecated. 
Renders the view to the specified DC.

Specified by:
output in interface IActiveView
Parameters:
hDC - The hDC (A COM typedef) (in)
dpi - The dpi (in)
pixelBounds - A Structure: com.esri.arcgis.system.tagRECT (in)
visibleBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

public void refresh()
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Causes the entire view to draw.

Specified by:
refresh in interface IActiveView
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

partialRefresh

public void partialRefresh(int phase,
                           java.lang.Object data,
                           IEnvelope envelope)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Draws the specified view phase. Use an envelope of zero to draw the entire phase.

Specified by:
partialRefresh in interface IActiveView
Parameters:
phase - A com.esri.arcgis.carto.esriViewDrawPhase constant (in)
data - A reference to another Object (IUnknown) (in)
envelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

public void clear()
           throws java.io.IOException,
                  AutomationException
Deprecated. 
Empties the view contents.

Specified by:
clear in interface IActiveView
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

printerChanged

public void printerChanged(IPrinter printer)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Called by application when printer changes.

Specified by:
printerChanged in interface IActiveView
Parameters:
printer - A reference to a com.esri.arcgis.output.IPrinter (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

contentsChanged

public void contentsChanged()
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Called by clients when view objects are modified.

Specified by:
contentsChanged in interface IActiveView
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onMessage

public void onMessage(int msg,
                      int wParam,
                      int lParam)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Call from your application's message loop to enable automatic resizing and keyboard accelerators.

Specified by:
onMessage in interface IActiveView
Parameters:
msg - The msg (in)
wParam - The wParam (A COM typedef) (in)
lParam - The lParam (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getContextMenu

public void getContextMenu(double x,
                           double y,
                           IUID[] clsidMenu)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Called when a context menu should be displayed at the given xy location. Return menu that should be displayed.

Specified by:
getContextMenu in interface IActiveView
Parameters:
x - The x (in)
y - The y (in)
clsidMenu - A reference to a com.esri.arcgis.system.IUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.