Child pages
  • JSDNDEvent

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClient

servoy 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 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

dessIndentConstant returned by JSEvent.getType() in a method that is attached to an onAction event.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow DATACHANGEname

DATACHANGE

dessIndentConstant returned by JSEvent.getType() in a method that is attached to an onDataChange event.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
DOUBLECLICKname

DOUBLECLICK

dessIndentConstant returned by JSEvent.getType() in a method that is attached to an onDoubleClick event.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
FOCUSGAINEDname

FOCUSGAINED

dessIndentConstant returned by JSEvent.getType() in a method that is attached to an onFocusGained or the forms onElementFocusGained event.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
FOCUSLOSTname

FOCUSLOST

dessIndentConstant returned by JSEvent.getType() in a method that is attached to an onFocusLost or the forms onElementFocusLost event.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
FORMname

FORM

dessIndentConstant returned by JSEvent.getType() in a method that is attached to a form event (like onShow) or command (like onDeleteRecord)ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
MODIFIER_ALTname

MODIFIER_ALT

dessIndentConstant for the ALT modifier that can be returned by JSDNDEvent.getModifiers();ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
MODIFIER_CTRLname

MODIFIER_CTRL

dessIndentConstant for the CTRL modifier that can be returned by JSDNDEvent.getModifiers();ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
MODIFIER_METAname

MODIFIER_META

dessIndentConstant for the META modifier that can be returned by JSDNDEvent.getModifiers();ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
MODIFIER_SHIFTname

MODIFIER_SHIFT

dessIndentConstant for the SHIFT modifier that can be returned by JSDNDEvent.getModifiers();ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
NONEname

NONE

dessIndentConstant returned by JSEvent.getType() if the event is not used in a known event or command.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
ONDRAGname

ONDRAG

dessIndentConstant returned by JSDNDEvent.getType() in a method that is attached to an onDrag event.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
ONDRAGENDname

ONDRAGEND

dessIndentConstant returned by JSDNDEvent.getType() in a method that is attached to an onDragEnd event.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
ONDRAGOVERname

ONDRAGOVER

dessIndentConstant returned by JSDNDEvent.getType() in a method that is attached to an onDragOver event.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
ONDROPname

ONDROP

dessIndentConstant returned by JSDNDEvent.getType() in a method that is attached to an onDrop event.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
RIGHTCLICKname

RIGHTCLICK

dessIndentConstant returned by JSEvent.getType() in a method that is attached to an onRightClick event.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 

propertyservoy sDetail2100%height:30px2Property Detailsdataname

data

dessIndentA data object that specific events can set, a user can set data back to the system for events that supports this.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow dataMimeTypename

dataMimeType

dessIndentThe event data mime type.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 

functionservoy sDetail2100%height:30px2Methods DetailsgetDragResultname

getDragResult()

dessIndentReturns the result of the drag action.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow getElementNamename

getElementName()

dessIndentreturns the name of the element, can be null if the form was the source of the event.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getFormNamename

getFormName()

dessIndentreturns the name of the form the element was placed on.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getModifiersname

getModifiers()

dessIndentReturns the modifiers of the event, see JSDNDEvent.MODIFIER_XXXX for the modifiers that can be returned.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
getRecordname

getRecord()

dessIndentReturns the record of the event.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
getSourcename

getSource()

dessIndentreturns the source component/element of the event. If it has a name the getElementName() is the name of this component.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getTimestampname

getTimestamp()

dessIndentReturns the time the event occurred.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getTypename

getType()

dessIndentreturns the dnd event type see the JSDNDEvents constants what it can return.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow 
getXname

getX()

dessIndentReturns 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
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getYname

getY()

dessIndentReturns 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
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow