|
|
(19 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| {{Template:APIClass|ALTAEvents Class|ALTAEvents}}
| | #REDIRECT [[ALTADataSet Class]] |
| | |
| This allows the user to create and display messages, questions, calculation progress, and more.
| |
| | |
| To use events a user must inherit the class, override its methods and assign its instance to the Events property of an ALTA data set.
| |
| | |
| == Methods ==
| |
| *'''[[ALTAEvents.Message|Message]]''' {{APIComment|Called by ‘sender’ when a message should be displayed.}}
| |
| *'''[[ALTAEvents.Question|Question]]''' {{APIComment|Called by ‘sender’ when an answer to the question is required.}}
| |
| *'''[[ALTAEvents.UpdateCalculationProgress|UpdateCalculationProgress]]''' {{APIComment|Called by ‘sender’ when the calculation progress should be updated.}}
| |
| *'''[[ALTAEvents.ShowCalculationProgress|ShowCalculationProgress]]''' {{APIComment|Called by ‘sender’ when calculation progress should be shown.}}
| |
| *'''[[ALTAEvents.HideCalculationProgress|HideCalculationProgress]]''' {{APIComment|Called by ‘sender’ when calculation progress should be hidden.}}
| |