com.esri.arcgis.display
Class SimpleLineDecorationElement

java.lang.Object
  extended by com.esri.arcgis.display.SimpleLineDecorationElement
All Implemented Interfaces:
IDisplayName, ILineDecorationElement, ISimpleLineDecorationElement, com.esri.arcgis.interop.RemoteObjRef, IClone, IPersist, IPersistStream, java.io.Externalizable, java.io.Serializable

public class SimpleLineDecorationElement
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISimpleLineDecorationElement, ILineDecorationElement, IPersistStream, IPersist, IClone, IDisplayName, java.io.Externalizable

COM Class 'SimpleLineDecorationElement'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description 'Simple Line Decoration Element.' 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 =

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Fields inherited from interface com.esri.arcgis.display.ISimpleLineDecorationElement
IID, IID533d88f7_0a1a_11d2_b27f_0000f878229e, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.ILineDecorationElement
IID533d88f2_0a1a_11d2_b27f_0000f878229e
 
Fields inherited from interface com.esri.arcgis.system.IPersistStream
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersist
IID0000010c_0000_0000_c000_000000000046
 
Fields inherited from interface com.esri.arcgis.system.IClone
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.IDisplayName
IID, IIDf47b9b56_7efe_4ee4_b7d4_445f93ff390e, xxDummy
 
Constructor Summary
SimpleLineDecorationElement()
          Constructs a SimpleLineDecorationElement using ArcGIS Engine.
SimpleLineDecorationElement(java.lang.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(java.lang.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 java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IMarkerSymbol getMarkerSymbol()
          The marker symbol.
 java.lang.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(java.io.ObjectInput in)
           
 void release()
          Release a SimpleLineDecorationElement.
 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(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SimpleLineDecorationElement

public SimpleLineDecorationElement()
                            throws java.io.IOException,
                                   java.net.UnknownHostException
Constructs a SimpleLineDecorationElement using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

SimpleLineDecorationElement

public SimpleLineDecorationElement(java.lang.Object obj)
                            throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SimpleLineDecorationElement theSimpleLineDecorationElement = (SimpleLineDecorationElement) obj;

Construct a SimpleLineDecorationElement using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SimpleLineDecorationElement.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a SimpleLineDecorationElement.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getMarkerSymbol

public IMarkerSymbol getMarkerSymbol()
                              throws java.io.IOException,
                                     AutomationException
The marker symbol.

Specified by:
getMarkerSymbol in interface ISimpleLineDecorationElement
Returns:
A reference to a com.esri.arcgis.display.IMarkerSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMarkerSymbol

public void setMarkerSymbol(IMarkerSymbol markerSymbol)
                     throws java.io.IOException,
                            AutomationException
The marker symbol.

Specified by:
setMarkerSymbol in interface ISimpleLineDecorationElement
Parameters:
markerSymbol - A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRotate

public boolean isRotate()
                 throws java.io.IOException,
                        AutomationException
Indicates if marker symbols are rotated to follow the line.

Specified by:
isRotate in interface ISimpleLineDecorationElement
Returns:
The rotate
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRotate

public void setRotate(boolean rotate)
               throws java.io.IOException,
                      AutomationException
Indicates if marker symbols are rotated to follow the line.

Specified by:
setRotate in interface ISimpleLineDecorationElement
Parameters:
rotate - The rotate (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isFlipFirst

public boolean isFlipFirst()
                    throws java.io.IOException,
                           AutomationException
Indicates if marker symbol in '0' position is flipped 180 degrees.

Specified by:
isFlipFirst in interface ISimpleLineDecorationElement
Returns:
The flipFirst
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFlipFirst

public void setFlipFirst(boolean flipFirst)
                  throws java.io.IOException,
                         AutomationException
Indicates if marker symbol in '0' position is flipped 180 degrees.

Specified by:
setFlipFirst in interface ISimpleLineDecorationElement
Parameters:
flipFirst - The flipFirst (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isFlipAll

public boolean isFlipAll()
                  throws java.io.IOException,
                         AutomationException
Indicates if all symbols are flipped 180 degrees.

Specified by:
isFlipAll in interface ISimpleLineDecorationElement
Returns:
The flipAll
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFlipAll

public void setFlipAll(boolean flipAll)
                throws java.io.IOException,
                       AutomationException
Indicates if all symbols are flipped 180 degrees.

Specified by:
setFlipAll in interface ISimpleLineDecorationElement
Parameters:
flipAll - The flipAll (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addPosition

public void addPosition(double elementPosition)
                 throws java.io.IOException,
                        AutomationException
Adds a position.

Specified by:
addPosition in interface ILineDecorationElement
Parameters:
elementPosition - The elementPosition (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deletePosition

public void deletePosition(int index)
                    throws java.io.IOException,
                           AutomationException
Deletes a position.

Specified by:
deletePosition in interface ILineDecorationElement
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearPositions

public void clearPositions()
                    throws java.io.IOException,
                           AutomationException
Clears all positions.

Specified by:
clearPositions in interface ILineDecorationElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPositionAsRatio

public boolean isPositionAsRatio()
                          throws java.io.IOException,
                                 AutomationException
Indicates if positions represent percentage or absolute distance along the line.

Specified by:
isPositionAsRatio in interface ILineDecorationElement
Returns:
The asRatio
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPositionAsRatio

public void setPositionAsRatio(boolean asRatio)
                        throws java.io.IOException,
                               AutomationException
Indicates if positions represent percentage or absolute distance along the line.

Specified by:
setPositionAsRatio in interface ILineDecorationElement
Parameters:
asRatio - The asRatio (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPosition

public double getPosition(int index)
                   throws java.io.IOException,
                          AutomationException
The element position at the given index.

Specified by:
getPosition in interface ILineDecorationElement
Parameters:
index - The index (in)
Returns:
The elementPos
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPositionCount

public int getPositionCount()
                     throws java.io.IOException,
                            AutomationException
The number of positions.

Specified by:
getPositionCount in interface ILineDecorationElement
Returns:
The positionCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryBoundary

public void queryBoundary(int hDC,
                          ITransformation transform,
                          IGeometry lineGeometry,
                          IPolygon boundary)
                   throws java.io.IOException,
                          AutomationException
Queries for the boundary of a given line geometry.

Specified by:
queryBoundary in interface ILineDecorationElement
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

draw

public void draw(int hDC,
                 ITransformation transform,
                 IGeometry lineGeometry)
          throws java.io.IOException,
                 AutomationException
Draws the given line geometry.

Specified by:
draw in interface ILineDecorationElement
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
isDirty

Specified by:
isDirty in interface IPersistStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
load

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
save

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
getSizeMax

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
getClassID

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_clone

public IClone esri_clone()
                  throws java.io.IOException,
                         AutomationException
Clones the receiver and assigns the result to *clone.

Specified by:
esri_clone in interface IClone
Returns:
A reference to a com.esri.arcgis.system.IClone
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

assign

public void assign(IClone src)
            throws java.io.IOException,
                   AutomationException
Assigns the properties of src to the receiver.

Specified by:
assign in interface IClone
Parameters:
src - A reference to a com.esri.arcgis.system.IClone (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEqual

public boolean isEqual(IClone other)
                throws java.io.IOException,
                       AutomationException
Indicates if the receiver and other have the same properties.

Specified by:
isEqual in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The equal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isIdentical

public boolean isIdentical(IClone other)
                    throws java.io.IOException,
                           AutomationException
Indicates if the receiver and other are the same object.

Specified by:
isIdentical in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The identical
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNameString

public java.lang.String getNameString()
                               throws java.io.IOException,
                                      AutomationException
The display name of an object.

Specified by:
getNameString in interface IDisplayName
Returns:
The displayName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException