Package com.altova.automation.XMLSpy
Class TextViewEventsDefaultHandler
java.lang.Object
com.altova.automation.XMLSpy.TextViewEventsDefaultHandler
- All Implemented Interfaces:
COMDispatchEvent,TextViewEvents
public class TextViewEventsDefaultHandler extends java.lang.Object implements TextViewEvents
-
Constructor Summary
Constructors Constructor Description TextViewEventsDefaultHandler() -
Method Summary
Modifier and Type Method Description booleanonBeforeShowSuggestions()This method is called before the suggestion window is shown.booleanonChar(int nChar, boolean bExistSuggestion)This method is called on each key stroke.JVariantonEvent(int methodID, JVariant[] pDispParams)Distribute the event - call the appropriate handler with the converted COM parameters.
-
Constructor Details
-
TextViewEventsDefaultHandler
public TextViewEventsDefaultHandler()
-
-
Method Details
-
onBeforeShowSuggestions
This method is called before the suggestion window is shown.- Specified by:
onBeforeShowSuggestionsin interfaceTextViewEvents- Throws:
AutomationException
-
onChar
This method is called on each key stroke.- Specified by:
onCharin interfaceTextViewEvents- Throws:
AutomationException
-
onEvent
Distribute the event - call the appropriate handler with the converted COM parameters.- Specified by:
onEventin interfaceCOMDispatchEvent- Parameters:
methodID- ID of the event method as defined in the COM event interface.pDispParams- parameters to the event- Returns:
- result value of the event call
- Throws:
AutomationException
-