com.esri.arcgis.arcmapui
Class LayerEffectsEnvironment

java.lang.Object
  extended by com.esri.arcgis.arcmapui.LayerEffectsEnvironment
All Implemented Interfaces:
ILayerEffectsEnvironment, ILayerEffectsEnvironment2, ILayerEffectsEnvironment3, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class LayerEffectsEnvironment
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ILayerEffectsEnvironment, ILayerEffectsEnvironment2, ILayerEffectsEnvironment3

COM Class 'LayerEffectsEnvironment'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriArcMapUI.olb'

Description 'Singleton instance of the Layer Effects Environment.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.arcmapui.ILayerEffectsEnvironment
IID, IID377aba23_2019_11d3_9f97_00c04f6bc78e, xxDummy
 
Fields inherited from interface com.esri.arcgis.arcmapui.ILayerEffectsEnvironment2
IID, IID5afa7340_1eec_4eb8_9e15_b414df0ff8e9, xxDummy
 
Fields inherited from interface com.esri.arcgis.arcmapui.ILayerEffectsEnvironment3
IID, IID5afa7340_1eec_4eb8_9e15_b414df0ff8ea, xxDummy
 
Constructor Summary
LayerEffectsEnvironment()
          Constructs a LayerEffectsEnvironment using ArcGIS Engine.
LayerEffectsEnvironment(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LayerEffectsEnvironment theLayerEffectsEnvironment = (LayerEffectsEnvironment) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 IActiveView getActiveView()
          The IActiveView interface of the view to be refreshed.
static java.lang.String getClsid()
          getClsid.
 IMxDocument getDocument()
          Current document.
 ILayerEffects getEffectsLayer()
          The ILayerEffects interface of the current effects layer.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 ILayer getSelectedLayer()
          Currenttly selected layer.
 int hashCode()
          the hashcode for this object
 void release()
          Release a LayerEffectsEnvironment.
 void setActiveViewByRef(IActiveView activeView)
          The IActiveView interface of the view to be refreshed.
 void setDocumentByRef(IMxDocument doc)
          Current document.
 void setEffectsLayerByRef(ILayerEffects effects)
          The ILayerEffects interface of the current effects layer.
 void setSelectedLayerByRef(ILayer layer)
          Currenttly selected layer.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayerEffectsEnvironment

public LayerEffectsEnvironment()
                        throws java.io.IOException,
                               java.net.UnknownHostException
Constructs a LayerEffectsEnvironment using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

LayerEffectsEnvironment

public LayerEffectsEnvironment(java.lang.Object obj)
                        throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LayerEffectsEnvironment theLayerEffectsEnvironment = (LayerEffectsEnvironment) obj;

Construct a LayerEffectsEnvironment using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to LayerEffectsEnvironment.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a LayerEffectsEnvironment.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getEffectsLayer

public ILayerEffects getEffectsLayer()
                              throws java.io.IOException,
                                     AutomationException
The ILayerEffects interface of the current effects layer.

Specified by:
getEffectsLayer in interface ILayerEffectsEnvironment
Specified by:
getEffectsLayer in interface ILayerEffectsEnvironment2
Specified by:
getEffectsLayer in interface ILayerEffectsEnvironment3
Returns:
A reference to a com.esri.arcgis.carto.ILayerEffects
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEffectsLayerByRef

public void setEffectsLayerByRef(ILayerEffects effects)
                          throws java.io.IOException,
                                 AutomationException
The ILayerEffects interface of the current effects layer.

Specified by:
setEffectsLayerByRef in interface ILayerEffectsEnvironment
Specified by:
setEffectsLayerByRef in interface ILayerEffectsEnvironment2
Specified by:
setEffectsLayerByRef in interface ILayerEffectsEnvironment3
Parameters:
effects - A reference to a com.esri.arcgis.carto.ILayerEffects (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getActiveView

public IActiveView getActiveView()
                          throws java.io.IOException,
                                 AutomationException
The IActiveView interface of the view to be refreshed.

Specified by:
getActiveView in interface ILayerEffectsEnvironment
Specified by:
getActiveView in interface ILayerEffectsEnvironment2
Specified by:
getActiveView in interface ILayerEffectsEnvironment3
Returns:
A reference to a com.esri.arcgis.carto.IActiveView
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveViewByRef

public void setActiveViewByRef(IActiveView activeView)
                        throws java.io.IOException,
                               AutomationException
The IActiveView interface of the view to be refreshed.

Specified by:
setActiveViewByRef in interface ILayerEffectsEnvironment
Specified by:
setActiveViewByRef in interface ILayerEffectsEnvironment2
Specified by:
setActiveViewByRef in interface ILayerEffectsEnvironment3
Parameters:
activeView - A reference to a com.esri.arcgis.carto.IActiveView (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectedLayer

public ILayer getSelectedLayer()
                        throws java.io.IOException,
                               AutomationException
Currenttly selected layer.

Specified by:
getSelectedLayer in interface ILayerEffectsEnvironment2
Specified by:
getSelectedLayer in interface ILayerEffectsEnvironment3
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSelectedLayerByRef

public void setSelectedLayerByRef(ILayer layer)
                           throws java.io.IOException,
                                  AutomationException
Currenttly selected layer.

Specified by:
setSelectedLayerByRef in interface ILayerEffectsEnvironment2
Specified by:
setSelectedLayerByRef in interface ILayerEffectsEnvironment3
Parameters:
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDocument

public IMxDocument getDocument()
                        throws java.io.IOException,
                               AutomationException
Current document.

Specified by:
getDocument in interface ILayerEffectsEnvironment3
Returns:
A reference to a com.esri.arcgis.arcmapui.IMxDocument
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDocumentByRef

public void setDocumentByRef(IMxDocument doc)
                      throws java.io.IOException,
                             AutomationException
Current document.

Specified by:
setDocumentByRef in interface ILayerEffectsEnvironment3
Parameters:
doc - A reference to a com.esri.arcgis.arcmapui.IMxDocument (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.