|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.catalogUI.GxTreeView
public class GxTreeView
GxView that represents the tree view.
The tree view is represented by GxTreeView, and shows a hierarchical organization of your data holdings, as parents and children. It is unlikely you will need to interact programmatically with the tree view, other than to force it to reveal a particular GxObject (through the IGxTreeView::EnsureVisible method), or to initiate a renaming operation (through BeginRename).
Constructor Summary | |
---|---|
GxTreeView()
Constructs a GxTreeView using ArcGIS Engine. |
|
GxTreeView(Object obj)
Construct a GxTreeView using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
activate(IGxApplication application,
IGxCatalog catalog)
Activates the view. |
boolean |
applies(IGxObject selection)
Indicates if the view can display the given object. |
void |
beginRename()
Starts a rename operation on the current selection. |
void |
deactivate()
Deactivates the view. |
void |
ensureVisible(IGxObject object)
Ensures that the current selection is visible, scrolling/expanding if necessary. |
boolean |
equals(Object o)
Compare this object with another |
void |
expandSelection(IGxSelection selection)
Instructs the tree view to expand the current selection. |
IUID |
getClassID()
The class ID of the view. |
static String |
getClsid()
getClsid. |
IUID |
getDefaultToolbarCLSID()
The class ID of the view's default toolbar. |
int |
getHWnd()
The view's window handle. |
String |
getName()
The name of the view. |
int |
hashCode()
the hashcode for this object |
boolean |
isSupportsTools()
Indicates if the view supports tools. |
void |
onObjectAdded(IGxCatalogEventsOnObjectAddedEvent theEvent)
Called when an object has been added to some part of the catalog. |
void |
onObjectChanged(IGxCatalogEventsOnObjectChangedEvent theEvent)
Called when an object in some part of the catalog has been changed. |
void |
onObjectDeleted(IGxCatalogEventsOnObjectDeletedEvent theEvent)
Called when an object has been deleted from some part of the catalog. |
void |
onObjectRefreshed(IGxCatalogEventsOnObjectRefreshedEvent theEvent)
Called when an object in some part of the catalog has been refreshed. |
void |
onRefreshAll(IGxCatalogEventsOnRefreshAllEvent theEvent)
Called when the whole catalog has changed. |
void |
onSelectionChanged(IGxSelectionEventsOnSelectionChangedEvent theEvent)
Called when the selection contents have changed. |
void |
refresh()
Refreshes the view. |
void |
systemSettingChanged(int flag,
String section)
Informs the view that a system setting has changed. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public GxTreeView() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GxTreeView(Object obj) throws IOException
obj
to GxTreeView
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
GxTreeView theGxTreeView = (GxTreeView) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void onRefreshAll(IGxCatalogEventsOnRefreshAllEvent theEvent) throws IOException, AutomationException
onRefreshAll
in interface IGxCatalogEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onObjectAdded(IGxCatalogEventsOnObjectAddedEvent theEvent) throws IOException, AutomationException
onObjectAdded
in interface IGxCatalogEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onObjectDeleted(IGxCatalogEventsOnObjectDeletedEvent theEvent) throws IOException, AutomationException
onObjectDeleted
in interface IGxCatalogEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onObjectChanged(IGxCatalogEventsOnObjectChangedEvent theEvent) throws IOException, AutomationException
onObjectChanged
in interface IGxCatalogEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onObjectRefreshed(IGxCatalogEventsOnObjectRefreshedEvent theEvent) throws IOException, AutomationException
onObjectRefreshed
in interface IGxCatalogEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onSelectionChanged(IGxSelectionEventsOnSelectionChangedEvent theEvent) throws IOException, AutomationException
onSelectionChanged
in interface IGxSelectionEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void expandSelection(IGxSelection selection) throws IOException, AutomationException
expandSelection
in interface IGxTreeView
selection
- A reference to a com.esri.arcgis.catalog.IGxSelection (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void beginRename() throws IOException, AutomationException
beginRename
in interface IGxTreeView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void ensureVisible(IGxObject object) throws IOException, AutomationException
ensureVisible
in interface IGxTreeView
object
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IGxView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getClassID() throws IOException, AutomationException
getClassID
in interface IGxView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHWnd() throws IOException, AutomationException
getHWnd
in interface IGxView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getDefaultToolbarCLSID() throws IOException, AutomationException
DefaultToolbarCLSID provides a reference to the default toolbar for the particular view. The default toolbar for a view would contain tools that were appropriate for the current type of GxView.
getDefaultToolbarCLSID
in interface IGxView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSupportsTools() throws IOException, AutomationException
isSupportsTools
in interface IGxView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean applies(IGxObject selection) throws IOException, AutomationException
applies
in interface IGxView
selection
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void activate(IGxApplication application, IGxCatalog catalog) throws IOException, AutomationException
activate
in interface IGxView
application
- A reference to a com.esri.arcgis.catalogUI.IGxApplication (in)catalog
- A reference to a com.esri.arcgis.catalog.IGxCatalog (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deactivate() throws IOException, AutomationException
deactivate
in interface IGxView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh() throws IOException, AutomationException
refresh
in interface IGxView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void systemSettingChanged(int flag, String section) throws IOException, AutomationException
systemSettingChanged
in interface IGxView
flag
- The flag (in)section
- The section (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 |