com.esri.arcgis.catalogUI
Class IGxBrowserProxy

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

public class IGxBrowserProxy
extends com.esri.arcgis.interop.Dispatch
implements IGxBrowser, Serializable

Provides access to members that control the GxBrowser.

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
  IGxBrowserProxy()
           
  IGxBrowserProxy(Object obj)
           
protected IGxBrowserProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getHWnd()
          The HWND of the Catalog window.
 IGxCatalog getInternalCatalog()
          The Catalog object used internally by the Catalog window.
 IGxTreeView getTreeView()
          The Catalog window's tree view.
 IGxView getView()
          The Catalog window's current view.
 IUID getViewClassID()
          The Catalog window's current view's class ID.
 void refresh()
          Refresh the Catalog window.
 void removeListener(String iidStr, Object theListener)
           
 void setViewClassID(IUID viewClassID)
          The Catalog window's current view's class ID.
 void show(int parentWindow, boolean show)
          Shows or hides the Catalog window.
 void terminate()
          Instruct the Catalog window to destroy itself.
 
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

IGxBrowserProxy

public IGxBrowserProxy()

IGxBrowserProxy

public IGxBrowserProxy(Object obj)
                throws IOException
Throws:
IOException

IGxBrowserProxy

protected IGxBrowserProxy(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

getInternalCatalog

public IGxCatalog getInternalCatalog()
                              throws IOException,
                                     AutomationException
The Catalog object used internally by the Catalog window.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getInternalCatalog in interface IGxBrowser
Returns:
A reference to a com.esri.arcgis.catalog.IGxCatalog
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getView

public IGxView getView()
                throws IOException,
                       AutomationException
The Catalog window's current view.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getView in interface IGxBrowser
Returns:
A reference to a com.esri.arcgis.catalogUI.IGxView
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getViewClassID

public IUID getViewClassID()
                    throws IOException,
                           AutomationException
The Catalog window's current view's class ID.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getViewClassID in interface IGxBrowser
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setViewClassID

public void setViewClassID(IUID viewClassID)
                    throws IOException,
                           AutomationException
The Catalog window's current view's class ID.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setViewClassID in interface IGxBrowser
Parameters:
viewClassID - A reference to a com.esri.arcgis.system.IUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTreeView

public IGxTreeView getTreeView()
                        throws IOException,
                               AutomationException
The Catalog window's tree view.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getTreeView in interface IGxBrowser
Returns:
A reference to a com.esri.arcgis.catalogUI.IGxTreeView
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

show

public void show(int parentWindow,
                 boolean show)
          throws IOException,
                 AutomationException
Shows or hides the Catalog window.

Product Availability

Available with ArcGIS Desktop.

Specified by:
show in interface IGxBrowser
Parameters:
parentWindow - The parentWindow (A COM typedef) (in)
show - The show (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

terminate

public void terminate()
               throws IOException,
                      AutomationException
Instruct the Catalog window to destroy itself.

Product Availability

Available with ArcGIS Desktop.

Specified by:
terminate in interface IGxBrowser
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHWnd

public int getHWnd()
            throws IOException,
                   AutomationException
The HWND of the Catalog window.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getHWnd in interface IGxBrowser
Returns:
The pHwnd (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

public void refresh()
             throws IOException,
                    AutomationException
Refresh the Catalog window.

Product Availability

Available with ArcGIS Desktop.

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