|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.LayerDescriptor
public class LayerDescriptor
The Layer Descriptor coclass contains a description of a layer in a map.
Constructor Summary | |
---|---|
LayerDescriptor()
Constructs a LayerDescriptor using ArcGIS Engine. |
|
LayerDescriptor(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. LayerDescriptor theLayerDescriptor = (LayerDescriptor) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
String |
getDefinitionExpression()
The definition expression for the layer. |
int |
getID()
The layer ID. |
String |
getName()
The name of the layer. |
double |
getSelectionBufferDistance()
The selection buffer distance. |
short |
getTransparency()
The transparency of the layer. |
int |
hashCode()
the hashcode for this object |
boolean |
isShowLabels()
Indicates whether the layer should display its dynamic labels. |
boolean |
isShowSelectionBuffer()
Indicates whether the selection buffer should be displayed. |
boolean |
isVisible()
Indicates whether the layer is visible. |
void |
setDefinitionExpression(String expression)
The definition expression for the layer. |
void |
setID(int layerID)
The layer ID. |
void |
setSelectionBufferDistance(double distance)
The selection buffer distance. |
void |
setSelectionFilters(IArray rhs1)
The selection filter for the layer. |
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 |
setTransparency(short alphaValue)
The transparency of the layer. |
void |
setVisible(boolean visible)
Indicates whether the layer is 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 LayerDescriptor() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic LayerDescriptor(Object obj) throws IOException
LayerDescriptor theLayerDescriptor = (LayerDescriptor) obj;
obj
to LayerDescriptor
.
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 int getID() throws IOException, AutomationException
getID
in interface ILayerDescriptor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setID(int layerID) throws IOException, AutomationException
setID
in interface ILayerDescriptor
layerID
- The layerID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface ILayerDescriptor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isVisible() throws IOException, AutomationException
isVisible
in interface ILayerDescriptor
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 ILayerDescriptor
visible
- The visible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowLabels() throws IOException, AutomationException
isShowLabels
in interface ILayerDescriptor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowLabels(boolean show) throws IOException, AutomationException
setShowLabels
in interface ILayerDescriptor
show
- The show (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getTransparency() throws IOException, AutomationException
getTransparency
in interface ILayerDescriptor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTransparency(short alphaValue) throws IOException, AutomationException
setTransparency
in interface ILayerDescriptor
alphaValue
- The alphaValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSelectionFilters(IArray rhs1) throws IOException, AutomationException
setSelectionFilters
in interface ILayerDescriptor
rhs1
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSelectionBufferDistance() throws IOException, AutomationException
getSelectionBufferDistance
in interface ILayerDescriptor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSelectionBufferDistance(double distance) throws IOException, AutomationException
setSelectionBufferDistance
in interface ILayerDescriptor
distance
- The distance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowSelectionBuffer() throws IOException, AutomationException
isShowSelectionBuffer
in interface ILayerDescriptor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowSelectionBuffer(boolean show) throws IOException, AutomationException
setShowSelectionBuffer
in interface ILayerDescriptor
show
- The show (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDefinitionExpression() throws IOException, AutomationException
getDefinitionExpression
in interface ILayerDescriptor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefinitionExpression(String expression) throws IOException, AutomationException
setDefinitionExpression
in interface ILayerDescriptor
expression
- The expression (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 |