|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.analyst3d.I3DViewerProxy
Provides access to members that conrtrol the 3D viewer.
| Field Summary | |
static java.lang.Class |
targetClass
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF |
| 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,
AuthInfo authInfo)
|
protected |
I3DViewerProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
|
| Method Summary | |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object. |
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)
Removes a Java object as a listener to events generated by a COM object. |
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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.Class targetClass
| Constructor Detail |
public I3DViewerProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public I3DViewerProxy()
public I3DViewerProxy(java.lang.Object obj)
throws java.io.IOException
protected I3DViewerProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected I3DViewerProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
| Method Detail |
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
Dispatch
addListener in class DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object to be informed of the eventstheSource - the proxy class that represents the COM class that is the source of the events
java.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object that no longer wishes to be informed of the events
java.io.IOException
public java.lang.String getCaption()
throws java.io.IOException,
AutomationException
I3DViewer
getCaption in interface I3DViewerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCaption(java.lang.String pCaption)
throws java.io.IOException,
AutomationException
I3DViewer
setCaption in interface I3DViewerpCaption - The pCaption (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ICamera getCamera()
throws java.io.IOException,
AutomationException
I3DViewer
getCamera in interface I3DViewerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setCameraByRef(ICamera ppCamera)
throws java.io.IOException,
AutomationException
I3DViewer
setCameraByRef in interface I3DViewerppCamera - A reference to a com.esri.arcgis.analyst3d.ICamera (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void redraw(boolean bCameraMoved)
throws java.io.IOException,
AutomationException
I3DViewer
redraw in interface I3DViewerbCameraMoved - The bCameraMoved (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void drawToMetafile(int hDC,
float resolutionFactor,
int left,
int top,
int right,
int bottom,
boolean bOffScreen)
throws java.io.IOException,
AutomationException
I3DViewer
drawToMetafile in interface I3DViewerhDC - 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getSnapshot(int width,
int height,
int type,
java.lang.String fileName)
throws java.io.IOException,
AutomationException
I3DViewer
getSnapshot in interface I3DViewerwidth - The width (in)height - The height (in)type - A com.esri.arcgis.analyst3d.esri3DOutputImageType constant (in)fileName - The fileName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getScreenShot(int type,
java.lang.String fileName)
throws java.io.IOException,
AutomationException
I3DViewer
getScreenShot in interface I3DViewertype - A com.esri.arcgis.analyst3d.esri3DOutputImageType constant (in)fileName - The fileName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getHWnd()
throws java.io.IOException,
AutomationException
I3DViewer
getHWnd in interface I3DViewerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getHDC()
throws java.io.IOException,
AutomationException
I3DViewer
getHDC in interface I3DViewerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGestureSensitivity(int pcPixels)
throws java.io.IOException,
AutomationException
I3DViewer
setGestureSensitivity in interface I3DViewerpcPixels - The pcPixels (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getGestureSensitivity()
throws java.io.IOException,
AutomationException
I3DViewer
getGestureSensitivity in interface I3DViewerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setGestureEnabled(boolean pbEnabled)
throws java.io.IOException,
AutomationException
I3DViewer
setGestureEnabled in interface I3DViewerpbEnabled - The pbEnabled (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isGestureEnabled()
throws java.io.IOException,
AutomationException
I3DViewer
isGestureEnabled in interface I3DViewerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void clearGesture()
throws java.io.IOException,
AutomationException
I3DViewer
clearGesture in interface I3DViewerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void overrideDefaultHandler()
throws java.io.IOException,
AutomationException
I3DViewer
overrideDefaultHandler in interface I3DViewerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setFullScreenEnabled(boolean pbEnabled)
throws java.io.IOException,
AutomationException
I3DViewer
setFullScreenEnabled in interface I3DViewerpbEnabled - The pbEnabled (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isFullScreenEnabled()
throws java.io.IOException,
AutomationException
I3DViewer
isFullScreenEnabled in interface I3DViewerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isFullScreen()
throws java.io.IOException,
AutomationException
I3DViewer
isFullScreen in interface I3DViewerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setFullScreen(boolean bFullScreen)
throws java.io.IOException,
AutomationException
I3DViewer
setFullScreen in interface I3DViewerbFullScreen - The bFullScreen (in)
java.io.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 | |||||||||