|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.schematic.SchematicInMemoryDiagram
public class SchematicInMemoryDiagram
COM Class 'SchematicInMemoryDiagram'. Generated 3/19/2015 1:20:46 PM from 'C:\ArcGIS\COM\esriSchematic.olb'
Description 'Schematic in memory diagram object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.schematic.ISchematicInMemoryDiagram |
---|
IID, IIDee80922c_6dc5_4729_8b60_e67f166cc9ef, xxDummy |
Fields inherited from interface com.esri.arcgis.schematic.ISchematicObject |
---|
IID, IID79ae6386_1d47_4cdf_9cf3_f66357b2cef3, xxDummy |
Fields inherited from interface com.esri.arcgis.schematic.ISchematicInMemoryObject |
---|
IID, IID7ce4bc10_03ff_4cba_835d_c2514e16d986, xxDummy |
Fields inherited from interface com.esri.arcgis.schematic.ISchematicInMemoryFeatureClassContainer |
---|
IID, IID99b2d0d7_836e_4392_a417_c570f96020ea, xxDummy |
Constructor Summary | |
---|---|
SchematicInMemoryDiagram(java.lang.Object obj)
Construct a SchematicInMemoryDiagram using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
IObjectClass |
esri_getClass()
Object class related to the schematic object. |
IEnvelope |
getExtent()
The extent of the GeoDataset. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getName()
Name of the schematic in memory diagram. |
ISchematicDiagram |
getSchematicDiagram()
The schematic diagram relative to the schematic in memory diagram. |
ISchematicDiagramClass |
getSchematicDiagramClass()
The schematic diagram class the schematic in memory diagram belongs to. |
ISchematicInMemoryFeature |
getSchematicInMemoryFeatureByType(int elementType,
java.lang.String name)
Finds a schematic in memory feature referenced by the specified name and the specified element type within the schematic in memory net feature. |
ISchematicInMemoryFeatureClass |
getSchematicInMemoryFeatureClass(ISchematicElementClass schematicElementClass)
Finds the in memory feature classes corresponding to a schematic element class. |
IEnumSchematicInMemoryFeatureClass |
getSchematicInMemoryFeatureClasses()
Enumeration of in memory feature classes. |
IEnumSchematicInMemoryFeature |
getSchematicInMemoryFeatures()
Schematic in memory features enumeration within the schematic in memory diagram. |
IEnumSchematicInMemoryFeature |
getSchematicInMemoryFeaturesByClass(ISchematicElementClass schematicElementClass)
Finds a schematic in memory features enumeration by the specified schematic element class within the schematic in memory net feature. |
IEnumSchematicInMemoryFeature |
getSchematicInMemoryFeaturesByType(int elementType)
Finds a schematic in memory features enumeration by the specified element type within the schematic in memory net feature. |
ISchematicObjectClass |
getSchematicObjectClass()
The schematic object class the schematic in memory object belongs to. |
ISpatialReference |
getSpatialReference()
The spatial reference of the GeoDataset. |
int |
hashCode()
the hashcode for this object |
boolean |
isHasChanged()
Indicates if the schematic in memory diagram has changed in the current session. |
boolean |
isLayoutHasChanged()
Indicates if the saved layout of the schematic diagram is no more the initial layout. |
void |
refresh()
Refreshes the schematic in memory diagram. |
void |
release()
Release a SchematicInMemoryDiagram. |
void |
save(ILayer layer)
Saves the schematic in memory diagram. |
void |
setHasChanged(boolean hasChanged)
Indicates if the schematic in memory diagram has changed in the current session. |
void |
setLayoutHasChanged(boolean layoutHasChanged)
Indicates if the saved layout of the schematic diagram is no more the initial layout. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchematicInMemoryDiagram(java.lang.Object obj) throws java.io.IOException
obj
to SchematicInMemoryDiagram
. *
SchematicInMemoryDiagram o = (SchematicInMemoryDiagram)obj; // will not work
SchematicInMemoryDiagram o = new SchematicInMemoryDiagram(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problems
SchematicInMemoryDiagram theSchematicInMemoryDiagram = (SchematicInMemoryDiagram) obj;
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface ISchematicInMemoryDiagram
getName
in interface ISchematicInMemoryObject
getName
in interface ISchematicObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDiagram getSchematicDiagram() throws java.io.IOException, AutomationException
getSchematicDiagram
in interface ISchematicInMemoryDiagram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDiagramClass getSchematicDiagramClass() throws java.io.IOException, AutomationException
getSchematicDiagramClass
in interface ISchematicInMemoryDiagram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(ILayer layer) throws java.io.IOException, AutomationException
save
in interface ISchematicInMemoryDiagram
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh() throws java.io.IOException, AutomationException
refresh
in interface ISchematicInMemoryDiagram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicInMemoryFeature getSchematicInMemoryFeatures() throws java.io.IOException, AutomationException
getSchematicInMemoryFeatures
in interface ISchematicInMemoryDiagram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicInMemoryFeature getSchematicInMemoryFeatureByType(int elementType, java.lang.String name) throws java.io.IOException, AutomationException
getSchematicInMemoryFeatureByType
in interface ISchematicInMemoryDiagram
elementType
- A com.esri.arcgis.schematic.esriSchematicElementType constant (in)name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicInMemoryFeature getSchematicInMemoryFeaturesByType(int elementType) throws java.io.IOException, AutomationException
getSchematicInMemoryFeaturesByType
in interface ISchematicInMemoryDiagram
elementType
- A com.esri.arcgis.schematic.esriSchematicElementType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicInMemoryFeature getSchematicInMemoryFeaturesByClass(ISchematicElementClass schematicElementClass) throws java.io.IOException, AutomationException
getSchematicInMemoryFeaturesByClass
in interface ISchematicInMemoryDiagram
schematicElementClass
- A reference to a com.esri.arcgis.schematic.ISchematicElementClass (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasChanged() throws java.io.IOException, AutomationException
isHasChanged
in interface ISchematicInMemoryDiagram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHasChanged(boolean hasChanged) throws java.io.IOException, AutomationException
setHasChanged
in interface ISchematicInMemoryDiagram
hasChanged
- The hasChanged (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isLayoutHasChanged() throws java.io.IOException, AutomationException
isLayoutHasChanged
in interface ISchematicInMemoryDiagram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayoutHasChanged(boolean layoutHasChanged) throws java.io.IOException, AutomationException
setLayoutHasChanged
in interface ISchematicInMemoryDiagram
layoutHasChanged
- The layoutHasChanged (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws java.io.IOException, AutomationException
This property is read only. For layers, when the first layer is added to ArcMap, its spatial reference is read by this property, and the map is set to this spatial reference.
Instances of the esriCarto.GroupLayer class will return null for this property, as a group layer can contain multiple datasets with different spatial references.
Modifications to a spatial reference returned by this property will not be persisted. To modify the spatial reference of a dataset, the IGeoDatasetSchemaEdit and IGeoDatasetSchemaEdit2 interfaces should be used.
getSpatialReference
in interface IGeoDataset
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getExtent() throws java.io.IOException, AutomationException
The IGeoDataset::Extent property returns an envelope representing the maximum extent of data which has been stored in the dataset.
Consider the following scenario. A new feature class has features added to it. The IGeoDataset::Extent is then requested and an envelope is returned. The extents of the envelope returned are represented by the red box in the image below.
If a portion of the features were then deleted and the extent is again requested an envelope with the exact same extents as during the first request would be returned (see image below). This is because the deletion of features does not shrink the extent. However all additions of features outside the red box would increase the envelope returned to encompass the newly added features.
If you would like to update the IGeoDataset::Extent property to reflect the current features in your dataset please see IFeatureClassManage::UpdateExtent (also see IFeatureClassLoad). In the image below the extent has been updated and a new envelope is being returned.
ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.
getExtent
in interface IGeoDataset
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IObjectClass esri_getClass() throws java.io.IOException, AutomationException
esri_getClass
in interface ISchematicObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicObjectClass getSchematicObjectClass() throws java.io.IOException, AutomationException
getSchematicObjectClass
in interface ISchematicInMemoryObject
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicInMemoryFeatureClass getSchematicInMemoryFeatureClasses() throws java.io.IOException, AutomationException
getSchematicInMemoryFeatureClasses
in interface ISchematicInMemoryFeatureClassContainer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicInMemoryFeatureClass getSchematicInMemoryFeatureClass(ISchematicElementClass schematicElementClass) throws java.io.IOException, AutomationException
getSchematicInMemoryFeatureClass
in interface ISchematicInMemoryFeatureClassContainer
schematicElementClass
- A reference to a com.esri.arcgis.schematic.ISchematicElementClass (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 |