|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.controls.ARLayer
public class ARLayer
ARLayer object.
| Constructor Summary | |
|---|---|
ARLayer(Object obj)
Construct a ARLayer using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
int |
getARLayerCount()
The number of child layers in a group layer. |
IARLayer |
getChildARLayer(int index)
The child layer at the specifid index of a group layer. |
Object |
getCustomProperty()
A property to associate data with an object. |
String |
getDescription()
The description of the layer. |
void |
getExtent(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
The extent of the data within the layer. |
Object |
getInternalObject()
The internal ArcObjects ILayer object. |
double |
getMaximumScale()
Maximum scale (representative fraction) at which the layer will display. |
double |
getMinimumScale()
Minimum scale (representative fraction) at which the layer will display. |
String |
getName()
The name of the layer. |
String |
getType()
The description of the type of layer. |
int |
hashCode()
the hashcode for this object |
boolean |
isCached()
Indicates if the layer has its own display cache. |
boolean |
isGroupLayer()
Indicates if the layer is a group of layers behaving like a single layer. |
boolean |
isHyperlinks()
Indicates if the layer contains hyperlinks. |
boolean |
isSearchable()
Indicates if the layer is searchable (only feature layers are searchable). |
boolean |
isVisible()
Indicates if the layer is currently visible. |
IARFeatureSet |
queryARFeatures(IARSearchDef pSearchDef)
Searches the layer using a search definition and returns an ARFeatureSet. |
IARFeatureCursor |
searchARFeatures(IARSearchDef pSearchDef)
Searches the layer using a search definition and returns an ARFeatureCursor. |
void |
setCustomProperty(Object pVal)
A property to associate data with an object. |
void |
setVisible(boolean visible)
Indicates if the layer is currently visible. |
| 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 ARLayer(Object obj)
throws IOException
obj to ARLayer. *
ARLayer o = (ARLayer)obj; // will not work
ARLayer o = new ARLayer(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
ARLayer theARLayer = (ARLayer) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getName()
throws IOException,
AutomationException
getName in interface IARLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHyperlinks()
throws IOException,
AutomationException
isHyperlinks in interface IARLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVisible(boolean visible)
throws IOException,
AutomationException
setVisible in interface IARLayervisible - The visible (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isVisible()
throws IOException,
AutomationException
isVisible in interface IARLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMaximumScale()
throws IOException,
AutomationException
getMaximumScale in interface IARLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMinimumScale()
throws IOException,
AutomationException
getMinimumScale in interface IARLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCached()
throws IOException,
AutomationException
isCached in interface IARLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isGroupLayer()
throws IOException,
AutomationException
isGroupLayer in interface IARLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getARLayerCount()
throws IOException,
AutomationException
getARLayerCount in interface IARLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARLayer getChildARLayer(int index)
throws IOException,
AutomationException
getChildARLayer in interface IARLayerindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARFeatureCursor searchARFeatures(IARSearchDef pSearchDef)
throws IOException,
AutomationException
searchARFeatures in interface IARLayerpSearchDef - A reference to a com.esri.arcgis.controls.IARSearchDef (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDescription()
throws IOException,
AutomationException
getDescription in interface IARLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSearchable()
throws IOException,
AutomationException
isSearchable in interface IARLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getInternalObject()
throws IOException,
AutomationException
getInternalObject in interface IARLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getExtent(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
throws IOException,
AutomationException
getExtent in interface IARLayerxMin - The xMin (in/out: use single element array)yMin - The yMin (in/out: use single element array)xMax - The xMax (in/out: use single element array)yMax - The yMax (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getCustomProperty()
throws IOException,
AutomationException
getCustomProperty in interface IARLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomProperty(Object pVal)
throws IOException,
AutomationException
setCustomProperty in interface IARLayerpVal - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getType()
throws IOException,
AutomationException
getType in interface IARLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARFeatureSet queryARFeatures(IARSearchDef pSearchDef)
throws IOException,
AutomationException
queryARFeatures in interface IARLayerpSearchDef - A reference to a com.esri.arcgis.controls.IARSearchDef (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 | ||||||||