|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.carto.IMapServerSublayerProxy
public class IMapServerSublayerProxy
Provides access to the available properties of a map server sublayer object.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IMapServerSublayerProxy()
|
|
IMapServerSublayerProxy(Object obj)
|
protected |
IMapServerSublayerProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
ILayerDescription |
getLayerDescription()
The layer description. |
boolean |
isHasLabels()
Indicates if the layer has labels to turn on and off. |
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. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setScaleSymbols(boolean scaleSymbols)
Indicates whether the layer should scale its symbols according to the reference scale. |
void |
setShowLabels(boolean show)
Indicates whether the layer should display its dynamic labels. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IMapServerSublayerProxy()
public IMapServerSublayerProxy(Object obj) throws IOException
IOException
protected IMapServerSublayerProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public boolean isHasLabels() throws IOException, AutomationException
isHasLabels
in interface IMapServerSublayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowLabels() throws IOException, AutomationException
This only applies to layers where the property HasLabels on IMapServerSubLayer is TRUE. This means that the layer's labels must be "on" in the original map document.
isShowLabels
in interface IMapServerSublayer
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 IMapServerSublayer
show
- The show (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isScaleSymbols() throws IOException, AutomationException
A reference scale set for a map containing a Map Server object will have no effect on Map Server layer symbology. In order for symbols to scale, the originial map document on which the Map Server object is based must have a reference scale set. The Map layer must also support symbol scaling. If both these conditions are true, use ScaleSymbols to activate or deactivate a Map Server Sublayer's symbol scaling.
isScaleSymbols
in interface IMapServerSublayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setScaleSymbols(boolean scaleSymbols) throws IOException, AutomationException
setScaleSymbols
in interface IMapServerSublayer
scaleSymbols
- The scaleSymbols (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayerDescription getLayerDescription() throws IOException, AutomationException
Use LayerDescription to access properties of ILayerDescription. The ID value may not match the Layer index value on ICompositeLayer or ICompositeLayer2. This is because the count on ICompositeLayer or ICompositeLayer2 does not include members of composite layers embedded within the MapServerSublayer. Only the parent layer is counted.
MapServerSubLayer does not support the ILayerDescription properties ScaleSymbols, ShowLabels and Visible. ScaleSymbols and ShowLabels can be accessed via IMapServerSubLayer. The property controlling a MapServerSubLayers visibility, Visible, can be accessed via ILayer.
The ILayerDescription properties SelectionFeatures, SelectionColor, SelectionSymbol, SetSelectionSymbol, SelectionBufferDistance and ShowSelectionBuffer can be used to select and buffer (euclidean buffer) features of a Map Server SubLayer.
getLayerDescription
in interface IMapServerSublayer
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 |