| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 problems
public 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 problems| Method Detail | 
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void setShowHatches(boolean pshowHatches)
                    throws IOException,
                           AutomationException
setShowHatches in interface IHatchClasspshowHatches - 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 IHatchClassIOException - 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 IHatchClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHatchTemplateByRef(IHatchTemplate ppHatchTemplate)
                           throws IOException,
                                  AutomationException
setHatchTemplateByRef in interface IHatchClassppHatchTemplate - 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 IHatchClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHatchIntervalByRef(IHatchInputValue ppHatchInterval)
                           throws IOException,
                                  AutomationException
setHatchIntervalByRef in interface IHatchClassppHatchInterval - 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 IHatchClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFilterByRef(IQueryFilter ppQF)
                    throws IOException,
                           AutomationException
setFilterByRef in interface IHatchClassppQF - 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 IHatchClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMinimumScale(double minScale)
                     throws IOException,
                            AutomationException
setMinimumScale in interface IHatchClassminScale - 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 IHatchClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaximumScale(double maxScale)
                     throws IOException,
                            AutomationException
setMaximumScale in interface IHatchClassmaxScale - 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 IHatchClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStartRangeByRef(IHatchInputValue ppStartRange)
                        throws IOException,
                               AutomationException
setStartRangeByRef in interface IHatchClassppStartRange - 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 IHatchClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEndRangeByRef(IHatchInputValue ppEndRange)
                      throws IOException,
                             AutomationException
setEndRangeByRef in interface IHatchClassppEndRange - 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 IHatchClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLateralOffsetByRef(IHatchInputValue ppLateralOffset)
                           throws IOException,
                                  AutomationException
setLateralOffsetByRef in interface IHatchClassppLateralOffset - 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 IHatchClasspFLayer - 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 IHatchClasspFLayer - 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 IPersistStreamIOException - 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 IPersistStreampstm - 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 IPersistStreampstm - 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 IPersistStreampcbSize - 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 IPersistpClassID - 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 ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
            throws IOException,
                   AutomationException
assign in interface IClonesrc - 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 ICloneother - 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 ICloneother - 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 ISupportErrorInforiid - 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 ExternalizableIOException
public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||