|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.catalogUI.GxGeographicView
public class GxGeographicView
GxView that represents the geographic view.
When you want to preview your data, the GxGeographicView is what you will typically use. It is available through the "Preview" tab within ArcCatalog, and displays the geography of the selected dataset in its window. By default the GxGeographicView object shows up on the Preview Tab page, however, the object implements IGxView like the other GxView objects and could be used as its own tab.
A set of standard manipulation tools is provided for zooming, panning, and performing identifies. The developer can easily add their own views that work with this view in whatever fashion they would like. You accomplish this by accessing the map or map display objects from the IGxGeographicView interface. Internally, the view uses the services of these two objects to display the selected item, and you can manipulate them as well.
Constructor Summary | |
---|---|
GxGeographicView()
Constructs a GxGeographicView using ArcGIS Engine. |
|
GxGeographicView(Object obj)
Construct a GxGeographicView 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 |
boundsUpdated(ITransformEventsBoundsUpdatedEvent theEvent)
Notifies clients when the bounds is updated. |
void |
deactivate()
Deactivates the view. |
void |
deviceFrameUpdated(ITransformEventsDeviceFrameUpdatedEvent theEvent)
Notifies clients when the device frame is updated. |
boolean |
equals(Object o)
Compare this object with another |
IActiveView |
getActiveView()
The active view object(either map or page layout). |
IUID |
getClassID()
The class ID of the view. |
static String |
getClsid()
getClsid. |
IUID |
getDefaultToolbarCLSID()
The class ID of the view's default toolbar. |
ILayer |
getDisplayedLayer()
The layer object currently being displayed. |
int |
getHWnd()
The view's window handle. |
IMap |
getMap()
The map object that is used to draw the layer. |
IScreenDisplay |
getMapDisplay()
The display object that is used to draw the layer. |
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 |
resolutionUpdated(ITransformEventsResolutionUpdatedEvent theEvent)
Notifies clients when the resolution is updated. |
void |
rotationUpdated(ITransformEventsRotationUpdatedEvent theEvent)
Notifies clients when the rotation angle is updated. |
void |
systemSettingChanged(int flag,
String section)
Informs the view that a system setting has changed. |
void |
unitsUpdated(ITransformEventsUnitsUpdatedEvent theEvent)
Notifies clients when the units are updated. |
void |
visibleBoundsUpdated(ITransformEventsVisibleBoundsUpdatedEvent theEvent)
Notifies clients when the visible bounds is updated. |
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 GxGeographicView() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GxGeographicView(Object obj) throws IOException
obj
to GxGeographicView
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
GxGeographicView theGxGeographicView = (GxGeographicView) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
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.public ILayer getDisplayedLayer() throws IOException, AutomationException
The DisplayedLayer property is set to nothing when the selected object can not be previewed in the GxGeographicView.
getDisplayedLayer
in interface IGxGeographicView
getDisplayedLayer
in interface IGxGeographicView2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IScreenDisplay getMapDisplay() throws IOException, AutomationException
getMapDisplay
in interface IGxGeographicView
getMapDisplay
in interface IGxGeographicView2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getMap() throws IOException, AutomationException
getMap
in interface IGxGeographicView
getMap
in interface IGxGeographicView2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IActiveView getActiveView() throws IOException, AutomationException
getActiveView
in interface IGxGeographicView2
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 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 boundsUpdated(ITransformEventsBoundsUpdatedEvent theEvent) throws IOException, AutomationException
boundsUpdated
in interface ITransformEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void visibleBoundsUpdated(ITransformEventsVisibleBoundsUpdatedEvent theEvent) throws IOException, AutomationException
visibleBoundsUpdated
in interface ITransformEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deviceFrameUpdated(ITransformEventsDeviceFrameUpdatedEvent theEvent) throws IOException, AutomationException
deviceFrameUpdated
in interface ITransformEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resolutionUpdated(ITransformEventsResolutionUpdatedEvent theEvent) throws IOException, AutomationException
resolutionUpdated
in interface ITransformEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void rotationUpdated(ITransformEventsRotationUpdatedEvent theEvent) throws IOException, AutomationException
rotationUpdated
in interface ITransformEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void unitsUpdated(ITransformEventsUnitsUpdatedEvent theEvent) throws IOException, AutomationException
unitsUpdated
in interface ITransformEvents
theEvent
- The event
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 |