servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientservoy sSummary12%30%58%height: 30px;3Constants SummaryConstant returned by JSEvent.Constant returned by JSEvent.Constant returned by JSEvent.Constant returned by JSEvent.Constant returned by JSEvent.Constant returned by JSEvent.Constant for the ALT modifier that can be returned by JSDNDEvent.Constant for the CTRL modifier that can be returned by JSDNDEvent.Constant for the META modifier that can be returned by JSDNDEvent.Constant for the SHIFT modifier that can be returned by JSDNDEvent.Constant returned by JSEvent.Constant returned by JSDNDEvent.Constant returned by JSDNDEvent.Constant returned by JSDNDEvent.Constant returned by JSDNDEvent.Constant returned by JSEvent.servoy sSummary12%30%58%height: 30px;3Property SummaryA data object that specific events can set, a user can set data back to the system for events that supports this.The event data mime type.servoy sSummary12%30%58%height: 30px;3Methods SummaryReturns the result of the drag action.returns the name of the element, can be null if the form was the source of the event.returns the name of the form the element was placed on.Returns the modifiers of the event, see JSDNDEvent.Returns the name of the event which was triggeredReturns the record of the event.returns the source component/element of the event.Returns the time the event occurred.returns the dnd event type see the JSDNDEvents constants what it can return.Returns the x position of the event, relative to the component that fired it, if applicable.Returns the y position of the event, relative to the component that fired it, if applicable.constantservoy sDetail2100%height:30px2Constants DetailsACTIONname
ACTION
dessIndent
Constant returned by JSEvent.getType() in a method that is attached to an onAction event.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowDATACHANGEname
DATACHANGE
dessIndent
Constant returned by JSEvent.getType() in a method that is attached to an onDataChange event.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowDOUBLECLICKname
DOUBLECLICK
dessIndent
Constant returned by JSEvent.getType() in a method that is attached to an onDoubleClick event.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowFOCUSGAINEDname
FOCUSGAINED
dessIndent
Constant returned by JSEvent.getType() in a method that is attached to an onFocusGained or the forms onElementFocusGained event.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowFOCUSLOSTname
FOCUSLOST
dessIndent
Constant returned by JSEvent.getType() in a method that is attached to an onFocusLost or the forms onElementFocusLost event.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowFORMname
FORM
dessIndent
Constant returned by JSEvent.getType() in a method that is attached to a form event (like onShow) or command (like onDeleteRecord)
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowMODIFIER_ALTname
MODIFIER_ALT
dessIndent
Constant for the ALT modifier that can be returned by JSDNDEvent.getModifiers();
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowMODIFIER_CTRLname
MODIFIER_CTRL
dessIndent
Constant for the CTRL modifier that can be returned by JSDNDEvent.getModifiers();
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowMODIFIER_METAname
MODIFIER_META
dessIndent
Constant for the META modifier that can be returned by JSDNDEvent.getModifiers();
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowMODIFIER_SHIFTname
MODIFIER_SHIFT
dessIndent
Constant for the SHIFT modifier that can be returned by JSDNDEvent.getModifiers();
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowNONEname
NONE
dessIndent
Constant returned by JSEvent.getType() if the event is not used in a known event or command.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowONDRAGname
ONDRAG
dessIndent
Constant returned by JSDNDEvent.getType() in a method that is attached to an onDrag event.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowONDRAGENDname
ONDRAGEND
dessIndent
Constant returned by JSDNDEvent.getType() in a method that is attached to an onDragEnd event.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowONDRAGOVERname
ONDRAGOVER
dessIndent
Constant returned by JSDNDEvent.getType() in a method that is attached to an onDragOver event.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowONDROPname
ONDROP
dessIndent
Constant returned by JSDNDEvent.getType() in a method that is attached to an onDrop event.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowRIGHTCLICKname
RIGHTCLICK
dessIndent
Constant returned by JSEvent.getType() in a method that is attached to an onRightClick event.
sIndent a DRAGNDROP constant, representing the result of the drag actionclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetElementNamename
getElementName()
dessIndent
returns the name of the element, can be null if the form was the source of the event.
ret
Returns
sIndent a String representing the element name.clients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetFormNamename
getFormName()
dessIndent
returns the name of the form the element was placed on.
ret
Returns
sIndent a String representing the form name.clients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetModifiersname
getModifiers()
dessIndent
Returns the modifiers of the event, see JSDNDEvent.MODIFIER_XXXX for the modifiers that can be returned.
ret
Returns
sIndent an int which holds the modifiers as a bitset.clients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetNamename
getName()
dessIndent
Returns the name of the event which was triggered
ret
Returns
sIndent name of event as stringclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetRecordname
getRecord()
dessIndent
Returns the record of the event.
ret
Returns
sIndent Record of the eventclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetSourcename
getSource()
dessIndent
returns the source component/element of the event.
If it has a name the getElementName() is the name of this component.
ret
Returns
sIndent an Object representing the source of this event.clients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetTimestampname
getTimestamp()
dessIndent
Returns the time the event occurred.
ret
Returns
sIndent a Date when this event happened.clients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetTypename
getType()
dessIndent
returns the dnd event type see the JSDNDEvents constants what it can return.
ret
Returns
sIndent a String representing the type of this event.clients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetXname
getX()
dessIndent
Returns the x position of the event, relative to the component that fired it, if applicable.
For example drag'n'drop events will set the x,y positions.
ret
Returns
sIndent an int representing the X position.clients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetYname
getY()
dessIndent
Returns the y position of the event, relative to the component that fired it, if applicable.
For example drag'n'drop events will set the x,y positions.
ret
Returns
sIndent an int representing the Y position.clients