|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.analyst3dUI.DddEnvironment
public class DddEnvironment
3D Environment singleton object.
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.system.IExtension |
---|
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IExtensionConfig |
---|
IID, IID12a4c258_cc9d_4ca7_9f29_79ded88dd45f, xxDummy |
Constructor Summary | |
---|---|
DddEnvironment(Object obj)
Construct a DddEnvironment using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
IExtension |
findExtension(Object nameOrID)
Finds the extension by CLSID (IUID) or name (String). |
void |
getClassID(GUID[] pClassID)
getClassID |
String |
getDescription()
Detailed description of the extension. |
IDisplay3D |
getDisplay3D()
Reference to the 3D display, if available. |
IExtension |
getExtension(int index)
The extension at the specified index. |
IUID |
getExtensionCLSID(int index)
The CLSID of the extension at the specified index. |
int |
getExtensionCount()
The number of extensions loaded in the application. |
String |
getName()
The name of the extension. |
IApplication |
getParent()
Reference to the parent application. |
String |
getProductName()
Name of the extension. |
Object |
getRasterSettings()
Returns global raster settings. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getState()
The state of the extension. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setDisplay3DByRef(IDisplay3D display)
Reference to the 3D display, if available. |
void |
setState(int state)
The state of the extension. |
void |
shutdown()
Shuts down the extension. |
void |
startup(Object initializationData)
Starts up the extension with the given initialization data. |
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public DddEnvironment(Object obj) throws IOException
obj
to DddEnvironment
. *
DddEnvironment o = (DddEnvironment)obj; // will not work
DddEnvironment o = new DddEnvironment(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
DddEnvironment theDddEnvironment = (DddEnvironment) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IApplication getParent() throws IOException, AutomationException
getParent
in interface IDddEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisplay3DByRef(IDisplay3D display) throws IOException, AutomationException
setDisplay3DByRef
in interface IDddEnvironment
display
- A reference to a com.esri.arcgis.display.IDisplay3D (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDisplay3D getDisplay3D() throws IOException, AutomationException
getDisplay3D
in interface IDddEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getRasterSettings() throws IOException, AutomationException
getRasterSettings
in interface IDddEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void startup(Object initializationData) throws IOException, AutomationException
startup
in interface IExtension
initializationData
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void shutdown() throws IOException, AutomationException
shutdown
in interface IExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getProductName() throws IOException, AutomationException
getProductName
in interface IExtensionConfig
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription() throws IOException, AutomationException
getDescription
in interface IExtensionConfig
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getState() throws IOException, AutomationException
getState
in interface IExtensionConfig
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setState(int state) throws IOException, AutomationException
setState
in interface IExtensionConfig
state
- A com.esri.arcgis.system.esriExtensionState constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getExtensionCount() throws IOException, AutomationException
Returns the number of extensions currently loaded in the application.
getExtensionCount
in interface IExtensionManager
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IExtension getExtension(int index) throws IOException, AutomationException
getExtension
in interface IExtensionManager
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getExtensionCLSID(int index) throws IOException, AutomationException
getExtensionCLSID
in interface IExtensionManager
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IExtension findExtension(Object nameOrID) throws IOException, AutomationException
The FindExtension method will get an extension by either its name string or by its CLSID. Using IExtensionManager is not the only way to get a reference to an extension; the IApplication interface has FindExtensionByCLSID and FindExtensionByName methods.
nameOrID is a variant representing the identifier of the extension. This can either be the UID of the extension or the name string.
COM coclasses are identified by a globally unique identifier (GUID). There two formats for the GUID for a coclass: a class ID (CLSID) and a ProgID. The ProgID is a text alias for a CLSID. The UID coclass can be used to represent the GUID of an extension object. You can set the IUID.Value property to either the CLSID or the ProgID.
To find the Name, CLSID, and ProgID of an ESRI extension, refer to the following technical document:
ArcObjects Developer Help > Technical Documents > Names and IDs > Extensions
findExtension
in interface IExtensionManager
nameOrID
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |