|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.location.HatchClass
public class HatchClass
The hatch class relates a hatch template to a polyline feature layer.
A HatchClass is a container for the hatch definitions. A HatchClass can be defined more than once for the features you wish to hatch. Each HatchClass is composed of one or more hatch definitions.
Constructor Summary | |
---|---|
HatchClass()
Constructs a HatchClass using ArcGIS Engine. |
|
HatchClass(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. HatchClass theHatchClass = (HatchClass) obj; |
Method Summary | |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
convertToGraphics(IFeatureLayer pFLayer,
IGraphicsLayer pGraphicsLayer,
IDisplay pDisplay,
int convertType)
Convert to graphics. |
void |
draw(IFeatureLayer pFLayer,
IDisplay pDisplay,
ITrackCancel pTrackCancel)
Draw. |
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. |
IHatchInputValue |
getEndRange()
The EndRange. |
IQueryFilter |
getFilter()
Query definition hatch class is defined by. |
IHatchInputValue |
getHatchInterval()
Hatch Interval for the class. |
IHatchTemplate |
getHatchTemplate()
HatchTemplate for hatch class. |
IHatchInputValue |
getLateralOffset()
The LateralOffset. |
double |
getMaximumScale()
Maximum scale at which the hatch class will display. |
double |
getMinimumScale()
Minimum scale at which the hatch class will display. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
IHatchInputValue |
getStartRange()
The StartRange. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
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. |
boolean |
isShowHatches()
Indicates whether to show hatches. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setEndRangeByRef(IHatchInputValue ppEndRange)
The EndRange. |
void |
setFilterByRef(IQueryFilter ppQF)
Query definition hatch class is defined by. |
void |
setHatchIntervalByRef(IHatchInputValue ppHatchInterval)
Hatch Interval for the class. |
void |
setHatchTemplateByRef(IHatchTemplate ppHatchTemplate)
HatchTemplate for hatch class. |
void |
setLateralOffsetByRef(IHatchInputValue ppLateralOffset)
The LateralOffset. |
void |
setMaximumScale(double maxScale)
Maximum scale at which the hatch class will display. |
void |
setMinimumScale(double minScale)
Minimum scale at which the hatch class will display. |
void |
setShowHatches(boolean pshowHatches)
Indicates whether to show hatches. |
void |
setStartRangeByRef(IHatchInputValue ppStartRange)
The StartRange. |
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 HatchClass() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic HatchClass(Object obj) throws IOException
HatchClass theHatchClass = (HatchClass) obj;
obj
to HatchClass
.
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 void setShowHatches(boolean pshowHatches) throws IOException, AutomationException
setShowHatches
in interface IHatchClass
pshowHatches
- The pshowHatches (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowHatches() throws IOException, AutomationException
The ShowHatches property (type as boolean) indicates whether to show hatches.
isShowHatches
in interface IHatchClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IHatchTemplate getHatchTemplate() throws IOException, AutomationException
The HatchTemplate property will need to be associated to a HatchClass.
IHatchClass pHatchClass1 = new HatchClass();
pHatchClass1.setHatchTemplateByRef(pHatchTemplate);
getHatchTemplate
in interface IHatchClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHatchTemplateByRef(IHatchTemplate ppHatchTemplate) throws IOException, AutomationException
setHatchTemplateByRef
in interface IHatchClass
ppHatchTemplate
- A reference to a com.esri.arcgis.location.IHatchTemplate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IHatchInputValue getHatchInterval() throws IOException, AutomationException
The HatchInterval property controls interval between successive hatches.
getHatchInterval
in interface IHatchClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHatchIntervalByRef(IHatchInputValue ppHatchInterval) throws IOException, AutomationException
setHatchIntervalByRef
in interface IHatchClass
ppHatchInterval
- A reference to a com.esri.arcgis.location.IHatchInputValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IQueryFilter getFilter() throws IOException, AutomationException
The Filter property defines the query definition for a hatch class.
IQueryFilter pQFilt = new QueryFilter();
pQFilt.setWhereClause( "[OBJECTID] = 4 OR [OBJECTID] = 6");
pHatchClass1.setFilterByRef(pQFilt);
getFilter
in interface IHatchClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFilterByRef(IQueryFilter ppQF) throws IOException, AutomationException
setFilterByRef
in interface IHatchClass
ppQF
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMinimumScale() throws IOException, AutomationException
getMinimumScale
in interface IHatchClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMinimumScale(double minScale) throws IOException, AutomationException
setMinimumScale
in interface IHatchClass
minScale
- The minScale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMaximumScale() throws IOException, AutomationException
The MaximumScale property defines the maximum scale at which the hatch class will display.
getMaximumScale
in interface IHatchClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaximumScale(double maxScale) throws IOException, AutomationException
setMaximumScale
in interface IHatchClass
maxScale
- The maxScale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IHatchInputValue getStartRange() throws IOException, AutomationException
getStartRange
in interface IHatchClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStartRangeByRef(IHatchInputValue ppStartRange) throws IOException, AutomationException
setStartRangeByRef
in interface IHatchClass
ppStartRange
- A reference to a com.esri.arcgis.location.IHatchInputValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IHatchInputValue getEndRange() throws IOException, AutomationException
getEndRange
in interface IHatchClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEndRangeByRef(IHatchInputValue ppEndRange) throws IOException, AutomationException
setEndRangeByRef
in interface IHatchClass
ppEndRange
- A reference to a com.esri.arcgis.location.IHatchInputValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IHatchInputValue getLateralOffset() throws IOException, AutomationException
getLateralOffset
in interface IHatchClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLateralOffsetByRef(IHatchInputValue ppLateralOffset) throws IOException, AutomationException
setLateralOffsetByRef
in interface IHatchClass
ppLateralOffset
- A reference to a com.esri.arcgis.location.IHatchInputValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(IFeatureLayer pFLayer, IDisplay pDisplay, ITrackCancel pTrackCancel) throws IOException, AutomationException
draw
in interface IHatchClass
pFLayer
- A reference to a com.esri.arcgis.carto.IFeatureLayer (in)pDisplay
- A reference to a com.esri.arcgis.display.IDisplay (in)pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void convertToGraphics(IFeatureLayer pFLayer, IGraphicsLayer pGraphicsLayer, IDisplay pDisplay, int convertType) throws IOException, AutomationException
convertToGraphics
in interface IHatchClass
pFLayer
- A reference to a com.esri.arcgis.carto.IFeatureLayer (in)pGraphicsLayer
- A reference to a com.esri.arcgis.carto.IGraphicsLayer (in)pDisplay
- A reference to a com.esri.arcgis.display.IDisplay (in)convertType
- A com.esri.arcgis.location.esriConvertHatchesToGraphicsType constant (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 void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
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 |