com.esri.arcgis.arcscene
Class ISxDocumentEventsAdapter

java.lang.Object
  extended by com.esri.arcgis.arcscene.ISxDocumentEventsAdapter
All Implemented Interfaces:
ISxDocumentEvents, Serializable, EventListener

public class ISxDocumentEventsAdapter
extends Object
implements ISxDocumentEvents

See Also:
Serialized Form

Constructor Summary
ISxDocumentEventsAdapter()
           
 
Method Summary
 boolean beforeCloseDocument(ISxDocumentEventsBeforeCloseDocumentEvent theEvent)
          Fired before a document is closed.
 void closeDocument(ISxDocumentEventsCloseDocumentEvent theEvent)
          Fired when a document is closed.
 void newDocument(ISxDocumentEventsNewDocumentEvent theEvent)
          Fired when a new document is created.
 void onContextMenu(ISxDocumentEventsOnContextMenuEvent theEvent)
          Fired when a context menu should be displayed at the given xy location.
 void openDocument(ISxDocumentEventsOpenDocumentEvent theEvent)
          Fired when a document is opened.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISxDocumentEventsAdapter

public ISxDocumentEventsAdapter()
Method Detail

onContextMenu

public void onContextMenu(ISxDocumentEventsOnContextMenuEvent theEvent)
                   throws IOException,
                          AutomationException
Fired when a context menu should be displayed at the given xy location. Returns true if handled.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

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

newDocument

public void newDocument(ISxDocumentEventsNewDocumentEvent theEvent)
                 throws IOException,
                        AutomationException
Fired when a new document is created.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

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

openDocument

public void openDocument(ISxDocumentEventsOpenDocumentEvent theEvent)
                  throws IOException,
                         AutomationException
Fired when a document is opened.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

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

beforeCloseDocument

public boolean beforeCloseDocument(ISxDocumentEventsBeforeCloseDocumentEvent theEvent)
                            throws IOException,
                                   AutomationException
Fired before a document is closed. Return True to abort the close process.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Specified by:
beforeCloseDocument in interface ISxDocumentEvents
Parameters:
theEvent - The event
Returns:
The abortClose
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

closeDocument

public void closeDocument(ISxDocumentEventsCloseDocumentEvent theEvent)
                   throws IOException,
                          AutomationException
Fired when a document is closed.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

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