|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IMarkerSymbol getMarkerSymbol() throws IOException, AutomationException
getMarkerSymbol
in interface ISimpleLineDecorationElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMarkerSymbol(IMarkerSymbol markerSymbol) throws IOException, AutomationException
setMarkerSymbol
in interface ISimpleLineDecorationElement
markerSymbol
- 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 ISimpleLineDecorationElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRotate(boolean rotate) throws IOException, AutomationException
setRotate
in interface ISimpleLineDecorationElement
rotate
- 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 ISimpleLineDecorationElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFlipFirst(boolean flipFirst) throws IOException, AutomationException
setFlipFirst
in interface ISimpleLineDecorationElement
flipFirst
- 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 ISimpleLineDecorationElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFlipAll(boolean flipAll) throws IOException, AutomationException
setFlipAll
in interface ISimpleLineDecorationElement
flipAll
- 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 ILineDecorationElement
elementPosition
- 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 ILineDecorationElement
index
- 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 ILineDecorationElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPositionAsRatio() throws IOException, AutomationException
isPositionAsRatio
in interface ILineDecorationElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPositionAsRatio(boolean asRatio) throws IOException, AutomationException
setPositionAsRatio
in interface ILineDecorationElement
asRatio
- 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 ILineDecorationElement
index
- 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 ILineDecorationElement
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 ILineDecorationElement
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 ILineDecorationElement
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 String getNameString() throws IOException, AutomationException
getNameString
in interface IDisplayName
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 |