com.esri.arcgis.controls
Class EngineInkEnvironment

java.lang.Object
  extended by com.esri.arcgis.controls.EngineInkEnvironment
All Implemented Interfaces:
IActiveViewEvents, IGraphicsContainerEvents, IEngineInkEnvironment, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable, java.util.EventListener

public class EngineInkEnvironment
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IEngineInkEnvironment, IGraphicsContainerEvents, IActiveViewEvents

COM Class 'EngineInkEnvironment'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriControls.olb'

Description 'A singleton object representing Engine ink 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.controls.IEngineInkEnvironment
IID, IID61fe0c4b_89bb_4f7e_b284_f266c708d53f, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IGraphicsContainerEvents
IID, IID8694707c_d4e2_4f77_a02f_d36397a8534d, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IActiveViewEvents
IID, IIDe79c5940_52dd_11d0_98be_00805f7ced21, xxDummy
 
Constructor Summary
EngineInkEnvironment()
          Constructs a EngineInkEnvironment using ArcGIS Engine.
EngineInkEnvironment(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EngineInkEnvironment theEngineInkEnvironment = (EngineInkEnvironment) obj;
 
Method Summary
 void addIEngineInkEnvironmentEventsListener(IEngineInkEnvironmentEvents theListener)
          addIEngineInkEnvironmentEventsListener.
 void afterDraw(IActiveViewEventsAfterDrawEvent theEvent)
          Fired after the specified phase is drawn.
 void afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent)
          Fired after an individual view item is drawn.
 void allElementsDeleted(IGraphicsContainerEventsAllElementsDeletedEvent theEvent)
          Occurs when all the elements are deleted.
 void clear()
          Deletes any active ink from the screen.
 void contentsChanged(IActiveViewEventsContentsChangedEvent theEvent)
          Fired when the contents of the view changes.
 void contentsCleared(IActiveViewEventsContentsClearedEvent theEvent)
          Fired when the contents of the view is cleared.
 void elementAdded(IGraphicsContainerEventsElementAddedEvent theEvent)
          Occurs when the element is added.
 void elementDeleted(IGraphicsContainerEventsElementDeletedEvent theEvent)
          Occurs when the element is deleted.
 void elementsAdded(IGraphicsContainerEventsElementsAddedEvent theEvent)
          Occurs when the elements are added.
 void elementUpdated(IGraphicsContainerEventsElementUpdatedEvent theEvent)
          Occurs when the element is updated.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent)
          Fired when a new map is made active.
static java.lang.String getClsid()
          getClsid.
 int getInkCollectionMode()
          Indicates if the extension is collecting ink.
 java.lang.Object getInkCollector()
          The internal ink collecting object.
 java.lang.Object getInkGeometry()
          The current Ink sketch as a geometry.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 float getToolCommitDelay()
          The auto commit delay interval in seconds.
 int getToolCommitType()
          The ink tool commit type.
 int hashCode()
          the hashcode for this object
 boolean isAlwaysShowAlternates()
          Indicates if the alternates dialog will always be shown when performing text recognition.
 boolean isAutoRecognizeInkGraphics()
          Indicates whether to attempt to recognize newly created InkGraphics as text.
 boolean isGeneralizeInk()
          Indicates whether the Ink should be generalized.
 boolean isMapNavigationGesturesEnabled()
          Indicates whether the map navigation gestures should be enabled.
 boolean isOnlyEraseActiveInkSketch()
          Indicates if only the active ink sketch may be erased.
 boolean isPressureSensitiveStylus()
          Indicates if the ink stylus is pressure-sensitive.
 boolean isProjectInkGraphicGeometry()
          Indicates whether to project an InkGraphic's Geometry.
 boolean isScratchoutEnabled()
          Indicates whether the scratch-out gesture should be enabled.
 void itemAdded(IActiveViewEventsItemAddedEvent theEvent)
          Fired when an item is added to the view.
 void itemDeleted(IActiveViewEventsItemDeletedEvent theEvent)
          Fired when an item is deleted from the view.
 void itemReordered(IActiveViewEventsItemReorderedEvent theEvent)
          Fired when a view item is reordered.
 void release()
          Release a EngineInkEnvironment.
 void removeIEngineInkEnvironmentEventsListener(IEngineInkEnvironmentEvents theListener)
          removeIEngineInkEnvironmentEventsListener.
 void selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent)
          Call this function to fire the selection changed event.
 void setAlwaysShowAlternates(boolean showAlternates)
          Indicates if the alternates dialog will always be shown when performing text recognition.
 void setAutoRecognizeInkGraphics(boolean autoRecognize)
          Indicates whether to attempt to recognize newly created InkGraphics as text.
 void setGeneralizeInk(boolean generalizeInk)
          Indicates whether the Ink should be generalized.
 void setMapNavigationGesturesEnabled(boolean pEnabled)
          Indicates whether the map navigation gestures should be enabled.
 void setOnlyEraseActiveInkSketch(boolean onlyActive)
          Indicates if only the active ink sketch may be erased.
 void setPressureSensitiveStylus(boolean usePressureSensitive)
          Indicates if the ink stylus is pressure-sensitive.
 void setProjectInkGraphicGeometry(boolean projectInkGraphics)
          Indicates whether to project an InkGraphic's Geometry.
 void setScratchoutEnabled(boolean pScratchout)
          Indicates whether the scratch-out gesture should be enabled.
 void setToolCommitDelay(float pDelay)
          The auto commit delay interval in seconds.
 void setToolCommitType(int pToolCommitType)
          The ink tool commit type.
 void spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent)
          Fired when the spatial reference is changed.
 void start(boolean bGesturesOnly)
          Starts obtaining ink from the stylus.
 void stop(boolean bKeepInk)
          Stops obtaining ink from the stylus.
 void viewRefreshed(IActiveViewEventsViewRefreshedEvent theEvent)
          Fired when view is refreshed before draw happens.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineInkEnvironment

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

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

