Class DocumentEventsDefaultHandler
java.lang.Object
com.altova.automation.StyleVision.DocumentEventsDefaultHandler
- All Implemented Interfaces:
COMDispatchEvent,DocumentEvents
public class DocumentEventsDefaultHandler extends java.lang.Object implements DocumentEvents
-
Constructor Summary
Constructors Constructor Description DocumentEventsDefaultHandler() -
Method Summary
Modifier and Type Method Description voidonDocumentClosed(Document i_ipDocument)method OnDocumentClosedJVariantonEvent(int methodID, JVariant[] pDispParams)Distribute the event - call the appropriate handler with the converted COM parameters.voidonModifiedFlagChanged(boolean i_bIsModified)method OnModifiedFlagChanged
-
Constructor Details
-
DocumentEventsDefaultHandler
public DocumentEventsDefaultHandler()
-
-
Method Details
-
onDocumentClosed
method OnDocumentClosed- Specified by:
onDocumentClosedin interfaceDocumentEvents- Throws:
AutomationException
-
onModifiedFlagChanged
method OnModifiedFlagChanged- Specified by:
onModifiedFlagChangedin interfaceDocumentEvents- 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
-