Class AuthenticViewEventsDefaultHandler
java.lang.Object
com.altova.automation.StyleVision.AuthenticViewEventsDefaultHandler
- All Implemented Interfaces:
COMDispatchEvent,AuthenticViewEvents
public class AuthenticViewEventsDefaultHandler extends java.lang.Object implements AuthenticViewEvents
-
Constructor Summary
Constructors Constructor Description AuthenticViewEventsDefaultHandler() -
Method Summary
Modifier and Type Method Description booleanonBeforeCopy()method OnBeforeCopybooleanonBeforeCut()method OnBeforeCutbooleanonBeforeDelete()method OnBeforeDeletebooleanonBeforeDrop(int i_nXPos, int i_nYPos, AuthenticRange i_ipRange, AuthenticDataTransfer i_ipData)method OnBeforeDropbooleanonBeforePaste(JVariant i_pData, java.lang.String i_strType)method OnBeforePastebooleanonBeforeSave(boolean i_bSaveAs)method OnBeforeSavebooleanonContextMenuActivated()method OnContextMenuActivatedbooleanonDragOver(int i_nXPos, int i_nYPos, Enums.SPYMouseEvent i_eMouseEvent, AuthenticRange i_ipRange, AuthenticDataTransfer i_ipData)method OnDragOverJVariantonEvent(int methodID, JVariant[] pDispParams)Distribute the event - call the appropriate handler with the converted COM parameters.booleanonKeyboardEvent(Enums.SPYKeyEvent i_eKeyEvent, int i_nKeyCode, Enums.SPYVirtualKeyMask i_nVirtualKeyStatus)method OnKeyboardEventvoidonLoad()method OnLoadbooleanonMouseEvent(int i_nXPos, int i_nYPos, Enums.SPYMouseEvent i_eMouseEvent, AuthenticRange i_ipRange)method OnMouseEventvoidonSelectionChanged(AuthenticRange i_ipNewRange)method OnSelectionChangedbooleanonToolbarButtonClicked(java.lang.String i_strBtnIdentifier)method OnToolbarButtonClickedvoidonToolbarButtonExecuted(java.lang.String i_strBtnIdentifier)method OnToolbarButtonExecutedvoidonUserAddedXMLNode(XMLData i_pXMLNode)method OnUserAddedXMLNode
-
Constructor Details
-
AuthenticViewEventsDefaultHandler
public AuthenticViewEventsDefaultHandler()
-
-
Method Details
-
onSelectionChanged
method OnSelectionChanged- Specified by:
onSelectionChangedin interfaceAuthenticViewEvents- Throws:
AutomationException
-
onKeyboardEvent
public boolean onKeyboardEvent(Enums.SPYKeyEvent i_eKeyEvent, int i_nKeyCode, Enums.SPYVirtualKeyMask i_nVirtualKeyStatus) throws AutomationExceptionmethod OnKeyboardEvent- Specified by:
onKeyboardEventin interfaceAuthenticViewEvents- Throws:
AutomationException
-
onMouseEvent
public boolean onMouseEvent(int i_nXPos, int i_nYPos, Enums.SPYMouseEvent i_eMouseEvent, AuthenticRange i_ipRange) throws AutomationExceptionmethod OnMouseEvent- Specified by:
onMouseEventin interfaceAuthenticViewEvents- Throws:
AutomationException
-
onDragOver
public boolean onDragOver(int i_nXPos, int i_nYPos, Enums.SPYMouseEvent i_eMouseEvent, AuthenticRange i_ipRange, AuthenticDataTransfer i_ipData) throws AutomationExceptionmethod OnDragOver- Specified by:
onDragOverin interfaceAuthenticViewEvents- Throws:
AutomationException
-
onBeforeDrop
public boolean onBeforeDrop(int i_nXPos, int i_nYPos, AuthenticRange i_ipRange, AuthenticDataTransfer i_ipData) throws AutomationExceptionmethod OnBeforeDrop- Specified by:
onBeforeDropin interfaceAuthenticViewEvents- Throws:
AutomationException
-
onContextMenuActivated
method OnContextMenuActivated- Specified by:
onContextMenuActivatedin interfaceAuthenticViewEvents- Throws:
AutomationException
-
onBeforeCut
method OnBeforeCut- Specified by:
onBeforeCutin interfaceAuthenticViewEvents- Throws:
AutomationException
-
onBeforeCopy
method OnBeforeCopy- Specified by:
onBeforeCopyin interfaceAuthenticViewEvents- Throws:
AutomationException
-
onBeforePaste
public boolean onBeforePaste(JVariant i_pData, java.lang.String i_strType) throws AutomationExceptionmethod OnBeforePaste- Specified by:
onBeforePastein interfaceAuthenticViewEvents- Throws:
AutomationException
-
onBeforeDelete
method OnBeforeDelete- Specified by:
onBeforeDeletein interfaceAuthenticViewEvents- Throws:
AutomationException
-
onLoad
method OnLoad- Specified by:
onLoadin interfaceAuthenticViewEvents- Throws:
AutomationException
-
onBeforeSave
method OnBeforeSave- Specified by:
onBeforeSavein interfaceAuthenticViewEvents- Throws:
AutomationException
-
onToolbarButtonClicked
public boolean onToolbarButtonClicked(java.lang.String i_strBtnIdentifier) throws AutomationExceptionmethod OnToolbarButtonClicked- Specified by:
onToolbarButtonClickedin interfaceAuthenticViewEvents- Throws:
AutomationException
-
onToolbarButtonExecuted
public void onToolbarButtonExecuted(java.lang.String i_strBtnIdentifier) throws AutomationExceptionmethod OnToolbarButtonExecuted- Specified by:
onToolbarButtonExecutedin interfaceAuthenticViewEvents- Throws:
AutomationException
-
onUserAddedXMLNode
method OnUserAddedXMLNode- Specified by:
onUserAddedXMLNodein interfaceAuthenticViewEvents- 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
-