|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.location.HatchTemplate
public class HatchTemplate
COM Class 'HatchTemplate'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriLocation.olb'
Description 'A hatch template manages a collection of hatch definitions. It can be applied to a hatch class or can exist as a hatch style.' 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.location.IHatchTemplate |
---|
IID, IIDa6e400d1_a2ea_49f4_b520_485df0417025, 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 |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Constructor Summary | |
---|---|
HatchTemplate()
Constructs a HatchTemplate using ArcGIS Engine. |
|
HatchTemplate(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. HatchTemplate theHatchTemplate = (HatchTemplate) obj; |
Method Summary | |
---|---|
void |
addHatchDefinition(int multipleHatchInterval,
IHatchDefinition hatchDefinition)
Adds a hatch definition to the hatch class. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
convertToGraphics(IFeature feature,
IHatchInputValue interval,
IHatchInputValue fromMeasure,
IHatchInputValue toMeasure,
IHatchInputValue lateralOffset,
int measureUnits,
IDisplay display,
IGraphicsLayer pGraphicsLayer)
Converts hatches to graphics. |
void |
drawFeature(IFeature feature,
IHatchInputValue interval,
IHatchInputValue fromMeasure,
IHatchInputValue toMeasure,
IHatchInputValue lateralOffset,
int measureUnits,
IDisplay display,
ITrackCancel trackCancel)
Draws hatches on along a given feature. |
void |
drawGeometry(IGeometry geometry,
double interval,
java.lang.Object fromMeasure,
java.lang.Object toMeasure,
java.lang.Object lateralOffset,
int measureUnits,
IDisplay display,
ITrackCancel trackCancel)
Draws hatches along a given geometry. |
void |
drawPreview(IGeometry geometry,
double scaleFactor,
int selectedDef,
java.lang.Object fromMeasure,
java.lang.Object toMeasure,
java.lang.Object lateralOffset,
int measureUnits,
IDisplay display,
ITrackCancel trackCancel)
Draws a sample of hatching to a given display. |
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. |
double |
getDefaultHatchInterval()
The hatch interval. |
int |
getDisplayUnits()
The units to be used for displaying M values in hatch text. |
IHatchDefinition |
getEndHatchDefinition()
The hatch definition to be used on the ends of a feature. |
double |
getEndHatchDrawingTolerance()
The end hatch drawing tolerance. |
IEnumHatchDefinition |
getEnumHatchDefinitions()
The hatch definition enumeration. |
int |
getHatchDefinitionCount()
The number of hatch definitions. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getName()
The descriptive name of a hatch class. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getUIDisplayUnits()
The user interface display units. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isConvertUnits()
Indicates whether to convert units for displaying Ms in hatch text. |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isHatchByPart()
Indicates whether to hatch by part vs. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isStartAtIntervalMultiple()
Indicates whether to start at the interval multiple. |
void |
load(IStream pstm)
load |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a HatchTemplate. |
void |
removeAll()
Removes all definitions from the hatch class. |
void |
removeHatchDefinition(int index)
Removes a hatch definition from the hatch class. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setConvertUnits(boolean convertUnits)
Indicates whether to convert units for displaying Ms in hatch text. |
void |
setDefaultHatchInterval(double pDefaultHatchInterval)
The hatch interval. |
void |
setDisplayUnits(int units)
The units to be used for displaying M values in hatch text. |
void |
setEndHatchDefinitionByRef(IHatchDefinition hatchDefinition)
The hatch definition to be used on the ends of a feature. |
void |
setEndHatchDrawingTolerance(double drawingTolerance)
The end hatch drawing tolerance. |
void |
setHatchByPart(boolean hatchByPart)
Indicates whether to hatch by part vs. |
void |
setName(java.lang.String name)
The descriptive name of a hatch class. |
void |
setStartAtIntervalMultiple(boolean startAtIntervalMultiple)
Indicates whether to start at the interval multiple. |
void |
setUIDisplayUnits(int units)
The user interface display units. |
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 HatchTemplate() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic HatchTemplate(java.lang.Object obj) throws java.io.IOException
HatchTemplate theHatchTemplate = (HatchTemplate) obj;
obj
to HatchTemplate
.
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 java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IHatchTemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(java.lang.String name) throws java.io.IOException, AutomationException
setName
in interface IHatchTemplate
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getDefaultHatchInterval() throws java.io.IOException, AutomationException
getDefaultHatchInterval
in interface IHatchTemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultHatchInterval(double pDefaultHatchInterval) throws java.io.IOException, AutomationException
setDefaultHatchInterval
in interface IHatchTemplate
pDefaultHatchInterval
- The pDefaultHatchInterval (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHatchDefinitionCount() throws java.io.IOException, AutomationException
getHatchDefinitionCount
in interface IHatchTemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addHatchDefinition(int multipleHatchInterval, IHatchDefinition hatchDefinition) throws java.io.IOException, AutomationException
addHatchDefinition
in interface IHatchTemplate
multipleHatchInterval
- The multipleHatchInterval (in)hatchDefinition
- A reference to a com.esri.arcgis.location.IHatchDefinition (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumHatchDefinition getEnumHatchDefinitions() throws java.io.IOException, AutomationException
getEnumHatchDefinitions
in interface IHatchTemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeHatchDefinition(int index) throws java.io.IOException, AutomationException
removeHatchDefinition
in interface IHatchTemplate
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws java.io.IOException, AutomationException
removeAll
in interface IHatchTemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEndHatchDefinitionByRef(IHatchDefinition hatchDefinition) throws java.io.IOException, AutomationException
setEndHatchDefinitionByRef
in interface IHatchTemplate
hatchDefinition
- A reference to a com.esri.arcgis.location.IHatchDefinition (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IHatchDefinition getEndHatchDefinition() throws java.io.IOException, AutomationException
getEndHatchDefinition
in interface IHatchTemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEndHatchDrawingTolerance(double drawingTolerance) throws java.io.IOException, AutomationException
setEndHatchDrawingTolerance
in interface IHatchTemplate
drawingTolerance
- The drawingTolerance (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getEndHatchDrawingTolerance() throws java.io.IOException, AutomationException
getEndHatchDrawingTolerance
in interface IHatchTemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConvertUnits(boolean convertUnits) throws java.io.IOException, AutomationException
setConvertUnits
in interface IHatchTemplate
convertUnits
- The convertUnits (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isConvertUnits() throws java.io.IOException, AutomationException
isConvertUnits
in interface IHatchTemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDisplayUnits() throws java.io.IOException, AutomationException
getDisplayUnits
in interface IHatchTemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisplayUnits(int units) throws java.io.IOException, AutomationException
setDisplayUnits
in interface IHatchTemplate
units
- A com.esri.arcgis.system.esriUnits constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStartAtIntervalMultiple(boolean startAtIntervalMultiple) throws java.io.IOException, AutomationException
setStartAtIntervalMultiple
in interface IHatchTemplate
startAtIntervalMultiple
- The startAtIntervalMultiple (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isStartAtIntervalMultiple() throws java.io.IOException, AutomationException
isStartAtIntervalMultiple
in interface IHatchTemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUIDisplayUnits(int units) throws java.io.IOException, AutomationException
setUIDisplayUnits
in interface IHatchTemplate
units
- A com.esri.arcgis.system.esriUnits constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getUIDisplayUnits() throws java.io.IOException, AutomationException
getUIDisplayUnits
in interface IHatchTemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHatchByPart(boolean hatchByPart) throws java.io.IOException, AutomationException
setHatchByPart
in interface IHatchTemplate
hatchByPart
- The hatchByPart (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHatchByPart() throws java.io.IOException, AutomationException
isHatchByPart
in interface IHatchTemplate
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void drawGeometry(IGeometry geometry, double interval, java.lang.Object fromMeasure, java.lang.Object toMeasure, java.lang.Object lateralOffset, int measureUnits, IDisplay display, ITrackCancel trackCancel) throws java.io.IOException, AutomationException
drawGeometry
in interface IHatchTemplate
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)interval
- The interval (in)fromMeasure
- A Variant (in)toMeasure
- A Variant (in)lateralOffset
- A Variant (in)measureUnits
- A com.esri.arcgis.system.esriUnits constant (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void drawFeature(IFeature feature, IHatchInputValue interval, IHatchInputValue fromMeasure, IHatchInputValue toMeasure, IHatchInputValue lateralOffset, int measureUnits, IDisplay display, ITrackCancel trackCancel) throws java.io.IOException, AutomationException
drawFeature
in interface IHatchTemplate
feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)interval
- A reference to a com.esri.arcgis.location.IHatchInputValue (in)fromMeasure
- A reference to a com.esri.arcgis.location.IHatchInputValue (in)toMeasure
- A reference to a com.esri.arcgis.location.IHatchInputValue (in)lateralOffset
- A reference to a com.esri.arcgis.location.IHatchInputValue (in)measureUnits
- A com.esri.arcgis.system.esriUnits constant (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void drawPreview(IGeometry geometry, double scaleFactor, int selectedDef, java.lang.Object fromMeasure, java.lang.Object toMeasure, java.lang.Object lateralOffset, int measureUnits, IDisplay display, ITrackCancel trackCancel) throws java.io.IOException, AutomationException
drawPreview
in interface IHatchTemplate
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)scaleFactor
- The scaleFactor (in)selectedDef
- The selectedDef (in)fromMeasure
- A Variant (in)toMeasure
- A Variant (in)lateralOffset
- A Variant (in)measureUnits
- A com.esri.arcgis.system.esriUnits constant (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void convertToGraphics(IFeature feature, IHatchInputValue interval, IHatchInputValue fromMeasure, IHatchInputValue toMeasure, IHatchInputValue lateralOffset, int measureUnits, IDisplay display, IGraphicsLayer pGraphicsLayer) throws java.io.IOException, AutomationException
convertToGraphics
in interface IHatchTemplate
feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)interval
- A reference to a com.esri.arcgis.location.IHatchInputValue (in)fromMeasure
- A reference to a com.esri.arcgis.location.IHatchInputValue (in)toMeasure
- A reference to a com.esri.arcgis.location.IHatchInputValue (in)lateralOffset
- A reference to a com.esri.arcgis.location.IHatchInputValue (in)measureUnits
- A com.esri.arcgis.system.esriUnits constant (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)pGraphicsLayer
- A reference to a com.esri.arcgis.carto.IGraphicsLayer (in)
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 interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (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 |