public class LayerDescription extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ILayerDescription, IMapTableDescription, IMapTableTimeDescription, IXMLSerialize, IPersistStream, IPersist, java.io.Externalizable
Description 'The Layer Description coclass contains settings of 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, IIDf763bdbe_8ef9_4da8_9628_dbe8ee4eb6de, xxDummy
IID, IIDdba8935b_8fa9_49bd_80a7_061d5f0295aa, xxDummy
IID, IID7ae9366e_4894_43a6_96ba_3abc58294058, xxDummy
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
Constructor and Description |
---|
LayerDescription()
Constructs a LayerDescription using ArcGIS Engine.
|
LayerDescription(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
LayerDescription theLayerDescription = (LayerDescription) 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.
|
java.lang.String |
getDefinitionExpression()
The definition expression for the layer.
|
int |
getID()
The layer ID.
|
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.
|
ILayerResultOptions |
getLayerResultOptions()
Indicate whether to include and/or modify Geometry.
|
double |
getSelectionBufferDistance()
The selection buffer distance.
|
IFIDSet |
getSelectionFeatures()
Array of selected features.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
java.lang.String |
getSourceID()
The id of the data source to connect to.
|
double |
getTimeOffset()
Draw time offset to overlay the data on a earlier or later time span.
|
int |
getTimeOffsetUnits()
Draw time offset units.
|
int |
hashCode()
the hashcode for this object
|
void |
isDirty()
isDirty
|
boolean |
isScaleSymbols()
Indicates whether the layer should scale its symbols according to the reference scale.
|
boolean |
isShowLabels()
Indicates whether the layer should display its dynamic labels.
|
boolean |
isShowSelectionBuffer()
Indicates whether the selection buffer should be displayed.
|
boolean |
isTimeDataCumulative()
Draw the data cumulatively from the first instance of time in data as time progresses.
|
boolean |
isUseTime()
Indicates whether use time for display.
|
boolean |
isVisible()
Indicates whether the layer is visible as defined in the TOC (i.e.
|
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 |
setDefinitionExpression(java.lang.String expression)
The definition expression for the layer.
|
void |
setID(int layerID)
The layer ID.
|
void |
setLayerResultOptionsByRef(ILayerResultOptions layerResultOptions)
Indicate whether to include and/or modify Geometry.
|
void |
setScaleSymbols(boolean scale)
Indicates whether the layer should scale its symbols according to the reference scale.
|
void |
setSelectionBufferDistance(double distance)
The selection buffer distance.
|
void |
setSelectionFeatures(IFIDSet featureIDs)
Array of selected features.
|
void |
setShowLabels(boolean show)
Indicates whether the layer should display its dynamic labels.
|
void |
setShowSelectionBuffer(boolean show)
Indicates whether the selection buffer should be displayed.
|
void |
setSourceID(java.lang.String srcID)
The id of the data source to connect to.
|
void |
setTimeDataCumulative(boolean drawCumilative)
Draw the data cumulatively from the first instance of time in data as time progresses.
|
void |
setTimeOffset(double offset)
Draw time offset to overlay the data on a earlier or later time span.
|
void |
setTimeOffsetUnits(int offsetUnits)
Draw time offset units.
|
void |
setUseTime(boolean useTime)
Indicates whether use time for display.
|
void |
setVisible(boolean visible)
Indicates whether the layer is visible as defined in the TOC (i.e.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public LayerDescription() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic LayerDescription(java.lang.Object obj) throws java.io.IOException
LayerDescription theLayerDescription = (LayerDescription) obj;
obj
to LayerDescription
.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 ILayerDescription
getID
in interface IMapTableDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setID(int layerID) throws java.io.IOException, AutomationException
setID
in interface ILayerDescription
setID
in interface IMapTableDescription
layerID
- The layerID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isVisible() throws java.io.IOException, AutomationException
isVisible
in interface ILayerDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setVisible(boolean visible) throws java.io.IOException, AutomationException
setVisible
in interface ILayerDescription
visible
- The visible (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isScaleSymbols() throws java.io.IOException, AutomationException
isScaleSymbols
in interface ILayerDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setScaleSymbols(boolean scale) throws java.io.IOException, AutomationException
setScaleSymbols
in interface ILayerDescription
scale
- The scale (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isShowLabels() throws java.io.IOException, AutomationException
isShowLabels
in interface ILayerDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setShowLabels(boolean show) throws java.io.IOException, AutomationException
setShowLabels
in interface ILayerDescription
show
- The show (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IFIDSet getSelectionFeatures() throws java.io.IOException, AutomationException
getSelectionFeatures
in interface ILayerDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSelectionFeatures(IFIDSet featureIDs) throws java.io.IOException, AutomationException
setSelectionFeatures
in interface ILayerDescription
featureIDs
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getSelectionBufferDistance() throws java.io.IOException, AutomationException
getSelectionBufferDistance
in interface ILayerDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSelectionBufferDistance(double distance) throws java.io.IOException, AutomationException
setSelectionBufferDistance
in interface ILayerDescription
distance
- The distance (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isShowSelectionBuffer() throws java.io.IOException, AutomationException
isShowSelectionBuffer
in interface ILayerDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setShowSelectionBuffer(boolean show) throws java.io.IOException, AutomationException
setShowSelectionBuffer
in interface ILayerDescription
show
- The show (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDefinitionExpression() throws java.io.IOException, AutomationException
getDefinitionExpression
in interface ILayerDescription
getDefinitionExpression
in interface IMapTableDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDefinitionExpression(java.lang.String expression) throws java.io.IOException, AutomationException
setDefinitionExpression
in interface ILayerDescription
setDefinitionExpression
in interface IMapTableDescription
expression
- The expression (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setLayerResultOptionsByRef(ILayerResultOptions layerResultOptions) throws java.io.IOException, AutomationException
setLayerResultOptionsByRef
in interface ILayerDescription
layerResultOptions
- A reference to a com.esri.arcgis.carto.ILayerResultOptions (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ILayerResultOptions getLayerResultOptions() throws java.io.IOException, AutomationException
getLayerResultOptions
in interface ILayerDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSourceID() throws java.io.IOException, AutomationException
getSourceID
in interface IMapTableDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSourceID(java.lang.String srcID) throws java.io.IOException, AutomationException
setSourceID
in interface IMapTableDescription
srcID
- The srcID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isUseTime() throws java.io.IOException, AutomationException
isUseTime
in interface IMapTableTimeDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setUseTime(boolean useTime) throws java.io.IOException, AutomationException
setUseTime
in interface IMapTableTimeDescription
useTime
- The useTime (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isTimeDataCumulative() throws java.io.IOException, AutomationException
isTimeDataCumulative
in interface IMapTableTimeDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTimeDataCumulative(boolean drawCumilative) throws java.io.IOException, AutomationException
setTimeDataCumulative
in interface IMapTableTimeDescription
drawCumilative
- The drawCumilative (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getTimeOffset() throws java.io.IOException, AutomationException
getTimeOffset
in interface IMapTableTimeDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTimeOffset(double offset) throws java.io.IOException, AutomationException
setTimeOffset
in interface IMapTableTimeDescription
offset
- The offset (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getTimeOffsetUnits() throws java.io.IOException, AutomationException
getTimeOffsetUnits
in interface IMapTableTimeDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTimeOffsetUnits(int offsetUnits) throws java.io.IOException, AutomationException
setTimeOffsetUnits
in interface IMapTableTimeDescription
offsetUnits
- A com.esri.arcgis.system.esriTimeUnits constant (in)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 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