|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.DimensionGraphic
public class DimensionGraphic
COM Class 'DimensionGraphic'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'The graphic asscoiated with a DimensionFeature.' 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.IDimensionGraphic |
---|
IID, IID7126d088_fb61_11d3_80d3_00c04f601565, xxDummy |
Constructor Summary | |
---|---|
DimensionGraphic()
Constructs a DimensionGraphic using ArcGIS Engine. |
|
DimensionGraphic(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. DimensionGraphic theDimensionGraphic = (DimensionGraphic) obj; |
Method Summary | |
---|---|
void |
draw(int hDC,
ITransformation transformation)
Draws the dimension style. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
double |
getCustomLength()
The custom length of the dimension graphic. |
IPoint |
getDefaultTextPoint()
The default location of the dimension text placement. |
IDimensionShape |
getDimensionShape()
The begin dimension point. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
double |
getLength()
The length of the dimension graphic. |
void |
getMask(int hDC,
ITransformation transformation,
IGeometry mask)
The dimension graphic mask. |
ITransformation |
getNativeTransformation()
The native transformation for the dimension graphic. |
int |
getNativeUnits()
The native units of the dimension graphic. |
IDimensionStyle |
getStyle()
The dimension style. |
int |
hashCode()
the hashcode for this object |
boolean |
isUseCustomLength()
Indicates if a custom length is displayed for the dimsnion graphic. |
void |
queryBoundary(int hDC,
ITransformation transformation,
IPolygon boundary)
The boundary of the dimension style. |
void |
release()
Release a DimensionGraphic. |
void |
setCustomLength(double length)
The custom length of the dimension graphic. |
void |
setDimensionShapeByRef(IDimensionShape shape)
The begin dimension point. |
void |
setNativeTransformationByRef(ITransformation transformation)
The native transformation for the dimension graphic. |
void |
setNativeUnits(int units)
The native units of the dimension graphic. |
void |
setStyleByRef(IDimensionStyle style)
The dimension style. |
void |
setUseCustomLength(boolean length)
Indicates if a custom length is displayed for the dimsnion graphic. |
void |
updateShape(int hDC,
ITransformation transformation,
IFeature pFeature)
Updates the dimension geometries for the dimension graphic. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DimensionGraphic() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic DimensionGraphic(java.lang.Object obj) throws java.io.IOException
DimensionGraphic theDimensionGraphic = (DimensionGraphic) obj;
obj
to DimensionGraphic
.
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 setDimensionShapeByRef(IDimensionShape shape) throws java.io.IOException, AutomationException
setDimensionShapeByRef
in interface IDimensionGraphic
shape
- A reference to a com.esri.arcgis.carto.IDimensionShape (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDimensionShape getDimensionShape() throws java.io.IOException, AutomationException
getDimensionShape
in interface IDimensionGraphic
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDimensionStyle getStyle() throws java.io.IOException, AutomationException
getStyle
in interface IDimensionGraphic
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStyleByRef(IDimensionStyle style) throws java.io.IOException, AutomationException
setStyleByRef
in interface IDimensionGraphic
style
- A reference to a com.esri.arcgis.carto.IDimensionStyle (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(int hDC, ITransformation transformation) throws java.io.IOException, AutomationException
draw
in interface IDimensionGraphic
hDC
- The hDC (A COM typedef) (in)transformation
- A reference to a com.esri.arcgis.geometry.ITransformation (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryBoundary(int hDC, ITransformation transformation, IPolygon boundary) throws java.io.IOException, AutomationException
queryBoundary
in interface IDimensionGraphic
hDC
- The hDC (A COM typedef) (in)transformation
- A reference to a com.esri.arcgis.geometry.ITransformation (in)boundary
- A reference to a com.esri.arcgis.geometry.IPolygon (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getLength() throws java.io.IOException, AutomationException
getLength
in interface IDimensionGraphic
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getCustomLength() throws java.io.IOException, AutomationException
getCustomLength
in interface IDimensionGraphic
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCustomLength(double length) throws java.io.IOException, AutomationException
setCustomLength
in interface IDimensionGraphic
length
- The length (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseCustomLength() throws java.io.IOException, AutomationException
isUseCustomLength
in interface IDimensionGraphic
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseCustomLength(boolean length) throws java.io.IOException, AutomationException
setUseCustomLength
in interface IDimensionGraphic
length
- The length (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getMask(int hDC, ITransformation transformation, IGeometry mask) throws java.io.IOException, AutomationException
getMask
in interface IDimensionGraphic
hDC
- The hDC (A COM typedef) (in)transformation
- A reference to a com.esri.arcgis.geometry.ITransformation (in)mask
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateShape(int hDC, ITransformation transformation, IFeature pFeature) throws java.io.IOException, AutomationException
updateShape
in interface IDimensionGraphic
hDC
- The hDC (A COM typedef) (in)transformation
- A reference to a com.esri.arcgis.geometry.ITransformation (in)pFeature
- 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 int getNativeUnits() throws java.io.IOException, AutomationException
getNativeUnits
in interface IDimensionGraphic
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNativeUnits(int units) throws java.io.IOException, AutomationException
setNativeUnits
in interface IDimensionGraphic
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 IPoint getDefaultTextPoint() throws java.io.IOException, AutomationException
getDefaultTextPoint
in interface IDimensionGraphic
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 IDimensionGraphic
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNativeTransformationByRef(ITransformation transformation) throws java.io.IOException, AutomationException
setNativeTransformationByRef
in interface IDimensionGraphic
transformation
- A reference to a com.esri.arcgis.geometry.ITransformation (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 |