|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.analyst3d.ISceneViewerProxy
public class ISceneViewerProxy
Provides access to members that conrtrol the scene viewer.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ISceneViewerProxy()
|
|
ISceneViewerProxy(Object obj)
|
protected |
ISceneViewerProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
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 scene viewer's camera. |
String |
getCaption()
The scene 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. |
ISceneGraph |
getSceneGraph()
The scene viewer's scene graph. |
void |
getScreenShot(int type,
String fileName)
Saves the content of the scene viewer and any windows superimposed on the scene viewer as an image. |
void |
getSnapshot(int width,
int height,
int type,
String fileName)
Saves the content of the scene viewer as an image. |
boolean |
isGestureEnabled()
Indicates if gesturing is enabled. |
void |
overrideDefaultHandler()
Supersedes the default event handler. |
void |
redraw(boolean cameraMoved)
Redraws the scene viewer. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setCameraByRef(ICamera ppCamera)
The scene viewer's camera. |
void |
setCaption(String pCaption)
The scene viewer's caption. |
void |
setGestureEnabled(boolean pbEnabled)
Indicates if gesturing is enabled. |
void |
setGestureSensitivity(int pcPixels)
The gesture sensitivity as indicated by number of pixels. |
void |
setSceneGraphByRef(ISceneGraph ppSceneGraph)
The scene viewer's scene graph. |
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 |
---|
public boolean noncastable
Constructor Detail |
---|
public ISceneViewerProxy()
public ISceneViewerProxy(Object obj) throws IOException
IOException
protected ISceneViewerProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public String getCaption() throws IOException, AutomationException
getCaption
in interface ISceneViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCaption(String pCaption) throws IOException, AutomationException
setCaption
in interface ISceneViewer
pCaption
- The pCaption (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISceneGraph getSceneGraph() throws IOException, AutomationException
getSceneGraph
in interface ISceneViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSceneGraphByRef(ISceneGraph ppSceneGraph) throws IOException, AutomationException
setSceneGraphByRef
in interface ISceneViewer
ppSceneGraph
- A reference to a com.esri.arcgis.analyst3d.ISceneGraph (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICamera getCamera() throws IOException, AutomationException
getCamera
in interface ISceneViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCameraByRef(ICamera ppCamera) throws IOException, AutomationException
setCameraByRef
in interface ISceneViewer
ppCamera
- A reference to a com.esri.arcgis.analyst3d.ICamera (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void redraw(boolean cameraMoved) throws IOException, AutomationException
redraw
in interface ISceneViewer
cameraMoved
- The cameraMoved (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void drawToMetafile(int hDC, float resolutionFactor, int left, int top, int right, int bottom, boolean bOffScreen) throws IOException, AutomationException
drawToMetafile
in interface ISceneViewer
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSnapshot(int width, int height, int type, String fileName) throws IOException, AutomationException
getSnapshot
in interface ISceneViewer
width
- The width (in)height
- The height (in)type
- A com.esri.arcgis.analyst3d.esri3DOutputImageType constant (in)fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getScreenShot(int type, String fileName) throws IOException, AutomationException
getScreenShot
in interface ISceneViewer
type
- A com.esri.arcgis.analyst3d.esri3DOutputImageType constant (in)fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHWnd() throws IOException, AutomationException
getHWnd
in interface ISceneViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHDC() throws IOException, AutomationException
getHDC
in interface ISceneViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGestureSensitivity(int pcPixels) throws IOException, AutomationException
setGestureSensitivity
in interface ISceneViewer
pcPixels
- The pcPixels (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getGestureSensitivity() throws IOException, AutomationException
getGestureSensitivity
in interface ISceneViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGestureEnabled(boolean pbEnabled) throws IOException, AutomationException
setGestureEnabled
in interface ISceneViewer
pbEnabled
- The pbEnabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isGestureEnabled() throws IOException, AutomationException
isGestureEnabled
in interface ISceneViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearGesture() throws IOException, AutomationException
clearGesture
in interface ISceneViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void overrideDefaultHandler() throws IOException, AutomationException
overrideDefaultHandler
in interface ISceneViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |