|
|||||||||
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.display.IDisplayEventsProxy
public class IDisplayEventsProxy
Provides access to members that control Display Events.
Use this interface to trap for specific events occurring inside a display. For example, you may wish to know whenever a particular display is scrolled. This is the case for the Map object which needs to perform some redrawing operations whenever its screen display is scrolled.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IDisplayEventsProxy()
|
|
IDisplayEventsProxy(Object obj)
|
protected |
IDisplayEventsProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
displayFinished(IDisplayEventsDisplayFinishedEvent theEvent)
Notifies clients when drawing completes. |
void |
displayInvalidated(IDisplayEventsDisplayInvalidatedEvent theEvent)
Notifies clients when display is invalidated. |
void |
displayScrolled(IDisplayEventsDisplayScrolledEvent theEvent)
Notifies clients when display is scrolled. |
void |
displayStarted(IDisplayEventsDisplayStartedEvent theEvent)
Notifies clients when drawing starts. |
void |
removeListener(String iidStr,
Object theListener)
|
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 IDisplayEventsProxy()
public IDisplayEventsProxy(Object obj) throws IOException
IOException
protected IDisplayEventsProxy(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 void displayStarted(IDisplayEventsDisplayStartedEvent theEvent) throws IOException, AutomationException
IDisplay::StartDrawing fires this event to notify clients that drawing has started. The display where drawing was initiated is returned.
displayStarted
in interface IDisplayEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void displayFinished(IDisplayEventsDisplayFinishedEvent theEvent) throws IOException, AutomationException
IDisplay::FinishDrawing fires this event to notify clients that drawing has completed. The display where drawing has completed is returned to the client.
displayFinished
in interface IDisplayEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void displayInvalidated(IDisplayEventsDisplayInvalidatedEvent theEvent) throws IOException, AutomationException
IScreenDisplay::Invalidate fires this event to notify all clients a display has been invalidated. The display, the area invalidated, the erase setting, and the cacheID are all returned to clients listening to this event.
The Map object is one client that listens for this event and it may in turn fire the IActiveViewEvenets::ViewRefreshed event.
displayInvalidated
in interface IDisplayEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void displayScrolled(IDisplayEventsDisplayScrolledEvent theEvent) throws IOException, AutomationException
IScreenDisplay::DoScroll fires this event to notify all clients that the display has scrolled. For example, the Map object listens for this event because it needs to perform some drawing operations whenever its display is scrolled.
displayScrolled
in interface IDisplayEvents
theEvent
- The event
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 |