com.esri.arcgis.carto
Class GraphicFeatureLayer

java.lang.Object
  extended by com.esri.arcgis.carto.GraphicFeatureLayer
All Implemented Interfaces:
IDataObjectTable, IGraphicFeatureLayer, IMapTableTimeInfo, com.esri.arcgis.interop.RemoteObjRef, IPersist, IPersistStream, ISupportErrorInfo, IXMLSerialize, IXMLVersionSupport, java.io.Externalizable, java.io.Serializable

public class GraphicFeatureLayer
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGraphicFeatureLayer, IMapTableTimeInfo, IXMLSerialize, IPersistStream, IPersist, ISupportErrorInfo, IXMLVersionSupport, java.io.Externalizable

COM Class 'GraphicFeatureLayer'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'GraphicFeatureLayer co-class.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Fields inherited from interface com.esri.arcgis.carto.IGraphicFeatureLayer
IID, IIDd932a966_dad8_4d0e_8807_dead0dae0aac, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IDataObjectTable
IID72ee5f8a_f039_48da_b057_e61c7b6382da
 
Fields inherited from interface com.esri.arcgis.carto.IMapTableTimeInfo
IID, IID3bb80bf2_3e29_4b85_b6d6_551abe327eaf, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IXMLSerialize
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersistStream
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersist
IID0000010c_0000_0000_c000_000000000046
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IXMLVersionSupport
IID, IID72ca65b9_13de_48b7_8443_717b69b72a99, xxDummy
 
Constructor Summary
GraphicFeatureLayer()
          Constructs a GraphicFeatureLayer using ArcGIS Engine.
