com.esri.arcgis.catalogUI
Class IGxGeographicView2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.catalogUI.IGxGeographicView2Proxy
All Implemented Interfaces:
IGxGeographicView2, Externalizable, Serializable

public class IGxGeographicView2Proxy
extends com.esri.arcgis.interop.Dispatch
implements IGxGeographicView2, Serializable

Provides access to more members that control the GxGeographicView.

Description

The IGxGeographicView2 interface is implemented by the GxGeographicView object. It provides access to the map and screen display that preview the currently selected object. Through this interface, the developer can retrieve the layer being displayed, then use the map and screen display properties to show additional information within the view.

Remarks

The IGxGeographicView2 interface provides access to the IActiveView of the map being used to preview the current selection.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IGxGeographicView2Proxy()
           
  IGxGeographicView2Proxy(Object obj)
           
protected IGxGeographicView2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IActiveView getActiveView()
          The active view object(either map or page layout).
 ILayer getDisplayedLayer()
          The layer object currently being displayed.
 IMap getMap()
          The map object that is used to draw the layer.
 IScreenDisplay getMapDisplay()
          The display object that is used to draw the layer.
 void removeListener(String iidStr, Object theListener)
           
 
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

noncastable

public boolean noncastable
Constructor Detail

IGxGeographicView2Proxy

public IGxGeographicView2Proxy()

IGxGeographicView2Proxy

public IGxGeographicView2Proxy(Object obj)
                        throws IOException
Throws:
IOException

IGxGeographicView2Proxy

protected IGxGeographicView2Proxy(Object obj,
                                  String iid)
                           throws IOException
Throws:
IOException
Method Detail

addListener

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

removeListener

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

getDisplayedLayer

public ILayer getDisplayedLayer()
                         throws IOException,
                                AutomationException
The layer object currently being displayed.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getDisplayedLayer in interface IGxGeographicView2
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMapDisplay

public IScreenDisplay getMapDisplay()
                             throws IOException,
                                    AutomationException
The display object that is used to draw the layer.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getMap

public IMap getMap()
            throws IOException,
                   AutomationException
The map object that is used to draw the layer.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getActiveView

public IActiveView getActiveView()
                          throws IOException,
                                 AutomationException
The active view object(either map or page layout).

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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