com.esri.arcgis.analyst3d
Class I3DViewerProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.analyst3d.I3DViewerProxy
All Implemented Interfaces:
I3DViewer, java.io.Externalizable, java.io.Serializable

public class I3DViewerProxy
extends com.esri.arcgis.interop.Dispatch
implements I3DViewer, java.io.Serializable

Internal use class Proxy for COM Interface 'I3DViewer'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esri3DAnalyst.olb'

Description: 'Provides access to members that conrtrol the 3D viewer.' 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
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.analyst3d.I3DViewer
IID, IIDea6581ec_082d_435c_8f73_b4161ca06f20
 
Constructor Summary
  I3DViewerProxy()
          For internal use only
  I3DViewerProxy(java.lang.Object obj)
           
protected I3DViewerProxy(java.lang.Object obj, java.lang.String iid)
           
  I3DViewerProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected I3DViewerProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void clearGesture()
          Clears the last gesture.
 void drawToMetafile(int hDC, float resolutionFactor, int left, int top, int right, int bottom, boolean bOffScreen)
          Draws the contents of the viewer to a device.
 ICamera getCamera()
          The viewer's camera.
 java.lang.String getCaption()
          The viewer's caption.
 int getGestureSensitivity()
          The gesture sensitivity as indicated by number of pixels.
 int getHDC()
          The associated device context.
 int getHWnd()
          The associated window handle.
 void getScreenShot(int type, java.lang.String fileName)
          Saves the content of the viewer and any windows superimposed on the scene viewer as an image.
 void getSnapshot(int width, int height, int type, java.lang.String fileName)
          Saves the content of the viewer as an image.
 boolean isFullScreen()
          Indicates if full screen is the current drawing mode.
 boolean isFullScreenEnabled()
          Indicates if key [F11] is enabled to toggle full screen drawing.
 boolean isGestureEnabled()
          Indicates if gesturing is enabled.
 void overrideDefaultHandler()
          Supersedes the default event handler.
 void redraw(boolean bCameraMoved)
          Redraws the viewer.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setCameraByRef(ICamera ppCamera)
          The viewer's camera.
 void setCaption(java.lang.String pCaption)
          The viewer's caption.
 void setFullScreen(boolean bFullScreen)
          Full screen drawing if the argument is TRUE, otherwise normal window drawing.
 void setFullScreenEnabled(boolean pbEnabled)
          Indicates if key [F11] is enabled to toggle full screen drawing.
 void setGestureEnabled(boolean pbEnabled)
          Indicates if gesturing is enabled.
 void setGestureSensitivity(int pcPixels)
          The gesture sensitivity as indicated by number of pixels.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

I3DViewerProxy

public I3DViewerProxy(java.lang.String CLSID,
                      java.lang.String host,
                      com.esri.arcgis.interop.AuthInfo authInfo)
               throws java.net.UnknownHostException,
                      java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

I3DViewerProxy

public I3DViewerProxy()
For internal use only


I3DViewerProxy

public I3DViewerProxy(java.lang.Object obj)
               throws java.io.IOException
Throws:
java.io.IOException

I3DViewerProxy

protected I3DViewerProxy(java.lang.Object obj,
                         java.lang.String iid)
                  throws java.io.IOException
Throws:
java.io.IOException

I3DViewerProxy

protected I3DViewerProxy(java.lang.String CLSID,
                         java.lang.String iid,
                         java.lang.String host,
                         com.esri.arcgis.interop.AuthInfo authInfo)
                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getCaption

public java.lang.String getCaption()
                            throws java.io.IOException,
                                   AutomationException
The viewer's caption.

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

setCaption

public void setCaption(java.lang.String pCaption)
                throws java.io.IOException,
                       AutomationException
The viewer's caption.

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

getCamera

public ICamera getCamera()
                  throws java.io.IOException,
                         AutomationException
The viewer's camera.

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

setCameraByRef

public void setCameraByRef(ICamera ppCamera)
                    throws java.io.IOException,
                           AutomationException
The viewer's camera.

Specified by:
setCameraByRef in interface I3DViewer
Parameters:
ppCamera - 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.

redraw

public void redraw(boolean bCameraMoved)
            throws java.io.IOException,
                   AutomationException
Redraws the viewer.

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

drawToMetafile

public void drawToMetafile(int hDC,
                           float resolutionFactor,
                           int left,
                           int top,
                           int right,
                           int bottom,
                           boolean bOffScreen)
                    throws java.io.IOException,
                           AutomationException
Draws the contents of the viewer to a device.

Specified by:
drawToMetafile in interface I3DViewer
Parameters:
hDC - The hDC (A COM typedef) (in)
resolutionFactor - The resolutionFactor (in)
left - The left (in)
top - The top (in)
right - The right (in)
bottom - The bottom (in)
bOffScreen - The bOffScreen (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSnapshot

public void getSnapshot(int width,
                        int height,
                        int type,
                        java.lang.String fileName)
                 throws java.io.IOException,
                        AutomationException
Saves the content of the viewer as an image.

Specified by:
getSnapshot in interface I3DViewer
Parameters:
width - The width (in)
height - The height (in)
type - A com.esri.arcgis.analyst3d.esri3DOutputImageType constant (in)
fileName - The fileName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScreenShot

public void getScreenShot(int type,
                          java.lang.String fileName)
                   throws java.io.IOException,
                          AutomationException
Saves the content of the viewer and any windows superimposed on the scene viewer as an image.

Specified by:
getScreenShot in interface I3DViewer
Parameters:
type - A com.esri.arcgis.analyst3d.esri3DOutputImageType constant (in)
fileName - The fileName (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
The associated window handle.

Specified by:
getHWnd in interface I3DViewer
Returns:
The pHwnd (A COM typedef)
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 associated device context.

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

setGestureSensitivity

public void setGestureSensitivity(int pcPixels)
                           throws java.io.IOException,
                                  AutomationException
The gesture sensitivity as indicated by number of pixels.

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

getGestureSensitivity

public int getGestureSensitivity()
                          throws java.io.IOException,
                                 AutomationException
The gesture sensitivity as indicated by number of pixels.

Specified by:
getGestureSensitivity in interface I3DViewer
Returns:
The pcPixels
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 gesturing is enabled.

Specified by:
setGestureEnabled in interface I3DViewer
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 gesturing is enabled.

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

clearGesture

public void clearGesture()
                  throws java.io.IOException,
                         AutomationException
Clears the last gesture.

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

overrideDefaultHandler

public void overrideDefaultHandler()
                            throws java.io.IOException,
                                   AutomationException
Supersedes the default event handler.

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

setFullScreenEnabled

public void setFullScreenEnabled(boolean pbEnabled)
                          throws java.io.IOException,
                                 AutomationException
Indicates if key [F11] is enabled to toggle full screen drawing.

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

isFullScreenEnabled

public boolean isFullScreenEnabled()
                            throws java.io.IOException,
                                   AutomationException
Indicates if key [F11] is enabled to toggle full screen drawing.

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

isFullScreen

public boolean isFullScreen()
                     throws java.io.IOException,
                            AutomationException
Indicates if full screen is the current drawing mode.

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

setFullScreen

public void setFullScreen(boolean bFullScreen)
                   throws java.io.IOException,
                          AutomationException
Full screen drawing if the argument is TRUE, otherwise normal window drawing.

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