|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.Representation
public class Representation
COM Class 'Representation'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'
Description 'A Feature Representation 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.geodatabase.IRepresentation |
---|
IID, IID2da11044_d45b_44ad_b982_d9b09c59928a, xxDummy |
Fields inherited from interface com.esri.arcgis.geodatabase.IOverride |
---|
IID, IID60f814ef_730e_42a2_b043_bf28097a16d6, xxDummy |
Fields inherited from interface com.esri.arcgis.display.IGraphicsOutline |
---|
IID, IID2af790ad_4539_43c8_870e_fa75a50b9988, xxDummy |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Constructor Summary | |
---|---|
Representation(java.lang.Object obj)
Construct a Representation 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 |
IGeometry |
getAllOutlineParts(int type,
int option,
double buffer,
IEnvelope clipEnvelope)
Constructs the entire drawing outline of a graphics. |
IFeature |
getFeature()
The feature associated with this representation. |
IRepresentationGraphics |
getGraphics()
The Graphics object that describes the free representation. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IMapContext |
getMapContext()
Map context in which the representation is defined. |
IRepresentationClass |
getRepresentationClass()
The representation class to which this representation belongs. |
int |
getRuleID()
Rule ID. |
IGeometry |
getShape()
Representation geometry. |
IGeometry |
getShapeCopy()
Copy of the representation geometry. |
IGeometry |
getShapeEdit()
Representation geometry. |
java.lang.Object |
getValue(IGraphicAttributes attrs,
int idx)
The value of a representation property. |
int |
hashCode()
the hashcode for this object |
boolean |
hitTest(IPoint point,
double tolerance)
Tests if a point is located on the graphics outline. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isHasAttributeOverride()
Indicates if a graphical attribute is overriden. |
boolean |
isHasShapeOverride()
Indicates if the shape is overriden. |
int |
isOverridenWithField(IGraphicAttributes attrs,
int idx)
Checks if the value of a graphical attribute comes from a feature field. |
IGeometry |
nextOutlinePart()
Hands back the next drawing outline part. |
void |
release()
Release a Representation. |
void |
removeOverride(IGraphicAttributes attrs,
int idx)
Removes a given override from the blob. |
void |
removeOverrides()
Removes all attributes overrides from the representation. |
void |
removeShapeOverride()
Removes the shape override. |
void |
reset(int type,
int option,
double buffer,
IEnvelope clipEnvelope)
Resets the collection of drawing outline parts to the beginning, before calling NextOutlinePart. |
void |
setGraphics(IRepresentationGraphics graphics)
The Graphics object that describes the free representation. |
void |
setRuleID(int iD)
Rule ID. |
void |
setShapeByRef(IGeometry shape)
Representation geometry. |
void |
setValue(IGraphicAttributes attrs,
int idx,
java.lang.Object val)
The value of a representation property. |
void |
updateFeature()
Updates the feature fields with the information contained in the representation. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Representation(java.lang.Object obj) throws java.io.IOException
obj
to Representation
. *
Representation o = (Representation)obj; // will not work
Representation o = new Representation(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problems
Representation theRepresentation = (Representation) 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 IRepresentationClass getRepresentationClass() throws java.io.IOException, AutomationException
getRepresentationClass
in interface IRepresentation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeature getFeature() throws java.io.IOException, AutomationException
getFeature
in interface IRepresentation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMapContext getMapContext() throws java.io.IOException, AutomationException
getMapContext
in interface IRepresentation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getRuleID() throws java.io.IOException, AutomationException
getRuleID
in interface IRepresentation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRuleID(int iD) throws java.io.IOException, AutomationException
setRuleID
in interface IRepresentation
iD
- The iD (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry getShape() throws java.io.IOException, AutomationException
getShape
in interface IRepresentation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry getShapeEdit() throws java.io.IOException, AutomationException
getShapeEdit
in interface IRepresentation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry getShapeCopy() throws java.io.IOException, AutomationException
getShapeCopy
in interface IRepresentation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShapeByRef(IGeometry shape) throws java.io.IOException, AutomationException
setShapeByRef
in interface IRepresentation
shape
- 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 boolean isHasShapeOverride() throws java.io.IOException, AutomationException
isHasShapeOverride
in interface IRepresentation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeShapeOverride() throws java.io.IOException, AutomationException
removeShapeOverride
in interface IRepresentation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRepresentationGraphics getGraphics() throws java.io.IOException, AutomationException
getGraphics
in interface IRepresentation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGraphics(IRepresentationGraphics graphics) throws java.io.IOException, AutomationException
setGraphics
in interface IRepresentation
graphics
- A reference to a com.esri.arcgis.display.IRepresentationGraphics (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateFeature() throws java.io.IOException, AutomationException
updateFeature
in interface IRepresentation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getValue(IGraphicAttributes attrs, int idx) throws java.io.IOException, AutomationException
getValue
in interface IRepresentation
attrs
- A reference to a com.esri.arcgis.display.IGraphicAttributes (in)idx
- The idx (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setValue(IGraphicAttributes attrs, int idx, java.lang.Object val) throws java.io.IOException, AutomationException
setValue
in interface IRepresentation
attrs
- A reference to a com.esri.arcgis.display.IGraphicAttributes (in)idx
- The idx (in)val
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeOverride(IGraphicAttributes attrs, int idx) throws java.io.IOException, AutomationException
removeOverride
in interface IOverride
attrs
- A reference to a com.esri.arcgis.display.IGraphicAttributes (in)idx
- The idx (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int isOverridenWithField(IGraphicAttributes attrs, int idx) throws java.io.IOException, AutomationException
isOverridenWithField
in interface IOverride
attrs
- A reference to a com.esri.arcgis.display.IGraphicAttributes (in)idx
- The idx (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeOverrides() throws java.io.IOException, AutomationException
removeOverrides
in interface IOverride
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasAttributeOverride() throws java.io.IOException, AutomationException
isHasAttributeOverride
in interface IOverride
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean hitTest(IPoint point, double tolerance) throws java.io.IOException, AutomationException
hitTest
in interface IGraphicsOutline
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)tolerance
- The tolerance (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry getAllOutlineParts(int type, int option, double buffer, IEnvelope clipEnvelope) throws java.io.IOException, AutomationException
getAllOutlineParts
in interface IGraphicsOutline
type
- A com.esri.arcgis.display.esriOutlineType constant (in)option
- A com.esri.arcgis.display.esriOutlineOption constant (in)buffer
- The buffer (in)clipEnvelope
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset(int type, int option, double buffer, IEnvelope clipEnvelope) throws java.io.IOException, AutomationException
reset
in interface IGraphicsOutline
type
- A com.esri.arcgis.display.esriOutlineType constant (in)option
- A com.esri.arcgis.display.esriOutlineOption constant (in)buffer
- The buffer (in)clipEnvelope
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry nextOutlinePart() throws java.io.IOException, AutomationException
nextOutlinePart
in interface IGraphicsOutline
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (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 |