|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.ACFeatureLayer
public class ACFeatureLayer
ArcIMS layer for displaying features.
Constructor Summary | |
---|---|
ACFeatureLayer()
Constructs a ACFeatureLayer using ArcGIS Engine. |
|
ACFeatureLayer(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ACFeatureLayer theACFeatureLayer = (ACFeatureLayer) obj; |
Method Summary | |
---|---|
void |
connect(String layerInfo,
IIMSAxlRequest request,
ISpatialReference spatialRef,
int mapUnits,
IFeatureClass featureClass)
Connects to the feature layer. |
boolean |
equals(Object o)
Compare this object with another |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getDisplayField()
The primary display field. |
IEnvelope |
getExtent()
The extent of the layer. |
IFeatureClass |
getFeatureClass()
The layer's feature class. |
int |
getGeometryType()
The type of the Shape for the features in the layer. |
String |
getID()
The layer id. |
Object |
getLayerDefAxl()
The layer def axl. |
double |
getMaxScale()
Maximum scale at which the layer will display. |
double |
getMinScale()
Minimum scale at which the layer will display. |
String |
getName()
The layer name. |
ISpatialReference |
getNativeSpatialReference()
The native spatial reference of the data. |
String |
getOriginalName()
The name of the layer that the ArcIMS Server hands out. |
String |
getParentLayerID()
The parent layer id. |
IACRenderer |
getRenderer()
Renderer used to draw the layer. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
String |
getXMLLayerInfo()
The XML LayerInfo. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isDisplayAnnotation()
Indicates if the layer displays annotation. |
boolean |
isHasLabels()
Indicates if the layer has labels. |
boolean |
isVisible()
Indicates if the layer is currently visible. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setDisplayAnnotation(boolean flag)
Indicates if the layer displays annotation. |
void |
setDisplayField(String fieldName)
The primary display field. |
void |
setID(String iD)
The layer id. |
void |
setMaxScale(double scale)
Maximum scale at which the layer will display. |
void |
setMinScale(double scale)
Minimum scale at which the layer will display. |
void |
setName(String name)
The layer name. |
void |
setOriginalName(String name)
The name of the layer that the ArcIMS Server hands out. |
void |
setParentLayerID(String iD)
The parent layer id. |
void |
setRendererByRef(IACRenderer renderer)
Renderer used to draw the layer. |
void |
setVisible(boolean visible)
Indicates if the layer is currently visible. |
void |
writeExternal(ObjectOutput out)
|
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 ACFeatureLayer() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ACFeatureLayer(Object obj) throws IOException
ACFeatureLayer theACFeatureLayer = (ACFeatureLayer) obj;
obj
to ACFeatureLayer
.
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 getName() throws IOException, AutomationException
getName
in interface IACLayer
getName
in interface IACLayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String name) throws IOException, AutomationException
setName
in interface IACLayer
setName
in interface IACLayer2
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getOriginalName() throws IOException, AutomationException
getOriginalName
in interface IACLayer
getOriginalName
in interface IACLayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOriginalName(String name) throws IOException, AutomationException
setOriginalName
in interface IACLayer
setOriginalName
in interface IACLayer2
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getID() throws IOException, AutomationException
getID
in interface IACLayer
getID
in interface IACLayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setID(String iD) throws IOException, AutomationException
setID
in interface IACLayer
setID
in interface IACLayer2
iD
- The iD (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isVisible() throws IOException, AutomationException
isVisible
in interface IACLayer
isVisible
in interface IACLayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVisible(boolean visible) throws IOException, AutomationException
setVisible
in interface IACLayer
setVisible
in interface IACLayer2
visible
- The visible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMinScale() throws IOException, AutomationException
getMinScale
in interface IACLayer
getMinScale
in interface IACLayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMinScale(double scale) throws IOException, AutomationException
setMinScale
in interface IACLayer
setMinScale
in interface IACLayer2
scale
- The scale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMaxScale() throws IOException, AutomationException
getMaxScale
in interface IACLayer
getMaxScale
in interface IACLayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxScale(double scale) throws IOException, AutomationException
setMaxScale
in interface IACLayer
setMaxScale
in interface IACLayer2
scale
- The scale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getLayerDefAxl() throws IOException, AutomationException
getLayerDefAxl
in interface IACLayer
getLayerDefAxl
in interface IACLayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getExtent() throws IOException, AutomationException
getExtent
in interface IACLayer
getExtent
in interface IACLayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getNativeSpatialReference() throws IOException, AutomationException
getNativeSpatialReference
in interface IACLayer
getNativeSpatialReference
in interface IACLayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getXMLLayerInfo() throws IOException, AutomationException
getXMLLayerInfo
in interface IACLayerAdmin
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IACRenderer getRenderer() throws IOException, AutomationException
getRenderer
in interface IACFeatureLayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRendererByRef(IACRenderer renderer) throws IOException, AutomationException
setRendererByRef
in interface IACFeatureLayer
renderer
- A reference to a com.esri.arcgis.carto.IACRenderer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getGeometryType() throws IOException, AutomationException
getGeometryType
in interface IACFeatureLayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeatureClass getFeatureClass() throws IOException, AutomationException
getFeatureClass
in interface IACFeatureLayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDisplayField() throws IOException, AutomationException
getDisplayField
in interface IACFeatureLayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisplayField(String fieldName) throws IOException, AutomationException
setDisplayField
in interface IACFeatureLayer
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasLabels() throws IOException, AutomationException
isHasLabels
in interface IACFeatureLayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDisplayAnnotation() throws IOException, AutomationException
isDisplayAnnotation
in interface IACFeatureLayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisplayAnnotation(boolean flag) throws IOException, AutomationException
setDisplayAnnotation
in interface IACFeatureLayer
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void connect(String layerInfo, IIMSAxlRequest request, ISpatialReference spatialRef, int mapUnits, IFeatureClass featureClass) throws IOException, AutomationException
connect
in interface IACFeatureLayerAdmin
layerInfo
- The layerInfo (in)request
- A reference to a com.esri.arcgis.gisclient.IIMSAxlRequest (in)spatialRef
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)mapUnits
- A com.esri.arcgis.gisclient.acMapUnits constant (in)featureClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getParentLayerID() throws IOException, AutomationException
getParentLayerID
in interface IACLayer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setParentLayerID(String iD) throws IOException, AutomationException
setParentLayerID
in interface IACLayer2
iD
- The iD (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |