|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.RepresentationMarker
public class RepresentationMarker
A representation marker object.
Constructor Summary | |
---|---|
RepresentationMarker()
Constructs a RepresentationMarker using ArcGIS Engine. |
|
RepresentationMarker(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RepresentationMarker theRepresentationMarker = (RepresentationMarker) obj; |
Method Summary | |
---|---|
void |
add(IGeometry geometry,
IRepresentationRule repRule)
Adds a new component in a representation graphic. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
changeGeometry(int iD,
IGeometry geometry)
Changes a geometry in a representation graphic. |
Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
void |
draw(IOutputContext context,
IAffineTransformation2D transfo,
IEnvelope envelope)
Draws the representation marker. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
IGeometry |
getAllOutlineParts(int type,
int option,
double buffer,
IEnvelope clipEnvelope)
Constructs the entire drawing outline of a graphics. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
double |
getHeight()
The height in points (1/72 of an inch) of the marker. |
String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace). |
IGeometry |
getOutline(int type)
The outline of the marker, returned as a polygon. |
double |
getSize()
The size in points (1/72 of an inch) of the marker. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
double |
getWidth()
The width in points (1/72 of an inch) of the marker. |
int |
hashCode()
the hashcode for this object |
boolean |
hitTest(IPoint point,
double tolerance)
Tests if a point is located on the graphics outline. |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version. |
void |
load(IStream pstm)
load |
void |
next(IGeometry[] geometry,
IRepresentationRule[] repRule)
Retrieves the next component in a representation graphic. |
void |
nextGeometry(int[] iD,
IGeometry[] geometry)
Accesses the next geometry in a representation graphic. |
IGeometry |
nextOutlinePart()
Hands back the next drawing outline part. |
void |
readExternal(ObjectInput in)
|
void |
remove(IGeometry geometry,
IRepresentationRule repRule)
Removes a component in a representation graphic. |
void |
removeAll()
Removes all components in a representation graphic. |
void |
reset()
Resets the enumeration of components in a representation graphic. |
void |
reset(int type,
int option,
double buffer,
IEnvelope clipEnvelope)
Resets the collection of drawing outline parts to the beginning, before calling NextOutlinePart. |
void |
resetGeometry()
Resets the geometry enumeration in a representation graphic. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
writeExternal(ObjectOutput out)
|
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 RepresentationMarker() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RepresentationMarker(Object obj) throws IOException
RepresentationMarker theRepresentationMarker = (RepresentationMarker) obj;
obj
to RepresentationMarker
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void draw(IOutputContext context, IAffineTransformation2D transfo, IEnvelope envelope) throws IOException, AutomationException
draw
in interface IRepresentationMarker
context
- A reference to a com.esri.arcgis.display.IOutputContext (in)transfo
- A reference to a com.esri.arcgis.geometry.IAffineTransformation2D (in)envelope
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry getOutline(int type) throws IOException, AutomationException
getOutline
in interface IRepresentationMarker
type
- A com.esri.arcgis.display.esriOutlineType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSize() throws IOException, AutomationException
getSize
in interface IRepresentationMarker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getWidth() throws IOException, AutomationException
getWidth
in interface IRepresentationMarker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getHeight() throws IOException, AutomationException
getHeight
in interface IRepresentationMarker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws IOException, AutomationException
reset
in interface IRepresentationGraphics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void next(IGeometry[] geometry, IRepresentationRule[] repRule) throws IOException, AutomationException
next
in interface IRepresentationGraphics
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)repRule
- A reference to a com.esri.arcgis.display.IRepresentationRule (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(IGeometry geometry, IRepresentationRule repRule) throws IOException, AutomationException
Add method can be used to add representation graphics to a RepresentationGraphics object. This method takes arguments such as geometry and representation rule. The geometry is in map coordinates.
add
in interface IRepresentationGraphics
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)repRule
- A reference to a com.esri.arcgis.display.IRepresentationRule (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(IGeometry geometry, IRepresentationRule repRule) throws IOException, AutomationException
remove
in interface IRepresentationGraphics
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)repRule
- A reference to a com.esri.arcgis.display.IRepresentationRule (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws IOException, AutomationException
removeAll
in interface IRepresentationGraphics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resetGeometry() throws IOException, AutomationException
resetGeometry
in interface IRepresentationGraphics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void nextGeometry(int[] iD, IGeometry[] geometry) throws IOException, AutomationException
NextGeometry method can be used to call the geometries present in a RepresentationGraphics or RepresentationMarker. Reset method has to be called prior to calling this method as this will reset the collection of geometries to the starting.
nextGeometry
in interface IRepresentationGraphics
iD
- The iD (out: use single element array)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void changeGeometry(int iD, IGeometry geometry) throws IOException, AutomationException
changeGeometry
in interface IRepresentationGraphics
iD
- The iD (in)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean hitTest(IPoint point, double tolerance) throws IOException, AutomationException
hitTest
in interface IGraphicsOutline
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)tolerance
- The tolerance (in)
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 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)
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 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry nextOutlinePart() throws IOException, AutomationException
nextOutlinePart
in interface IGraphicsOutline
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSupportedAtVersion(int docVersion) throws IOException, AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object convertToSupportedObject(int docVersion) throws IOException, AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMinNamespaceSupported() throws IOException, AutomationException
getMinNamespaceSupported
in interface IXMLVersionSupport
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |