|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.catalogUI.IGxApplicationProxy
public class IGxApplicationProxy
Provides access to members that control the Gx Application object.
The
IGxApplication interface is unique to ArcCatalog
and is used to control certain aspects of its behavior. For
example, through the IGxApplication interface, you can
delete or expand the current selection (through
DeleteSelection and ExpandSelection) or force a
refresh of a certain part of the Catalog tree (through
Refresh). You can also get hold of the currently selected
object(s) through the Selection and
SelectedObject properties.
The Catalog
property returns the GxCatalog object, which represents
the root of the Catalog data tree. From there, you can use
IGxObjectContainer::Children to enumerate through the
Catalog’s descendants.
The TreeView
property gives you access to ArcCatalog’s tree view. From
this GxTreeView, you can ensure that a certain descendant
is visible or initiate a renaming operation.
The View property
gives you access to the active GxView, whatever it happens
to be. It might be one of the built-in views—for example,
GxContentsView, GxPreview, or
GxMetadataView—or it might be a developer- added
one. From here, you can manipulate the active view in whatever
fashion is native to it.
com.esri.arcgis.gx.Application,
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 | |
|---|---|
|
IGxApplicationProxy()
|
|
IGxApplicationProxy(Object obj)
|
protected |
IGxApplicationProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
deleteSelection()
Deletes the current selection. |
void |
expandSelection()
Expands the current selection. |
IEnvelope |
getAreaOfInterest()
The default area of interest for the application. |
IGxCatalog |
getCatalog()
The current catalog. |
IGxObject |
getSelectedObject()
The first selected object, or the location if no objects are selected. |
IGxSelection |
getSelection()
The selection of application. |
IGxTreeView |
getTreeView()
The tree view. |
IGxView |
getView()
The current view. |
IUID |
getViewClassID()
The current view's class ID. |
boolean |
isCanDeleteSelection()
Indicates if the current selection can be deleted. |
boolean |
isCanRenameSelection()
Indicates if the current selection can be renamed. |
void |
refresh(String startingPath)
Refreshes the catalog tree starting at the specified path. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
renameSelection()
Renames the current selection. |
void |
setAreaOfInterest(IEnvelope aoi)
The default area of interest for the application. |
void |
setLocation(String rhs1)
The location to the specified path. |
void |
setViewClassID(IUID viewClassID)
The current view's class ID. |
void |
showContextMenu(int x,
int y)
Displays a context menu for the current selection. |
| 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 boolean noncastable
| Constructor Detail |
|---|
public IGxApplicationProxy()
public IGxApplicationProxy(Object obj)
throws IOException
IOException
protected IGxApplicationProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public IGxCatalog getCatalog()
throws IOException,
AutomationException
getCatalog in interface IGxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGxView getView()
throws IOException,
AutomationException
getView in interface IGxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getViewClassID()
throws IOException,
AutomationException
getViewClassID in interface IGxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setViewClassID(IUID viewClassID)
throws IOException,
AutomationException
setViewClassID in interface IGxApplicationviewClassID - A reference to a com.esri.arcgis.system.IUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGxTreeView getTreeView()
throws IOException,
AutomationException
getTreeView in interface IGxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGxSelection getSelection()
throws IOException,
AutomationException
getSelection in interface IGxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGxObject getSelectedObject()
throws IOException,
AutomationException
getSelectedObject in interface IGxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLocation(String rhs1)
throws IOException,
AutomationException
setLocation in interface IGxApplicationrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh(String startingPath)
throws IOException,
AutomationException
refresh in interface IGxApplicationstartingPath - The startingPath (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void showContextMenu(int x,
int y)
throws IOException,
AutomationException
showContextMenu in interface IGxApplicationx - The x (in)y - The y (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void expandSelection()
throws IOException,
AutomationException
expandSelection in interface IGxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanDeleteSelection()
throws IOException,
AutomationException
isCanDeleteSelection in interface IGxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteSelection()
throws IOException,
AutomationException
deleteSelection in interface IGxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanRenameSelection()
throws IOException,
AutomationException
isCanRenameSelection in interface IGxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void renameSelection()
throws IOException,
AutomationException
renameSelection in interface IGxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getAreaOfInterest()
throws IOException,
AutomationException
getAreaOfInterest in interface IGxApplicationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAreaOfInterest(IEnvelope aoi)
throws IOException,
AutomationException
setAreaOfInterest in interface IGxApplicationaoi - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
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 | ||||||||