|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.DimensionClassExtension
public class DimensionClassExtension
COM Class 'DimensionClassExtension'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'A class extension which contains all the style properties for a dimension feature class.' 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.carto.IDimensionClassExtension |
---|
IID, IID6558fe26_da81_11d3_80ce_00c04f601565, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IDimensionClassExtension2 |
---|
IID, IID7402bfe1_f2f1_22e9_052f_735ebbc50ac2, xxDummy |
Fields inherited from interface com.esri.arcgis.geodatabase.IObjectClassExtension |
---|
IID, IID01b7e2d1_e2ee_11d2_8a56_000000000000, xxDummy |
Fields inherited from interface com.esri.arcgis.geodatabase.IPersistCustomFeaturesExtension |
---|
IID, IID600811e1_2c1d_11d4_8303_0080c7e20671, xxDummy |
Constructor Summary | |
---|---|
DimensionClassExtension()
Constructs a DimensionClassExtension using ArcGIS Engine. |
|
DimensionClassExtension(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. DimensionClassExtension theDimensionClassExtension = (DimensionClassExtension) obj; |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
IDimensionStyles |
getDimensionStyles()
The collection of dimension styles associated with the dimension feature class. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
ITransformation |
getNativeTransformation()
The native display transformation of the dimension feature class. |
ITransformation |
getNativeTransformation(IDimensionGraphic pGraphic)
The native display transformation of the dimension feature class, centered on the given graphic. |
double |
getReferenceScale()
The reference scale of the dimension feature class. |
int |
getReferenceScaleUnits()
The reference scale units of the dimension feature class. |
int |
hashCode()
the hashcode for this object |
void |
init(IClassHelper classHelper,
IPropertySet extensionProperties)
Initializes the extension, passing in a reference to its class helper. |
void |
loadClass(IStream stream,
boolean[] canLoad)
Looks at the class information and determines if it can load the features. |
void |
loadFeature(IStream stream,
IFeature feature)
Loads the feature information and updates the feature. |
void |
onChange(IObjectClassEventsOnChangeEvent theEvent)
This event is fired when an object's attributes or geometry is updated. |
void |
onCreate(IObjectClassEventsOnCreateEvent theEvent)
This event is fired when a new object is created in the object class. |
void |
onDelete(IObjectClassEventsOnDeleteEvent theEvent)
This event is fired when an object is deleted from the object class. |
void |
release()
Release a DimensionClassExtension. |
void |
resetProperties()
Resets the in state of the dimension feature class properties. |
void |
saveClass(IStream stream)
Writes out to the stream, class information used to aid loading. |
void |
saveFeature(IStream stream,
IFeature feature)
Writes out to the stream, feature infomation used to aid loading. |
void |
setReferenceScale(double scale)
The reference scale of the dimension feature class. |
void |
setReferenceScaleUnits(int units)
The reference scale units of the dimension feature class. |
void |
shutdown()
Informs the extension that its class helper is going away. |
void |
updateProperties()
Updates the dimension featrue class' properties. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DimensionClassExtension() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic DimensionClassExtension(java.lang.Object obj) throws java.io.IOException
DimensionClassExtension theDimensionClassExtension = (DimensionClassExtension) obj;
obj
to DimensionClassExtension
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
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 void init(IClassHelper classHelper, IPropertySet extensionProperties) throws java.io.IOException, AutomationException
If a reference to the class is required by other class extension members, the class helper should be stored in a member variable. Storing an object or feature class directly within a class extension is strongly discouraged.
init
in interface IClassExtension
classHelper
- A reference to a com.esri.arcgis.geodatabase.IClassHelper (in)extensionProperties
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void shutdown() throws java.io.IOException, AutomationException
Shutdown is called when the extension's class is cleared from the client's memory, or when the extension is removed from the class. Note that if a class is deleted from a geodatabase, it may remain in memory, so this should not be relied upon for behavior that should be triggered by a class' deletion.
shutdown
in interface IClassExtension
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDimensionStyles getDimensionStyles() throws java.io.IOException, AutomationException
getDimensionStyles
in interface IDimensionClassExtension
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateProperties() throws java.io.IOException, AutomationException
updateProperties
in interface IDimensionClassExtension
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resetProperties() throws java.io.IOException, AutomationException
resetProperties
in interface IDimensionClassExtension
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getReferenceScale() throws java.io.IOException, AutomationException
getReferenceScale
in interface IDimensionClassExtension
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReferenceScale(double scale) throws java.io.IOException, AutomationException
setReferenceScale
in interface IDimensionClassExtension
scale
- The scale (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getReferenceScaleUnits() throws java.io.IOException, AutomationException
getReferenceScaleUnits
in interface IDimensionClassExtension
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReferenceScaleUnits(int units) throws java.io.IOException, AutomationException
setReferenceScaleUnits
in interface IDimensionClassExtension
units
- A com.esri.arcgis.system.esriUnits constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITransformation getNativeTransformation() throws java.io.IOException, AutomationException
getNativeTransformation
in interface IDimensionClassExtension
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITransformation getNativeTransformation(IDimensionGraphic pGraphic) throws java.io.IOException, AutomationException
getNativeTransformation
in interface IDimensionClassExtension2
pGraphic
- A reference to a com.esri.arcgis.carto.IDimensionGraphic (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onCreate(IObjectClassEventsOnCreateEvent theEvent) throws java.io.IOException, AutomationException
onCreate
in interface IObjectClassEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onDelete(IObjectClassEventsOnDeleteEvent theEvent) throws java.io.IOException, AutomationException
onDelete
in interface IObjectClassEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onChange(IObjectClassEventsOnChangeEvent theEvent) throws java.io.IOException, AutomationException
In the event that a feature should be deleted due to an OnChange event, it is not recommended that the event handler delete the feature itself. Instead, an exception should be thrown to the application, where it can be made responsible for deleting the feature.
The OnChange event is not fired during a Topology Validation for performance reasons as a large number of features may be changed during a Validate. In addition, features may be changed many times.
onChange
in interface IObjectClassEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void saveClass(IStream stream) throws java.io.IOException, AutomationException
saveClass
in interface IPersistCustomFeaturesExtension
stream
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadClass(IStream stream, boolean[] canLoad) throws java.io.IOException, AutomationException
loadClass
in interface IPersistCustomFeaturesExtension
stream
- A reference to a com.esri.arcgis.system.IStream (in)canLoad
- The canLoad (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void saveFeature(IStream stream, IFeature feature) throws java.io.IOException, AutomationException
saveFeature
in interface IPersistCustomFeaturesExtension
stream
- A reference to a com.esri.arcgis.system.IStream (in)feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadFeature(IStream stream, IFeature feature) throws java.io.IOException, AutomationException
loadFeature
in interface IPersistCustomFeaturesExtension
stream
- A reference to a com.esri.arcgis.system.IStream (in)feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (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 |