|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.FDOGraphicsLayerFactory
public class FDOGraphicsLayerFactory
A graphics layer factory.
An FDOGraphicsLayerFactory is a dispenser of annotation layers and allows a client to open and create annotation layers specified by a set of parameters. An annotation layer represents a feature class in a geodatabse that stores graphic features, such as an annotation feature class. An FDOGraphicsLayerFactory is a cocreatable, singleton object. An FDOGraphicsLayerFactory also supports methods that can be used to browse graphics layers in a workspace.
Constructor Summary | |
---|---|
FDOGraphicsLayerFactory()
Constructs a FDOGraphicsLayerFactory using ArcGIS Engine. |
|
FDOGraphicsLayerFactory(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FDOGraphicsLayerFactory theFDOGraphicsLayerFactory = (FDOGraphicsLayerFactory) obj; |
Method Summary | |
---|---|
IAnnotationLayer |
createAnnotationLayer(IFeatureWorkspace workspace,
IFeatureDataset featureDataset,
String annotationClassName,
IGeometryDef pGeometryDef,
IFeatureClass pAssociatedFeatureClass,
IAnnotateLayerPropertiesCollection annoLayerProps,
IGraphicsLayerScale referenceScale,
ISymbolCollection symbolCollection,
boolean autoCreate,
boolean updateOnShapeChange,
boolean requireSymbolID,
boolean allowSymbolOverrides,
IOverposterProperties overposterProperties,
String configKeyword)
Creates a new annotation feature class and returns a layer for it. |
ILayer |
createGraphicsLayer(IFeatureWorkspace graphicWorkspace,
IFeatureDataset featureDataset,
String graphicsLayerName,
IGeometryDef pGeometryDef,
IFeatureClass pAssociatedFeatureClass,
IAnnotateLayerPropertiesCollection annoLayerProps,
IGraphicsLayerScale referenceScale,
ISymbolCollection symbolCollection,
boolean autoCreate)
Creates a new annotation feature class and returns a layer for it. |
boolean |
equals(Object o)
Compare this object with another |
IEnumBSTR |
findAnnotationFeatureClassNames(IFeatureWorkspace workspace)
Returns the names of existing annotation feature classes. |
IEnumBSTR |
findGraphicsLayerNames(IFeatureWorkspace graphicWorkspace)
Returns the names of existing annotation feature classes. |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
IAnnotationLayer |
openAnnotationLayer(IFeatureWorkspace workspace,
IFeatureDataset featureDataset,
String annotationClassName)
Opens an annotation feature class and returns a layer for it. |
ILayer |
openGraphicsLayer(IFeatureWorkspace graphicWorkspace,
IFeatureDataset featureDataset,
String graphicsLayerName)
Creates a new annotation feature class 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 FDOGraphicsLayerFactory() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic FDOGraphicsLayerFactory(Object obj) throws IOException
FDOGraphicsLayerFactory theFDOGraphicsLayerFactory = (FDOGraphicsLayerFactory) obj;
obj
to FDOGraphicsLayerFactory
.
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 ILayer createGraphicsLayer(IFeatureWorkspace graphicWorkspace, IFeatureDataset featureDataset, String graphicsLayerName, IGeometryDef pGeometryDef, IFeatureClass pAssociatedFeatureClass, IAnnotateLayerPropertiesCollection annoLayerProps, IGraphicsLayerScale referenceScale, ISymbolCollection symbolCollection, boolean autoCreate) throws IOException, AutomationException
createGraphicsLayer
in interface IFDOGraphicsLayerFactory
graphicWorkspace
- A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)featureDataset
- A reference to a com.esri.arcgis.geodatabase.IFeatureDataset (in)graphicsLayerName
- The graphicsLayerName (in)pGeometryDef
- A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)pAssociatedFeatureClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)annoLayerProps
- A reference to a com.esri.arcgis.carto.IAnnotateLayerPropertiesCollection (in)referenceScale
- A reference to a com.esri.arcgis.carto.IGraphicsLayerScale (in)symbolCollection
- A reference to a com.esri.arcgis.display.ISymbolCollection (in)autoCreate
- The autoCreate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer openGraphicsLayer(IFeatureWorkspace graphicWorkspace, IFeatureDataset featureDataset, String graphicsLayerName) throws IOException, AutomationException
openGraphicsLayer
in interface IFDOGraphicsLayerFactory
graphicWorkspace
- A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)featureDataset
- A reference to a com.esri.arcgis.geodatabase.IFeatureDataset (in)graphicsLayerName
- The graphicsLayerName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumBSTR findGraphicsLayerNames(IFeatureWorkspace graphicWorkspace) throws IOException, AutomationException
findGraphicsLayerNames
in interface IFDOGraphicsLayerFactory
graphicWorkspace
- A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAnnotationLayer createAnnotationLayer(IFeatureWorkspace workspace, IFeatureDataset featureDataset, String annotationClassName, IGeometryDef pGeometryDef, IFeatureClass pAssociatedFeatureClass, IAnnotateLayerPropertiesCollection annoLayerProps, IGraphicsLayerScale referenceScale, ISymbolCollection symbolCollection, boolean autoCreate, boolean updateOnShapeChange, boolean requireSymbolID, boolean allowSymbolOverrides, IOverposterProperties overposterProperties, String configKeyword) throws IOException, AutomationException
createAnnotationLayer
in interface IAnnotationLayerFactory
workspace
- A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)featureDataset
- A reference to a com.esri.arcgis.geodatabase.IFeatureDataset (in)annotationClassName
- The annotationClassName (in)pGeometryDef
- A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)pAssociatedFeatureClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)annoLayerProps
- A reference to a com.esri.arcgis.carto.IAnnotateLayerPropertiesCollection (in)referenceScale
- A reference to a com.esri.arcgis.carto.IGraphicsLayerScale (in)symbolCollection
- A reference to a com.esri.arcgis.display.ISymbolCollection (in)autoCreate
- The autoCreate (in)updateOnShapeChange
- The updateOnShapeChange (in)requireSymbolID
- The requireSymbolID (in)allowSymbolOverrides
- The allowSymbolOverrides (in)overposterProperties
- A reference to a com.esri.arcgis.carto.IOverposterProperties (in)configKeyword
- The configKeyword (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAnnotationLayer openAnnotationLayer(IFeatureWorkspace workspace, IFeatureDataset featureDataset, String annotationClassName) throws IOException, AutomationException
openAnnotationLayer
in interface IAnnotationLayerFactory
workspace
- A reference to a com.esri.arcgis.geodatabase.IFeatureWorkspace (in)featureDataset
- A reference to a com.esri.arcgis.geodatabase.IFeatureDataset (in)annotationClassName
- The annotationClassName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumBSTR findAnnotationFeatureClassNames(IFeatureWorkspace workspace) throws IOException, AutomationException
findAnnotationFeatureClassNames
in interface IAnnotationLayerFactory
workspace
- 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 |