GraphicFeatureLayer(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GraphicFeatureLayer theGraphicFeatureLayer = (GraphicFeatureLayer) obj;
 
Method Summary
 void deserialize(IXMLSerializeData data)
          Deserializes an object from XML.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void getClassID(GUID[] pClassID)
          getClassID
static java.lang.String getClsid()
          getClsid.
 java.lang.String getCopyrightText()
          Copyright information associated with the table or layer.
 java.lang.String getDescription()
          The description of the table or layer.
 java.lang.String getDisplayPropName()
          Primary display field.
 java.lang.String getEndTimeFieldName()
          End time field for the table.
 ITimeExtent getFullTimeExtent()
          The time extent for all the data in the table.
 java.lang.String getGeometryFieldName()
          getGeometryFieldName
 int getGeometryType()
          The enumerated geometry type.
 java.lang.String getGlobalIDPropName()
          getGlobalIDPropName
 int getHTMLPopupType()
          Indicates if the layer/table has HTML popups enabled.
 int getID()
          getID
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IFeatureLayerDrawingDescription getLayerDrawingDescription()
          getLayerDrawingDescription
 double getMaxScale()
          Maximum scale at which the features will be visible.
 java.lang.String getMinNamespaceSupported()
          The minimum namespace the class can serialize to (eg the 90 namespace).
 double getMinScale()
          Minimum scale at which the features will be visible.
 java.lang.String getName()
          getName
 java.lang.String getOIDPropName()
          getOIDPropName
 IPropertyInfos getPropertyInfos()
          getPropertyInfos
 IRelateInfos getRelations()
          getRelations
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 IEnvelope getSpatialExtent()
          The spatial extent of the layer.
 ISpatialReference getSpatialReference()
          The spatial reference for the geometry in the layer.
 java.lang.String getStartTimeFieldName()
          Name of the field that has start time or time instant for a table.
 ITemplateInfos getTemplates()
          Feature Templates.
 double getTimeInterval()
          Suggested draw time interval for refreshing the table contents.
 int getTimeIntervalUnits()
          Draw time interval units.
 ITimeReference getTimeReference()
          Native TimeReference of the contents of the table.
 java.lang.String getTimeValueFormat()
          Time field(s) values format.
 java.lang.String getTrackIDFieldName()
          Field that identifies or groups unique objects for which time values are recorded in a table.
 java.lang.String getTypeIDPropName()
          getTypeIDPropName
 IDataObjectTypes getTypes()
          getTypes
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void isDirty()
          isDirty
 boolean isHasAttachments()
          Indicates if the table/ layer has attachments.
 boolean isSupportsTime()
          Indicates whether the table supports time.
 void load(IStream pstm)
          load
 void readExternal(java.io.ObjectInput in)
           
 void release()
          Release a GraphicFeatureLayer.
 void save(IStream pstm, int fClearDirty)
          save
 void serialize(IXMLSerializeData data)
          Serializes an object to XML.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

GraphicFeatureLayer

public GraphicFeatureLayer()
                    throws java.io.IOException,
                           java.net.UnknownHostException
Constructs a GraphicFeatureLayer using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GraphicFeatureLayer

public GraphicFeatureLayer(java.lang.Object obj)
                    throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GraphicFeatureLayer theGraphicFeatureLayer = (GraphicFeatureLayer) obj;

Construct a GraphicFeatureLayer using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GraphicFeatureLayer.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GraphicFeatureLayer.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getGeometryFieldName

public java.lang.String getGeometryFieldName()
                                      throws java.io.IOException,
                                             AutomationException
getGeometryFieldName

Specified by:
getGeometryFieldName in interface IGraphicFeatureLayer
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometryType

public int getGeometryType()
                    throws java.io.IOException,
                           AutomationException
The enumerated geometry type.

Specified by:
getGeometryType in interface IGraphicFeatureLayer
Returns:
A com.esri.arcgis.geometry.esriGeometryType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerDrawingDescription

public IFeatureLayerDrawingDescription getLayerDrawingDescription()
                                                           throws java.io.IOException,
                                                                  AutomationException
getLayerDrawingDescription

Specified by:
getLayerDrawingDescription in interface IGraphicFeatureLayer
Returns:
A reference to a com.esri.arcgis.carto.IFeatureLayerDrawingDescription
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxScale

public double getMaxScale()
                   throws java.io.IOException,
                          AutomationException
Maximum scale at which the features will be visible.

Specified by:
getMaxScale in interface IGraphicFeatureLayer
Returns:
The scale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinScale

public double getMinScale()
                   throws java.io.IOException,
                          AutomationException
Minimum scale at which the features will be visible.

Specified by:
getMinScale in interface IGraphicFeatureLayer
Returns:
The scale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws java.io.IOException,
                                             AutomationException
The spatial reference for the geometry in the layer.

Specified by:
getSpatialReference in interface IGraphicFeatureLayer
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialExtent

public IEnvelope getSpatialExtent()
                           throws java.io.IOException,
                                  AutomationException
The spatial extent of the layer.

Specified by:
getSpatialExtent in interface IGraphicFeatureLayer
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCopyrightText

public java.lang.String getCopyrightText()
                                  throws java.io.IOException,
                                         AutomationException
Copyright information associated with the table or layer.

Specified by:
getCopyrightText in interface IDataObjectTable
Returns:
The copyright
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescription

public java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
The description of the table or layer. This property is set in the General tab of the Table/ Layer Properties dialog.

Specified by:
getDescription in interface IDataObjectTable
Returns:
The desc
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplayPropName

public java.lang.String getDisplayPropName()
                                    throws java.io.IOException,
                                           AutomationException
Primary display field.

Specified by:
getDisplayPropName in interface IDataObjectTable
Returns:
The propName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGlobalIDPropName

public java.lang.String getGlobalIDPropName()
                                     throws java.io.IOException,
                                            AutomationException
getGlobalIDPropName

Specified by:
getGlobalIDPropName in interface IDataObjectTable
Returns:
The propName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasAttachments

public boolean isHasAttachments()
                         throws java.io.IOException,
                                AutomationException
Indicates if the table/ layer has attachments.

Specified by:
isHasAttachments in interface IDataObjectTable
Returns:
The hasAttachments
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHTMLPopupType

public int getHTMLPopupType()
                     throws java.io.IOException,
                            AutomationException
Indicates if the layer/table has HTML popups enabled.

Specified by:
getHTMLPopupType in interface IDataObjectTable
Returns:
A com.esri.arcgis.carto.esriServerHTMLPopupType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getID

public int getID()
          throws java.io.IOException,
                 AutomationException
getID

Specified by:
getID in interface IDataObjectTable
Returns:
The iD
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
getName

Specified by:
getName in interface IDataObjectTable
Returns:
The pName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOIDPropName

public java.lang.String getOIDPropName()
                                throws java.io.IOException,
                                       AutomationException
getOIDPropName

Specified by:
getOIDPropName in interface IDataObjectTable
Returns:
The propName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPropertyInfos

public IPropertyInfos getPropertyInfos()
                                throws java.io.IOException,
                                       AutomationException
getPropertyInfos

Specified by:
getPropertyInfos in interface IDataObjectTable
Returns:
A reference to a com.esri.arcgis.carto.IPropertyInfos
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelations

public IRelateInfos getRelations()
                          throws java.io.IOException,
                                 AutomationException
getRelations

Specified by:
getRelations in interface IDataObjectTable
Returns:
A reference to a com.esri.arcgis.carto.IRelateInfos
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTemplates

public ITemplateInfos getTemplates()
                            throws java.io.IOException,
                                   AutomationException
Feature Templates.

Specified by:
getTemplates in interface IDataObjectTable
Returns:
A reference to a com.esri.arcgis.carto.ITemplateInfos
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTypeIDPropName

public java.lang.String getTypeIDPropName()
                                   throws java.io.IOException,
                                          AutomationException
getTypeIDPropName

Specified by:
getTypeIDPropName in interface IDataObjectTable
Returns:
The propName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTypes

public IDataObjectTypes getTypes()
                          throws java.io.IOException,
                                 AutomationException
getTypes

Specified by:
getTypes in interface IDataObjectTable
Returns:
A reference to a com.esri.arcgis.carto.IDataObjectTypes
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSupportsTime

public boolean isSupportsTime()
                       throws java.io.IOException,
                              AutomationException
Indicates whether the table supports time.

Specified by:
isSupportsTime in interface IMapTableTimeInfo
Returns:
The supports
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStartTimeFieldName

public java.lang.String getStartTimeFieldName()
                                       throws java.io.IOException,
                                              AutomationException
Name of the field that has start time or time instant for a table.

Specified by:
getStartTimeFieldName in interface IMapTableTimeInfo
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEndTimeFieldName

public java.lang.String getEndTimeFieldName()
                                     throws java.io.IOException,
                                            AutomationException
End time field for the table.

Specified by:
getEndTimeFieldName in interface IMapTableTimeInfo
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTimeValueFormat

public java.lang.String getTimeValueFormat()
                                    throws java.io.IOException,
                                           AutomationException
Time field(s) values format.

Specified by:
getTimeValueFormat in interface IMapTableTimeInfo
Returns:
The format
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTrackIDFieldName

public java.lang.String getTrackIDFieldName()
                                     throws java.io.IOException,
                                            AutomationException
Field that identifies or groups unique objects for which time values are recorded in a table.

Specified by:
getTrackIDFieldName in interface IMapTableTimeInfo
Returns:
The trackIDFieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTimeReference

public ITimeReference getTimeReference()
                                throws java.io.IOException,
                                       AutomationException
Native TimeReference of the contents of the table.

Specified by:
getTimeReference in interface IMapTableTimeInfo
Returns:
A reference to a com.esri.arcgis.system.ITimeReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFullTimeExtent

public ITimeExtent getFullTimeExtent()
                              throws java.io.IOException,
                                     AutomationException
The time extent for all the data in the table.

Specified by:
getFullTimeExtent in interface IMapTableTimeInfo
Returns:
A reference to a com.esri.arcgis.system.ITimeExtent
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTimeInterval

public double getTimeInterval()
                       throws java.io.IOException,
                              AutomationException
Suggested draw time interval for refreshing the table contents.

Specified by:
getTimeInterval in interface IMapTableTimeInfo
Returns:
The interval
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTimeIntervalUnits

public int getTimeIntervalUnits()
                         throws java.io.IOException,
                                AutomationException
Draw time interval units.

Specified by:
getTimeIntervalUnits in interface IMapTableTimeInfo
Returns:
A com.esri.arcgis.system.esriTimeUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serialize

public void serialize(IXMLSerializeData data)
               throws java.io.IOException,
                      AutomationException
Serializes an object to XML.

Specified by:
serialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deserialize

public void deserialize(IXMLSerializeData data)
                 throws java.io.IOException,
                        AutomationException
Deserializes an object from XML.

Specified by:
deserialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
isDirty

Specified by:
isDirty in interface IPersistStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
load

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
save

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
getSizeMax

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
getClassID

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinNamespaceSupported

public java.lang.String getMinNamespaceSupported()
                                          throws java.io.IOException,
                                                 AutomationException
The minimum namespace the class can serialize to (eg the 90 namespace).

Specified by:
getMinNamespaceSupported in interface IXMLVersionSupport
Returns:
The namespaceURI
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException