public class MapLayerInfo extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IMapLayerInfo, IXMLSerialize, IPersistStream, IPersist, IMapTableInfo, IMapTableInfo2, IMapTableTimeInfo, java.io.Externalizable
Description 'The Map Layer Info coclass provides read-only information about a layer in a map.' 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 =
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
IID, IIDca469c38_c9e4_4dc3_9c32_86aef3b33df2, xxDummy
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
IID, IID08ab1be0_d464_4882_a721_d72fbb36903a, xxDummy
IID, IID2a3baaea_f8ff_4bf2_9515_d64077644aa2, xxDummy
IID, IID3bb80bf2_3e29_4b85_b6d6_551abe327eaf, xxDummy
Constructor and Description |
---|
MapLayerInfo()
Constructs a MapLayerInfo using ArcGIS Engine.
|
MapLayerInfo(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
MapLayerInfo theMapLayerInfo = (MapLayerInfo) obj; |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
getDefinitionExpression(java.lang.String[] definitionExpression)
Returns the original definition expression on the layer.
|
java.lang.String |
getDescription()
The description of the layer.
|
java.lang.String |
getDisplayField()
Primary display field.
|
java.lang.String |
getEndTimeFieldName()
End time field for the table.
|
IEnvelope |
getExtent()
The geographic extent of the layer.
|
IStringArray |
getFieldAliases()
Array of strings that contains field alias for each field in Fields property.
|
IFields |
getFields()
Array of attribute fields contained in the layer.
|
ITimeExtent |
getFullTimeExtent()
The time extent for all the data in the table.
|
int |
getHTMLPopupType()
Indicates if the layer has HTML popups enabled.
|
int |
getID()
The layer identifier.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
double |
getMaxScale()
The maximum visible scale for the layer.
|
double |
getMinScale()
The minimum visible scale for the layer.
|
java.lang.String |
getName()
The name of the layer.
|
java.lang.String |
getOIDFieldName()
The name of the OID Field.
|
int |
getParentLayerID()
If the layer is a member of a composite layer, this property identifies the parent layer.
|
IRelateInfos |
getRelateInfos()
Array of relates associated to the table.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
java.lang.String |
getSourceDescription()
The description of the source information for the layer.
|
java.lang.String |
getStartTimeFieldName()
Name of the field that has start time or time instant for a table.
|
ILongArray |
getSubLayers()
The list identifying the sublayers if the layer is a composite layer.
|
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 |
getType()
The layer type.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isCanFind()
Indicates if the layer supports the Find operation.
|
boolean |
isCanIdentify()
Indicates if the layer supports the Identify operation.
|
boolean |
isCanScaleSymbols()
Indicates if the layer supports symbol scaling.
|
boolean |
isCanSelect()
Indicates if the layer supports feature selection.
|
boolean |
isComposite()
Indicates if the layer is a composite layer.
|
void |
isDirty()
isDirty
|
boolean |
isFeatureLayer()
Indicates if the layer is a feature layer.
|
boolean |
isHasAttachments()
Indicates if the layer has attachments.
|
boolean |
isHasAttributes()
Indicates if the layer has attributes.
|
boolean |
isHasHyperlinks()
Indicates if the layer has hyperlinks.
|
boolean |
isHasLabels()
Indicates if the layer has labels to turn on and off.
|
boolean |
isHasSubtype()
Indicates if the layer has Subtype.
|
boolean |
isSupportsAdvancedQueries()
Indicates if the table supports calculating advanced queries (i.e.
|
boolean |
isSupportsStatistics()
Indicates if the table supports calculating statistics on its fields.
|
boolean |
isSupportsTime()
Indicates whether the table supports time.
|
void |
load(IStream pstm)
load
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public MapLayerInfo() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic MapLayerInfo(java.lang.Object obj) throws java.io.IOException
MapLayerInfo theMapLayerInfo = (MapLayerInfo) obj;
obj
to MapLayerInfo
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public int getID() throws java.io.IOException, AutomationException
getID
in interface IMapLayerInfo
getID
in interface IMapTableInfo
getID
in interface IMapTableInfo2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IMapLayerInfo
getName
in interface IMapTableInfo
getName
in interface IMapTableInfo2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDescription() throws java.io.IOException, AutomationException
getDescription
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getType() throws java.io.IOException, AutomationException
getType
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSourceDescription() throws java.io.IOException, AutomationException
getSourceDescription
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isHasLabels() throws java.io.IOException, AutomationException
isHasLabels
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCanSelect() throws java.io.IOException, AutomationException
isCanSelect
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCanScaleSymbols() throws java.io.IOException, AutomationException
isCanScaleSymbols
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCanIdentify() throws java.io.IOException, AutomationException
isCanIdentify
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCanFind() throws java.io.IOException, AutomationException
isCanFind
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isFeatureLayer() throws java.io.IOException, AutomationException
isFeatureLayer
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getMinScale() throws java.io.IOException, AutomationException
getMinScale
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getMaxScale() throws java.io.IOException, AutomationException
getMaxScale
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnvelope getExtent() throws java.io.IOException, AutomationException
getExtent
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isHasHyperlinks() throws java.io.IOException, AutomationException
isHasHyperlinks
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isHasAttributes() throws java.io.IOException, AutomationException
isHasAttributes
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IFields getFields() throws java.io.IOException, AutomationException
getFields
in interface IMapLayerInfo
getFields
in interface IMapTableInfo
getFields
in interface IMapTableInfo2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDisplayField() throws java.io.IOException, AutomationException
getDisplayField
in interface IMapLayerInfo
getDisplayField
in interface IMapTableInfo
getDisplayField
in interface IMapTableInfo2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isComposite() throws java.io.IOException, AutomationException
isComposite
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ILongArray getSubLayers() throws java.io.IOException, AutomationException
getSubLayers
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getParentLayerID() throws java.io.IOException, AutomationException
getParentLayerID
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IStringArray getFieldAliases() throws java.io.IOException, AutomationException
getFieldAliases
in interface IMapLayerInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IRelateInfos getRelateInfos() throws java.io.IOException, AutomationException
getRelateInfos
in interface IMapTableInfo
getRelateInfos
in interface IMapTableInfo2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isHasAttachments() throws java.io.IOException, AutomationException
isHasAttachments
in interface IMapTableInfo
isHasAttachments
in interface IMapTableInfo2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getHTMLPopupType() throws java.io.IOException, AutomationException
getHTMLPopupType
in interface IMapTableInfo
getHTMLPopupType
in interface IMapTableInfo2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getOIDFieldName() throws java.io.IOException, AutomationException
getOIDFieldName
in interface IMapTableInfo
getOIDFieldName
in interface IMapTableInfo2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isHasSubtype() throws java.io.IOException, AutomationException
isHasSubtype
in interface IMapTableInfo
isHasSubtype
in interface IMapTableInfo2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isSupportsStatistics() throws java.io.IOException, AutomationException
isSupportsStatistics
in interface IMapTableInfo2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isSupportsAdvancedQueries() throws java.io.IOException, AutomationException
isSupportsAdvancedQueries
in interface IMapTableInfo2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getDefinitionExpression(java.lang.String[] definitionExpression) throws java.io.IOException, AutomationException
getDefinitionExpression
in interface IMapTableInfo2
definitionExpression
- The definitionExpression (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isSupportsTime() throws java.io.IOException, AutomationException
isSupportsTime
in interface IMapTableTimeInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getStartTimeFieldName() throws java.io.IOException, AutomationException
getStartTimeFieldName
in interface IMapTableTimeInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getEndTimeFieldName() throws java.io.IOException, AutomationException
getEndTimeFieldName
in interface IMapTableTimeInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getTimeValueFormat() throws java.io.IOException, AutomationException
getTimeValueFormat
in interface IMapTableTimeInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getTrackIDFieldName() throws java.io.IOException, AutomationException
getTrackIDFieldName
in interface IMapTableTimeInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ITimeReference getTimeReference() throws java.io.IOException, AutomationException
getTimeReference
in interface IMapTableTimeInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ITimeExtent getFullTimeExtent() throws java.io.IOException, AutomationException
getFullTimeExtent
in interface IMapTableTimeInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getTimeInterval() throws java.io.IOException, AutomationException
getTimeInterval
in interface IMapTableTimeInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getTimeIntervalUnits() throws java.io.IOException, AutomationException
getTimeIntervalUnits
in interface IMapTableTimeInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException