|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.Template
public class Template
COM Class 'Template'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDisplay.olb'
Description 'Stores information on the mark and gap patterns for lines.' 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 =
Field Summary | |
---|---|
static long |
serialVersionUID
|
Fields inherited from interface com.esri.arcgis.display.ITemplate |
---|
IID, IID7914e5f4_c892_11d0_8bb6_080009ee4e41, xxDummy |
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 |
Constructor Summary | |
---|---|
Template()
Constructs a Template using ArcGIS Engine. |
|
Template(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. Template theTemplate = (Template) obj; |
Method Summary | |
---|---|
void |
addPatternElement(double mark,
double gap)
Adds a pattern element. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
clearPatternElements()
Clears all pattern elements. |
void |
deletePatternElement(int index)
Removes the pattern element at the given index. |
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. |
IGeometry |
getGeometry()
The pattern geometry. |
double |
getInterval()
The interval. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
void |
getPatternElement(int index,
double[] mark,
double[] gap)
Gets pattern element properties for a given index. |
int |
getPatternElementCount()
The number of pattern 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 |
movePatternElement(int fromIndex,
int toIndex)
Moves a pattern element. |
void |
queryNextLine(IGeometry pGeometry)
Queries for the next line in the pattern. |
void |
queryNextPoint(IPoint pPoint,
double[] pAngle)
Queries for the next point in the pattern. |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a Template. |
void |
reset()
Resets the enumerator. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setGeometryByRef(IGeometry ppGeometry)
The pattern geometry. |
void |
setInterval(double interval)
The interval. |
void |
setup(int hDC,
ITransformation transformation,
ILineSymbol lineSym)
Set up items needed by template. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public Template() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic Template(java.lang.Object obj) throws java.io.IOException
Template theTemplate = (Template) obj;
obj
to Template
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setup(int hDC, ITransformation transformation, ILineSymbol lineSym) throws java.io.IOException, AutomationException
setup
in interface ITemplate
hDC
- The hDC (A COM typedef) (in)transformation
- A reference to a com.esri.arcgis.geometry.ITransformation (in)lineSym
- A reference to a com.esri.arcgis.display.ILineSymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPatternElementCount() throws java.io.IOException, AutomationException
getPatternElementCount
in interface ITemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getPatternElement(int index, double[] mark, double[] gap) throws java.io.IOException, AutomationException
getPatternElement
in interface ITemplate
index
- The index (in)mark
- The mark (out: use single element array)gap
- The gap (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addPatternElement(double mark, double gap) throws java.io.IOException, AutomationException
addPatternElement
in interface ITemplate
mark
- The mark (in)gap
- The gap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deletePatternElement(int index) throws java.io.IOException, AutomationException
deletePatternElement
in interface ITemplate
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void movePatternElement(int fromIndex, int toIndex) throws java.io.IOException, AutomationException
movePatternElement
in interface ITemplate
fromIndex
- The fromIndex (in)toIndex
- The toIndex (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearPatternElements() throws java.io.IOException, AutomationException
clearPatternElements
in interface ITemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getInterval() throws java.io.IOException, AutomationException
getInterval
in interface ITemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setInterval(double interval) throws java.io.IOException, AutomationException
setInterval
in interface ITemplate
interval
- The interval (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry getGeometry() throws java.io.IOException, AutomationException
getGeometry
in interface ITemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGeometryByRef(IGeometry ppGeometry) throws java.io.IOException, AutomationException
setGeometryByRef
in interface ITemplate
ppGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryNextPoint(IPoint pPoint, double[] pAngle) throws java.io.IOException, AutomationException
queryNextPoint
in interface ITemplate
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)pAngle
- The pAngle (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryNextLine(IGeometry pGeometry) throws java.io.IOException, AutomationException
queryNextLine
in interface ITemplate
pGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws java.io.IOException, AutomationException
reset
in interface ITemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |