|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITraverseWindowEvents
Provides access to Traverse Window events. Implement it to listen to specific events that occur when the Traverse Window is used.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onSetStartPoint(ITraverseWindowEventsOnSetStartPointEvent theEvent) throws IOException, AutomationException
Whenever the start point for the traverse changes, the OnSetStartPoint event is fired.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onSetFinishPoint(ITraverseWindowEventsOnSetFinishPointEvent theEvent) throws IOException, AutomationException
Whenever the finish point changes, the OnSetFinishPoint event is fired.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onActivate(ITraverseWindowEventsOnActivateEvent theEvent) throws IOException, AutomationException
OnActivate is fired whenever the TraverseWindow receives focus.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onDeactivate(ITraverseWindowEventsOnDeactivateEvent theEvent) throws IOException, AutomationException
OnDeactivate is fired whenever the TraverseWindow loses focus.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onPositionChanged(ITraverseWindowEventsOnPositionChangedEvent theEvent) throws IOException, AutomationException
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 |