EngineInkEnvironment

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

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

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

addIEngineInkEnvironmentEventsListener

public void addIEngineInkEnvironmentEventsListener(IEngineInkEnvironmentEvents theListener)
                                            throws java.io.IOException
addIEngineInkEnvironmentEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.controls.IEngineInkEnvironmentEvents interface.
Throws:
java.io.IOException - If there are communications problems.

removeIEngineInkEnvironmentEventsListener

public void removeIEngineInkEnvironmentEventsListener(IEngineInkEnvironmentEvents theListener)
                                               throws java.io.IOException
removeIEngineInkEnvironmentEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.controls.IEngineInkEnvironmentEvents interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a EngineInkEnvironment.

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

start

public void start(boolean bGesturesOnly)
           throws java.io.IOException,
                  AutomationException
Starts obtaining ink from the stylus.

Specified by:
start in interface IEngineInkEnvironment
Parameters:
bGesturesOnly - The bGesturesOnly (in, optional, pass false if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stop

public void stop(boolean bKeepInk)
          throws java.io.IOException,
                 AutomationException
Stops obtaining ink from the stylus.

Specified by:
stop in interface IEngineInkEnvironment
Parameters:
bKeepInk - The bKeepInk (in, optional, pass false if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

public void clear()
           throws java.io.IOException,
                  AutomationException
Deletes any active ink from the screen.

Specified by:
clear in interface IEngineInkEnvironment
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInkCollectionMode

public int getInkCollectionMode()
                         throws java.io.IOException,
                                AutomationException
Indicates if the extension is collecting ink.

Specified by:
getInkCollectionMode in interface IEngineInkEnvironment
Returns:
A com.esri.arcgis.controls.esriEngineInkCollectionMode constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInkCollector

public java.lang.Object getInkCollector()
                                 throws java.io.IOException,
                                        AutomationException
The internal ink collecting object.

Specified by:
getInkCollector in interface IEngineInkEnvironment
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setToolCommitType

public void setToolCommitType(int pToolCommitType)
                       throws java.io.IOException,
                              AutomationException
The ink tool commit type.

Specified by:
setToolCommitType in interface IEngineInkEnvironment
Parameters:
pToolCommitType - A com.esri.arcgis.controls.esriEngineInkToolCommitType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToolCommitType

public int getToolCommitType()
                      throws java.io.IOException,
                             AutomationException
The ink tool commit type.

Specified by:
getToolCommitType in interface IEngineInkEnvironment
Returns:
A com.esri.arcgis.controls.esriEngineInkToolCommitType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setToolCommitDelay

public void setToolCommitDelay(float pDelay)
                        throws java.io.IOException,
                               AutomationException
The auto commit delay interval in seconds.

Specified by:
setToolCommitDelay in interface IEngineInkEnvironment
Parameters:
pDelay - The pDelay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToolCommitDelay

public float getToolCommitDelay()
                         throws java.io.IOException,
                                AutomationException
The auto commit delay interval in seconds.

Specified by:
getToolCommitDelay in interface IEngineInkEnvironment
Returns:
The pDelay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPressureSensitiveStylus

public void setPressureSensitiveStylus(boolean usePressureSensitive)
                                throws java.io.IOException,
                                       AutomationException
Indicates if the ink stylus is pressure-sensitive.

Specified by:
setPressureSensitiveStylus in interface IEngineInkEnvironment
Parameters:
usePressureSensitive - The usePressureSensitive (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPressureSensitiveStylus

public boolean isPressureSensitiveStylus()
                                  throws java.io.IOException,
                                         AutomationException
Indicates if the ink stylus is pressure-sensitive.

Specified by:
isPressureSensitiveStylus in interface IEngineInkEnvironment
Returns:
The usePressureSensitive
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGeneralizeInk

public void setGeneralizeInk(boolean generalizeInk)
                      throws java.io.IOException,
                             AutomationException
Indicates whether the Ink should be generalized.

Specified by:
setGeneralizeInk in interface IEngineInkEnvironment
Parameters:
generalizeInk - The generalizeInk (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isGeneralizeInk

public boolean isGeneralizeInk()
                        throws java.io.IOException,
                               AutomationException
Indicates whether the Ink should be generalized.

Specified by:
isGeneralizeInk in interface IEngineInkEnvironment
Returns:
The generalizeInk
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInkGeometry

public java.lang.Object getInkGeometry()
                                throws java.io.IOException,
                                       AutomationException
The current Ink sketch as a geometry.

Specified by:
getInkGeometry in interface IEngineInkEnvironment
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAutoRecognizeInkGraphics

public void setAutoRecognizeInkGraphics(boolean autoRecognize)
                                 throws java.io.IOException,
                                        AutomationException
Indicates whether to attempt to recognize newly created InkGraphics as text.

Specified by:
setAutoRecognizeInkGraphics in interface IEngineInkEnvironment
Parameters:
autoRecognize - The autoRecognize (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAutoRecognizeInkGraphics

public boolean isAutoRecognizeInkGraphics()
                                   throws java.io.IOException,
                                          AutomationException
Indicates whether to attempt to recognize newly created InkGraphics as text.

Specified by:
isAutoRecognizeInkGraphics in interface IEngineInkEnvironment
Returns:
The autoRecognize
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setScratchoutEnabled

public void setScratchoutEnabled(boolean pScratchout)
                          throws java.io.IOException,
                                 AutomationException
Indicates whether the scratch-out gesture should be enabled.

Specified by:
setScratchoutEnabled in interface IEngineInkEnvironment
Parameters:
pScratchout - The pScratchout (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isScratchoutEnabled

public boolean isScratchoutEnabled()
                            throws java.io.IOException,
                                   AutomationException
Indicates whether the scratch-out gesture should be enabled.

Specified by:
isScratchoutEnabled in interface IEngineInkEnvironment
Returns:
The pScratchout
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProjectInkGraphicGeometry

public void setProjectInkGraphicGeometry(boolean projectInkGraphics)
                                  throws java.io.IOException,
                                         AutomationException
Indicates whether to project an InkGraphic's Geometry.

Specified by:
setProjectInkGraphicGeometry in interface IEngineInkEnvironment
Parameters:
projectInkGraphics - The projectInkGraphics (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isProjectInkGraphicGeometry

public boolean isProjectInkGraphicGeometry()
                                    throws java.io.IOException,
                                           AutomationException
Indicates whether to project an InkGraphic's Geometry.

Specified by:
isProjectInkGraphicGeometry in interface IEngineInkEnvironment
Returns:
The projectInkGraphics
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAlwaysShowAlternates

public void setAlwaysShowAlternates(boolean showAlternates)
                             throws java.io.IOException,
                                    AutomationException
Indicates if the alternates dialog will always be shown when performing text recognition.

Specified by:
setAlwaysShowAlternates in interface IEngineInkEnvironment
Parameters:
showAlternates - The showAlternates (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAlwaysShowAlternates

public boolean isAlwaysShowAlternates()
                               throws java.io.IOException,
                                      AutomationException
Indicates if the alternates dialog will always be shown when performing text recognition.

Specified by:
isAlwaysShowAlternates in interface IEngineInkEnvironment
Returns:
The showAlternates
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOnlyEraseActiveInkSketch

public void setOnlyEraseActiveInkSketch(boolean onlyActive)
                                 throws java.io.IOException,
                                        AutomationException
Indicates if only the active ink sketch may be erased.

Specified by:
setOnlyEraseActiveInkSketch in interface IEngineInkEnvironment
Parameters:
onlyActive - The onlyActive (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isOnlyEraseActiveInkSketch

public boolean isOnlyEraseActiveInkSketch()
                                   throws java.io.IOException,
                                          AutomationException
Indicates if only the active ink sketch may be erased.

Specified by:
isOnlyEraseActiveInkSketch in interface IEngineInkEnvironment
Returns:
The onlyActive
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMapNavigationGesturesEnabled

public void setMapNavigationGesturesEnabled(boolean pEnabled)
                                     throws java.io.IOException,
                                            AutomationException
Indicates whether the map navigation gestures should be enabled.

Specified by:
setMapNavigationGesturesEnabled in interface IEngineInkEnvironment
Parameters:
pEnabled - The pEnabled (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isMapNavigationGesturesEnabled

public boolean isMapNavigationGesturesEnabled()
                                       throws java.io.IOException,
                                              AutomationException
Indicates whether the map navigation gestures should be enabled.

Specified by:
isMapNavigationGesturesEnabled in interface IEngineInkEnvironment
Returns:
The pEnabled
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

elementAdded

public void elementAdded(IGraphicsContainerEventsElementAddedEvent theEvent)
                  throws java.io.IOException,
                         AutomationException
Occurs when the element is added.

Specified by:
elementAdded in interface IGraphicsContainerEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

elementsAdded

public void elementsAdded(IGraphicsContainerEventsElementsAddedEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Occurs when the elements are added.

Specified by:
elementsAdded in interface IGraphicsContainerEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

elementDeleted

public void elementDeleted(IGraphicsContainerEventsElementDeletedEvent theEvent)
                    throws java.io.IOException,
                           AutomationException
Occurs when the element is deleted.

Specified by:
elementDeleted in interface IGraphicsContainerEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

allElementsDeleted

public void allElementsDeleted(IGraphicsContainerEventsAllElementsDeletedEvent theEvent)
                        throws java.io.IOException,
                               AutomationException
Occurs when all the elements are deleted.

Specified by:
allElementsDeleted in interface IGraphicsContainerEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

elementUpdated

public void elementUpdated(IGraphicsContainerEventsElementUpdatedEvent theEvent)
                    throws java.io.IOException,
                           AutomationException
Occurs when the element is updated.

Specified by:
elementUpdated in interface IGraphicsContainerEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

contentsChanged

public void contentsChanged(IActiveViewEventsContentsChangedEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Fired when the contents of the view changes.

Specified by:
contentsChanged in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

contentsCleared

public void contentsCleared(IActiveViewEventsContentsClearedEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Fired when the contents of the view is cleared.

Specified by:
contentsCleared in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

itemAdded

public void itemAdded(IActiveViewEventsItemAddedEvent theEvent)
               throws java.io.IOException,
                      AutomationException
Fired when an item is added to the view.

Specified by:
itemAdded in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

itemDeleted

public void itemDeleted(IActiveViewEventsItemDeletedEvent theEvent)
                 throws java.io.IOException,
                        AutomationException
Fired when an item is deleted from the view.

Specified by:
itemDeleted in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

itemReordered

public void itemReordered(IActiveViewEventsItemReorderedEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Fired when a view item is reordered.

Specified by:
itemReordered in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectionChanged

public void selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent)
                      throws java.io.IOException,
                             AutomationException
Call this function to fire the selection changed event.

Specified by:
selectionChanged in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

viewRefreshed

public void viewRefreshed(IActiveViewEventsViewRefreshedEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Fired when view is refreshed before draw happens.

Specified by:
viewRefreshed in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

afterDraw

public void afterDraw(IActiveViewEventsAfterDrawEvent theEvent)
               throws java.io.IOException,
                      AutomationException
Fired after the specified phase is drawn.

Specified by:
afterDraw in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

afterItemDraw

public void afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Fired after an individual view item is drawn. Example: view items include layers in a map or elements in a page layout.

Specified by:
afterItemDraw in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

focusMapChanged

public void focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Fired when a new map is made active.

Specified by:
focusMapChanged in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

spatialReferenceChanged

public void spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent)
                             throws java.io.IOException,
                                    AutomationException
Fired when the spatial reference is changed.

Specified by:
spatialReferenceChanged in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.