|
|||||||||
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.editor.ITraverseWindowEventsProxy
public class ITraverseWindowEventsProxy
Provides access to Traverse Window events. Implement it to listen to specific events that occur when the Traverse Window is used.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ITraverseWindowEventsProxy()
|
|
ITraverseWindowEventsProxy(Object obj)
|
protected |
ITraverseWindowEventsProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
onActivate(ITraverseWindowEventsOnActivateEvent theEvent)
Called when the Traverse Window dialog is activated. |
void |
onAddCourse(ITraverseWindowEventsOnAddCourseEvent theEvent)
Called after the course is added. |
void |
onChangeCourseType(ITraverseWindowEventsOnChangeCourseTypeEvent theEvent)
Called when the course type changes. |
void |
onChangeCurveDirectionType(ITraverseWindowEventsOnChangeCurveDirectionTypeEvent theEvent)
Called when the curve direction type changes. |
void |
onChangeCurveParameter(ITraverseWindowEventsOnChangeCurveParameterEvent theEvent)
Called when a curve parameter is changed for either the tangent curve or curve course. |
void |
onChangeTurnDirection(ITraverseWindowEventsOnChangeTurnDirectionEvent theEvent)
Called when the turn direction is changed. |
void |
onDeactivate(ITraverseWindowEventsOnDeactivateEvent theEvent)
Called when the Traverse Window dialog is deactivated. |
void |
onLoadTraverse(ITraverseWindowEventsOnLoadTraverseEvent theEvent)
Called when a traverse is added from a text file. |
void |
onPositionChanged(ITraverseWindowEventsOnPositionChangedEvent theEvent)
Called when the position of the Traverse Window dialog changes. |
void |
onSetFinishPoint(ITraverseWindowEventsOnSetFinishPointEvent theEvent)
Called when the finish point of the traverse is set. |
void |
onSetFocusToMeasure(ITraverseWindowEventsOnSetFocusToMeasureEvent theEvent)
Called when the focus is set to one of the measure text controls. |
void |
onSetStartPoint(ITraverseWindowEventsOnSetStartPointEvent theEvent)
Called when the start point of the traverse is set. |
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 ITraverseWindowEventsProxy()
public ITraverseWindowEventsProxy(Object obj) throws IOException
IOException
protected ITraverseWindowEventsProxy(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 onChangeCourseType(ITraverseWindowEventsOnChangeCourseTypeEvent theEvent) throws IOException, AutomationException
Whenever the course type is changed, in the Traverse dialog or with the ITraverseWindow::Type property, the OnChangeCourse event is fired.
onChangeCourseType
in interface ITraverseWindowEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onSetFocusToMeasure(ITraverseWindowEventsOnSetFocusToMeasureEvent theEvent) throws IOException, AutomationException
When a Measure control received focus, the OnSetFocusToMeasure event is fired. The index specifies which control received focus.
onSetFocusToMeasure
in interface ITraverseWindowEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onChangeCurveParameter(ITraverseWindowEventsOnChangeCurveParameterEvent theEvent) throws IOException, AutomationException
Whenever the value for a curve parameter changes, the OnChangeCurveParameter event is fired. The index specifies which control the change occurred within.
This event only makes sense when the course type is esriCTCurve or esriCTTangentCurve.
onChangeCurveParameter
in interface ITraverseWindowEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onChangeTurnDirection(ITraverseWindowEventsOnChangeTurnDirectionEvent theEvent) throws IOException, AutomationException
Whenever the value for the turn direction of a curve changes, the OnChangeTurnDirection event is fired.
This event only makes sense when the course type is esriCTCurve or esriCTTangentCurve.
onChangeTurnDirection
in interface ITraverseWindowEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onChangeCurveDirectionType(ITraverseWindowEventsOnChangeCurveDirectionTypeEvent theEvent) throws IOException, AutomationException
Whenever the value specifying the direction of a curve changes, the OnChangeCurveDirectionType event is fired.
This event only makes sense when the course type is esriCTCurve.
onChangeCurveDirectionType
in interface ITraverseWindowEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onAddCourse(ITraverseWindowEventsOnAddCourseEvent theEvent) throws IOException, AutomationException
OnAddCourse is fired whenever a course is added to the traverse using the Add button on the Traverse dialog.
onAddCourse
in interface ITraverseWindowEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onLoadTraverse(ITraverseWindowEventsOnLoadTraverseEvent theEvent) throws IOException, AutomationException
Whenever a traverse is loaded using the context menu on the Traverse dialog, the OnLoadTraverse event is fired.
onLoadTraverse
in interface ITraverseWindowEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onSetStartPoint(ITraverseWindowEventsOnSetStartPointEvent theEvent) throws IOException, AutomationException
Whenever the start point for the traverse changes, the OnSetStartPoint event is fired.
onSetStartPoint
in interface ITraverseWindowEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onSetFinishPoint(ITraverseWindowEventsOnSetFinishPointEvent theEvent) throws IOException, AutomationException
Whenever the finish point changes, the OnSetFinishPoint event is fired.
onSetFinishPoint
in interface ITraverseWindowEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onActivate(ITraverseWindowEventsOnActivateEvent theEvent) throws IOException, AutomationException
OnActivate is fired whenever the TraverseWindow receives focus.
onActivate
in interface ITraverseWindowEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onDeactivate(ITraverseWindowEventsOnDeactivateEvent theEvent) throws IOException, AutomationException
OnDeactivate is fired whenever the TraverseWindow loses focus.
onDeactivate
in interface ITraverseWindowEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onPositionChanged(ITraverseWindowEventsOnPositionChangedEvent theEvent) throws IOException, AutomationException
onPositionChanged
in interface ITraverseWindowEvents
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 |