|
|||||||||
| 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.arcscene.ISxDocumentProxy
public class ISxDocumentProxy
Provides access to members that control the ArcScene Document object.
This interface is a starting point for getting a handle to other objects in ArcScene desktop application. Almost every ArcScene desktop customization uses ISxDocument one way or another.
| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
ISxDocumentProxy()
|
|
ISxDocumentProxy(Object obj)
|
protected |
ISxDocumentProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addLayer(ILayer layer)
Adds a layer to the current focus map. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
ISxContentsView |
getContentsView(int index)
The contents view at the specified index. |
int |
getContentsViewCount()
The number of contents views in the document. |
Object |
getContextItem()
The item that is selected or was last right-clicked. |
ISxContentsView |
getCurrentContentsView()
The current contents view of the document. |
IColor |
getDefaultColor(int type)
The default color for the given type. |
IScene |
getScene()
The scene. |
int |
getSearchTolerancePixels()
The global search tolerance in pixels for selection. |
Object |
getSelectedItem()
The selected item in the layer control. |
ILayer |
getSelectedLayer()
The selected layer in the layer control. |
boolean |
isRelativePaths()
Indicates if path names are stored relative to the document. |
boolean |
isSavePreview()
Indicates if a preview image is saved in the document. |
void |
removeAllLayers()
Removes all layers. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setContextItem(Object item)
The item that is selected or was last right-clicked. |
void |
setCurrentContentsViewByRef(ISxContentsView view)
The current contents view of the document. |
void |
setDefaultColor(int type,
IColor color)
The default color for the given type. |
void |
setDelayUpdateContents(boolean rhs1)
Indicates whether to ignore document update notifications. |
void |
setRelativePaths(boolean relPaths)
Indicates if path names are stored relative to the document. |
void |
setSavePreview(boolean savePreview)
Indicates if a preview image is saved in the document. |
void |
setScene(IScene pScene)
The scene. |
void |
setSearchTolerancePixels(int tol)
The global search tolerance in pixels for selection. |
void |
updateContents()
Notifies the document that the contents have been updated. |
| 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 ISxDocumentProxy()
public ISxDocumentProxy(Object obj)
throws IOException
IOException
protected ISxDocumentProxy(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.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public ILayer getSelectedLayer()
throws IOException,
AutomationException
Returns the currently selected layer in the table of contents.
getSelectedLayer in interface ISxDocumentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getSelectedItem()
throws IOException,
AutomationException
getSelectedItem in interface ISxDocumentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getContextItem()
throws IOException,
AutomationException
getContextItem in interface ISxDocumentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setContextItem(Object item)
throws IOException,
AutomationException
setContextItem in interface ISxDocumentitem - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addLayer(ILayer layer)
throws IOException,
AutomationException
addLayer in interface ISxDocumentlayer - A reference to a com.esri.arcgis.carto.ILayer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeAllLayers()
throws IOException,
AutomationException
removeAllLayers in interface ISxDocumentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void updateContents()
throws IOException,
AutomationException
updateContents in interface ISxDocumentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDelayUpdateContents(boolean rhs1)
throws IOException,
AutomationException
setDelayUpdateContents in interface ISxDocumentrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSearchTolerancePixels()
throws IOException,
AutomationException
getSearchTolerancePixels in interface ISxDocumentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSearchTolerancePixels(int tol)
throws IOException,
AutomationException
setSearchTolerancePixels in interface ISxDocumenttol - The tol (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getDefaultColor(int type)
throws IOException,
AutomationException
getDefaultColor in interface ISxDocumenttype - A com.esri.arcgis.arcmapui.esriMxDefaultColorTypes constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultColor(int type,
IColor color)
throws IOException,
AutomationException
setDefaultColor in interface ISxDocumenttype - A com.esri.arcgis.arcmapui.esriMxDefaultColorTypes constant (in)color - A reference to a com.esri.arcgis.display.IColor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IScene getScene()
throws IOException,
AutomationException
getScene in interface ISxDocumentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setScene(IScene pScene)
throws IOException,
AutomationException
setScene in interface ISxDocumentpScene - A reference to a com.esri.arcgis.analyst3d.IScene (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRelativePaths()
throws IOException,
AutomationException
isRelativePaths in interface ISxDocumentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRelativePaths(boolean relPaths)
throws IOException,
AutomationException
setRelativePaths in interface ISxDocumentrelPaths - The relPaths (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSavePreview()
throws IOException,
AutomationException
isSavePreview in interface ISxDocumentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSavePreview(boolean savePreview)
throws IOException,
AutomationException
The SavePreview property specifies whether or not a thumbnail image of the scene is displayed in ArcCatalog or not, when browsing scene documents.
setSavePreview in interface ISxDocumentsavePreview - The savePreview (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISxContentsView getCurrentContentsView()
throws IOException,
AutomationException
getCurrentContentsView in interface ISxDocumentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCurrentContentsViewByRef(ISxContentsView view)
throws IOException,
AutomationException
setCurrentContentsViewByRef in interface ISxDocumentview - A reference to a com.esri.arcgis.arcscene.ISxContentsView (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getContentsViewCount()
throws IOException,
AutomationException
getContentsViewCount in interface ISxDocumentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISxContentsView getContentsView(int index)
throws IOException,
AutomationException
getContentsView in interface ISxDocumentindex - The index (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 | ||||||||