|
|||||||||
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.I3DViewerProxy
public class I3DViewerProxy
Provides access to members that conrtrol the 3D viewer.
This interface could be seen as a newer version or replacement of ISceneViewer interface. It keeps the basic members of the ISceneViewer interface and added some new members, with the most notable ones being those for full screen control.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
I3DViewerProxy()
|
|
I3DViewerProxy(Object obj)
|
protected |
I3DViewerProxy(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 viewer's camera. |
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,
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,
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(String iidStr,
Object theListener)
|
void |
setCameraByRef(ICamera ppCamera)
The viewer's camera. |
void |
setCaption(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 |
---|
public boolean noncastable
Constructor Detail |
---|
public I3DViewerProxy()
public I3DViewerProxy(Object obj) throws IOException
IOException
protected I3DViewerProxy(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 I3DViewer
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 I3DViewer
pCaption
- The pCaption (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICamera getCamera() throws IOException, AutomationException
getCamera
in interface I3DViewer
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 I3DViewer
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 bCameraMoved) throws IOException, AutomationException
redraw
in interface I3DViewer
bCameraMoved
- The bCameraMoved (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 I3DViewer
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 I3DViewer
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 I3DViewer
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 I3DViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHDC() throws IOException, AutomationException
getHDC
in interface I3DViewer
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 I3DViewer
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 I3DViewer
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 I3DViewer
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 I3DViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearGesture() throws IOException, AutomationException
clearGesture
in interface I3DViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void overrideDefaultHandler() throws IOException, AutomationException
overrideDefaultHandler
in interface I3DViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFullScreenEnabled(boolean pbEnabled) throws IOException, AutomationException
setFullScreenEnabled
in interface I3DViewer
pbEnabled
- The pbEnabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isFullScreenEnabled() throws IOException, AutomationException
isFullScreenEnabled
in interface I3DViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isFullScreen() throws IOException, AutomationException
isFullScreen
in interface I3DViewer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFullScreen(boolean bFullScreen) throws IOException, AutomationException
setFullScreen
in interface I3DViewer
bFullScreen
- The bFullScreen (in)
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 |