|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.LineDecoration
public class LineDecoration
Places a marker (decoration) at a specific location along a line symbol.
Constructor Summary | |
---|---|
LineDecoration()
Constructs a LineDecoration using ArcGIS Engine. |
|
LineDecoration(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. LineDecoration theLineDecoration = (LineDecoration) obj; |
Method Summary | |
---|---|
void |
addElement(ILineDecorationElement lineDecorationElement)
Adds an element. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
clearElements()
Clears all line decoration elements. |
void |
deleteElement(int index)
Deletes the element at the given index. |
void |
draw(int hDC,
ITransformation transform,
IGeometry lineGeometry)
Draws the given line geometry. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
ILineDecorationElement |
getElement(int index)
The element at the given position. |
int |
getElementCount()
The number of line decoration elements. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
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. |
void |
load(IStream pstm)
load |
void |
moveElement(ILineDecorationElement element,
int toIndex)
Moves a line decoration element to the given index. |
void |
queryBoundary(int hDC,
ITransformation transform,
IGeometry lineGeometry,
IPolygon boundary)
Queries for the boundary of the given line geometry. |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
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 LineDecoration() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic LineDecoration(Object obj) throws IOException
LineDecoration theLineDecoration = (LineDecoration) obj;
obj
to LineDecoration
.
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 addElement(ILineDecorationElement lineDecorationElement) throws IOException, AutomationException
addElement
in interface ILineDecoration
lineDecorationElement
- A reference to a com.esri.arcgis.display.ILineDecorationElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteElement(int index) throws IOException, AutomationException
deleteElement
in interface ILineDecoration
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void moveElement(ILineDecorationElement element, int toIndex) throws IOException, AutomationException
moveElement
in interface ILineDecoration
element
- A reference to a com.esri.arcgis.display.ILineDecorationElement (in)toIndex
- The toIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearElements() throws IOException, AutomationException
clearElements
in interface ILineDecoration
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILineDecorationElement getElement(int index) throws IOException, AutomationException
getElement
in interface ILineDecoration
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getElementCount() throws IOException, AutomationException
getElementCount
in interface ILineDecoration
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryBoundary(int hDC, ITransformation transform, IGeometry lineGeometry, IPolygon boundary) throws IOException, AutomationException
queryBoundary
in interface ILineDecoration
hDC
- The hDC (A COM typedef) (in)transform
- A reference to a com.esri.arcgis.geometry.ITransformation (in)lineGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)boundary
- A reference to a com.esri.arcgis.geometry.IPolygon (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(int hDC, ITransformation transform, IGeometry lineGeometry) throws IOException, AutomationException
draw
in interface ILineDecoration
hDC
- The hDC (A COM typedef) (in)transform
- A reference to a com.esri.arcgis.geometry.ITransformation (in)lineGeometry
- 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 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 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 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 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 |