|
|||||||||
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.ILayerEffectsProxy
public class ILayerEffectsProxy
Provides access to members that control layer effects.
Use
this interface to changes brightness, contrast, and transparency
for a layer. The controls on the Effects toolbar in ArcMap
utilize this interface. Not all layers support all layer effects.
For example, FeatureLayer objects only support
transparency, while RasterLayer
objects support all effects. Before you attempt to change
a layer effect, you should check to see if the layer supports the
effect. Use SupportsBrightnessChange,
SupportsContrastChange, and
SupportsTransparency for this.
The display settings on your computer must be set to
True Color for layer effects to work
correctly.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ILayerEffectsProxy()
|
|
ILayerEffectsProxy(Object obj)
|
protected |
ILayerEffectsProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
short |
getBrightness()
Layer brightness in percent (-100 - 100). |
short |
getContrast()
Layer contrast in percent (-100 - 100). |
short |
getTransparency()
Layer transparency in percent (0-100). |
boolean |
isSupportsBrightnessChange()
Indicates if the layer supports brightness changes. |
boolean |
isSupportsContrastChange()
Indicates if the layer supports contrast changes. |
boolean |
isSupportsInteractive()
Indicates if the layer supports interactive effects changes. |
boolean |
isSupportsTransparency()
Indicates if the layer supports transparency. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setBrightness(short brightnessValue)
Layer brightness in percent (-100 - 100). |
void |
setContrast(short contrastValue)
Layer contrast in percent (-100 - 100). |
void |
setSupportsInteractive(boolean supported)
Indicates if the layer supports interactive effects changes. |
void |
setTransparency(short alpha)
Layer transparency in percent (0-100). |
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 ILayerEffectsProxy()
public ILayerEffectsProxy(Object obj) throws IOException
IOException
protected ILayerEffectsProxy(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 isSupportsTransparency() throws IOException, AutomationException
isSupportsTransparency
in interface ILayerEffects
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSupportsContrastChange() throws IOException, AutomationException
isSupportsContrastChange
in interface ILayerEffects
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSupportsBrightnessChange() throws IOException, AutomationException
isSupportsBrightnessChange
in interface ILayerEffects
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSupportsInteractive(boolean supported) throws IOException, AutomationException
setSupportsInteractive
in interface ILayerEffects
supported
- The supported (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSupportsInteractive() throws IOException, AutomationException
isSupportsInteractive
in interface ILayerEffects
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getTransparency() throws IOException, AutomationException
When
you set Transparency for a
FeatureLayer, a
TransparencyDisplayFilter is created and applied
to the layer. You can accomplish the same effect by manually
creating a new TransparencyDisplayFilter using IDisplayFilter, and
then assigning it to a layer using
IDisplayFilterManager.
getTransparency
in interface ILayerEffects
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTransparency(short alpha) throws IOException, AutomationException
setTransparency
in interface ILayerEffects
alpha
- The alpha (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getContrast() throws IOException, AutomationException
getContrast
in interface ILayerEffects
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setContrast(short contrastValue) throws IOException, AutomationException
setContrast
in interface ILayerEffects
contrastValue
- The contrastValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getBrightness() throws IOException, AutomationException
getBrightness
in interface ILayerEffects
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBrightness(short brightnessValue) throws IOException, AutomationException
setBrightness
in interface ILayerEffects
brightnessValue
- The brightnessValue (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 |