|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.display.SimpleLineDecorationElement
public class SimpleLineDecorationElement
Simple Line Decoration Element.
SimpleLineDecorationElement is a way of specifying a marker symbol to be used as a decoration element for a line symbol.
| Constructor Summary | |
|---|---|
SimpleLineDecorationElement()
Constructs a SimpleLineDecorationElement using ArcGIS Engine. |
|
SimpleLineDecorationElement(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SimpleLineDecorationElement theSimpleLineDecorationElement = (SimpleLineDecorationElement) obj; |
|
| Method Summary | |
|---|---|
void |
addPosition(double elementPosition)
Adds a position. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
clearPositions()
Clears all positions. |
void |
deletePosition(int index)
Deletes a position. |
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. |
IMarkerSymbol |
getMarkerSymbol()
The marker symbol. |
String |
getNameString()
The display name of an object. |
double |
getPosition(int index)
The element position at the given index. |
int |
getPositionCount()
The number of positions. |
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 |
isFlipAll()
Indicates if all symbols are flipped 180 degrees. |
boolean |
isFlipFirst()
Indicates if marker symbol in '0' position is flipped 180 degrees. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isPositionAsRatio()
Indicates if positions represent percentage or absolute distance along the line. |
boolean |
isRotate()
Indicates if marker symbols are rotated to follow the line. |
void |
load(IStream pstm)
load |
void |
queryBoundary(int hDC,
ITransformation transform,
IGeometry lineGeometry,
IPolygon boundary)
Queries for the boundary of a given line geometry. |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setFlipAll(boolean flipAll)
Indicates if all symbols are flipped 180 degrees. |
void |
setFlipFirst(boolean flipFirst)
Indicates if marker symbol in '0' position is flipped 180 degrees. |
void |
setMarkerSymbol(IMarkerSymbol markerSymbol)
The marker symbol. |
void |
setPositionAsRatio(boolean asRatio)
Indicates if positions represent percentage or absolute distance along the line. |
void |
setRotate(boolean rotate)
Indicates if marker symbols are rotated to follow the line. |
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 SimpleLineDecorationElement()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public SimpleLineDecorationElement(Object obj)
throws IOException
SimpleLineDecorationElement theSimpleLineDecorationElement = (SimpleLineDecorationElement) obj;
obj to SimpleLineDecorationElement.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IMarkerSymbol getMarkerSymbol()
throws IOException,
AutomationException
getMarkerSymbol in interface ISimpleLineDecorationElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMarkerSymbol(IMarkerSymbol markerSymbol)
throws IOException,
AutomationException
setMarkerSymbol in interface ISimpleLineDecorationElementmarkerSymbol - A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRotate()
throws IOException,
AutomationException
isRotate in interface ISimpleLineDecorationElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRotate(boolean rotate)
throws IOException,
AutomationException
setRotate in interface ISimpleLineDecorationElementrotate - The rotate (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isFlipFirst()
throws IOException,
AutomationException
isFlipFirst in interface ISimpleLineDecorationElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFlipFirst(boolean flipFirst)
throws IOException,
AutomationException
setFlipFirst in interface ISimpleLineDecorationElementflipFirst - The flipFirst (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isFlipAll()
throws IOException,
AutomationException
isFlipAll in interface ISimpleLineDecorationElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFlipAll(boolean flipAll)
throws IOException,
AutomationException
setFlipAll in interface ISimpleLineDecorationElementflipAll - The flipAll (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addPosition(double elementPosition)
throws IOException,
AutomationException
addPosition in interface ILineDecorationElementelementPosition - The elementPosition (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deletePosition(int index)
throws IOException,
AutomationException
deletePosition in interface ILineDecorationElementindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clearPositions()
throws IOException,
AutomationException
clearPositions in interface ILineDecorationElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isPositionAsRatio()
throws IOException,
AutomationException
isPositionAsRatio in interface ILineDecorationElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPositionAsRatio(boolean asRatio)
throws IOException,
AutomationException
setPositionAsRatio in interface ILineDecorationElementasRatio - The asRatio (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getPosition(int index)
throws IOException,
AutomationException
getPosition in interface ILineDecorationElementindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPositionCount()
throws IOException,
AutomationException
getPositionCount in interface ILineDecorationElementIOException - 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 ILineDecorationElementhDC - 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 ILineDecorationElementhDC - 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 IPersistStreamIOException - 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 IPersistStreampstm - 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 IPersistStreampstm - 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 IPersistStreampcbSize - 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 IPersistpClassID - 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 ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws IOException,
AutomationException
assign in interface IClonesrc - 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 ICloneother - 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 ICloneother - 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 String getNameString()
throws IOException,
AutomationException
getNameString in interface IDisplayNameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||