|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.location.HatchLayerExtension
public class HatchLayerExtension
Hatch layer extension manages a collection of hatch classes.
Constructor Summary | |
---|---|
HatchLayerExtension()
Constructs a HatchLayerExtension using ArcGIS Engine. |
|
HatchLayerExtension(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. HatchLayerExtension theHatchLayerExtension = (HatchLayerExtension) obj; |
Method Summary | |
---|---|
void |
addClass(String name,
IHatchClass hatchClass)
Adds a class to the hatch extension. |
void |
afterLayerDraw(ILayer pLayer,
int drawPhase,
IDisplay pDisplay,
ITrackCancel pTrackCancel)
Drawing event called after layer draws. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
beforeLayerDraw(ILayer pLayer,
int drawPhase,
IDisplay pDisplay,
ITrackCancel pTrackCancel)
Drawing event called before layer draws. |
void |
convertToGraphics(IFeatureLayer pFLayer,
IGraphicsLayer pGraphicsLayer,
IDisplay pDisplay)
Converts hatches to graphics. |
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. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
IHatchClass |
hatchClass(String name)
The hatch class at the specified index. |
int |
hatchClassCount()
The number of hatch classes. |
Object |
hatchClassNames()
String array of class names. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
invalidateVisibleExtent()
Indicates whether map should refresh visible extent for layer. |
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 |
removeAll()
Removes all classes from the hatch extension. |
void |
removeClass(String name)
Removes a class from the hatch extension. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setShowHatches(boolean pshowHatches)
Indicates whether to show hatches. |
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 HatchLayerExtension() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic HatchLayerExtension(Object obj) throws IOException
HatchLayerExtension theHatchLayerExtension = (HatchLayerExtension) obj;
obj
to HatchLayerExtension
.
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 IHatchLayerExtension
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 (as boolean) indicates whether to show hatches.
isShowHatches
in interface IHatchLayerExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int hatchClassCount() throws IOException, AutomationException
hatchClassCount
in interface IHatchLayerExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IHatchClass hatchClass(String name) throws IOException, AutomationException
hatchClass
in interface IHatchLayerExtension
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addClass(String name, IHatchClass hatchClass) throws IOException, AutomationException
addClass
in interface IHatchLayerExtension
name
- The name (in)hatchClass
- A reference to a com.esri.arcgis.location.IHatchClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object hatchClassNames() throws IOException, AutomationException
hatchClassNames
in interface IHatchLayerExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeClass(String name) throws IOException, AutomationException
removeClass
in interface IHatchLayerExtension
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws IOException, AutomationException
removeAll
in interface IHatchLayerExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void convertToGraphics(IFeatureLayer pFLayer, IGraphicsLayer pGraphicsLayer, IDisplay pDisplay) throws IOException, AutomationException
convertToGraphics
in interface IHatchLayerExtension
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void beforeLayerDraw(ILayer pLayer, int drawPhase, IDisplay pDisplay, ITrackCancel pTrackCancel) throws IOException, AutomationException
beforeLayerDraw
in interface ILayerExtensionDraw
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)drawPhase
- A com.esri.arcgis.system.esriDrawPhase constant (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 afterLayerDraw(ILayer pLayer, int drawPhase, IDisplay pDisplay, ITrackCancel pTrackCancel) throws IOException, AutomationException
afterLayerDraw
in interface ILayerExtensionDraw
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)drawPhase
- A com.esri.arcgis.system.esriDrawPhase constant (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 boolean invalidateVisibleExtent() throws IOException, AutomationException
invalidateVisibleExtent
in interface ILayerExtensionInvalidate
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 |