|
|||||||||
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
Schematic in memory diagram object.
Constructor Summary | |
---|---|
SchematicInMemoryDiagram(Object obj)
Construct a SchematicInMemoryDiagram using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
IObjectClass |
esri_getClass()
Object class related to the schematic object. |
IEnvelope |
getExtent()
The extent of the GeoDataset. |
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,
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 |
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public SchematicInMemoryDiagram(Object obj) throws 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
IOException
- if there are interop problems
SchematicInMemoryDiagram theSchematicInMemoryDiagram = (SchematicInMemoryDiagram) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
getName
in interface ISchematicInMemoryDiagram
getName
in interface ISchematicInMemoryObject
getName
in interface ISchematicObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDiagram getSchematicDiagram() throws IOException, AutomationException
getSchematicDiagram
in interface ISchematicInMemoryDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDiagramClass getSchematicDiagramClass() throws IOException, AutomationException
getSchematicDiagramClass
in interface ISchematicInMemoryDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(ILayer layer) throws IOException, AutomationException
save
in interface ISchematicInMemoryDiagram
layer
- 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 refresh() throws IOException, AutomationException
refresh
in interface ISchematicInMemoryDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicInMemoryFeature getSchematicInMemoryFeatures() throws IOException, AutomationException
getSchematicInMemoryFeatures
in interface ISchematicInMemoryDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicInMemoryFeature getSchematicInMemoryFeatureByType(int elementType, String name) throws IOException, AutomationException
getSchematicInMemoryFeatureByType
in interface ISchematicInMemoryDiagram
elementType
- A com.esri.arcgis.schematic.esriSchematicElementType constant (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicInMemoryFeature getSchematicInMemoryFeaturesByType(int elementType) throws IOException, AutomationException
getSchematicInMemoryFeaturesByType
in interface ISchematicInMemoryDiagram
elementType
- A com.esri.arcgis.schematic.esriSchematicElementType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicInMemoryFeature getSchematicInMemoryFeaturesByClass(ISchematicElementClass schematicElementClass) throws IOException, AutomationException
getSchematicInMemoryFeaturesByClass
in interface ISchematicInMemoryDiagram
schematicElementClass
- A reference to a com.esri.arcgis.schematic.ISchematicElementClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasChanged() throws IOException, AutomationException
isHasChanged
in interface ISchematicInMemoryDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHasChanged(boolean hasChanged) throws IOException, AutomationException
setHasChanged
in interface ISchematicInMemoryDiagram
hasChanged
- The hasChanged (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isLayoutHasChanged() throws IOException, AutomationException
isLayoutHasChanged
in interface ISchematicInMemoryDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayoutHasChanged(boolean layoutHasChanged) throws IOException, AutomationException
setLayoutHasChanged
in interface ISchematicInMemoryDiagram
layoutHasChanged
- The layoutHasChanged (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws 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
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getExtent() throws 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
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IObjectClass esri_getClass() throws IOException, AutomationException
esri_getClass
in interface ISchematicObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicObjectClass getSchematicObjectClass() throws IOException, AutomationException
getSchematicObjectClass
in interface ISchematicInMemoryObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicInMemoryFeatureClass getSchematicInMemoryFeatureClasses() throws IOException, AutomationException
getSchematicInMemoryFeatureClasses
in interface ISchematicInMemoryFeatureClassContainer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicInMemoryFeatureClass getSchematicInMemoryFeatureClass(ISchematicElementClass schematicElementClass) throws IOException, AutomationException
getSchematicInMemoryFeatureClass
in interface ISchematicInMemoryFeatureClassContainer
schematicElementClass
- A reference to a com.esri.arcgis.schematic.ISchematicElementClass (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 |