com.esri.arcgis.globecore
Class GlobeDisplay

java.lang.Object
  extended by com.esri.arcgis.globecore.GlobeDisplay
All Implemented Interfaces:
IViewers3D, IActiveViewEvents, IConnectionPointContainer, IDisplay, IScreenDisplay, ITimeDisplay, ITimeDisplay2, IGlobeDisplay, IGlobeDisplay2, IGlobeDisplay3, IGlobeDisplayLayers, IGlobeDisplayLayers2, IGlobeDisplayRendering3, IGlobeDisplayUtil, IGlobeStatInfo, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable, java.util.EventListener

public class GlobeDisplay
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGlobeDisplay3, IGlobeDisplayLayers, IGlobeDisplayLayers2, IGlobeDisplayRendering3, IActiveViewEvents, IConnectionPointContainer, IScreenDisplay, IGlobeStatInfo, ITimeDisplay, ITimeDisplay2, IGlobeDisplayUtil

COM Class 'GlobeDisplay'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGlobeCore.olb'

Description 'The globe display object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeDisplay3
IID, IIDfcc11bb5_174c_4ecf_b47c_e8c62e1d70c5, xxDummy
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeDisplay2
IIDd05e08d4_24d2_4b48_8fff_927da293363f
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeDisplay
IIDa08bd3fa_8d60_42a3_bd2a_50b013e3f6da
 
Fields inherited from interface com.esri.arcgis.analyst3d.IViewers3D
IID4d8ca7d2_0aaa_4502_adc7_0388051c5f5c
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeDisplayLayers2
IID, IIDa1bf002b_4ecb_4328_80ba_ddae011dae0c, xxDummy
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeDisplayLayers
IID5c44152f_6d5a_4ec2_bc1f_e13ae9f5c7ee
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeDisplayRendering3
IID, IID83976305_34dc_4121_bb64_1dc1d15addf1, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IActiveViewEvents
IID, IIDe79c5940_52dd_11d0_98be_00805f7ced21, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.IScreenDisplay
IID, IIDe6bdb004_4d35_11d0_98be_00805f7ced21, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.IDisplay
IIDe6bdb002_4d35_11d0_98be_00805f7ced21
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeStatInfo
IID, IID1641c885_17ef_4531_a507_518ce994a17e, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.ITimeDisplay2
IID, IIDdaad3027_1474_40e2_8908_e27cef24a526, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.ITimeDisplay
IID2045f389_b48e_4cb6_a63b_d1232c1af39d
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeDisplayUtil
IID, IID1a7729a9_df52_4c56_8b8a_835d94c1216e, xxDummy
 
Constructor Summary
GlobeDisplay()
          Constructs a GlobeDisplay using ArcGIS Engine.
GlobeDisplay(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GlobeDisplay theGlobeDisplay = (GlobeDisplay) obj;
 
Method Summary
 short addCache()
          Creates a new cache and return its ID.
 void addIGlobeDisplayEventsListener(IGlobeDisplayEvents theListener)
          addIGlobeDisplayEventsListener.
 void addITimeDisplayEventsListener(ITimeDisplayEvents theListener)
          addITimeDisplayEventsListener.
 void addLayer(ILayer pLayer)
          Adds a layer.
 void afterDraw(IActiveViewEventsAfterDrawEvent theEvent)
          Fired after the specified phase is drawn.
 void afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent)
          Fired after an individual view item is drawn.
 void applyHeightProperties(ILayer pGLayer)
          Applies changes in height properties to the layer.
 void clear(boolean bRecycleBasicObjects)
          Clear the display objects.
 void contentsChanged(IActiveViewEventsContentsChangedEvent theEvent)
          Fired when the contents of the view changes.
 void contentsCleared(IActiveViewEventsContentsClearedEvent theEvent)
          Fired when the contents of the view is cleared.
 void countTiles(ILayer pLayer, int fromLOD, int toLOD, double[] pCount)
          Counts the number of possible layer tiles in the specified levels of detail.
 IEnumLayer createLayerFromGmxXML(java.lang.String cachePath)
          Creates the globe layer file for the globe cache given by gmx.xml configuration file.
 void doScroll(int xDelta, int yDelta, boolean updateScreen)
          Scrolls the screen by the specified amount.
 void drawCache(int hDC, short index, tagRECT deviceRect, tagRECT cacheRect)
          Draws the specified screen cache to the specified window device context.
 void drawMultipoint(IGeometry multipoint)
          Draws specified multipoint on the display.
 void drawPoint(IGeometry point)
          Draws specified point on the display.
 void drawPolygon(IGeometry polygon)
          Draws specified polygon on the display.
 void drawPolyline(IGeometry polyline)
          Draws specified line on the display.
 void drawRectangle(IEnvelope rectangle)
          Draws specified rectangle on the display.
 void drawText(IGeometry shape, java.lang.String text)
          Draws specified text on the display.
 void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
          enumConnectionPoints
 boolean equals(java.lang.Object o)
          Compare this object with another
 void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP)
          findConnectionPoint
 IGlobeLayerProperties findGlobeProperties(ILayer pLayer)
          Finds the globe properties of the layer.
 ISceneViewer findViewer(java.lang.String caption)
          Finds the Viewer.
 void finishDrawing()
          Completes drawing.
 void focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent)
          Fired when a new map is made active.
 void generateTiles(ILayer pLayer, int fromLOD, int toLOD)
          Generates the tiles in the specified levels of detail.
 short getActiveCache()
          Screen cache where drawing occurs.
 ISceneViewer getActiveViewer()
          The active viewer.
 IGlobeAdvancedOptions getAdvancedOptions()
          The data processing and management options.
 IArray getAllViewers()
          Returns all registered Viewers.
 float getAmbientLight()
          The sun's ambient light value.
 void getBackgroundColor(float[] pRed, float[] pGreen, float[] pBlue)
          Returns the background color.
 void getBackgroundTransitionDistances(float[] pLowAltitude, float[] pHighAltitude)
          Gets the altitude values in kilometers for the transition in the background color.
 double getBaseExaggeration()
          The vertical exaggeration for the base globe.
 IArray getBaseLayers()
          The internal layers created to support base surfaces for floating layers.
 short getCacheCount()
          Number of screen caches.
 int getCacheMemDC(short index)
          Memory device context for the specified screen cache.
 double getCacheUsage(java.lang.String cachePath, boolean bUpdate)
          The disk cache usage in Mb (will return the current one if path is empty string).
 ITrackCancel getCancelTracker()
          Cancel tracker that is associated with the display.
 IEnvelope getClipEnvelope()
          The bounds of the invalid region.
 ISet getClipEnvelopes()
          The invalid region as a set of envelopes.
 IGeometry getClipGeometry()
          User-specified clip shape.
static java.lang.String getClsid()
          getClsid.
 IDisplayTransformation getDisplayTransformation()
          The transformation used by the display.
 void getFeatureTransformation(ILayer pLayer, int featureID, IVector3D[] ppTrans, IVector3D[] ppScale, IVector3D[] ppRotate)
          Gets the transformation of a specific feature.
 void getFeatureVisibility(ILayer pLayer, int featureID, boolean[] pbVisible, int[] pTransparency)
          Gets the visibility of a specific feature.
 IDisplayFilter getFilter()
          Display filter.
 IGlobe getGlobe()
          The globe container.
 int getGlobeBackgroundOption()
          The background option.
 double getGlobeRadius()
          The radius of the globe in meters.
 int getGridDisplay()
          Indicates what type of grid/graticule to display.
 int getHDC()
          The device context that the display is currently drawing to.
 int getHPalette()
          Palette.
 int getHWnd()
          Associated window handle.
 IIlluminationProps getIlluminationProps()
          Illumination properties used by the display.
 int getInternalGlobeIndex(ILayer pLayer)
          Gets the index of the internal globe that the layer belongs to.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 void getLowBackgroundColor(float[] red, float[] green, float[] blue)
          Returns the low altitude background color.
 int getMaximumLayerLOD(ILayer pLayer)
          Gets the maximum level of detail to display the layer.
 double getOverlayExaggeration()
          The vertical exaggeration for the overlay layers.
 IScene getScene()
          The scene.
 IColor getSelectionColor()
          The selection color.
 double getStatistic(int property)
          The accumulated or instantaneous value of an statistic.
 void getSunColor(float[] pSunRed, float[] pSunGreen, float[] pSunBlue)
          Gets the sun RGB color.
 int getSunContrast()
          The illumination contrast.
 void getSunPosition(double[] pLatitude, double[] pLongitude)
          Gets the sun position in lat, lon.
 void getSurfaceElevation(double longitude, double latitude, boolean bGetMaxResolution, double[] pElevationInMeters)
          Find the elevation of a point in the given geographical location.
 void getSurfacePoint(double xView, double yView, int internalGlobe, IPoint[] ppIntersec)
          Locate a point in the position x,y within the view (x and y in the interval 0-1).
 ITimeReference getTimeReference()
          Time reference using which the data has to be displayed.
 int getTimeRelation()
          Time relation for the time query.
 ITimeValue getTimeValue()
          Time Extent for which the data has to be displayed.
 int getWindowDC()
          Device context for the associated window.
 int hashCode()
          the hashcode for this object
 void invalidate(IEnvelope rect, boolean erase, short cacheIndex)
          Cause the specified area of the specified cache to redraw.
 void invalidateExtent(ILayer pLayer, IEnvelope pExtent, int minLOD, int maxLOD, boolean bRedraw, boolean bWaitUntilComplete)
          Invalidates layer tiles in the given extent and levels of detail.
 boolean isCacheDirty(short cacheIndex)
          Indicates if the specified cache needs refreshing.
 boolean isDirectOpenGLDraw()
          Indicates if the direct OpenGL draw mode is active.
 boolean isDraftMode()
          Indicates if the draft display mode is active.
 boolean isEnableMessages()
          Indicates if the warning and question messages are enabled.
 boolean isFetchingSuspendedWhenNavigating()
          Indicates if tile fetching is disabled while navigating.
 boolean isFirstCacheTransparent()
          Indicates if the bottom cache is transparent.
 boolean isFramed()
          Indicates if drawing occurs in a frame rather than on the whole window.
 boolean isGenerateTilesOverwrites()
          Overwrite option when using the GenerateTiles method.
 boolean isGestureEnabled()
          Indicates if the mouse gestures are supported.
 boolean isHaloEnabled()
          Indicates if the halo effect is enabled.
 boolean isImmediateDataFetching()
          Indicates whether in immediate data fetching mode.
 boolean isNavigating()
          Indicates if the 3D Display is in navigation mode.
 boolean isParentsAreVisible(ILayer pLayer)
          Indicates if all parents are visible.
 boolean isPauseCaching()
          Indicates if all caching is paused.
 boolean isPauseFetching()
          Indicates if all fetching is paused.
 boolean isScaleContents()
          Indicates if the contents of the screen scale when a resize occurs.
 boolean isStarsEnabled()
          Indicates if the stars are enabled.
 boolean isSunEnabled()
          Indicates if the sun lighting is enabled.
 boolean isSuppressEvents()
          Indicates if display object suppresses events.
 boolean isSuppressResize()
          Indicates if display resizing is suppressed.
 boolean isUseScrollbars()
          Indicates if scrollbars should appear.
 void itemAdded(IActiveViewEventsItemAddedEvent theEvent)
          Fired when an item is added to the view.
 void itemDeleted(IActiveViewEventsItemDeletedEvent theEvent)
          Fired when an item is deleted from the view.
 void itemReordered(IActiveViewEventsItemReorderedEvent theEvent)
          Fired when a view item is reordered.
 void locate(ISceneViewer pViewer, int xView, int yView, boolean bGetTransformed, boolean bGetEmptyGlobe, IPoint[] ppPoint, java.lang.Object[] ppOwner, java.lang.Object[] ppObject)
          Find the object and location in the line of sight.
 void locateFeature(ISceneViewer pViewer, int xView, int yView, java.lang.Object[] ppOwner, java.lang.Object[] ppObject)
          Find the object and location in the line of sight.
 void locateLayers(ISceneViewer pViewer, int xView, int yView, IEnumLayer pLayers, boolean bGetLocation, boolean bGetTransformed, boolean bGetEmptyGlobe, boolean bFeaturesOnly, boolean bTopMost, IHit3DSet[] ppHits, ITrackCancel pTrackCancel)
          Find the object and location in the line of sight.
 void locateLayersEx(ISceneViewer pViewer, int xView, int yView, int searchTolPixels, IEnumLayer pLayers, boolean bGetLocation, boolean bGetTransformed, boolean bGetEmptyGlobe, boolean bFeaturesOnly, boolean bTopMost, IHit3DSet[] ppHits, ITrackCancel pTrackCancel)
          Find the object and location in the line of sight with a tolerance.
 void locateMultiple(ISceneViewer pViewer, int xView, int yView, boolean bGetLocation, boolean bGetTransformed, boolean bGetEmptyGlobe, boolean bFeaturesOnly, IHit3DSet[] ppHits)
          Find the object and location in the line of sight.
 void panMoveTo(IPoint mouseLocation)
          Pans to a new point.
 void panStart(IPoint mouseLocation)
          Prepares display for panning.
 IEnvelope panStop()
          Stops panning and returns new visible bounds.
 void pickGraphic(ISceneViewer pViewer, int xView, int yView, IGraphicsContainer3D[] owner, int[] elementIndex)
          Picks a single graphic element.
 void progress(int vertexCount)
          Call frequently during drawing process.
 void queryLocation(ISceneViewer pViewer, int x, int y, int mode, boolean bGetTransformed, IPoint pPt)
          Locates a single object.
 void refreshLayer(ILayer pLayer)
          Refreshes a layer, possibly including recaching.
 void refreshLayerSelection(ILayer pLayer)
          Refreshes the display of the selection in a layer.
 void refreshTextureObjects()
          Deletes all the textures to force them to reload.
 void refreshTextureObjectsLayer(ILayer pLayer)
          Deletes all the textures corresponding to a layer and to force them to reload.
 void refreshViewers()
          Redraws all viewers.
 void registerViewer(ISceneViewer pViewer)
          Adds a viewer to the 3D Display.
 void release()
          Release a GlobeDisplay.
 void removeAllCaches()
          Removes all caches.
 void removeCache(short cacheID)
          Removes the specified cache.
 void removeIGlobeDisplayEventsListener(IGlobeDisplayEvents theListener)
          removeIGlobeDisplayEventsListener.
 void removeITimeDisplayEventsListener(ITimeDisplayEvents theListener)
          removeITimeDisplayEventsListener.
 void removeLayer(ILayer pLayer)
          Removes a layer.
 void reparent(ILayer layer, ICompositeLayer newParent)
          Re-parents the layer.
 void replayFrame(ICamera camera)
          Uses the camera to redraw a frame.
 void rotateMoveTo(IPoint pPoint)
          Rotates to new point.
 void rotateStart(IPoint mousePt, IPoint centerPt)
          Prepares display for rotating.
 double rotateStop()
          Stops rotating and returns new angle.
 void rotateTimer()
          Draws the rotated display.
 void selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent)
          Call this function to fire the selection changed event.
 void setActiveCache(short index)
          Screen cache where drawing occurs.
 void setActiveViewerByRef(ISceneViewer ppViewer)
          The active viewer.
 void setAdvancedOptions(IGlobeAdvancedOptions ppOptions)
          The data processing and management options.
 void setAmbientLight(float pLightValue)
          The sun's ambient light value.
 void setBackgroundColor(float red, float green, float blue)
          Sets the background color.
 void setBackgroundTransitionDistances(float lowAltitude, float highAltitude)
          Sets the altitude values in kilometers for the transition in the background color.
 void setBaseExaggeration(double pFactor)
          The vertical exaggeration for the base globe.
 void setCancelTrackerByRef(ITrackCancel cancelTracker)
          Cancel tracker that is associated with the display.
 void setClipGeometry(IGeometry geometry)
          User-specified clip shape.
 void setDirectOpenGLDraw(boolean pbDirectMode)
          Indicates if the direct OpenGL draw mode is active.
 void setDisplayTransformation(IDisplayTransformation displayTransformation)
          The transformation used by the display.
 void setDraftMode(boolean pbDraft)
          Indicates if the draft display mode is active.
 void setEnableMessages(boolean pbEnableMessages)
          Indicates if the warning and question messages are enabled.
 void setFeatureTransformation(ILayer pLayer, int featureID, IVector3D pTrans, IVector3D pScale, IVector3D pRotate)
          Sets a transformation for a specific feature.
 void setFeatureVisibility(ILayer pLayer, int featureID, boolean bVisible, int transparency)
          Sets the visibility of a specific feature.
 void setFilterByRef(IDisplayFilter filter)
          Display filter.
 void setGenerateTilesOverwrites(boolean pbOverwrites)
          Overwrite option when using the GenerateTiles method.
 void setGestureEnabled(boolean pbEnabled)
          Indicates if the mouse gestures are supported.
 void setGlobeBackgroundOption(int pOption)
          The background option.
 void setGlobeByRef(IGlobe ppGlobe)
          The globe container.
 void setGridDisplay(int pGridType)
          Indicates what type of grid/graticule to display.
 void setHPalette(int hPalette)
          Palette.
 void setHWnd(int hWnd)
          Associated window handle.
 void setIlluminationProps(IIlluminationProps illuminationProps)
          Illumination properties used by the display.
 void setImmediateDataFetching(boolean pbImmediate)
          Indicates whether in immediate data fetching mode.
 void setIsFetchingSuspendedWhenNavigating(boolean bSuspended)
          Indicates if tile fetching is disabled while navigating.
 void setIsFirstCacheTransparent(boolean flag)
          Indicates if the bottom cache is transparent.
 void setIsFramed(boolean flag)
          Indicates if drawing occurs in a frame rather than on the whole window.
 void setIsHaloEnabled(boolean pbHalo)
          Indicates if the halo effect is enabled.
 void setIsLayerVisible(ILayer pLayer, boolean rhs2)
          Indicates if the layer is visible.
 void setIsNavigating(boolean pbIsNavigating)
          Indicates if the 3D Display is in navigation mode.
 void setIsStarsEnabled(boolean pbStars)
          Indicates if the stars are enabled.
 void setIsSunEnabled(boolean pbSun)
          Indicates if the sun lighting is enabled.
 void setLayerDepthPriority(ILayer pLayer, int depthPrior)
          Sets face depth priority of a layer.
 void setLayerFaceCulling(ILayer pLayer, int cullMode)
          Sets face culling property of a layer.
 void setLayerLightingOption(ILayer pLayer, boolean isIlluminated)
          Indicates if the layer is illuminated.
 void setLayerShadingMode(ILayer pLayer, boolean isSmooth)
          Indicates if the layer is smoothly shaded.
 void setLayerTransparency(ILayer pLayer, short rhs2)
          Transparency percentage of a layer.
 void setLowBackgroundColor(float red, float green, float blue)
          Sets the low altitude background color.
 void setNumFramesInAvg(int property, int num)
          Set Number of frames used in averaging.
 void setOverlayExaggeration(double pFactor)
          The vertical exaggeration for the overlay layers.
 void setPauseCaching(boolean pbPaused)
          Indicates if all caching is paused.
 void setPauseFetching(boolean pbPaused)
          Indicates if all fetching is paused.
 void setScaleContents(boolean flag)
          Indicates if the contents of the screen scale when a resize occurs.
 void setSceneByRef(IScene pVal)
          The scene.
 void setScrollbarHandles(int hWndHorzScrollbar, int hWndVertScrollbar)
          Optionally specify application supplied scrollbars.
 void setSelectionColor(IColor pSelectionColor)
          The selection color.
 void setStrictOnDemandMode(ILayer pLayer, boolean rhs2)
          Strict on-demand mode of a layer tile generation.
 void setSunColor(float sunRed, float sunGreen, float sunBlue)
          Sets the sun RGB color.
 void setSunContrast(int pContrast)
          The illumination contrast.
 void setSunPosition(double latitude, double longitude)
          Sets the sun position in lat, lon.
 void setSuppressEvents(boolean suppressEvents)
          Indicates if display object suppresses events.
 void setSuppressResize(boolean suppressResize)
          Indicates if display resizing is suppressed.
 void setSymbol(ISymbol sym)
          Sets the symbol used for drawing.
 void setTextureCompressionType(ILayer pLayer, int rhs2)
          Sets texture compression type of a layer.
 void setTextureDisplayType(ILayer pLayer, int rhs2)
          Sets texture display type of a layer.
 void setTextureDownsamplingFactor(ILayer pLayer, double rhs2)
          Sets texture down-sampling factor of a layer.
 void setTimeReference(ITimeReference timeReference)
          Time reference using which the data has to be displayed.
 void setTimeRelation(int relation)
          Time relation for the time query.
 void setTimeValue(ITimeValue timeExtent)
          Time Extent for which the data has to be displayed.
 void setUseScrollbars(boolean flag)
          Indicates if scrollbars should appear.
 void spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent)
          Fired when the spatial reference is changed.
 void startAccumulating(int property)
          Start accumulating values.
 void startDrawing(int hDC, short cacheID)
          Prepare the display for drawing.
 void startPrintingExporting(double cullArea)
          Start exporting/printing with an extending cull area.
 void startRecording()
          Starts recording all output to the recording cache.
 double stopAccumulating(int property)
          Stop accumulating values.
 void stopPrintingExporting()
          Stop Exporting/printing with extending culling area-- restore defaults.
 void stopRecording()
          Stops recording to the recording cache.
 void trackPan()
          Interactively pans the screen.
 void trackRotate()
          Interactively rotates the screen.
 void unregisterViewer(ISceneViewer pViewer)
          Removes a viewer from the 3D Display.
 void updateWindow()
          Forces a redraw.
 void viewRefreshed(IActiveViewEventsViewRefreshedEvent theEvent)
          Fired when view is refreshed before draw happens.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobeDisplay

public GlobeDisplay()
             throws java.io.IOException,
                    java.net.UnknownHostException
Constructs a GlobeDisplay using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GlobeDisplay

public GlobeDisplay(java.lang.Object obj)
             throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GlobeDisplay theGlobeDisplay = (GlobeDisplay) obj;

Construct a GlobeDisplay using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GlobeDisplay.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

addIGlobeDisplayEventsListener

public void addIGlobeDisplayEventsListener(IGlobeDisplayEvents theListener)
                                    throws java.io.IOException
addIGlobeDisplayEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.globecore.IGlobeDisplayEvents interface.
Throws:
java.io.IOException - If there are communications problems.

removeIGlobeDisplayEventsListener

public void removeIGlobeDisplayEventsListener(IGlobeDisplayEvents theListener)
                                       throws java.io.IOException
removeIGlobeDisplayEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.globecore.IGlobeDisplayEvents interface.
Throws:
java.io.IOException - If there are communications problems.

addITimeDisplayEventsListener

public void addITimeDisplayEventsListener(ITimeDisplayEvents theListener)
                                   throws java.io.IOException
addITimeDisplayEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.display.ITimeDisplayEvents interface.
Throws:
java.io.IOException - If there are communications problems.

removeITimeDisplayEventsListener

public void removeITimeDisplayEventsListener(ITimeDisplayEvents theListener)
                                      throws java.io.IOException
removeITimeDisplayEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.display.ITimeDisplayEvents interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a GlobeDisplay.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

locateLayersEx

public void locateLayersEx(ISceneViewer pViewer,
                           int xView,
                           int yView,
                           int searchTolPixels,
                           IEnumLayer pLayers,
                           boolean bGetLocation,
                           boolean bGetTransformed,
                           boolean bGetEmptyGlobe,
                           boolean bFeaturesOnly,
                           boolean bTopMost,
                           IHit3DSet[] ppHits,
                           ITrackCancel pTrackCancel)
                    throws java.io.IOException,
                           AutomationException
Find the object and location in the line of sight with a tolerance.

Specified by:
locateLayersEx in interface IGlobeDisplay3
Parameters:
pViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
xView - The xView (in)
yView - The yView (in)
searchTolPixels - The searchTolPixels (in)
pLayers - A reference to a com.esri.arcgis.carto.IEnumLayer (in)
bGetLocation - The bGetLocation (in)
bGetTransformed - The bGetTransformed (in)
bGetEmptyGlobe - The bGetEmptyGlobe (in)
bFeaturesOnly - The bFeaturesOnly (in)
bTopMost - The bTopMost (in)
ppHits - A reference to a com.esri.arcgis.analyst3d.IHit3DSet (out: use single element array)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryLocation

public void queryLocation(ISceneViewer pViewer,
                          int x,
                          int y,
                          int mode,
                          boolean bGetTransformed,
                          IPoint pPt)
                   throws java.io.IOException,
                          AutomationException
Locates a single object.

Specified by:
queryLocation in interface IGlobeDisplay3
Parameters:
pViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
x - The x (in)
y - The y (in)
mode - A com.esri.arcgis.analyst3d.esriScenePickMode constant (in)
bGetTransformed - The bGetTransformed (in)
pPt - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDraftMode

public boolean isDraftMode()
                    throws java.io.IOException,
                           AutomationException
Indicates if the draft display mode is active.

Specified by:
isDraftMode in interface IGlobeDisplay3
Returns:
The pbDraft
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDraftMode

public void setDraftMode(boolean pbDraft)
                  throws java.io.IOException,
                         AutomationException
Indicates if the draft display mode is active.

Specified by:
setDraftMode in interface IGlobeDisplay3
Parameters:
pbDraft - The pbDraft (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirectOpenGLDraw

public boolean isDirectOpenGLDraw()
                           throws java.io.IOException,
                                  AutomationException
Indicates if the direct OpenGL draw mode is active.

Specified by:
isDirectOpenGLDraw in interface IGlobeDisplay3
Returns:
The pbDirectMode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDirectOpenGLDraw

public void setDirectOpenGLDraw(boolean pbDirectMode)
                         throws java.io.IOException,
                                AutomationException
Indicates if the direct OpenGL draw mode is active.

Specified by:
setDirectOpenGLDraw in interface IGlobeDisplay3
Parameters:
pbDirectMode - The pbDirectMode (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

pickGraphic

public void pickGraphic(ISceneViewer pViewer,
                        int xView,
                        int yView,
                        IGraphicsContainer3D[] owner,
                        int[] elementIndex)
                 throws java.io.IOException,
                        AutomationException
Picks a single graphic element.

Specified by:
pickGraphic in interface IGlobeDisplay3
Parameters:
pViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
xView - The xView (in)
yView - The yView (in)
owner - A reference to a com.esri.arcgis.analyst3d.IGraphicsContainer3D (out: use single element array)
elementIndex - The elementIndex (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isFetchingSuspendedWhenNavigating

public boolean isFetchingSuspendedWhenNavigating()
                                          throws java.io.IOException,
                                                 AutomationException
Indicates if tile fetching is disabled while navigating.

Specified by:
isFetchingSuspendedWhenNavigating in interface IGlobeDisplay3
Returns:
The bSuspended
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsFetchingSuspendedWhenNavigating

public void setIsFetchingSuspendedWhenNavigating(boolean bSuspended)
                                          throws java.io.IOException,
                                                 AutomationException
Indicates if tile fetching is disabled while navigating.

Specified by:
setIsFetchingSuspendedWhenNavigating in interface IGlobeDisplay3
Parameters:
bSuspended - The bSuspended (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPauseCaching

public boolean isPauseCaching()
                       throws java.io.IOException,
                              AutomationException
Indicates if all caching is paused.

Specified by:
isPauseCaching in interface IGlobeDisplay2
Returns:
The pbPaused
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPauseCaching

public void setPauseCaching(boolean pbPaused)
                     throws java.io.IOException,
                            AutomationException
Indicates if all caching is paused.

Specified by:
setPauseCaching in interface IGlobeDisplay2
Parameters:
pbPaused - The pbPaused (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPauseFetching

public boolean isPauseFetching()
                        throws java.io.IOException,
                               AutomationException
Indicates if all fetching is paused.

Specified by:
isPauseFetching in interface IGlobeDisplay2
Returns:
The pbPaused
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPauseFetching

public void setPauseFetching(boolean pbPaused)
                      throws java.io.IOException,
                             AutomationException
Indicates if all fetching is paused.

Specified by:
setPauseFetching in interface IGlobeDisplay2
Parameters:
pbPaused - The pbPaused (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGlobe

public IGlobe getGlobe()
                throws java.io.IOException,
                       AutomationException
The globe container.

Specified by:
getGlobe in interface IGlobeDisplay
Returns:
A reference to a com.esri.arcgis.globecore.IGlobe
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGlobeByRef

public void setGlobeByRef(IGlobe ppGlobe)
                   throws java.io.IOException,
                          AutomationException
The globe container.

Specified by:
setGlobeByRef in interface IGlobeDisplay
Parameters:
ppGlobe - A reference to a com.esri.arcgis.globecore.IGlobe (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

public void clear(boolean bRecycleBasicObjects)
           throws java.io.IOException,
                  AutomationException
Clear the display objects.

Specified by:
clear in interface IGlobeDisplay
Parameters:
bRecycleBasicObjects - The bRecycleBasicObjects (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSurfacePoint

public void getSurfacePoint(double xView,
                            double yView,
                            int internalGlobe,
                            IPoint[] ppIntersec)
                     throws java.io.IOException,
                            AutomationException
Locate a point in the position x,y within the view (x and y in the interval 0-1).

Specified by:
getSurfacePoint in interface IGlobeDisplay
Parameters:
xView - The xView (in)
yView - The yView (in)
internalGlobe - The internalGlobe (in)
ppIntersec - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSurfaceElevation

public void getSurfaceElevation(double longitude,
                                double latitude,
                                boolean bGetMaxResolution,
                                double[] pElevationInMeters)
                         throws java.io.IOException,
                                AutomationException
Find the elevation of a point in the given geographical location.

Specified by:
getSurfaceElevation in interface IGlobeDisplay
Parameters:
longitude - The longitude (in)
latitude - The latitude (in)
bGetMaxResolution - The bGetMaxResolution (in)
pElevationInMeters - The pElevationInMeters (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSelectionColor

public void setSelectionColor(IColor pSelectionColor)
                       throws java.io.IOException,
                              AutomationException
The selection color.

Specified by:
setSelectionColor in interface IGlobeDisplay
Parameters:
pSelectionColor - A reference to a com.esri.arcgis.display.IColor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectionColor

public IColor getSelectionColor()
                         throws java.io.IOException,
                                AutomationException
The selection color.

Specified by:
getSelectionColor in interface IGlobeDisplay
Returns:
A reference to a com.esri.arcgis.display.IColor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAdvancedOptions

public void setAdvancedOptions(IGlobeAdvancedOptions ppOptions)
                        throws java.io.IOException,
                               AutomationException
The data processing and management options.

Specified by:
setAdvancedOptions in interface IGlobeDisplay
Parameters:
ppOptions - A reference to a com.esri.arcgis.globecore.IGlobeAdvancedOptions (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAdvancedOptions

public IGlobeAdvancedOptions getAdvancedOptions()
                                         throws java.io.IOException,
                                                AutomationException
The data processing and management options.

Specified by:
getAdvancedOptions in interface IGlobeDisplay
Returns:
A reference to a com.esri.arcgis.globecore.IGlobeAdvancedOptions
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setImmediateDataFetching

public void setImmediateDataFetching(boolean pbImmediate)
                              throws java.io.IOException,
                                     AutomationException
Indicates whether in immediate data fetching mode.

Specified by:
setImmediateDataFetching in interface IGlobeDisplay
Parameters:
pbImmediate - The pbImmediate (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isImmediateDataFetching

public boolean isImmediateDataFetching()
                                throws java.io.IOException,
                                       AutomationException
Indicates whether in immediate data fetching mode.

Specified by:
isImmediateDataFetching in interface IGlobeDisplay
Returns:
The pbImmediate
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCacheUsage

public double getCacheUsage(java.lang.String cachePath,
                            boolean bUpdate)
                     throws java.io.IOException,
                            AutomationException
The disk cache usage in Mb (will return the current one if path is empty string).

Specified by:
getCacheUsage in interface IGlobeDisplay
Parameters:
cachePath - The cachePath (in)
bUpdate - The bUpdate (in)
Returns:
The pCacheUsageInMb
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEnableMessages

public boolean isEnableMessages()
                         throws java.io.IOException,
                                AutomationException
Indicates if the warning and question messages are enabled.

Specified by:
isEnableMessages in interface IGlobeDisplay
Returns:
The pbEnableMessages
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEnableMessages

public void setEnableMessages(boolean pbEnableMessages)
                       throws java.io.IOException,
                              AutomationException
Indicates if the warning and question messages are enabled.

Specified by:
setEnableMessages in interface IGlobeDisplay
Parameters:
pbEnableMessages - The pbEnableMessages (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshTextureObjects

public void refreshTextureObjects()
                           throws java.io.IOException,
                                  AutomationException
Deletes all the textures to force them to reload.

Specified by:
refreshTextureObjects in interface IGlobeDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startPrintingExporting

public void startPrintingExporting(double cullArea)
                            throws java.io.IOException,
                                   AutomationException
Start exporting/printing with an extending cull area.

Specified by:
startPrintingExporting in interface IGlobeDisplay
Parameters:
cullArea - The cullArea (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopPrintingExporting

public void stopPrintingExporting()
                           throws java.io.IOException,
                                  AutomationException
Stop Exporting/printing with extending culling area-- restore defaults.

Specified by:
stopPrintingExporting in interface IGlobeDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

locate

public void locate(ISceneViewer pViewer,
                   int xView,
                   int yView,
                   boolean bGetTransformed,
                   boolean bGetEmptyGlobe,
                   IPoint[] ppPoint,
                   java.lang.Object[] ppOwner,
                   java.lang.Object[] ppObject)
            throws java.io.IOException,
                   AutomationException
Find the object and location in the line of sight.

Specified by:
locate in interface IGlobeDisplay
Parameters:
pViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
xView - The xView (in)
yView - The yView (in)
bGetTransformed - The bGetTransformed (in)
bGetEmptyGlobe - The bGetEmptyGlobe (in)
ppPoint - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)
ppOwner - A reference to another Object (IUnknown) (out: use single element array)
ppObject - A reference to another Object (IUnknown) (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

locateMultiple

public void locateMultiple(ISceneViewer pViewer,
                           int xView,
                           int yView,
                           boolean bGetLocation,
                           boolean bGetTransformed,
                           boolean bGetEmptyGlobe,
                           boolean bFeaturesOnly,
                           IHit3DSet[] ppHits)
                    throws java.io.IOException,
                           AutomationException
Find the object and location in the line of sight.

Specified by:
locateMultiple in interface IGlobeDisplay
Parameters:
pViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
xView - The xView (in)
yView - The yView (in)
bGetLocation - The bGetLocation (in)
bGetTransformed - The bGetTransformed (in)
bGetEmptyGlobe - The bGetEmptyGlobe (in)
bFeaturesOnly - The bFeaturesOnly (in)
ppHits - A reference to a com.esri.arcgis.analyst3d.IHit3DSet (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

locateLayers

public void locateLayers(ISceneViewer pViewer,
                         int xView,
                         int yView,
                         IEnumLayer pLayers,
                         boolean bGetLocation,
                         boolean bGetTransformed,
                         boolean bGetEmptyGlobe,
                         boolean bFeaturesOnly,
                         boolean bTopMost,
                         IHit3DSet[] ppHits,
                         ITrackCancel pTrackCancel)
                  throws java.io.IOException,
                         AutomationException
Find the object and location in the line of sight.

Specified by:
locateLayers in interface IGlobeDisplay
Parameters:
pViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
xView - The xView (in)
yView - The yView (in)
pLayers - A reference to a com.esri.arcgis.carto.IEnumLayer (in)
bGetLocation - The bGetLocation (in)
bGetTransformed - The bGetTransformed (in)
bGetEmptyGlobe - The bGetEmptyGlobe (in)
bFeaturesOnly - The bFeaturesOnly (in)
bTopMost - The bTopMost (in)
ppHits - A reference to a com.esri.arcgis.analyst3d.IHit3DSet (out: use single element array)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

locateFeature

public void locateFeature(ISceneViewer pViewer,
                          int xView,
                          int yView,
                          java.lang.Object[] ppOwner,
                          java.lang.Object[] ppObject)
                   throws java.io.IOException,
                          AutomationException
Find the object and location in the line of sight.

Specified by:
locateFeature in interface IGlobeDisplay
Parameters:
pViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
xView - The xView (in)
yView - The yView (in)
ppOwner - A reference to another Object (IUnknown) (out: use single element array)
ppObject - A reference to another Object (IUnknown) (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScene

public IScene getScene()
                throws java.io.IOException,
                       AutomationException
The scene.

Specified by:
getScene in interface IViewers3D
Returns:
A reference to a com.esri.arcgis.analyst3d.IScene
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSceneByRef

public void setSceneByRef(IScene pVal)
                   throws java.io.IOException,
                          AutomationException
The scene.

Specified by:
setSceneByRef in interface IViewers3D
Parameters:
pVal - A reference to a com.esri.arcgis.analyst3d.IScene (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

registerViewer

public void registerViewer(ISceneViewer pViewer)
                    throws java.io.IOException,
                           AutomationException
Adds a viewer to the 3D Display.

Specified by:
registerViewer in interface IViewers3D
Parameters:
pViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unregisterViewer

public void unregisterViewer(ISceneViewer pViewer)
                      throws java.io.IOException,
                             AutomationException
Removes a viewer from the 3D Display.

Specified by:
unregisterViewer in interface IViewers3D
Parameters:
pViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findViewer

public ISceneViewer findViewer(java.lang.String caption)
                        throws java.io.IOException,
                               AutomationException
Finds the Viewer.

Specified by:
findViewer in interface IViewers3D
Parameters:
caption - The caption (in)
Returns:
A reference to a com.esri.arcgis.analyst3d.ISceneViewer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAllViewers

public IArray getAllViewers()
                     throws java.io.IOException,
                            AutomationException
Returns all registered Viewers.

Specified by:
getAllViewers in interface IViewers3D
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveViewerByRef

public void setActiveViewerByRef(ISceneViewer ppViewer)
                          throws java.io.IOException,
                                 AutomationException
The active viewer.

Specified by:
setActiveViewerByRef in interface IViewers3D
Parameters:
ppViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getActiveViewer

public ISceneViewer getActiveViewer()
                             throws java.io.IOException,
                                    AutomationException
The active viewer.

Specified by:
getActiveViewer in interface IViewers3D
Returns:
A reference to a com.esri.arcgis.analyst3d.ISceneViewer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshViewers

public void refreshViewers()
                    throws java.io.IOException,
                           AutomationException
Redraws all viewers.

Specified by:
refreshViewers in interface IViewers3D
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isNavigating

public boolean isNavigating()
                     throws java.io.IOException,
                            AutomationException
Indicates if the 3D Display is in navigation mode.

Specified by:
isNavigating in interface IViewers3D
Returns:
The pbIsNavigating
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsNavigating

public void setIsNavigating(boolean pbIsNavigating)
                     throws java.io.IOException,
                            AutomationException
Indicates if the 3D Display is in navigation mode.

Specified by:
setIsNavigating in interface IViewers3D
Parameters:
pbIsNavigating - The pbIsNavigating (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGestureEnabled

public void setGestureEnabled(boolean pbEnabled)
                       throws java.io.IOException,
                              AutomationException
Indicates if the mouse gestures are supported.

Specified by:
setGestureEnabled in interface IViewers3D
Parameters:
pbEnabled - The pbEnabled (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isGestureEnabled

public boolean isGestureEnabled()
                         throws java.io.IOException,
                                AutomationException
Indicates if the mouse gestures are supported.

Specified by:
isGestureEnabled in interface IViewers3D
Returns:
The pbEnabled
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBackgroundColor

public void setBackgroundColor(float red,
                               float green,
                               float blue)
                        throws java.io.IOException,
                               AutomationException
Sets the background color.

Specified by:
setBackgroundColor in interface IViewers3D
Parameters:
red - The red (in)
green - The green (in)
blue - The blue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBackgroundColor

public void getBackgroundColor(float[] pRed,
                               float[] pGreen,
                               float[] pBlue)
                        throws java.io.IOException,
                               AutomationException
Returns the background color.

Specified by:
getBackgroundColor in interface IViewers3D
Parameters:
pRed - The pRed (out: use single element array)
pGreen - The pGreen (out: use single element array)
pBlue - The pBlue (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

replayFrame

public void replayFrame(ICamera camera)
                 throws java.io.IOException,
                        AutomationException
Uses the camera to redraw a frame.

Specified by:
replayFrame in interface IViewers3D
Parameters:
camera - A reference to a com.esri.arcgis.analyst3d.ICamera (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addLayer

public void addLayer(ILayer pLayer)
              throws java.io.IOException,
                     AutomationException
Adds a layer.

Specified by:
addLayer in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeLayer

public void removeLayer(ILayer pLayer)
                 throws java.io.IOException,
                        AutomationException
Removes a layer.

Specified by:
removeLayer in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshLayer

public void refreshLayer(ILayer pLayer)
                  throws java.io.IOException,
                         AutomationException
Refreshes a layer, possibly including recaching.

Specified by:
refreshLayer in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshLayerSelection

public void refreshLayerSelection(ILayer pLayer)
                           throws java.io.IOException,
                                  AutomationException
Refreshes the display of the selection in a layer.

Specified by:
refreshLayerSelection in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsLayerVisible

public void setIsLayerVisible(ILayer pLayer,
                              boolean rhs2)
                       throws java.io.IOException,
                              AutomationException
Indicates if the layer is visible.

Specified by:
setIsLayerVisible in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
rhs2 - The rhs2 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerTransparency

public void setLayerTransparency(ILayer pLayer,
                                 short rhs2)
                          throws java.io.IOException,
                                 AutomationException
Transparency percentage of a layer.

Specified by:
setLayerTransparency in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
rhs2 - The rhs2 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerLightingOption

public void setLayerLightingOption(ILayer pLayer,
                                   boolean isIlluminated)
                            throws java.io.IOException,
                                   AutomationException
Indicates if the layer is illuminated.

Specified by:
setLayerLightingOption in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
isIlluminated - The isIlluminated (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerShadingMode

public void setLayerShadingMode(ILayer pLayer,
                                boolean isSmooth)
                         throws java.io.IOException,
                                AutomationException
Indicates if the layer is smoothly shaded.

Specified by:
setLayerShadingMode in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
isSmooth - The isSmooth (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerFaceCulling

public void setLayerFaceCulling(ILayer pLayer,
                                int cullMode)
                         throws java.io.IOException,
                                AutomationException
Sets face culling property of a layer.

Specified by:
setLayerFaceCulling in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
cullMode - A com.esri.arcgis.analyst3d.esri3DFaceCulling constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerDepthPriority

public void setLayerDepthPriority(ILayer pLayer,
                                  int depthPrior)
                           throws java.io.IOException,
                                  AutomationException
Sets face depth priority of a layer.

Specified by:
setLayerDepthPriority in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
depthPrior - The depthPrior (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

applyHeightProperties

public void applyHeightProperties(ILayer pGLayer)
                           throws java.io.IOException,
                                  AutomationException
Applies changes in height properties to the layer.

Specified by:
applyHeightProperties in interface IGlobeDisplayLayers
Parameters:
pGLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findGlobeProperties

public IGlobeLayerProperties findGlobeProperties(ILayer pLayer)
                                          throws java.io.IOException,
                                                 AutomationException
Finds the globe properties of the layer.

Specified by:
findGlobeProperties in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Returns:
A reference to a com.esri.arcgis.globecore.IGlobeLayerProperties
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBaseLayers

public IArray getBaseLayers()
                     throws java.io.IOException,
                            AutomationException
The internal layers created to support base surfaces for floating layers.

Specified by:
getBaseLayers in interface IGlobeDisplayLayers
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshTextureObjectsLayer

public void refreshTextureObjectsLayer(ILayer pLayer)
                                throws java.io.IOException,
                                       AutomationException
Deletes all the textures corresponding to a layer and to force them to reload.

Specified by:
refreshTextureObjectsLayer in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumLayerLOD

public int getMaximumLayerLOD(ILayer pLayer)
                       throws java.io.IOException,
                              AutomationException
Gets the maximum level of detail to display the layer.

Specified by:
getMaximumLayerLOD in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Returns:
The pMaxLOD
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generateTiles

public void generateTiles(ILayer pLayer,
                          int fromLOD,
                          int toLOD)
                   throws java.io.IOException,
                          AutomationException
Generates the tiles in the specified levels of detail.

Specified by:
generateTiles in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
fromLOD - The fromLOD (in)
toLOD - The toLOD (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isParentsAreVisible

public boolean isParentsAreVisible(ILayer pLayer)
                            throws java.io.IOException,
                                   AutomationException
Indicates if all parents are visible.

Specified by:
isParentsAreVisible in interface IGlobeDisplayLayers
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Returns:
The visible
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reparent

public void reparent(ILayer layer,
                     ICompositeLayer newParent)
              throws java.io.IOException,
                     AutomationException
Re-parents the layer.

Specified by:
reparent in interface IGlobeDisplayLayers
Parameters:
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
newParent - A reference to a com.esri.arcgis.carto.ICompositeLayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextureDownsamplingFactor

public void setTextureDownsamplingFactor(ILayer pLayer,
                                         double rhs2)
                                  throws java.io.IOException,
                                         AutomationException
Sets texture down-sampling factor of a layer.

Specified by:
setTextureDownsamplingFactor in interface IGlobeDisplayLayers2
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
rhs2 - The rhs2 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextureCompressionType

public void setTextureCompressionType(ILayer pLayer,
                                      int rhs2)
                               throws java.io.IOException,
                                      AutomationException
Sets texture compression type of a layer.

Specified by:
setTextureCompressionType in interface IGlobeDisplayLayers2
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
rhs2 - A com.esri.arcgis.analyst3d.esriTextureFormatType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

invalidateExtent

public void invalidateExtent(ILayer pLayer,
                             IEnvelope pExtent,
                             int minLOD,
                             int maxLOD,
                             boolean bRedraw,
                             boolean bWaitUntilComplete)
                      throws java.io.IOException,
                             AutomationException
Invalidates layer tiles in the given extent and levels of detail. Redraws display if requested, optionally waiting until the tiles are regenerated.

Specified by:
invalidateExtent in interface IGlobeDisplayLayers2
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
minLOD - The minLOD (in)
maxLOD - The maxLOD (in)
bRedraw - The bRedraw (in)
bWaitUntilComplete - The bWaitUntilComplete (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFeatureTransformation

public void setFeatureTransformation(ILayer pLayer,
                                     int featureID,
                                     IVector3D pTrans,
                                     IVector3D pScale,
                                     IVector3D pRotate)
                              throws java.io.IOException,
                                     AutomationException
Sets a transformation for a specific feature.

Specified by:
setFeatureTransformation in interface IGlobeDisplayLayers2
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
featureID - The featureID (in)
pTrans - A reference to a com.esri.arcgis.geometry.IVector3D (in)
pScale - A reference to a com.esri.arcgis.geometry.IVector3D (in)
pRotate - A reference to a com.esri.arcgis.geometry.IVector3D (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureTransformation

public void getFeatureTransformation(ILayer pLayer,
                                     int featureID,
                                     IVector3D[] ppTrans,
                                     IVector3D[] ppScale,
                                     IVector3D[] ppRotate)
                              throws java.io.IOException,
                                     AutomationException
Gets the transformation of a specific feature.

Specified by:
getFeatureTransformation in interface IGlobeDisplayLayers2
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
featureID - The featureID (in)
ppTrans - A reference to a com.esri.arcgis.geometry.IVector3D (out: use single element array)
ppScale - A reference to a com.esri.arcgis.geometry.IVector3D (out: use single element array)
ppRotate - A reference to a com.esri.arcgis.geometry.IVector3D (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFeatureVisibility

public void setFeatureVisibility(ILayer pLayer,
                                 int featureID,
                                 boolean bVisible,
                                 int transparency)
                          throws java.io.IOException,
                                 AutomationException
Sets the visibility of a specific feature.

Specified by:
setFeatureVisibility in interface IGlobeDisplayLayers2
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
featureID - The featureID (in)
bVisible - The bVisible (in)
transparency - The transparency (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureVisibility

public void getFeatureVisibility(ILayer pLayer,
                                 int featureID,
                                 boolean[] pbVisible,
                                 int[] pTransparency)
                          throws java.io.IOException,
                                 AutomationException
Gets the visibility of a specific feature.

Specified by:
getFeatureVisibility in interface IGlobeDisplayLayers2
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
featureID - The featureID (in)
pbVisible - The pbVisible (out: use single element array)
pTransparency - The pTransparency (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStrictOnDemandMode

public void setStrictOnDemandMode(ILayer pLayer,
                                  boolean rhs2)
                           throws java.io.IOException,
                                  AutomationException
Strict on-demand mode of a layer tile generation.

Specified by:
setStrictOnDemandMode in interface IGlobeDisplayLayers2
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
rhs2 - The rhs2 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGenerateTilesOverwrites

public void setGenerateTilesOverwrites(boolean pbOverwrites)
                                throws java.io.IOException,
                                       AutomationException
Overwrite option when using the GenerateTiles method.

Specified by:
setGenerateTilesOverwrites in interface IGlobeDisplayLayers2
Parameters:
pbOverwrites - The pbOverwrites (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isGenerateTilesOverwrites

public boolean isGenerateTilesOverwrites()
                                  throws java.io.IOException,
                                         AutomationException
Overwrite option when using the GenerateTiles method.

Specified by:
isGenerateTilesOverwrites in interface IGlobeDisplayLayers2
Returns:
The pbOverwrites
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

countTiles

public void countTiles(ILayer pLayer,
                       int fromLOD,
                       int toLOD,
                       double[] pCount)
                throws java.io.IOException,
                       AutomationException
Counts the number of possible layer tiles in the specified levels of detail.

Specified by:
countTiles in interface IGlobeDisplayLayers2
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
fromLOD - The fromLOD (in)
toLOD - The toLOD (in)
pCount - The pCount (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextureDisplayType

public void setTextureDisplayType(ILayer pLayer,
                                  int rhs2)
                           throws java.io.IOException,
                                  AutomationException
Sets texture display type of a layer.

Specified by:
setTextureDisplayType in interface IGlobeDisplayLayers2
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
rhs2 - A com.esri.arcgis.analyst3d.esriTextureFormatType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInternalGlobeIndex

public int getInternalGlobeIndex(ILayer pLayer)
                          throws java.io.IOException,
                                 AutomationException
Gets the index of the internal globe that the layer belongs to.

Specified by:
getInternalGlobeIndex in interface IGlobeDisplayLayers2
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Returns:
The internalGlobe
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsSunEnabled

public void setIsSunEnabled(boolean pbSun)
                     throws java.io.IOException,
                            AutomationException
Indicates if the sun lighting is enabled.

Specified by:
setIsSunEnabled in interface IGlobeDisplayRendering3
Parameters:
pbSun - The pbSun (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSunEnabled

public boolean isSunEnabled()
                     throws java.io.IOException,
                            AutomationException
Indicates if the sun lighting is enabled.

Specified by:
isSunEnabled in interface IGlobeDisplayRendering3
Returns:
The pbSun
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGlobeBackgroundOption

public int getGlobeBackgroundOption()
                             throws java.io.IOException,
                                    AutomationException
The background option.

Specified by:
getGlobeBackgroundOption in interface IGlobeDisplayRendering3
Returns:
A com.esri.arcgis.globecore.esriGlobeBackgroundOption constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGlobeBackgroundOption

public void setGlobeBackgroundOption(int pOption)
                              throws java.io.IOException,
                                     AutomationException
The background option.

Specified by:
setGlobeBackgroundOption in interface IGlobeDisplayRendering3
Parameters:
pOption - A com.esri.arcgis.globecore.esriGlobeBackgroundOption constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLowBackgroundColor

public void setLowBackgroundColor(float red,
                                  float green,
                                  float blue)
                           throws java.io.IOException,
                                  AutomationException
Sets the low altitude background color.

Specified by:
setLowBackgroundColor in interface IGlobeDisplayRendering3
Parameters:
red - The red (in)
green - The green (in)
blue - The blue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLowBackgroundColor

public void getLowBackgroundColor(float[] red,
                                  float[] green,
                                  float[] blue)
                           throws java.io.IOException,
                                  AutomationException
Returns the low altitude background color.

Specified by:
getLowBackgroundColor in interface IGlobeDisplayRendering3
Parameters:
red - The red (out: use single element array)
green - The green (out: use single element array)
blue - The blue (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBackgroundTransitionDistances

public void setBackgroundTransitionDistances(float lowAltitude,
                                             float highAltitude)
                                      throws java.io.IOException,
                                             AutomationException
Sets the altitude values in kilometers for the transition in the background color.

Specified by:
setBackgroundTransitionDistances in interface IGlobeDisplayRendering3
Parameters:
lowAltitude - The lowAltitude (in)
highAltitude - The highAltitude (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBackgroundTransitionDistances

public void getBackgroundTransitionDistances(float[] pLowAltitude,
                                             float[] pHighAltitude)
                                      throws java.io.IOException,
                                             AutomationException
Gets the altitude values in kilometers for the transition in the background color.

Specified by:
getBackgroundTransitionDistances in interface IGlobeDisplayRendering3
Parameters:
pLowAltitude - The pLowAltitude (out: use single element array)
pHighAltitude - The pHighAltitude (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSunPosition

public void setSunPosition(double latitude,
                           double longitude)
                    throws java.io.IOException,
                           AutomationException
Sets the sun position in lat, lon.

Specified by:
setSunPosition in interface IGlobeDisplayRendering3
Parameters:
latitude - The latitude (in)
longitude - The longitude (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSunPosition

public void getSunPosition(double[] pLatitude,
                           double[] pLongitude)
                    throws java.io.IOException,
                           AutomationException
Gets the sun position in lat, lon.

Specified by:
getSunPosition in interface IGlobeDisplayRendering3
Parameters:
pLatitude - The pLatitude (out: use single element array)
pLongitude - The pLongitude (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSunColor

public void setSunColor(float sunRed,
                        float sunGreen,
                        float sunBlue)
                 throws java.io.IOException,
                        AutomationException
Sets the sun RGB color.

Specified by:
setSunColor in interface IGlobeDisplayRendering3
Parameters:
sunRed - The sunRed (in)
sunGreen - The sunGreen (in)
sunBlue - The sunBlue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSunColor

public void getSunColor(float[] pSunRed,
                        float[] pSunGreen,
                        float[] pSunBlue)
                 throws java.io.IOException,
                        AutomationException
Gets the sun RGB color.

Specified by:
getSunColor in interface IGlobeDisplayRendering3
Parameters:
pSunRed - The pSunRed (out: use single element array)
pSunGreen - The pSunGreen (out: use single element array)
pSunBlue - The pSunBlue (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSunContrast

public void setSunContrast(int pContrast)
                    throws java.io.IOException,
                           AutomationException
The illumination contrast.

Specified by:
setSunContrast in interface IGlobeDisplayRendering3
Parameters:
pContrast - The pContrast (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSunContrast

public int getSunContrast()
                   throws java.io.IOException,
                          AutomationException
The illumination contrast.

Specified by:
getSunContrast in interface IGlobeDisplayRendering3
Returns:
The pContrast
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAmbientLight

public void setAmbientLight(float pLightValue)
                     throws java.io.IOException,
                            AutomationException
The sun's ambient light value.

Specified by:
setAmbientLight in interface IGlobeDisplayRendering3
Parameters:
pLightValue - The pLightValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAmbientLight

public float getAmbientLight()
                      throws java.io.IOException,
                             AutomationException
The sun's ambient light value.

Specified by:
getAmbientLight in interface IGlobeDisplayRendering3
Returns:
The pLightValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBaseExaggeration

public void setBaseExaggeration(double pFactor)
                         throws java.io.IOException,
                                AutomationException
The vertical exaggeration for the base globe.

Specified by:
setBaseExaggeration in interface IGlobeDisplayRendering3
Parameters:
pFactor - The pFactor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBaseExaggeration

public double getBaseExaggeration()
                           throws java.io.IOException,
                                  AutomationException
The vertical exaggeration for the base globe.

Specified by:
getBaseExaggeration in interface IGlobeDisplayRendering3
Returns:
The pFactor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOverlayExaggeration

public void setOverlayExaggeration(double pFactor)
                            throws java.io.IOException,
                                   AutomationException
The vertical exaggeration for the overlay layers.

Specified by:
setOverlayExaggeration in interface IGlobeDisplayRendering3
Parameters:
pFactor - The pFactor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOverlayExaggeration

public double getOverlayExaggeration()
                              throws java.io.IOException,
                                     AutomationException
The vertical exaggeration for the overlay layers.

Specified by:
getOverlayExaggeration in interface IGlobeDisplayRendering3
Returns:
The pFactor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGlobeRadius

public double getGlobeRadius()
                      throws java.io.IOException,
                             AutomationException
The radius of the globe in meters.

Specified by:
getGlobeRadius in interface IGlobeDisplayRendering3
Returns:
The pRadiusInMeters
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsStarsEnabled

public void setIsStarsEnabled(boolean pbStars)
                       throws java.io.IOException,
                              AutomationException
Indicates if the stars are enabled.

Specified by:
setIsStarsEnabled in interface IGlobeDisplayRendering3
Parameters:
pbStars - The pbStars (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isStarsEnabled

public boolean isStarsEnabled()
                       throws java.io.IOException,
                              AutomationException
Indicates if the stars are enabled.

Specified by:
isStarsEnabled in interface IGlobeDisplayRendering3
Returns:
The pbStars
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsHaloEnabled

public void setIsHaloEnabled(boolean pbHalo)
                      throws java.io.IOException,
                             AutomationException
Indicates if the halo effect is enabled.

Specified by:
setIsHaloEnabled in interface IGlobeDisplayRendering3
Parameters:
pbHalo - The pbHalo (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHaloEnabled

public boolean isHaloEnabled()
                      throws java.io.IOException,
                             AutomationException
Indicates if the halo effect is enabled.

Specified by:
isHaloEnabled in interface IGlobeDisplayRendering3
Returns:
The pbHalo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGridDisplay

public void setGridDisplay(int pGridType)
                    throws java.io.IOException,
                           AutomationException
Indicates what type of grid/graticule to display.

Specified by:
setGridDisplay in interface IGlobeDisplayRendering3
Parameters:
pGridType - A com.esri.arcgis.globecore.esriGlobeDisplayGridType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGridDisplay

public int getGridDisplay()
                   throws java.io.IOException,
                          AutomationException
Indicates what type of grid/graticule to display.

Specified by:
getGridDisplay in interface IGlobeDisplayRendering3
Returns:
A com.esri.arcgis.globecore.esriGlobeDisplayGridType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

contentsChanged

public void contentsChanged(IActiveViewEventsContentsChangedEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Fired when the contents of the view changes.

Specified by:
contentsChanged in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

contentsCleared

public void contentsCleared(IActiveViewEventsContentsClearedEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Fired when the contents of the view is cleared.

Specified by:
contentsCleared in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

itemAdded

public void itemAdded(IActiveViewEventsItemAddedEvent theEvent)
               throws java.io.IOException,
                      AutomationException
Fired when an item is added to the view.

Specified by:
itemAdded in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

itemDeleted

public void itemDeleted(IActiveViewEventsItemDeletedEvent theEvent)
                 throws java.io.IOException,
                        AutomationException
Fired when an item is deleted from the view.

Specified by:
itemDeleted in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

itemReordered

public void itemReordered(IActiveViewEventsItemReorderedEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Fired when a view item is reordered.

Specified by:
itemReordered in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectionChanged

public void selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent)
                      throws java.io.IOException,
                             AutomationException
Call this function to fire the selection changed event.

Specified by:
selectionChanged in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

viewRefreshed

public void viewRefreshed(IActiveViewEventsViewRefreshedEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Fired when view is refreshed before draw happens.

Specified by:
viewRefreshed in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

afterDraw

public void afterDraw(IActiveViewEventsAfterDrawEvent theEvent)
               throws java.io.IOException,
                      AutomationException
Fired after the specified phase is drawn.

Specified by:
afterDraw in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

afterItemDraw

public void afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Fired after an individual view item is drawn. Example: view items include layers in a map or elements in a page layout.

Specified by:
afterItemDraw in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

focusMapChanged

public void focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Fired when a new map is made active.

Specified by:
focusMapChanged in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

spatialReferenceChanged

public void spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent)
                             throws java.io.IOException,
                                    AutomationException
Fired when the spatial reference is changed.

Specified by:
spatialReferenceChanged in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enumConnectionPoints

public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
                          throws java.io.IOException,
                                 AutomationException
enumConnectionPoints

Specified by:
enumConnectionPoints in interface IConnectionPointContainer
Parameters:
ppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findConnectionPoint

public void findConnectionPoint(GUID riid,
                                IConnectionPoint[] ppCP)
                         throws java.io.IOException,
                                AutomationException
findConnectionPoint

Specified by:
findConnectionPoint in interface IConnectionPointContainer
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHWnd

public void setHWnd(int hWnd)
             throws java.io.IOException,
                    AutomationException
Associated window handle.

Specified by:
setHWnd in interface IScreenDisplay
Parameters:
hWnd - The hWnd (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHWnd

public int getHWnd()
            throws java.io.IOException,
                   AutomationException
Associated window handle.

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

getWindowDC

public int getWindowDC()
                throws java.io.IOException,
                       AutomationException
Device context for the associated window. Only use this between calls to StartDrawing and FinishDrawing.

Specified by:
getWindowDC in interface IScreenDisplay
Returns:
The hDC (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addCache

public short addCache()
               throws java.io.IOException,
                      AutomationException
Creates a new cache and return its ID. The ID can be specified to StartDrawing to direct output to the cache. It can also be used with a number of other methods such as DrawCache and Invalidate.

Specified by:
addCache in interface IScreenDisplay
Returns:
The cacheID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeCache

public void removeCache(short cacheID)
                 throws java.io.IOException,
                        AutomationException
Removes the specified cache.

Specified by:
removeCache in interface IScreenDisplay
Parameters:
cacheID - The cacheID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCacheCount

public short getCacheCount()
                    throws java.io.IOException,
                           AutomationException
Number of screen caches.

Specified by:
getCacheCount in interface IScreenDisplay
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAllCaches

public void removeAllCaches()
                     throws java.io.IOException,
                            AutomationException
Removes all caches.

Specified by:
removeAllCaches in interface IScreenDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCacheMemDC

public int getCacheMemDC(short index)
                  throws java.io.IOException,
                         AutomationException
Memory device context for the specified screen cache.

Specified by:
getCacheMemDC in interface IScreenDisplay
Parameters:
index - The index (in)
Returns:
The hDC (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveCache

public void setActiveCache(short index)
                    throws java.io.IOException,
                           AutomationException
Screen cache where drawing occurs. Use rarely. Change cache inside StartDrawing/FinishDrawing sequence.

Specified by:
setActiveCache in interface IScreenDisplay
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getActiveCache

public short getActiveCache()
                     throws java.io.IOException,
                            AutomationException
Screen cache where drawing occurs. Use rarely. Change cache inside StartDrawing/FinishDrawing sequence.

Specified by:
getActiveCache in interface IScreenDisplay
Returns:
The index
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsFirstCacheTransparent

public void setIsFirstCacheTransparent(boolean flag)
                                throws java.io.IOException,
                                       AutomationException
Indicates if the bottom cache is transparent.

Specified by:
setIsFirstCacheTransparent in interface IScreenDisplay
Parameters:
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isFirstCacheTransparent

public boolean isFirstCacheTransparent()
                                throws java.io.IOException,
                                       AutomationException
Indicates if the bottom cache is transparent.

Specified by:
isFirstCacheTransparent in interface IScreenDisplay
Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startRecording

public void startRecording()
                    throws java.io.IOException,
                           AutomationException
Starts recording all output to the recording cache.

Specified by:
startRecording in interface IScreenDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopRecording

public void stopRecording()
                   throws java.io.IOException,
                          AutomationException
Stops recording to the recording cache.

Specified by:
stopRecording in interface IScreenDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseScrollbars

public void setUseScrollbars(boolean flag)
                      throws java.io.IOException,
                             AutomationException
Indicates if scrollbars should appear.

Specified by:
setUseScrollbars in interface IScreenDisplay
Parameters:
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseScrollbars

public boolean isUseScrollbars()
                        throws java.io.IOException,
                               AutomationException
Indicates if scrollbars should appear.

Specified by:
isUseScrollbars in interface IScreenDisplay
Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setScrollbarHandles

public void setScrollbarHandles(int hWndHorzScrollbar,
                                int hWndVertScrollbar)
                         throws java.io.IOException,
                                AutomationException
Optionally specify application supplied scrollbars.

Specified by:
setScrollbarHandles in interface IScreenDisplay
Parameters:
hWndHorzScrollbar - The hWndHorzScrollbar (A COM typedef) (in)
hWndVertScrollbar - The hWndVertScrollbar (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setScaleContents

public void setScaleContents(boolean flag)
                      throws java.io.IOException,
                             AutomationException
Indicates if the contents of the screen scale when a resize occurs. True means scale contents to fit new window size. False means contents stays the same with more or less of it showing.

Specified by:
setScaleContents in interface IScreenDisplay
Parameters:
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isScaleContents

public boolean isScaleContents()
                        throws java.io.IOException,
                               AutomationException
Indicates if the contents of the screen scale when a resize occurs. True means scale contents to fit new window size. False means contents stays the same with more or less of it showing.

Specified by:
isScaleContents in interface IScreenDisplay
Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSuppressResize

public void setSuppressResize(boolean suppressResize)
                       throws java.io.IOException,
                              AutomationException
Indicates if display resizing is suppressed. True means the display doesn't resize with the window. False ensures that the display is the same size as the window.

Specified by:
setSuppressResize in interface IScreenDisplay
Parameters:
suppressResize - The suppressResize (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSuppressResize

public boolean isSuppressResize()
                         throws java.io.IOException,
                                AutomationException
Indicates if display resizing is suppressed. True means the display doesn't resize with the window. False ensures that the display is the same size as the window.

Specified by:
isSuppressResize in interface IScreenDisplay
Returns:
The suppressResize
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isFramed

public boolean isFramed()
                 throws java.io.IOException,
                        AutomationException
Indicates if drawing occurs in a frame rather than on the whole window.

Specified by:
isFramed in interface IScreenDisplay
Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsFramed

public void setIsFramed(boolean flag)
                 throws java.io.IOException,
                        AutomationException
Indicates if drawing occurs in a frame rather than on the whole window.

Specified by:
setIsFramed in interface IScreenDisplay
Parameters:
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCancelTracker

public ITrackCancel getCancelTracker()
                              throws java.io.IOException,
                                     AutomationException
Cancel tracker that is associated with the display.

Specified by:
getCancelTracker in interface IScreenDisplay
Returns:
A reference to a com.esri.arcgis.system.ITrackCancel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCancelTrackerByRef

public void setCancelTrackerByRef(ITrackCancel cancelTracker)
                           throws java.io.IOException,
                                  AutomationException
Cancel tracker that is associated with the display.

Specified by:
setCancelTrackerByRef in interface IScreenDisplay
Parameters:
cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

invalidate

public void invalidate(IEnvelope rect,
                       boolean erase,
                       short cacheIndex)
                throws java.io.IOException,
                       AutomationException
Cause the specified area of the specified cache to redraw.

Specified by:
invalidate in interface IScreenDisplay
Parameters:
rect - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
erase - The erase (in)
cacheIndex - The cacheIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCacheDirty

public boolean isCacheDirty(short cacheIndex)
                     throws java.io.IOException,
                            AutomationException
Indicates if the specified cache needs refreshing.

Specified by:
isCacheDirty in interface IScreenDisplay
Parameters:
cacheIndex - The cacheIndex (in)
Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

drawCache

public void drawCache(int hDC,
                      short index,
                      tagRECT deviceRect,
                      tagRECT cacheRect)
               throws java.io.IOException,
                      AutomationException
Draws the specified screen cache to the specified window device context. Pass an empty rectangle to copy the full bitmap to the DC origin.

Specified by:
drawCache in interface IScreenDisplay
Parameters:
hDC - The hDC (A COM typedef) (in)
index - The index (in)
deviceRect - A Structure: com.esri.arcgis.system.tagRECT (in)
cacheRect - A Structure: com.esri.arcgis.system.tagRECT (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doScroll

public void doScroll(int xDelta,
                     int yDelta,
                     boolean updateScreen)
              throws java.io.IOException,
                     AutomationException
Scrolls the screen by the specified amount.

Specified by:
doScroll in interface IScreenDisplay
Parameters:
xDelta - The xDelta (in)
yDelta - The yDelta (in)
updateScreen - The updateScreen (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

trackPan

public void trackPan()
              throws java.io.IOException,
                     AutomationException
Interactively pans the screen.

Specified by:
trackPan in interface IScreenDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

panStart

public void panStart(IPoint mouseLocation)
              throws java.io.IOException,
                     AutomationException
Prepares display for panning.

Specified by:
panStart in interface IScreenDisplay
Parameters:
mouseLocation - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

panMoveTo

public void panMoveTo(IPoint mouseLocation)
               throws java.io.IOException,
                      AutomationException
Pans to a new point.

Specified by:
panMoveTo in interface IScreenDisplay
Parameters:
mouseLocation - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

panStop

public IEnvelope panStop()
                  throws java.io.IOException,
                         AutomationException
Stops panning and returns new visible bounds.

Specified by:
panStop in interface IScreenDisplay
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

trackRotate

public void trackRotate()
                 throws java.io.IOException,
                        AutomationException
Interactively rotates the screen.

Specified by:
trackRotate in interface IScreenDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rotateStart

public void rotateStart(IPoint mousePt,
                        IPoint centerPt)
                 throws java.io.IOException,
                        AutomationException
Prepares display for rotating. If centerPt is NULL, the center of the visible bounds is used.

Specified by:
rotateStart in interface IScreenDisplay
Parameters:
mousePt - A reference to a com.esri.arcgis.geometry.IPoint (in)
centerPt - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rotateMoveTo

public void rotateMoveTo(IPoint pPoint)
                  throws java.io.IOException,
                         AutomationException
Rotates to new point.

Specified by:
rotateMoveTo in interface IScreenDisplay
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rotateTimer

public void rotateTimer()
                 throws java.io.IOException,
                        AutomationException
Draws the rotated display. Call in response to WM_TIMER.

Specified by:
rotateTimer in interface IScreenDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rotateStop

public double rotateStop()
                  throws java.io.IOException,
                         AutomationException
Stops rotating and returns new angle.

Specified by:
rotateStop in interface IScreenDisplay
Returns:
The degrees
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateWindow

public void updateWindow()
                  throws java.io.IOException,
                         AutomationException
Forces a redraw.

Specified by:
updateWindow in interface IScreenDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplayTransformation

public IDisplayTransformation getDisplayTransformation()
                                                throws java.io.IOException,
                                                       AutomationException
The transformation used by the display.

Specified by:
getDisplayTransformation in interface IDisplay
Returns:
A reference to a com.esri.arcgis.display.IDisplayTransformation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDisplayTransformation

public void setDisplayTransformation(IDisplayTransformation displayTransformation)
                              throws java.io.IOException,
                                     AutomationException
The transformation used by the display.

Specified by:
setDisplayTransformation in interface IDisplay
Parameters:
displayTransformation - A reference to a com.esri.arcgis.display.IDisplayTransformation (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClipEnvelope

public IEnvelope getClipEnvelope()
                          throws java.io.IOException,
                                 AutomationException
The bounds of the invalid region. Use after StartDrawing and before FinishDrawing.

Specified by:
getClipEnvelope in interface IDisplay
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClipEnvelopes

public ISet getClipEnvelopes()
                      throws java.io.IOException,
                             AutomationException
The invalid region as a set of envelopes. Use after StartDrawing and before FinishDrawing.

Specified by:
getClipEnvelopes in interface IDisplay
Returns:
A reference to a com.esri.arcgis.system.ISet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClipGeometry

public IGeometry getClipGeometry()
                          throws java.io.IOException,
                                 AutomationException
User-specified clip shape. This shape is merged with the invalid region to arrive at the actual clip region. Must be specified before StartDrawing.

Specified by:
getClipGeometry in interface IDisplay
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setClipGeometry

public void setClipGeometry(IGeometry geometry)
                     throws java.io.IOException,
                            AutomationException
User-specified clip shape. This shape is merged with the invalid region to arrive at the actual clip region. Must be specified before StartDrawing.

Specified by:
setClipGeometry in interface IDisplay
Parameters:
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSuppressEvents

public boolean isSuppressEvents()
                         throws java.io.IOException,
                                AutomationException
Indicates if display object suppresses events.

Specified by:
isSuppressEvents in interface IDisplay
Returns:
The suppressEvents
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSuppressEvents

public void setSuppressEvents(boolean suppressEvents)
                       throws java.io.IOException,
                              AutomationException
Indicates if display object suppresses events.

Specified by:
setSuppressEvents in interface IDisplay
Parameters:
suppressEvents - The suppressEvents (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFilter

public IDisplayFilter getFilter()
                         throws java.io.IOException,
                                AutomationException
Display filter. Must call while in a StartDrawing-FinishDrawing sequence. Set Filter to 0 to resume normal drawing.

Specified by:
getFilter in interface IDisplay
Returns:
A reference to a com.esri.arcgis.display.IDisplayFilter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFilterByRef

public void setFilterByRef(IDisplayFilter filter)
                    throws java.io.IOException,
                           AutomationException
Display filter. Must call while in a StartDrawing-FinishDrawing sequence. Set Filter to 0 to resume normal drawing.

Specified by:
setFilterByRef in interface IDisplay
Parameters:
filter - A reference to a com.esri.arcgis.display.IDisplayFilter (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHPalette

public int getHPalette()
                throws java.io.IOException,
                       AutomationException
Palette.

Specified by:
getHPalette in interface IDisplay
Returns:
The hPalette (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHPalette

public void setHPalette(int hPalette)
                 throws java.io.IOException,
                        AutomationException
Palette.

Specified by:
setHPalette in interface IDisplay
Parameters:
hPalette - The hPalette (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startDrawing

public void startDrawing(int hDC,
                         short cacheID)
                  throws java.io.IOException,
                         AutomationException
Prepare the display for drawing. Specify the device context and the cache to draw to (normally esriNoScreenCache). The ScreenDisplay coclass will automatically create a window device context if you specify hdc = 0.

Specified by:
startDrawing in interface IDisplay
Parameters:
hDC - The hDC (A COM typedef) (in)
cacheID - The cacheID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHDC

public int getHDC()
           throws java.io.IOException,
                  AutomationException
The device context that the display is currently drawing to. Only valid between calls to StartDrawing and FinishDrawing.

Specified by:
getHDC in interface IDisplay
Returns:
The hDC (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

finishDrawing

public void finishDrawing()
                   throws java.io.IOException,
                          AutomationException
Completes drawing.

Specified by:
finishDrawing in interface IDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

progress

public void progress(int vertexCount)
              throws java.io.IOException,
                     AutomationException
Call frequently during drawing process.

Specified by:
progress in interface IDisplay
Parameters:
vertexCount - The vertexCount (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

drawPoint

public void drawPoint(IGeometry point)
               throws java.io.IOException,
                      AutomationException
Draws specified point on the display.

Specified by:
drawPoint in interface IDisplay
Parameters:
point - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

drawMultipoint

public void drawMultipoint(IGeometry multipoint)
                    throws java.io.IOException,
                           AutomationException
Draws specified multipoint on the display.

Specified by:
drawMultipoint in interface IDisplay
Parameters:
multipoint - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

drawRectangle

public void drawRectangle(IEnvelope rectangle)
                   throws java.io.IOException,
                          AutomationException
Draws specified rectangle on the display.

Specified by:
drawRectangle in interface IDisplay
Parameters:
rectangle - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

drawPolyline

public void drawPolyline(IGeometry polyline)
                  throws java.io.IOException,
                         AutomationException
Draws specified line on the display.

Specified by:
drawPolyline in interface IDisplay
Parameters:
polyline - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

drawPolygon

public void drawPolygon(IGeometry polygon)
                 throws java.io.IOException,
                        AutomationException
Draws specified polygon on the display.

Specified by:
drawPolygon in interface IDisplay
Parameters:
polygon - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

drawText

public void drawText(IGeometry shape,
                     java.lang.String text)
              throws java.io.IOException,
                     AutomationException
Draws specified text on the display.

Specified by:
drawText in interface IDisplay
Parameters:
shape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
text - The text (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSymbol

public void setSymbol(ISymbol sym)
               throws java.io.IOException,
                      AutomationException
Sets the symbol used for drawing. Four different symbols can be specified simultaneously: Marker, Line, Fill, Text.

Specified by:
setSymbol in interface IDisplay
Parameters:
sym - A reference to a com.esri.arcgis.display.ISymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIlluminationProps

public IIlluminationProps getIlluminationProps()
                                        throws java.io.IOException,
                                               AutomationException
Illumination properties used by the display.

Specified by:
getIlluminationProps in interface IDisplay
Returns:
A reference to a com.esri.arcgis.display.IIlluminationProps
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIlluminationProps

public void setIlluminationProps(IIlluminationProps illuminationProps)
                          throws java.io.IOException,
                                 AutomationException
Illumination properties used by the display.

Specified by:
setIlluminationProps in interface IDisplay
Parameters:
illuminationProps - A reference to a com.esri.arcgis.display.IIlluminationProps (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatistic

public double getStatistic(int property)
                    throws java.io.IOException,
                           AutomationException
The accumulated or instantaneous value of an statistic.

Specified by:
getStatistic in interface IGlobeStatInfo
Parameters:
property - A com.esri.arcgis.globecore.esriGlobeStat constant (in)
Returns:
The pValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startAccumulating

public void startAccumulating(int property)
                       throws java.io.IOException,
                              AutomationException
Start accumulating values.

Specified by:
startAccumulating in interface IGlobeStatInfo
Parameters:
property - A com.esri.arcgis.globecore.esriGlobeStat constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopAccumulating

public double stopAccumulating(int property)
                        throws java.io.IOException,
                               AutomationException
Stop accumulating values.

Specified by:
stopAccumulating in interface IGlobeStatInfo
Parameters:
property - A com.esri.arcgis.globecore.esriGlobeStat constant (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNumFramesInAvg

public void setNumFramesInAvg(int property,
                              int num)
                       throws java.io.IOException,
                              AutomationException
Set Number of frames used in averaging.

Specified by:
setNumFramesInAvg in interface IGlobeStatInfo
Parameters:
property - A com.esri.arcgis.globecore.esriGlobeStat constant (in)
num - The num (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTimeValue

public ITimeValue getTimeValue()
                        throws java.io.IOException,
                               AutomationException
Time Extent for which the data has to be displayed.

Specified by:
getTimeValue in interface ITimeDisplay
Returns:
A reference to a com.esri.arcgis.system.ITimeValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTimeValue

public void setTimeValue(ITimeValue timeExtent)
                  throws java.io.IOException,
                         AutomationException
Time Extent for which the data has to be displayed.

Specified by:
setTimeValue in interface ITimeDisplay
Parameters:
timeExtent - A reference to a com.esri.arcgis.system.ITimeValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTimeReference

public ITimeReference getTimeReference()
                                throws java.io.IOException,
                                       AutomationException
Time reference using which the data has to be displayed.

Specified by:
getTimeReference in interface ITimeDisplay
Returns:
A reference to a com.esri.arcgis.system.ITimeReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTimeReference

public void setTimeReference(ITimeReference timeReference)
                      throws java.io.IOException,
                             AutomationException
Time reference using which the data has to be displayed.

Specified by:
setTimeReference in interface ITimeDisplay
Parameters:
timeReference - A reference to a com.esri.arcgis.system.ITimeReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTimeRelation

public int getTimeRelation()
                    throws java.io.IOException,
                           AutomationException
Time relation for the time query.

Specified by:
getTimeRelation in interface ITimeDisplay2
Returns:
A com.esri.arcgis.system.esriTimeRelation constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTimeRelation

public void setTimeRelation(int relation)
                     throws java.io.IOException,
                            AutomationException
Time relation for the time query.

Specified by:
setTimeRelation in interface ITimeDisplay2
Parameters:
relation - A com.esri.arcgis.system.esriTimeRelation constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createLayerFromGmxXML

public IEnumLayer createLayerFromGmxXML(java.lang.String cachePath)
                                 throws java.io.IOException,
                                        AutomationException
Creates the globe layer file for the globe cache given by gmx.xml configuration file.

Specified by:
createLayerFromGmxXML in interface IGlobeDisplayUtil
Parameters:
cachePath - The cachePath (in)
Returns:
A reference to a com.esri.arcgis.carto.IEnumLayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.