com.esri.arcgis.analyst3d
Class SceneGraph

java.lang.Object
  extended by com.esri.arcgis.analyst3d.SceneGraph
All Implemented Interfaces:
ISceneGraph, ISceneRendererEvents, IViewers3D, IActiveViewEvents, IConnectionPointContainer, IDisplay, IDisplay3D, IScreenDisplay, IScreenDisplay2, ITimeDisplay, ITimeDisplay2, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable, java.util.EventListener

public class SceneGraph
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IActiveViewEvents, ISceneRendererEvents, ISceneGraph, IViewers3D, ISupportErrorInfo, IConnectionPointContainer, IScreenDisplay, IScreenDisplay2, IDisplay3D, ITimeDisplay, ITimeDisplay2

COM Class 'SceneGraph'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esri3DAnalyst.olb'

Description 'A container for recording data and events that occur in a scene.' 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.carto.IActiveViewEvents
IID, IIDe79c5940_52dd_11d0_98be_00805f7ced21, xxDummy
 
Fields inherited from interface com.esri.arcgis.analyst3d.ISceneRendererEvents
IID, IIDbbc7c2e8_1fb3_11d4_ab72_0008c73fd50c, xxDummy
 
Fields inherited from interface com.esri.arcgis.analyst3d.ISceneGraph
IID, IID37576410_c469_11d2_b1da_00c04fa33d14, xxDummy
 
Fields inherited from interface com.esri.arcgis.analyst3d.IViewers3D
IID, IID4d8ca7d2_0aaa_4502_adc7_0388051c5f5c, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, 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.IScreenDisplay2
IID, IIDdc321087_108f_43ae_932a_dfc1f7c4529e, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.IDisplay
IIDe6bdb002_4d35_11d0_98be_00805f7ced21
 
Fields inherited from interface com.esri.arcgis.display.IDisplay3D
IID, IIDdc8333bd_a1d9_11d3_9f61_00c04f6bc5f4, 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
 
Constructor Summary
SceneGraph()
          Constructs a SceneGraph using ArcGIS Engine.
SceneGraph(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SceneGraph theSceneGraph = (SceneGraph) obj;
 
Method Summary
 short addCache()
          Creates a new cache and return its ID.
 void addFlashFeature(IGeometry pGeometry)
          Adds a feature shape to the flash list.
 void addISceneGraphEventsDispListener(ISceneGraphEventsDisp theListener)
          addISceneGraphEventsDispListener.
 void addISceneGraphEventsListener(ISceneGraphEvents theListener)
          addISceneGraphEventsListener.
 void addISceneGraphLayerEventsDispListener(ISceneGraphLayerEventsDisp theListener)
          addISceneGraphLayerEventsDispListener.
 void addISceneGraphLayerEventsListener(ISceneGraphLayerEvents theListener)
          addISceneGraphLayerEventsListener.
 void addITimeDisplayEventsListener(ITimeDisplayEvents theListener)
          addITimeDisplayEventsListener.
 void addSimpleActor(ISceneRenderer pRecorder, IGeoDataset pGeoDataset)
          Constructs a simple actor (layer visualization subgraph).
 void addSimpleGraphics(ISceneRenderer pRecorder)
          Constructs a simple graphics node.
 void afterDraw(IActiveViewEventsAfterDrawEvent theEvent)
          Fired after the specified phase is drawn.
 void afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent)
          Fired after an individual view item is drawn.
 void beginCompositeActor(ICompositeLayer pGroupLayer)
          Creates a composite layer node and notifies the scene graph that subsequent actors must be added as children.
 void clear(boolean bKeepBasicGraph)
          Resets the scene graph.
 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 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 endCompositeActor()
          Notifies the scene graph that the definition of a group layer has ended.
 void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
          enumConnectionPoints
 boolean equals(java.lang.Object o)
          Compare this object with another
 void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP)
          findConnectionPoint
 ISceneViewer findViewer(java.lang.String caption)
          Finds the Viewer.
 void finishDrawing()
          Completes drawing.
 void finishFeedback()
          Ends feedback drawing.
 void flashFeatures()
          Redraws viewers flashing the features in the flash list.
 void flashGeometry(java.lang.Object pOwner, java.lang.Object feature)
          Flashes a feature shape.
 void flashLocation(IPoint pGeometry)
          Redraws viewers flashing the given location.
 void focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent)
          Fired when a new map is made active.
 void frameScrolled(int x, int y)
          Call on frame display when container is scrolled.
 short getActiveCache()
          Screen cache where drawing occurs.
 ISceneViewer getActiveViewer()
          The active viewer.
 IArray getAllViewers()
          Returns all registered Viewers.
 void getBackgroundColor(float[] pRed, float[] pGreen, float[] pBlue)
          Returns the background color.
 int getBackgroundRGB()
          The RGB value of the background color.
 short getCacheCount()
          Number of screen caches.
 int getCacheMemDC(short index)
          Memory device context for the specified screen cache.
 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.
 int getContrast()
          The contrast coefficient.
 IDisplayTransformation getDisplayTransformation()
          The transformation used by the display.
 void getDrawingOffset(int[] x, int[] y)
          The offset between the device origin and the active cache origin.
 void getDrawingTimeInfo(double[] pLastFrameDuration, double[] pMeanFrameRate)
          Returns the duration in seconds of last redraw and the average number of frames per second.
 IEnvelope getExtent()
          The extent of the scene graph content.
 IDisplayFilter getFilter()
          Display filter.
 IEnvelope getGeographySelectionExtent()
          The volumetric bounding box of selected features.
 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.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 void getMaxTextureSize(int[] pMaxTextureWidth, int[] pMaxTextureHeight)
          The limit for the size of a single texture.
 IEnvelope getOwnerExtent(java.lang.Object pOwner, boolean bSelectionOnly)
          The full or selected extent of a layer.
 void getOwnerSymbols(java.lang.Object pOwner, IArray[] ppSymbols, ILongArray[] ppDisplayListIDs)
          Returns an array containing all symbols used in a layer and their corresponding display list identifications.
 void getOwnerTransparency(java.lang.Object pObject, int[] pTranspPercent)
          Get the transparency percentage of an owner as stored in the scene graph.
 IScene getScene()
          The scene.
 int getScreenPickTolerance()
          The tolerance in pixels used when picking.
 IColor getSelectionColor()
          The selection color.
 IVector3D getSunVector()
          The sun vector.
 float getSymbolScale()
          The scale for point size and line width of symbols.
 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.
 double getVerticalExaggeration()
          The vertical exaggeration factor.
 int getWindowDC()
          Device context for the associated window.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void invalidate(IEnvelope rect, boolean erase, short cacheIndex)
          Cause the specified area of the specified cache to redraw.
 void invalidate(java.lang.Object pObject, boolean bInvalidateGeography, boolean bInvalidateSelection)
          Invalidates acts representing an object.
 boolean isCacheDirty(short cacheIndex)
          Indicates if the specified cache needs refreshing.
 boolean isEmpty()
          Indicates if the content of the scene graph is empty.
 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 isGestureEnabled()
          Indicates if the mouse gestures are supported.
 boolean isImmediateMode()
          Indicates if immediate-mode rendering for the whole scene is being used.
 boolean isNavigating()
          Indicates if the scene graph is in navigation mode.
 boolean isRecordingMessageEnabled()
          Indicates if the scene graph provides visual feedback during recording.
 boolean isScaleContents()
          Indicates if the contents of the screen scale when a resize occurs.
 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 x, int y, int mode, boolean bGetTransformed, IPoint[] ppPt, java.lang.Object[] ppOwner, java.lang.Object[] ppObject)
          Locates a single object.
 void locateMultiple(ISceneViewer pViewer, int x, int y, int mode, boolean bGetTransformed, IHit3DSet[] ppHits)
          Locates multiple objects.
 void lockViewers(boolean lock)
          Locks the viewer cameras in position.
 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 progress(int vertexCount)
          Call frequently during drawing process.
 void putMaxTextureSize(int maxTextureWidth, int maxTextureHeight)
          The limit for the size of a single texture.
 void recordSymbol(ISymbol pSymbol, int glList, boolean bIsExtruded, boolean bLighting, int layerTransparencyPercent, boolean bOptimizeState)
          Creates the display list with the given identification for the symbol and its extrusion state (for points and lines).
 void refreshViewers()
          Redraws all viewers.
 void registerViewer(ISceneViewer pViewer)
          Adds a viewer to the scene graph.
 void release()
          Release a SceneGraph.
 void remove(java.lang.Object pObject, boolean bUpdateExtent)
          Removes actors representing an object.
 void removeAllCaches()
          Removes all caches.
 void removeCache(short cacheID)
          Removes the specified cache.
 void removeISceneGraphEventsDispListener(ISceneGraphEventsDisp theListener)
          removeISceneGraphEventsDispListener.
 void removeISceneGraphEventsListener(ISceneGraphEvents theListener)
          removeISceneGraphEventsListener.
 void removeISceneGraphLayerEventsDispListener(ISceneGraphLayerEventsDisp theListener)
          removeISceneGraphLayerEventsDispListener.
 void removeISceneGraphLayerEventsListener(ISceneGraphLayerEvents theListener)
          removeISceneGraphLayerEventsListener.
 void removeITimeDisplayEventsListener(ITimeDisplayEvents theListener)
          removeITimeDisplayEventsListener.
 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 selectionChanged(ISceneRendererEventsSelectionChangedEvent theEvent)
          Fired when the selection is changed.
 void setActiveCache(short index)
          Screen cache where drawing occurs.
 void setActiveViewerByRef(ISceneViewer ppViewer)
          The active viewer.
 void setBackgroundColor(float red, float green, float blue)
          Sets the background color.
 void setBackgroundRGB(int rGB)
          The RGB value of the background color.
 void setCancelTrackerByRef(ITrackCancel cancelTracker)
          Cancel tracker that is associated with the display.
 void setClipGeometry(IGeometry geometry)
          User-specified clip shape.
 void setContrast(int pContrast)
          The contrast coefficient.
 void setDisplayTransformation(IDisplayTransformation displayTransformation)
          The transformation used by the display.
 void setFilterByRef(IDisplayFilter filter)
          Display filter.
 void setGestureEnabled(boolean pbEnabled)
          Indicates if the mouse gestures are supported.
 void setHPalette(int hPalette)
          Palette.
 void setHWnd(int hWnd)
          Associated window handle.
 void setIlluminationProps(IIlluminationProps illuminationProps)
          Illumination properties used by the display.
 void setImmediateMode(boolean pbIsAllImmediate)
          Indicates if immediate-mode rendering for the whole scene is being used.
 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 setIsNavigating(boolean pbIsNavigating)
          Indicates if the scene graph is in navigation mode.
 void setIsRecordingMessageEnabled(boolean pbIsEnabled)
          Indicates if the scene graph provides visual feedback during recording.
 void setOwnerDepthPriority(java.lang.Object pObject, short depthPriority)
          Sets the depth offset of layers.
 void setOwnerExtrusion(java.lang.Object pObject, boolean rhs2)
          The scene graph information about a layer extrusion.
 void setOwnerFaceCulling(java.lang.Object pObject, int cullingMode)
          Sets retained or immediate mode for the owner.
 void setOwnerImmediateMode(java.lang.Object pObject, boolean bIsLayerImmediate)
          Sets retained or immediate mode for the owner.
 void setOwnerLightingOption(java.lang.Object pObject, boolean lighting)
          Sets the lighting state of layers.
 void setOwnerNavigationVisibility(java.lang.Object pObject, boolean visibleWhenNavigating, boolean visibleWhenStill)
          Sets the visibility of layers depending on navigating state.
 void setOwnerShadingMode(java.lang.Object pObject, boolean bIsSmooth)
          Sets the shading mode (smooth or flat) of layers.
 void setOwnerTimeThreshold(java.lang.Object pObject, double timeThreshold)
          Sets the time threshold to use lowest level of detail in layers when navigating.
 void setOwnerTransparencyState(java.lang.Object pObject, boolean bIsTransparent)
          Sets transparency enabling flag for the owner.
 void setOwnerVisibility(java.lang.Object pObject, boolean visible)
          Sets the visibility of acts representing an object.
 void setScaleContents(boolean flag)
          Indicates if the contents of the screen scale when a resize occurs.
 void setSceneByRef(IScene pVal)
          The scene.
 void setScreenPickTolerance(int pixels)
          The tolerance in pixels used when picking.
 void setScrollbarHandles(int hWndHorzScrollbar, int hWndVertScrollbar)
          Optionally specify application supplied scrollbars.
 void setSelectionColorByRef(IColor pSelectionColor)
          The selection color.
 void setSunVector(IVector3D ppSun)
          The sun vector.
 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 setSymbolScale(float scale)
          The scale for point size and line width of symbols.
 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 setVerticalExaggeration(double pZFactor)
          The vertical exaggeration factor.
 void spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent)
          Fired when the spatial reference is changed.
 void startDrawing(int hDC, short cacheID)
          Prepare the display for drawing.
 void startFeedback()
          Prepare the display for drawing selection/rubberbanding.
 void startRecording()
          Starts recording all output to the recording cache.
 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 scene graph.
 void updateWindow()
          Forces a redraw.
 void validate(short cacheIndex)
          Clear dirty flag for specified cache.
 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

SceneGraph

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

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

SceneGraph

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

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

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

addISceneGraphEventsDispListener

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

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

removeISceneGraphEventsDispListener

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

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

addISceneGraphEventsListener

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

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

removeISceneGraphEventsListener

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

Parameters:
theListener - An object that implements the com.esri.arcgis.analyst3d.ISceneGraphEvents 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.

addISceneGraphLayerEventsListener

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

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

removeISceneGraphLayerEventsListener

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

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

addISceneGraphLayerEventsDispListener

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

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

removeISceneGraphLayerEventsDispListener

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

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

release

public void release()
Release a SceneGraph.

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

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.

selectionChanged

public void selectionChanged(ISceneRendererEventsSelectionChangedEvent theEvent)
                      throws java.io.IOException,
                             AutomationException
Fired when the selection is changed.

Specified by:
selectionChanged in interface ISceneRendererEvents
Parameters:
theEvent - The event
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 ISceneGraph
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 ISceneGraph
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.

isEmpty

public boolean isEmpty()
                throws java.io.IOException,
                       AutomationException
Indicates if the content of the scene graph is empty.

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

addSimpleGraphics

public void addSimpleGraphics(ISceneRenderer pRecorder)
                       throws java.io.IOException,
                              AutomationException
Constructs a simple graphics node.

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

addSimpleActor

public void addSimpleActor(ISceneRenderer pRecorder,
                           IGeoDataset pGeoDataset)
                    throws java.io.IOException,
                           AutomationException
Constructs a simple actor (layer visualization subgraph).

Specified by:
addSimpleActor in interface ISceneGraph
Parameters:
pRecorder - A reference to a com.esri.arcgis.analyst3d.ISceneRenderer (in)
pGeoDataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beginCompositeActor

public void beginCompositeActor(ICompositeLayer pGroupLayer)
                         throws java.io.IOException,
                                AutomationException
Creates a composite layer node and notifies the scene graph that subsequent actors must be added as children.

Specified by:
beginCompositeActor in interface ISceneGraph
Parameters:
pGroupLayer - 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.

endCompositeActor

public void endCompositeActor()
                       throws java.io.IOException,
                              AutomationException
Notifies the scene graph that the definition of a group layer has ended.

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

remove

public void remove(java.lang.Object pObject,
                   boolean bUpdateExtent)
            throws java.io.IOException,
                   AutomationException
Removes actors representing an object.

Specified by:
remove in interface ISceneGraph
Parameters:
pObject - A reference to another Object (IUnknown) (in)
bUpdateExtent - The bUpdateExtent (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

invalidate

public void invalidate(java.lang.Object pObject,
                       boolean bInvalidateGeography,
                       boolean bInvalidateSelection)
                throws java.io.IOException,
                       AutomationException
Invalidates acts representing an object.

Specified by:
invalidate in interface ISceneGraph
Parameters:
pObject - A reference to another Object (IUnknown) (in)
bInvalidateGeography - The bInvalidateGeography (in)
bInvalidateSelection - The bInvalidateSelection (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setImmediateMode

public void setImmediateMode(boolean pbIsAllImmediate)
                      throws java.io.IOException,
                             AutomationException
Indicates if immediate-mode rendering for the whole scene is being used.

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

isImmediateMode

public boolean isImmediateMode()
                        throws java.io.IOException,
                               AutomationException
Indicates if immediate-mode rendering for the whole scene is being used.

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

setOwnerVisibility

public void setOwnerVisibility(java.lang.Object pObject,
                               boolean visible)
                        throws java.io.IOException,
                               AutomationException
Sets the visibility of acts representing an object.

Specified by:
setOwnerVisibility in interface ISceneGraph
Parameters:
pObject - A reference to another Object (IUnknown) (in)
visible - The visible (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOwnerNavigationVisibility

public void setOwnerNavigationVisibility(java.lang.Object pObject,
                                         boolean visibleWhenNavigating,
                                         boolean visibleWhenStill)
                                  throws java.io.IOException,
                                         AutomationException
Sets the visibility of layers depending on navigating state.

Specified by:
setOwnerNavigationVisibility in interface ISceneGraph
Parameters:
pObject - A reference to another Object (IUnknown) (in)
visibleWhenNavigating - The visibleWhenNavigating (in)
visibleWhenStill - The visibleWhenStill (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOwnerLightingOption

public void setOwnerLightingOption(java.lang.Object pObject,
                                   boolean lighting)
                            throws java.io.IOException,
                                   AutomationException
Sets the lighting state of layers.

Specified by:
setOwnerLightingOption in interface ISceneGraph
Parameters:
pObject - A reference to another Object (IUnknown) (in)
lighting - The lighting (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOwnerShadingMode

public void setOwnerShadingMode(java.lang.Object pObject,
                                boolean bIsSmooth)
                         throws java.io.IOException,
                                AutomationException
Sets the shading mode (smooth or flat) of layers.

Specified by:
setOwnerShadingMode in interface ISceneGraph
Parameters:
pObject - A reference to another Object (IUnknown) (in)
bIsSmooth - The bIsSmooth (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOwnerDepthPriority

public void setOwnerDepthPriority(java.lang.Object pObject,
                                  short depthPriority)
                           throws java.io.IOException,
                                  AutomationException
Sets the depth offset of layers.

Specified by:
setOwnerDepthPriority in interface ISceneGraph
Parameters:
pObject - A reference to another Object (IUnknown) (in)
depthPriority - The depthPriority (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOwnerTimeThreshold

public void setOwnerTimeThreshold(java.lang.Object pObject,
                                  double timeThreshold)
                           throws java.io.IOException,
                                  AutomationException
Sets the time threshold to use lowest level of detail in layers when navigating.

Specified by:
setOwnerTimeThreshold in interface ISceneGraph
Parameters:
pObject - A reference to another Object (IUnknown) (in)
timeThreshold - The timeThreshold (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOwnerImmediateMode

public void setOwnerImmediateMode(java.lang.Object pObject,
                                  boolean bIsLayerImmediate)
                           throws java.io.IOException,
                                  AutomationException
Sets retained or immediate mode for the owner.

Specified by:
setOwnerImmediateMode in interface ISceneGraph
Parameters:
pObject - A reference to another Object (IUnknown) (in)
bIsLayerImmediate - The bIsLayerImmediate (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOwnerFaceCulling

public void setOwnerFaceCulling(java.lang.Object pObject,
                                int cullingMode)
                         throws java.io.IOException,
                                AutomationException
Sets retained or immediate mode for the owner.

Specified by:
setOwnerFaceCulling in interface ISceneGraph
Parameters:
pObject - A reference to another Object (IUnknown) (in)
cullingMode - 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.

setOwnerTransparencyState

public void setOwnerTransparencyState(java.lang.Object pObject,
                                      boolean bIsTransparent)
                               throws java.io.IOException,
                                      AutomationException
Sets transparency enabling flag for the owner.

Specified by:
setOwnerTransparencyState in interface ISceneGraph
Parameters:
pObject - A reference to another Object (IUnknown) (in)
bIsTransparent - The bIsTransparent (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOwnerTransparency

public void getOwnerTransparency(java.lang.Object pObject,
                                 int[] pTranspPercent)
                          throws java.io.IOException,
                                 AutomationException
Get the transparency percentage of an owner as stored in the scene graph.

Specified by:
getOwnerTransparency in interface ISceneGraph
Parameters:
pObject - A reference to another Object (IUnknown) (in)
pTranspPercent - The pTranspPercent (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOwnerExtrusion

public void setOwnerExtrusion(java.lang.Object pObject,
                              boolean rhs2)
                       throws java.io.IOException,
                              AutomationException
The scene graph information about a layer extrusion.

Specified by:
setOwnerExtrusion in interface ISceneGraph
Parameters:
pObject - A reference to another Object (IUnknown) (in)
rhs2 - The rhs2 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws java.io.IOException,
                           AutomationException
The extent of the scene graph content.

Specified by:
getExtent in interface ISceneGraph
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.

getGeographySelectionExtent

public IEnvelope getGeographySelectionExtent()
                                      throws java.io.IOException,
                                             AutomationException
The volumetric bounding box of selected features.

Specified by:
getGeographySelectionExtent in interface ISceneGraph
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.

getOwnerExtent

public IEnvelope getOwnerExtent(java.lang.Object pOwner,
                                boolean bSelectionOnly)
                         throws java.io.IOException,
                                AutomationException
The full or selected extent of a layer.

Specified by:
getOwnerExtent in interface ISceneGraph
Parameters:
pOwner - A reference to another Object (IUnknown) (in)
bSelectionOnly - The bSelectionOnly (in)
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.

registerViewer

public void registerViewer(ISceneViewer pViewer)
                    throws java.io.IOException,
                           AutomationException
Adds a viewer to the scene graph.

Specified by:
registerViewer in interface ISceneGraph
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 scene graph.

Specified by:
unregisterViewer in interface ISceneGraph
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 ISceneGraph
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 ISceneGraph
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 ISceneGraph
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 ISceneGraph
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.

replayFrame

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

Specified by:
replayFrame in interface ISceneGraph
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.

refreshViewers

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

Specified by:
refreshViewers in interface ISceneGraph
Specified by:
refreshViewers in interface IViewers3D
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 ISceneGraph
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 ISceneGraph
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.

setSelectionColorByRef

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

Specified by:
setSelectionColorByRef in interface ISceneGraph
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 ISceneGraph
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.

isNavigating

public boolean isNavigating()
                     throws java.io.IOException,
                            AutomationException
Indicates if the scene graph is in navigation mode.

Specified by:
isNavigating in interface ISceneGraph
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 scene graph is in navigation mode.

Specified by:
setIsNavigating in interface ISceneGraph
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 ISceneGraph
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 ISceneGraph
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.

locate

public void locate(ISceneViewer pViewer,
                   int x,
                   int y,
                   int mode,
                   boolean bGetTransformed,
                   IPoint[] ppPt,
                   java.lang.Object[] ppOwner,
                   java.lang.Object[] ppObject)
            throws java.io.IOException,
                   AutomationException
Locates a single object.

Specified by:
locate in interface ISceneGraph
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)
ppPt - 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 x,
                           int y,
                           int mode,
                           boolean bGetTransformed,
                           IHit3DSet[] ppHits)
                    throws java.io.IOException,
                           AutomationException
Locates multiple objects.

Specified by:
locateMultiple in interface ISceneGraph
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)
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.

getVerticalExaggeration

public double getVerticalExaggeration()
                               throws java.io.IOException,
                                      AutomationException
The vertical exaggeration factor.

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

setVerticalExaggeration

public void setVerticalExaggeration(double pZFactor)
                             throws java.io.IOException,
                                    AutomationException
The vertical exaggeration factor.

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

getSunVector

public IVector3D getSunVector()
                       throws java.io.IOException,
                              AutomationException
The sun vector.

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

setSunVector

public void setSunVector(IVector3D ppSun)
                  throws java.io.IOException,
                         AutomationException
The sun vector.

Specified by:
setSunVector in interface ISceneGraph
Parameters:
ppSun - 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.

getContrast

public int getContrast()
                throws java.io.IOException,
                       AutomationException
The contrast coefficient.

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

setContrast

public void setContrast(int pContrast)
                 throws java.io.IOException,
                        AutomationException
The contrast coefficient.

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

clear

public void clear(boolean bKeepBasicGraph)
           throws java.io.IOException,
                  AutomationException
Resets the scene graph.

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

lockViewers

public void lockViewers(boolean lock)
                 throws java.io.IOException,
                        AutomationException
Locks the viewer cameras in position.

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

getDrawingTimeInfo

public void getDrawingTimeInfo(double[] pLastFrameDuration,
                               double[] pMeanFrameRate)
                        throws java.io.IOException,
                               AutomationException
Returns the duration in seconds of last redraw and the average number of frames per second.

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

getOwnerSymbols

public void getOwnerSymbols(java.lang.Object pOwner,
                            IArray[] ppSymbols,
                            ILongArray[] ppDisplayListIDs)
                     throws java.io.IOException,
                            AutomationException
Returns an array containing all symbols used in a layer and their corresponding display list identifications.

Specified by:
getOwnerSymbols in interface ISceneGraph
Parameters:
pOwner - A reference to another Object (IUnknown) (in)
ppSymbols - A reference to a com.esri.arcgis.system.IArray (out: use single element array)
ppDisplayListIDs - A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

recordSymbol

public void recordSymbol(ISymbol pSymbol,
                         int glList,
                         boolean bIsExtruded,
                         boolean bLighting,
                         int layerTransparencyPercent,
                         boolean bOptimizeState)
                  throws java.io.IOException,
                         AutomationException
Creates the display list with the given identification for the symbol and its extrusion state (for points and lines).

Specified by:
recordSymbol in interface ISceneGraph
Parameters:
pSymbol - A reference to a com.esri.arcgis.display.ISymbol (in)
glList - The glList (in)
bIsExtruded - The bIsExtruded (in)
bLighting - The bLighting (in)
layerTransparencyPercent - The layerTransparencyPercent (in)
bOptimizeState - The bOptimizeState (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRecordingMessageEnabled

public boolean isRecordingMessageEnabled()
                                  throws java.io.IOException,
                                         AutomationException
Indicates if the scene graph provides visual feedback during recording.

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

setIsRecordingMessageEnabled

public void setIsRecordingMessageEnabled(boolean pbIsEnabled)
                                  throws java.io.IOException,
                                         AutomationException
Indicates if the scene graph provides visual feedback during recording.

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

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
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
Specified by:
setHWnd in interface IScreenDisplay2
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
Specified by:
getHWnd in interface IScreenDisplay2
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
Specified by:
getWindowDC in interface IScreenDisplay2
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
Specified by:
addCache in interface IScreenDisplay2
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
Specified by:
removeCache in interface IScreenDisplay2
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
Specified by:
getCacheCount in interface IScreenDisplay2
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
Specified by:
removeAllCaches in interface IScreenDisplay2
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
Specified by:
getCacheMemDC in interface IScreenDisplay2
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
Specified by:
setActiveCache in interface IScreenDisplay2
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
Specified by:
getActiveCache in interface IScreenDisplay2
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
Specified by:
setIsFirstCacheTransparent in interface IScreenDisplay2
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
Specified by:
isFirstCacheTransparent in interface IScreenDisplay2
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
Specified by:
startRecording in interface IScreenDisplay2
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
Specified by:
stopRecording in interface IScreenDisplay2
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
Specified by:
setUseScrollbars in interface IScreenDisplay2
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
Specified by:
isUseScrollbars in interface IScreenDisplay2
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
Specified by:
setScrollbarHandles in interface IScreenDisplay2
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
Specified by:
setScaleContents in interface IScreenDisplay2
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
Specified by:
isScaleContents in interface IScreenDisplay2
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
Specified by:
setSuppressResize in interface IScreenDisplay2
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
Specified by:
isSuppressResize in interface IScreenDisplay2
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
Specified by:
isFramed in interface IScreenDisplay2
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
Specified by:
setIsFramed in interface IScreenDisplay2
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
Specified by:
getCancelTracker in interface IScreenDisplay2
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
Specified by:
setCancelTrackerByRef in interface IScreenDisplay2
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
Specified by:
invalidate in interface IScreenDisplay2
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
Specified by:
isCacheDirty in interface IScreenDisplay2
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
Specified by:
drawCache in interface IScreenDisplay2
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
Specified by:
doScroll in interface IScreenDisplay2
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
Specified by:
trackPan in interface IScreenDisplay2
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
Specified by:
panStart in interface IScreenDisplay2
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
Specified by:
panMoveTo in interface IScreenDisplay2
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
Specified by:
panStop in interface IScreenDisplay2
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
Specified by:
trackRotate in interface IScreenDisplay2
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
Specified by:
rotateStart in interface IScreenDisplay2
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
Specified by:
rotateMoveTo in interface IScreenDisplay2
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
Specified by:
rotateTimer in interface IScreenDisplay2
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
Specified by:
rotateStop in interface IScreenDisplay2
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
Specified by:
updateWindow in interface IScreenDisplay2
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.

setBackgroundRGB

public void setBackgroundRGB(int rGB)
                      throws java.io.IOException,
                             AutomationException
The RGB value of the background color. This color only appears on the screen, not on output.

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

getBackgroundRGB

public int getBackgroundRGB()
                     throws java.io.IOException,
                            AutomationException
The RGB value of the background color. This color only appears on the screen, not on output.

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

getDrawingOffset

public void getDrawingOffset(int[] x,
                             int[] y)
                      throws java.io.IOException,
                             AutomationException
The offset between the device origin and the active cache origin.

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

validate

public void validate(short cacheIndex)
              throws java.io.IOException,
                     AutomationException
Clear dirty flag for specified cache.

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

startFeedback

public void startFeedback()
                   throws java.io.IOException,
                          AutomationException
Prepare the display for drawing selection/rubberbanding. Drawing isn't clipped or zoomed with page. Must match with a call to FinishFeedback.

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

finishFeedback

public void finishFeedback()
                    throws java.io.IOException,
                           AutomationException
Ends feedback drawing.

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

frameScrolled

public void frameScrolled(int x,
                          int y)
                   throws java.io.IOException,
                          AutomationException
Call on frame display when container is scrolled.

Specified by:
frameScrolled in interface IScreenDisplay2
Parameters:
x - The x (in)
y - The y (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setScreenPickTolerance

public void setScreenPickTolerance(int pixels)
                            throws java.io.IOException,
                                   AutomationException
The tolerance in pixels used when picking.

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

getScreenPickTolerance

public int getScreenPickTolerance()
                           throws java.io.IOException,
                                  AutomationException
The tolerance in pixels used when picking.

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

setSymbolScale

public void setSymbolScale(float scale)
                    throws java.io.IOException,
                           AutomationException
The scale for point size and line width of symbols.

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

getSymbolScale

public float getSymbolScale()
                     throws java.io.IOException,
                            AutomationException
The scale for point size and line width of symbols.

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

putMaxTextureSize

public void putMaxTextureSize(int maxTextureWidth,
                              int maxTextureHeight)
                       throws java.io.IOException,
                              AutomationException
The limit for the size of a single texture.

Specified by:
putMaxTextureSize in interface IDisplay3D
Parameters:
maxTextureWidth - The maxTextureWidth (in)
maxTextureHeight - The maxTextureHeight (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxTextureSize

public void getMaxTextureSize(int[] pMaxTextureWidth,
                              int[] pMaxTextureHeight)
                       throws java.io.IOException,
                              AutomationException
The limit for the size of a single texture.

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

addFlashFeature

public void addFlashFeature(IGeometry pGeometry)
                     throws java.io.IOException,
                            AutomationException
Adds a feature shape to the flash list.

Specified by:
addFlashFeature in interface IDisplay3D
Parameters:
pGeometry - 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.

flashFeatures

public void flashFeatures()
                   throws java.io.IOException,
                          AutomationException
Redraws viewers flashing the features in the flash list.

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

flashLocation

public void flashLocation(IPoint pGeometry)
                   throws java.io.IOException,
                          AutomationException
Redraws viewers flashing the given location.

Specified by:
flashLocation in interface IDisplay3D
Parameters:
pGeometry - 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.

flashGeometry

public void flashGeometry(java.lang.Object pOwner,
                          java.lang.Object feature)
                   throws java.io.IOException,
                          AutomationException
Flashes a feature shape.

Specified by:
flashGeometry in interface IDisplay3D
Parameters:
pOwner - A reference to another Object (IUnknown) (in)
feature - A reference to another Object (IUnknown) (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.