|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.cartoUI.CoverageAnnotationLayerFactory
public class CoverageAnnotationLayerFactory
A factory for creating coverage annotation layers.
Constructor Summary | |
---|---|
CoverageAnnotationLayerFactory()
Constructs a CoverageAnnotationLayerFactory using ArcGIS Engine. |
|
CoverageAnnotationLayerFactory(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. CoverageAnnotationLayerFactory theCoverageAnnotationLayerFactory = (CoverageAnnotationLayerFactory) obj; |
Method Summary | |
---|---|
IEnumLayer |
create(Object inputObject)
Creates layer(s) based on the specified object. |
ILayer |
createAnnotationLayer(IFeatureWorkspace pAnnotationWorkspace,
IFeatureDataset pFeatureDataset,
String annotationLayerName)
Create an annotation class (on disk), and returns a layer for it. |
boolean |
equals(Object o)
Compare this object with another |
IEnumBSTR |
findAnnotationLayerNames(IFeatureWorkspace pAnnotationWorkspace)
Finds an annotation classes. |
static String |
getClsid()
getClsid. |
String |
getLayerCategory()
Category name. |
String |
getPublicName()
Public name of the factory. |
int |
hashCode()
the hashcode for this object |
boolean |
isCanCreate(Object inputObject)
Indicates if the factory can create a layer based upon the specified object. |
IEnumLayer |
loadLayers()
Loads a set of layers. |
ILayer |
openAnnotationLayer(IFeatureWorkspace pAnnotationWorkspace,
IFeatureDataset pFeatureDataset,
String annotationLayerName)
Loads an annotation class (on disk), and returns a layer for it. |
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 CoverageAnnotationLayerFactory() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic CoverageAnnotationLayerFactory(Object obj) throws IOException
CoverageAnnotationLayerFactory theCoverageAnnotationLayerFactory = (CoverageAnnotationLayerFactory) obj;
obj
to CoverageAnnotationLayerFactory
.
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 String getPublicName() throws IOException, AutomationException
getPublicName
in interface ILayerFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLayerCategory() throws IOException, AutomationException
getLayerCategory
in interface ILayerFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumLayer loadLayers() throws IOException, AutomationException
loadLayers
in interface ILayerFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanCreate(Object inputObject) throws IOException, AutomationException
isCanCreate
in interface ILayerFactory
inputObject
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumLayer create(Object inputObject) throws IOException, AutomationException
Creates a layer using the factory defined by the implementing coclass and the supplied object. This object can be a name object.
create
in interface ILayerFactory
inputObject
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer createAnnotationLayer(IFeatureWorkspace pAnnotationWorkspace, IFeatureDataset pFeatureDataset, String annotationLayerName) throws IOException, AutomationException
createAnnotationLayer
in interface ICoverageAnnotationLayerFactory
pAnnotationWorkspace
- A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)pFeatureDataset
- A reference to a com.esri.arcgis.geodatabase.IFeatureDataset (in)annotationLayerName
- The annotationLayerName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer openAnnotationLayer(IFeatureWorkspace pAnnotationWorkspace, IFeatureDataset pFeatureDataset, String annotationLayerName) throws IOException, AutomationException
openAnnotationLayer
in interface ICoverageAnnotationLayerFactory
pAnnotationWorkspace
- A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)pFeatureDataset
- A reference to a com.esri.arcgis.geodatabase.IFeatureDataset (in)annotationLayerName
- The annotationLayerName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumBSTR findAnnotationLayerNames(IFeatureWorkspace pAnnotationWorkspace) throws IOException, AutomationException
findAnnotationLayerNames
in interface ICoverageAnnotationLayerFactory
pAnnotationWorkspace
- A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |