Child pages
  • JSEvent

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\ 

{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Constants Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#ACTION]
Constant returned by JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#DATACHANGE]
Constant returned by JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#DOUBLECLICK]
Constant returned by JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#FOCUSGAINED]
Constant returned by JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#FOCUSLOST]
Constant returned by JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#FORM]
Constant returned by JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#MODIFIER_ALT]
Constant for the ALT modifier that can be returned by JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#MODIFIER_CTRL]
Constant for the CTRL modifier that can be returned by JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#MODIFIER_META]
Constant for the META modifier that can be returned by JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#MODIFIER_SHIFT]
Constant for the SHIFT modifier that can be returned by JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#NONE]
Constant returned by JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#ONDRAG]
Constant returned by JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#ONDRAGOVER]
Constant returned by JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#ONDROP]
Constant returned by JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#RIGHTCLICK]
Constant returned by JSEvent.{td}{tr}{tbody}{table}\\ 

{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}Object{td}{td}[#data]
A data object that specific events can set, a user can set data back to the system for events that supports this.{td}{tr}{tbody}{table}\\ 

{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#getElementName]\()
returns the name of the element, can be null if the form was the source of the event.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getFormName]\()
returns the name of the form the element was placed on.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getModifiers]\()
Returns the modifiers of the event, see JSEvent.{td}{tr}{tbody}{tbody}{tr}{td}Object{td}{td}[#getSource]\()
returns the source component/element of the event.{td}{tr}{tbody}{tbody}{tr}{td}[Date]{td}{td}[#getTimestamp]\()
Returns the time the event occurred.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getType]\()
returns the event type see the JSEvents constants what it can return.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getX]\()
Returns the x position of the event if applicable.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getY]\()
Returns the x position of the event if applicable.{td}{tr}{tbody}{table}\\ 

{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Constants Details{th}{tr}{tbody:id=64B8050E36DBD8A1-272451AE-442742DE-BB4085A0-41D9BFF16205F397E1D6E96F}{tr:id=name}{td}h6.ACTION{td}{tr}{tr:id=des}{td}{sub-section:64B8050E36DBD8A1-272451AE-442742DE-BB4085A0-41D9BFF16205F397E1D6E96F_des|text=|trigger=button}{sub-section}{sub-section:64B8050E36DBD8A1-272451AE-442742DE-BB4085A0-41D9BFF16205F397E1D6E96F_des|trigger=none|class=sIndent}Constant returned by JSEvent.getType() in a method that is attached to an onAction event.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:64B8050E36DBD8A1-272451AE-442742DE-BB4085A0-41D9BFF16205F397E1D6E96F_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:64B8050E36DBD8A1-272451AE-442742DE-BB4085A0-41D9BFF16205F397E1D6E96F_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:64B8050E36DBD8A1-272451AE-442742DE-BB4085A0-41D9BFF16205F397E1D6E96F_ret|text=|trigger=button}{sub-section}{sub-section:64B8050E36DBD8A1-272451AE-442742DE-BB4085A0-41D9BFF16205F397E1D6E96F_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:64B8050E36DBD8A1-272451AE-442742DE-BB4085A0-41D9BFF16205F397E1D6E96F_see|text=|trigger=button}{sub-section}{sub-section:64B8050E36DBD8A1-272451AE-442742DE-BB4085A0-41D9BFF16205F397E1D6E96F_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:64B8050E36DBD8A1-272451AE-442742DE-BB4085A0-41D9BFF16205F397E1D6E96F_see|text=|trigger=button}{sub-section}{sub-section:64B8050E36DBD8A1-272451AE-442742DE-BB4085A0-41D9BFF16205F397E1D6E96F_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:64B8050E36DBD8A1-272451AE-442742DE-BB4085A0-41D9BFF16205F397E1D6E96F_sam|text=|trigger=button}{sub-section}{sub-section:64B8050E36DBD8A1-272451AE-442742DE-BB4085A0-41D9BFF16205F397E1D6E96F_sam|class=sIndent|trigger=none}{code:language=javascript}
if (event.getType() == JSEvent.ACTION) 
{
   // its an action event.
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=125AE4672D969269-F7A5EA14-46BD404C-B7B2880D-D1AE215A6510B4633AB0AC8C}{tr:id=name}{td}h6.DATACHANGE{td}{tr}{tr:id=des}{td}{sub-section:125AE4672D969269-F7A5EA14-46BD404C-B7B2880D-D1AE215A6510B4633AB0AC8C_des|text=|trigger=button}{sub-section}{sub-section:125AE4672D969269-F7A5EA14-46BD404C-B7B2880D-D1AE215A6510B4633AB0AC8C_des|trigger=none|class=sIndent}Constant returned by JSEvent.getType() in a method that is attached to an onDataChange event.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:125AE4672D969269-F7A5EA14-46BD404C-B7B2880D-D1AE215A6510B4633AB0AC8C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:125AE4672D969269-F7A5EA14-46BD404C-B7B2880D-D1AE215A6510B4633AB0AC8C_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:125AE4672D969269-F7A5EA14-46BD404C-B7B2880D-D1AE215A6510B4633AB0AC8C_ret|text=|trigger=button}{sub-section}{sub-section:125AE4672D969269-F7A5EA14-46BD404C-B7B2880D-D1AE215A6510B4633AB0AC8C_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:125AE4672D969269-F7A5EA14-46BD404C-B7B2880D-D1AE215A6510B4633AB0AC8C_see|text=|trigger=button}{sub-section}{sub-section:125AE4672D969269-F7A5EA14-46BD404C-B7B2880D-D1AE215A6510B4633AB0AC8C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:125AE4672D969269-F7A5EA14-46BD404C-B7B2880D-D1AE215A6510B4633AB0AC8C_see|text=|trigger=button}{sub-section}{sub-section:125AE4672D969269-F7A5EA14-46BD404C-B7B2880D-D1AE215A6510B4633AB0AC8C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:125AE4672D969269-F7A5EA14-46BD404C-B7B2880D-D1AE215A6510B4633AB0AC8C_sam|text=|trigger=button}{sub-section}{sub-section:125AE4672D969269-F7A5EA14-46BD404C-B7B2880D-D1AE215A6510B4633AB0AC8C_sam|class=sIndent|trigger=none}{code:language=javascript}
if (event.getType() == JSEvent.DATACHANGE) 
{
   // its a data change event
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=B7AFDAF6DEFEA77F-34E4EAC4-449A47A2-9115B387-DE69E56B62D0705CF377FB63}{tr:id=name}{td}h6.DOUBLECLICK{td}{tr}{tr:id=des}{td}{sub-section:B7AFDAF6DEFEA77F-34E4EAC4-449A47A2-9115B387-DE69E56B62D0705CF377FB63_des|text=|trigger=button}{sub-section}{sub-section:B7AFDAF6DEFEA77F-34E4EAC4-449A47A2-9115B387-DE69E56B62D0705CF377FB63_des|trigger=none|class=sIndent}Constant returned by JSEvent.getType() in a method that is attached to an onDoubleClick event.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:B7AFDAF6DEFEA77F-34E4EAC4-449A47A2-9115B387-DE69E56B62D0705CF377FB63_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:B7AFDAF6DEFEA77F-34E4EAC4-449A47A2-9115B387-DE69E56B62D0705CF377FB63_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:B7AFDAF6DEFEA77F-34E4EAC4-449A47A2-9115B387-DE69E56B62D0705CF377FB63_ret|text=|trigger=button}{sub-section}{sub-section:B7AFDAF6DEFEA77F-34E4EAC4-449A47A2-9115B387-DE69E56B62D0705CF377FB63_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:B7AFDAF6DEFEA77F-34E4EAC4-449A47A2-9115B387-DE69E56B62D0705CF377FB63_see|text=|trigger=button}{sub-section}{sub-section:B7AFDAF6DEFEA77F-34E4EAC4-449A47A2-9115B387-DE69E56B62D0705CF377FB63_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:B7AFDAF6DEFEA77F-34E4EAC4-449A47A2-9115B387-DE69E56B62D0705CF377FB63_see|text=|trigger=button}{sub-section}{sub-section:B7AFDAF6DEFEA77F-34E4EAC4-449A47A2-9115B387-DE69E56B62D0705CF377FB63_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:B7AFDAF6DEFEA77F-34E4EAC4-449A47A2-9115B387-DE69E56B62D0705CF377FB63_sam|text=|trigger=button}{sub-section}{sub-section:B7AFDAF6DEFEA77F-34E4EAC4-449A47A2-9115B387-DE69E56B62D0705CF377FB63_sam|class=sIndent|trigger=none}{code:language=javascript}
if (event.getType() == JSEvent.DOUBLECLICK) 
{
   // its a double click event.
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=67E224959450D725-10778B0D-4E4F47E1-A4528858-5C9802E5383E457423B27E34}{tr:id=name}{td}h6.FOCUSGAINED{td}{tr}{tr:id=des}{td}{sub-section:67E224959450D725-10778B0D-4E4F47E1-A4528858-5C9802E5383E457423B27E34_des|text=|trigger=button}{sub-section}{sub-section:67E224959450D725-10778B0D-4E4F47E1-A4528858-5C9802E5383E457423B27E34_des|trigger=none|class=sIndent}Constant returned by JSEvent.getType() in a method that is attached to an onFocusGained or the forms onElementFocusGained event.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:67E224959450D725-10778B0D-4E4F47E1-A4528858-5C9802E5383E457423B27E34_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:67E224959450D725-10778B0D-4E4F47E1-A4528858-5C9802E5383E457423B27E34_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:67E224959450D725-10778B0D-4E4F47E1-A4528858-5C9802E5383E457423B27E34_ret|text=|trigger=button}{sub-section}{sub-section:67E224959450D725-10778B0D-4E4F47E1-A4528858-5C9802E5383E457423B27E34_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:67E224959450D725-10778B0D-4E4F47E1-A4528858-5C9802E5383E457423B27E34_see|text=|trigger=button}{sub-section}{sub-section:67E224959450D725-10778B0D-4E4F47E1-A4528858-5C9802E5383E457423B27E34_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:67E224959450D725-10778B0D-4E4F47E1-A4528858-5C9802E5383E457423B27E34_see|text=|trigger=button}{sub-section}{sub-section:67E224959450D725-10778B0D-4E4F47E1-A4528858-5C9802E5383E457423B27E34_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:67E224959450D725-10778B0D-4E4F47E1-A4528858-5C9802E5383E457423B27E34_sam|text=|trigger=button}{sub-section}{sub-section:67E224959450D725-10778B0D-4E4F47E1-A4528858-5C9802E5383E457423B27E34_sam|class=sIndent|trigger=none}{code:language=javascript}
if (event.getType() == JSEvent.FOCUSGAINED) 
{
   // its a focus gained event.
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=9114CF305B71F267-EBED5FC5-458B4A02-891B8065-B5C91CA917C804D1B109E2B4}{tr:id=name}{td}h6.FOCUSLOST{td}{tr}{tr:id=des}{td}{sub-section:9114CF305B71F267-EBED5FC5-458B4A02-891B8065-B5C91CA917C804D1B109E2B4_des|text=|trigger=button}{sub-section}{sub-section:9114CF305B71F267-EBED5FC5-458B4A02-891B8065-B5C91CA917C804D1B109E2B4_des|trigger=none|class=sIndent}Constant returned by JSEvent.getType() in a method that is attached to an onFocusLost or the forms onElementFocusLost event.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:9114CF305B71F267-EBED5FC5-458B4A02-891B8065-B5C91CA917C804D1B109E2B4_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:9114CF305B71F267-EBED5FC5-458B4A02-891B8065-B5C91CA917C804D1B109E2B4_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:9114CF305B71F267-EBED5FC5-458B4A02-891B8065-B5C91CA917C804D1B109E2B4_ret|text=|trigger=button}{sub-section}{sub-section:9114CF305B71F267-EBED5FC5-458B4A02-891B8065-B5C91CA917C804D1B109E2B4_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:9114CF305B71F267-EBED5FC5-458B4A02-891B8065-B5C91CA917C804D1B109E2B4_see|text=|trigger=button}{sub-section}{sub-section:9114CF305B71F267-EBED5FC5-458B4A02-891B8065-B5C91CA917C804D1B109E2B4_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:9114CF305B71F267-EBED5FC5-458B4A02-891B8065-B5C91CA917C804D1B109E2B4_see|text=|trigger=button}{sub-section}{sub-section:9114CF305B71F267-EBED5FC5-458B4A02-891B8065-B5C91CA917C804D1B109E2B4_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:9114CF305B71F267-EBED5FC5-458B4A02-891B8065-B5C91CA917C804D1B109E2B4_sam|text=|trigger=button}{sub-section}{sub-section:9114CF305B71F267-EBED5FC5-458B4A02-891B8065-B5C91CA917C804D1B109E2B4_sam|class=sIndent|trigger=none}{code:language=javascript}
if (event.getType() == JSEvent.FOCUSLOST) 
{
   // its a focus lost event.
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=E5AA841E819DDC3E-8EE4F3F1-473145D1-BCEABAAF-342745B31DCFA6F1407A6265}{tr:id=name}{td}h6.FORM{td}{tr}{tr:id=des}{td}{sub-section:E5AA841E819DDC3E-8EE4F3F1-473145D1-BCEABAAF-342745B31DCFA6F1407A6265_des|text=|trigger=button}{sub-section}{sub-section:E5AA841E819DDC3E-8EE4F3F1-473145D1-BCEABAAF-342745B31DCFA6F1407A6265_des|trigger=none|class=sIndent}Constant returned by JSEvent.getType() in a method that is attached to a form event (like onShow) or command (like onDeleteRecord){sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:E5AA841E819DDC3E-8EE4F3F1-473145D1-BCEABAAF-342745B31DCFA6F1407A6265_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:E5AA841E819DDC3E-8EE4F3F1-473145D1-BCEABAAF-342745B31DCFA6F1407A6265_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:E5AA841E819DDC3E-8EE4F3F1-473145D1-BCEABAAF-342745B31DCFA6F1407A6265_ret|text=|trigger=button}{sub-section}{sub-section:E5AA841E819DDC3E-8EE4F3F1-473145D1-BCEABAAF-342745B31DCFA6F1407A6265_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:E5AA841E819DDC3E-8EE4F3F1-473145D1-BCEABAAF-342745B31DCFA6F1407A6265_see|text=|trigger=button}{sub-section}{sub-section:E5AA841E819DDC3E-8EE4F3F1-473145D1-BCEABAAF-342745B31DCFA6F1407A6265_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:E5AA841E819DDC3E-8EE4F3F1-473145D1-BCEABAAF-342745B31DCFA6F1407A6265_see|text=|trigger=button}{sub-section}{sub-section:E5AA841E819DDC3E-8EE4F3F1-473145D1-BCEABAAF-342745B31DCFA6F1407A6265_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:E5AA841E819DDC3E-8EE4F3F1-473145D1-BCEABAAF-342745B31DCFA6F1407A6265_sam|text=|trigger=button}{sub-section}{sub-section:E5AA841E819DDC3E-8EE4F3F1-473145D1-BCEABAAF-342745B31DCFA6F1407A6265_sam|class=sIndent|trigger=none}{code:language=javascript}
if (event.getType() == JSEvent.FORM) 
{
   // its a form event or command
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=5BF5A1AAD72449BC-3A7CC28C-47924786-9A20B577-5DD12C6C7548C8CEF8BDB7A6}{tr:id=name}{td}h6.MODIFIER_ALT{td}{tr}{tr:id=des}{td}{sub-section:5BF5A1AAD72449BC-3A7CC28C-47924786-9A20B577-5DD12C6C7548C8CEF8BDB7A6_des|text=|trigger=button}{sub-section}{sub-section:5BF5A1AAD72449BC-3A7CC28C-47924786-9A20B577-5DD12C6C7548C8CEF8BDB7A6_des|trigger=none|class=sIndent}Constant for the ALT modifier that can be returned by JSEvent.getModifiers();{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:5BF5A1AAD72449BC-3A7CC28C-47924786-9A20B577-5DD12C6C7548C8CEF8BDB7A6_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:5BF5A1AAD72449BC-3A7CC28C-47924786-9A20B577-5DD12C6C7548C8CEF8BDB7A6_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:5BF5A1AAD72449BC-3A7CC28C-47924786-9A20B577-5DD12C6C7548C8CEF8BDB7A6_ret|text=|trigger=button}{sub-section}{sub-section:5BF5A1AAD72449BC-3A7CC28C-47924786-9A20B577-5DD12C6C7548C8CEF8BDB7A6_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:5BF5A1AAD72449BC-3A7CC28C-47924786-9A20B577-5DD12C6C7548C8CEF8BDB7A6_see|text=|trigger=button}{sub-section}{sub-section:5BF5A1AAD72449BC-3A7CC28C-47924786-9A20B577-5DD12C6C7548C8CEF8BDB7A6_see|class=sIndent|trigger=none}[.getModifiers|JSEvent#getModifiers]\\{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:5BF5A1AAD72449BC-3A7CC28C-47924786-9A20B577-5DD12C6C7548C8CEF8BDB7A6_see|text=|trigger=button}{sub-section}{sub-section:5BF5A1AAD72449BC-3A7CC28C-47924786-9A20B577-5DD12C6C7548C8CEF8BDB7A6_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:5BF5A1AAD72449BC-3A7CC28C-47924786-9A20B577-5DD12C6C7548C8CEF8BDB7A6_sam|text=|trigger=button}{sub-section}{sub-section:5BF5A1AAD72449BC-3A7CC28C-47924786-9A20B577-5DD12C6C7548C8CEF8BDB7A6_sam|class=sIndent|trigger=none}{code:language=javascript}
//test if the SHIFT modifier is used.
if (event.getModifiers() & JSEvent.MODIFIER_SHIFT)
{
	//do shift action
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=C82C354844722E85-7038C38D-43734E94-A82CA860-D3D4059C84A57412B22E7308}{tr:id=name}{td}h6.MODIFIER_CTRL{td}{tr}{tr:id=des}{td}{sub-section:C82C354844722E85-7038C38D-43734E94-A82CA860-D3D4059C84A57412B22E7308_des|text=|trigger=button}{sub-section}{sub-section:C82C354844722E85-7038C38D-43734E94-A82CA860-D3D4059C84A57412B22E7308_des|trigger=none|class=sIndent}Constant for the CTRL modifier that can be returned by JSEvent.getModifiers();{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:C82C354844722E85-7038C38D-43734E94-A82CA860-D3D4059C84A57412B22E7308_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:C82C354844722E85-7038C38D-43734E94-A82CA860-D3D4059C84A57412B22E7308_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:C82C354844722E85-7038C38D-43734E94-A82CA860-D3D4059C84A57412B22E7308_ret|text=|trigger=button}{sub-section}{sub-section:C82C354844722E85-7038C38D-43734E94-A82CA860-D3D4059C84A57412B22E7308_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:C82C354844722E85-7038C38D-43734E94-A82CA860-D3D4059C84A57412B22E7308_see|text=|trigger=button}{sub-section}{sub-section:C82C354844722E85-7038C38D-43734E94-A82CA860-D3D4059C84A57412B22E7308_see|class=sIndent|trigger=none}[.getModifiers|JSEvent#getModifiers]\\{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:C82C354844722E85-7038C38D-43734E94-A82CA860-D3D4059C84A57412B22E7308_see|text=|trigger=button}{sub-section}{sub-section:C82C354844722E85-7038C38D-43734E94-A82CA860-D3D4059C84A57412B22E7308_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:C82C354844722E85-7038C38D-43734E94-A82CA860-D3D4059C84A57412B22E7308_sam|text=|trigger=button}{sub-section}{sub-section:C82C354844722E85-7038C38D-43734E94-A82CA860-D3D4059C84A57412B22E7308_sam|class=sIndent|trigger=none}{code:language=javascript}
//test if the SHIFT modifier is used.
if (event.getModifiers() & JSEvent.MODIFIER_SHIFT)
{
	//do shift action
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=656E3D509E8D9063-822D9182-407F4F64-931A9EB6-1421DB04928D8F8FB03586C5}{tr:id=name}{td}h6.MODIFIER_META{td}{tr}{tr:id=des}{td}{sub-section:656E3D509E8D9063-822D9182-407F4F64-931A9EB6-1421DB04928D8F8FB03586C5_des|text=|trigger=button}{sub-section}{sub-section:656E3D509E8D9063-822D9182-407F4F64-931A9EB6-1421DB04928D8F8FB03586C5_des|trigger=none|class=sIndent}Constant for the META modifier that can be returned by JSEvent.getModifiers();{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:656E3D509E8D9063-822D9182-407F4F64-931A9EB6-1421DB04928D8F8FB03586C5_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:656E3D509E8D9063-822D9182-407F4F64-931A9EB6-1421DB04928D8F8FB03586C5_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:656E3D509E8D9063-822D9182-407F4F64-931A9EB6-1421DB04928D8F8FB03586C5_ret|text=|trigger=button}{sub-section}{sub-section:656E3D509E8D9063-822D9182-407F4F64-931A9EB6-1421DB04928D8F8FB03586C5_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:656E3D509E8D9063-822D9182-407F4F64-931A9EB6-1421DB04928D8F8FB03586C5_see|text=|trigger=button}{sub-section}{sub-section:656E3D509E8D9063-822D9182-407F4F64-931A9EB6-1421DB04928D8F8FB03586C5_see|class=sIndent|trigger=none}[.getModifiers|JSEvent#getModifiers]\\{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:656E3D509E8D9063-822D9182-407F4F64-931A9EB6-1421DB04928D8F8FB03586C5_see|text=|trigger=button}{sub-section}{sub-section:656E3D509E8D9063-822D9182-407F4F64-931A9EB6-1421DB04928D8F8FB03586C5_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:656E3D509E8D9063-822D9182-407F4F64-931A9EB6-1421DB04928D8F8FB03586C5_sam|text=|trigger=button}{sub-section}{sub-section:656E3D509E8D9063-822D9182-407F4F64-931A9EB6-1421DB04928D8F8FB03586C5_sam|class=sIndent|trigger=none}{code:language=javascript}
//test if the SHIFT modifier is used.
if (event.getModifiers() & JSEvent.MODIFIER_SHIFT)
{
	//do shift action
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=E0B3F8D07509B7C0-B5E33888-40E14D33-A7CCA725-C0145324680D7714BACD235E}{tr:id=name}{td}h6.MODIFIER_SHIFT{td}{tr}{tr:id=des}{td}{sub-section:E0B3F8D07509B7C0-B5E33888-40E14D33-A7CCA725-C0145324680D7714BACD235E_des|text=|trigger=button}{sub-section}{sub-section:E0B3F8D07509B7C0-B5E33888-40E14D33-A7CCA725-C0145324680D7714BACD235E_des|trigger=none|class=sIndent}Constant for the SHIFT modifier that can be returned by JSEvent.getModifiers();{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:E0B3F8D07509B7C0-B5E33888-40E14D33-A7CCA725-C0145324680D7714BACD235E_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:E0B3F8D07509B7C0-B5E33888-40E14D33-A7CCA725-C0145324680D7714BACD235E_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:E0B3F8D07509B7C0-B5E33888-40E14D33-A7CCA725-C0145324680D7714BACD235E_ret|text=|trigger=button}{sub-section}{sub-section:E0B3F8D07509B7C0-B5E33888-40E14D33-A7CCA725-C0145324680D7714BACD235E_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:E0B3F8D07509B7C0-B5E33888-40E14D33-A7CCA725-C0145324680D7714BACD235E_see|text=|trigger=button}{sub-section}{sub-section:E0B3F8D07509B7C0-B5E33888-40E14D33-A7CCA725-C0145324680D7714BACD235E_see|class=sIndent|trigger=none}[.getModifiers|JSEvent#getModifiers]\\{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:E0B3F8D07509B7C0-B5E33888-40E14D33-A7CCA725-C0145324680D7714BACD235E_see|text=|trigger=button}{sub-section}{sub-section:E0B3F8D07509B7C0-B5E33888-40E14D33-A7CCA725-C0145324680D7714BACD235E_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:E0B3F8D07509B7C0-B5E33888-40E14D33-A7CCA725-C0145324680D7714BACD235E_sam|text=|trigger=button}{sub-section}{sub-section:E0B3F8D07509B7C0-B5E33888-40E14D33-A7CCA725-C0145324680D7714BACD235E_sam|class=sIndent|trigger=none}{code:language=javascript}
//test if the SHIFT modifier is used.
if (event.getModifiers() & JSEvent.MODIFIER_SHIFT)
{
	//do shift action
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=FDE71973124D0024-A9F09338-43FC4E06-8BE9A49C-43899E25D83270B48F36C1BF}{tr:id=name}{td}h6.NONE{td}{tr}{tr:id=des}{td}{sub-section:FDE71973124D0024-A9F09338-43FC4E06-8BE9A49C-43899E25D83270B48F36C1BF_des|text=|trigger=button}{sub-section}{sub-section:FDE71973124D0024-A9F09338-43FC4E06-8BE9A49C-43899E25D83270B48F36C1BF_des|trigger=none|class=sIndent}Constant returned by JSEvent.getType() if the event is not used in a known event or command.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:FDE71973124D0024-A9F09338-43FC4E06-8BE9A49C-43899E25D83270B48F36C1BF_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:FDE71973124D0024-A9F09338-43FC4E06-8BE9A49C-43899E25D83270B48F36C1BF_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:FDE71973124D0024-A9F09338-43FC4E06-8BE9A49C-43899E25D83270B48F36C1BF_ret|text=|trigger=button}{sub-section}{sub-section:FDE71973124D0024-A9F09338-43FC4E06-8BE9A49C-43899E25D83270B48F36C1BF_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:FDE71973124D0024-A9F09338-43FC4E06-8BE9A49C-43899E25D83270B48F36C1BF_see|text=|trigger=button}{sub-section}{sub-section:FDE71973124D0024-A9F09338-43FC4E06-8BE9A49C-43899E25D83270B48F36C1BF_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:FDE71973124D0024-A9F09338-43FC4E06-8BE9A49C-43899E25D83270B48F36C1BF_see|text=|trigger=button}{sub-section}{sub-section:FDE71973124D0024-A9F09338-43FC4E06-8BE9A49C-43899E25D83270B48F36C1BF_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:FDE71973124D0024-A9F09338-43FC4E06-8BE9A49C-43899E25D83270B48F36C1BF_sam|text=|trigger=button}{sub-section}{sub-section:FDE71973124D0024-A9F09338-43FC4E06-8BE9A49C-43899E25D83270B48F36C1BF_sam|class=sIndent|trigger=none}{code:language=javascript}
if (event.getType() == JSEvent.NONE) 
{
   // type is not set.
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=B42A5C9097F3A208-5AF84260-4E11464A-8958AFAC-F449C003AA428E849824BF28}{tr:id=name}{td}h6.ONDRAG{td}{tr}{tr:id=des}{td}{sub-section:B42A5C9097F3A208-5AF84260-4E11464A-8958AFAC-F449C003AA428E849824BF28_des|text=|trigger=button}{sub-section}{sub-section:B42A5C9097F3A208-5AF84260-4E11464A-8958AFAC-F449C003AA428E849824BF28_des|trigger=none|class=sIndent}Constant returned by JSEvent.getType() in a method that is attached to an onDrag event.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:B42A5C9097F3A208-5AF84260-4E11464A-8958AFAC-F449C003AA428E849824BF28_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:B42A5C9097F3A208-5AF84260-4E11464A-8958AFAC-F449C003AA428E849824BF28_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:B42A5C9097F3A208-5AF84260-4E11464A-8958AFAC-F449C003AA428E849824BF28_ret|text=|trigger=button}{sub-section}{sub-section:B42A5C9097F3A208-5AF84260-4E11464A-8958AFAC-F449C003AA428E849824BF28_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:B42A5C9097F3A208-5AF84260-4E11464A-8958AFAC-F449C003AA428E849824BF28_see|text=|trigger=button}{sub-section}{sub-section:B42A5C9097F3A208-5AF84260-4E11464A-8958AFAC-F449C003AA428E849824BF28_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:B42A5C9097F3A208-5AF84260-4E11464A-8958AFAC-F449C003AA428E849824BF28_see|text=|trigger=button}{sub-section}{sub-section:B42A5C9097F3A208-5AF84260-4E11464A-8958AFAC-F449C003AA428E849824BF28_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:B42A5C9097F3A208-5AF84260-4E11464A-8958AFAC-F449C003AA428E849824BF28_sam|text=|trigger=button}{sub-section}{sub-section:B42A5C9097F3A208-5AF84260-4E11464A-8958AFAC-F449C003AA428E849824BF28_sam|class=sIndent|trigger=none}{code:language=javascript}
if (event.getType() == JSEvent.ONDRAG) 
{
   // its an ondrag event
   if (event.getElementName() == 'todragelement')
   	return DRAGNDROP.COPY
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=AD59C8F3655A9722-8D0AAE0E-4DE0458A-9E8AA702-38F2327F7A7C5E0C03D6FE12}{tr:id=name}{td}h6.ONDRAGOVER{td}{tr}{tr:id=des}{td}{sub-section:AD59C8F3655A9722-8D0AAE0E-4DE0458A-9E8AA702-38F2327F7A7C5E0C03D6FE12_des|text=|trigger=button}{sub-section}{sub-section:AD59C8F3655A9722-8D0AAE0E-4DE0458A-9E8AA702-38F2327F7A7C5E0C03D6FE12_des|trigger=none|class=sIndent}Constant returned by JSEvent.getType() in a method that is attached to an onDragOver event.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:AD59C8F3655A9722-8D0AAE0E-4DE0458A-9E8AA702-38F2327F7A7C5E0C03D6FE12_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:AD59C8F3655A9722-8D0AAE0E-4DE0458A-9E8AA702-38F2327F7A7C5E0C03D6FE12_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:AD59C8F3655A9722-8D0AAE0E-4DE0458A-9E8AA702-38F2327F7A7C5E0C03D6FE12_ret|text=|trigger=button}{sub-section}{sub-section:AD59C8F3655A9722-8D0AAE0E-4DE0458A-9E8AA702-38F2327F7A7C5E0C03D6FE12_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:AD59C8F3655A9722-8D0AAE0E-4DE0458A-9E8AA702-38F2327F7A7C5E0C03D6FE12_see|text=|trigger=button}{sub-section}{sub-section:AD59C8F3655A9722-8D0AAE0E-4DE0458A-9E8AA702-38F2327F7A7C5E0C03D6FE12_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:AD59C8F3655A9722-8D0AAE0E-4DE0458A-9E8AA702-38F2327F7A7C5E0C03D6FE12_see|text=|trigger=button}{sub-section}{sub-section:AD59C8F3655A9722-8D0AAE0E-4DE0458A-9E8AA702-38F2327F7A7C5E0C03D6FE12_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:AD59C8F3655A9722-8D0AAE0E-4DE0458A-9E8AA702-38F2327F7A7C5E0C03D6FE12_sam|text=|trigger=button}{sub-section}{sub-section:AD59C8F3655A9722-8D0AAE0E-4DE0458A-9E8AA702-38F2327F7A7C5E0C03D6FE12_sam|class=sIndent|trigger=none}{code:language=javascript}
if (event.getType() == JSEvent.ONDRAGOVER) 
{
   // its an on drag over event.
   // return true if it over the right element.
   return event.getElementName() == 'candroponelement';
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=069D0F71EF8AA794-4F307398-487146F5-915FBF5F-D6AE89208B5B55E0AA5534D7}{tr:id=name}{td}h6.ONDROP{td}{tr}{tr:id=des}{td}{sub-section:069D0F71EF8AA794-4F307398-487146F5-915FBF5F-D6AE89208B5B55E0AA5534D7_des|text=|trigger=button}{sub-section}{sub-section:069D0F71EF8AA794-4F307398-487146F5-915FBF5F-D6AE89208B5B55E0AA5534D7_des|trigger=none|class=sIndent}Constant returned by JSEvent.getType() in a method that is attached to an onDrop event.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:069D0F71EF8AA794-4F307398-487146F5-915FBF5F-D6AE89208B5B55E0AA5534D7_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:069D0F71EF8AA794-4F307398-487146F5-915FBF5F-D6AE89208B5B55E0AA5534D7_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:069D0F71EF8AA794-4F307398-487146F5-915FBF5F-D6AE89208B5B55E0AA5534D7_ret|text=|trigger=button}{sub-section}{sub-section:069D0F71EF8AA794-4F307398-487146F5-915FBF5F-D6AE89208B5B55E0AA5534D7_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:069D0F71EF8AA794-4F307398-487146F5-915FBF5F-D6AE89208B5B55E0AA5534D7_see|text=|trigger=button}{sub-section}{sub-section:069D0F71EF8AA794-4F307398-487146F5-915FBF5F-D6AE89208B5B55E0AA5534D7_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:069D0F71EF8AA794-4F307398-487146F5-915FBF5F-D6AE89208B5B55E0AA5534D7_see|text=|trigger=button}{sub-section}{sub-section:069D0F71EF8AA794-4F307398-487146F5-915FBF5F-D6AE89208B5B55E0AA5534D7_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:069D0F71EF8AA794-4F307398-487146F5-915FBF5F-D6AE89208B5B55E0AA5534D7_sam|text=|trigger=button}{sub-section}{sub-section:069D0F71EF8AA794-4F307398-487146F5-915FBF5F-D6AE89208B5B55E0AA5534D7_sam|class=sIndent|trigger=none}{code:language=javascript}
if (event.getType() == JSEvent.ONDROP) 
{
   // its a on drop event.
   var element = elements[event.getElementName()];
   // do drop on element
   return true;
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=1D91A8C11BB7ABD6-CC768321-460A41DE-95448DDA-3859FEC4465159D42BE24BB0}{tr:id=name}{td}h6.RIGHTCLICK{td}{tr}{tr:id=des}{td}{sub-section:1D91A8C11BB7ABD6-CC768321-460A41DE-95448DDA-3859FEC4465159D42BE24BB0_des|text=|trigger=button}{sub-section}{sub-section:1D91A8C11BB7ABD6-CC768321-460A41DE-95448DDA-3859FEC4465159D42BE24BB0_des|trigger=none|class=sIndent}Constant returned by JSEvent.getType() in a method that is attached to an onRightClick event.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:1D91A8C11BB7ABD6-CC768321-460A41DE-95448DDA-3859FEC4465159D42BE24BB0_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:1D91A8C11BB7ABD6-CC768321-460A41DE-95448DDA-3859FEC4465159D42BE24BB0_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:1D91A8C11BB7ABD6-CC768321-460A41DE-95448DDA-3859FEC4465159D42BE24BB0_ret|text=|trigger=button}{sub-section}{sub-section:1D91A8C11BB7ABD6-CC768321-460A41DE-95448DDA-3859FEC4465159D42BE24BB0_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:1D91A8C11BB7ABD6-CC768321-460A41DE-95448DDA-3859FEC4465159D42BE24BB0_see|text=|trigger=button}{sub-section}{sub-section:1D91A8C11BB7ABD6-CC768321-460A41DE-95448DDA-3859FEC4465159D42BE24BB0_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:1D91A8C11BB7ABD6-CC768321-460A41DE-95448DDA-3859FEC4465159D42BE24BB0_see|text=|trigger=button}{sub-section}{sub-section:1D91A8C11BB7ABD6-CC768321-460A41DE-95448DDA-3859FEC4465159D42BE24BB0_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:1D91A8C11BB7ABD6-CC768321-460A41DE-95448DDA-3859FEC4465159D42BE24BB0_sam|text=|trigger=button}{sub-section}{sub-section:1D91A8C11BB7ABD6-CC768321-460A41DE-95448DDA-3859FEC4465159D42BE24BB0_sam|class=sIndent|trigger=none}{code:language=javascript}
if (event.getType() == JSEvent.RIGHTCLICK) 
{
   // its a right click event.
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ 

{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=AD96359C553A6324-8A473F69-40204B45-89BFB71F-C967BF9D4C0A0456D71D6C80}{tr:id=name}{td}h6.data{td}{tr}{tr:id=des}{td}{sub-section:AD96359C553A6324-8A473F69-40204B45-89BFB71F-C967BF9D4C0A0456D71D6C80_des|text=|trigger=button}{sub-section}{sub-section:AD96359C553A6324-8A473F69-40204B45-89BFB71F-C967BF9D4C0A0456D71D6C80_des|trigger=none|class=sIndent}A data object that specific events can set, a user can set data back to the system for events that supports this.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:AD96359C553A6324-8A473F69-40204B45-89BFB71F-C967BF9D4C0A0456D71D6C80_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:AD96359C553A6324-8A473F69-40204B45-89BFB71F-C967BF9D4C0A0456D71D6C80_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:AD96359C553A6324-8A473F69-40204B45-89BFB71F-C967BF9D4C0A0456D71D6C80_ret|text=|trigger=button}{sub-section}{sub-section:AD96359C553A6324-8A473F69-40204B45-89BFB71F-C967BF9D4C0A0456D71D6C80_ret|trigger=none|class=sIndent}Object{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:AD96359C553A6324-8A473F69-40204B45-89BFB71F-C967BF9D4C0A0456D71D6C80_see|text=|trigger=button}{sub-section}{sub-section:AD96359C553A6324-8A473F69-40204B45-89BFB71F-C967BF9D4C0A0456D71D6C80_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:AD96359C553A6324-8A473F69-40204B45-89BFB71F-C967BF9D4C0A0456D71D6C80_see|text=|trigger=button}{sub-section}{sub-section:AD96359C553A6324-8A473F69-40204B45-89BFB71F-C967BF9D4C0A0456D71D6C80_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:AD96359C553A6324-8A473F69-40204B45-89BFB71F-C967BF9D4C0A0456D71D6C80_sam|text=|trigger=button}{sub-section}{sub-section:AD96359C553A6324-8A473F69-40204B45-89BFB71F-C967BF9D4C0A0456D71D6C80_sam|class=sIndent|trigger=none}{code:language=javascript}
// A client design method that handles ondrag
if (event.getType() == JSEvent.ONDRAG)
{
     // the data is the selected elements array
     var elements = event.data;
     // only start a client design drag when there is 1 element
     if (elements.length == 1)
     {
     	return true;
     }
}

// code for a data drag method
event.data = "drag me!";
return DRAGNDROP.COPY;

// code for a data drop method
var data = event.data;
elemements[event.getElementName()].setText(data);
return true;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ 

{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=2FCBB5DFEF8818FA-1F78E1EA-49D04CA9-8971AF70-8E0B50CD479FB611E14DA752}{tr:id=name}{td}h6.getElementName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getElementName{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:2FCBB5DFEF8818FA-1F78E1EA-49D04CA9-8971AF70-8E0B50CD479FB611E14DA752_des|text=|trigger=button}{sub-section}{sub-section:2FCBB5DFEF8818FA-1F78E1EA-49D04CA9-8971AF70-8E0B50CD479FB611E14DA752_des|trigger=none|class=sIndent}returns the name of the element, can be null if the form was the source of the event.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:2FCBB5DFEF8818FA-1F78E1EA-49D04CA9-8971AF70-8E0B50CD479FB611E14DA752_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:2FCBB5DFEF8818FA-1F78E1EA-49D04CA9-8971AF70-8E0B50CD479FB611E14DA752_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:2FCBB5DFEF8818FA-1F78E1EA-49D04CA9-8971AF70-8E0B50CD479FB611E14DA752_ret|text=|trigger=button}{sub-section}{sub-section:2FCBB5DFEF8818FA-1F78E1EA-49D04CA9-8971AF70-8E0B50CD479FB611E14DA752_ret|trigger=none|class=sIndent}[String] -- a String representing the element name.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:2FCBB5DFEF8818FA-1F78E1EA-49D04CA9-8971AF70-8E0B50CD479FB611E14DA752_see|text=|trigger=button}{sub-section}{sub-section:2FCBB5DFEF8818FA-1F78E1EA-49D04CA9-8971AF70-8E0B50CD479FB611E14DA752_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:2FCBB5DFEF8818FA-1F78E1EA-49D04CA9-8971AF70-8E0B50CD479FB611E14DA752_see|text=|trigger=button}{sub-section}{sub-section:2FCBB5DFEF8818FA-1F78E1EA-49D04CA9-8971AF70-8E0B50CD479FB611E14DA752_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:2FCBB5DFEF8818FA-1F78E1EA-49D04CA9-8971AF70-8E0B50CD479FB611E14DA752_sam|text=|trigger=button}{sub-section}{sub-section:2FCBB5DFEF8818FA-1F78E1EA-49D04CA9-8971AF70-8E0B50CD479FB611E14DA752_sam|class=sIndent|trigger=none}{code:language=javascript}
if (event.getElementName() == 'myElement')
{
    elements[event.getElementName()].bgcolor = '#ff0000';
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=F24D623E8B4A771E-72DA9BE3-4B6D4641-A2A1850E-954228F867292591E2837223}{tr:id=name}{td}h6.getFormName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getFormName{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:F24D623E8B4A771E-72DA9BE3-4B6D4641-A2A1850E-954228F867292591E2837223_des|text=|trigger=button}{sub-section}{sub-section:F24D623E8B4A771E-72DA9BE3-4B6D4641-A2A1850E-954228F867292591E2837223_des|trigger=none|class=sIndent}returns the name of the form the element was placed on.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:F24D623E8B4A771E-72DA9BE3-4B6D4641-A2A1850E-954228F867292591E2837223_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:F24D623E8B4A771E-72DA9BE3-4B6D4641-A2A1850E-954228F867292591E2837223_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:F24D623E8B4A771E-72DA9BE3-4B6D4641-A2A1850E-954228F867292591E2837223_ret|text=|trigger=button}{sub-section}{sub-section:F24D623E8B4A771E-72DA9BE3-4B6D4641-A2A1850E-954228F867292591E2837223_ret|trigger=none|class=sIndent}[String] -- a String representing the form name.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:F24D623E8B4A771E-72DA9BE3-4B6D4641-A2A1850E-954228F867292591E2837223_see|text=|trigger=button}{sub-section}{sub-section:F24D623E8B4A771E-72DA9BE3-4B6D4641-A2A1850E-954228F867292591E2837223_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:F24D623E8B4A771E-72DA9BE3-4B6D4641-A2A1850E-954228F867292591E2837223_see|text=|trigger=button}{sub-section}{sub-section:F24D623E8B4A771E-72DA9BE3-4B6D4641-A2A1850E-954228F867292591E2837223_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:F24D623E8B4A771E-72DA9BE3-4B6D4641-A2A1850E-954228F867292591E2837223_sam|text=|trigger=button}{sub-section}{sub-section:F24D623E8B4A771E-72DA9BE3-4B6D4641-A2A1850E-954228F867292591E2837223_sam|class=sIndent|trigger=none}{code:language=javascript}
forms[event.getFormName()].myFormMethod();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=2E5AFB433EFD04A5-FAFE2F07-4FF64078-AF1392DD-47C01FD1B6E8159C59F16659}{tr:id=name}{td}h6.getModifiers{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getModifiers{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:2E5AFB433EFD04A5-FAFE2F07-4FF64078-AF1392DD-47C01FD1B6E8159C59F16659_des|text=|trigger=button}{sub-section}{sub-section:2E5AFB433EFD04A5-FAFE2F07-4FF64078-AF1392DD-47C01FD1B6E8159C59F16659_des|trigger=none|class=sIndent}Returns the modifiers of the event, see JSEvent.MODIFIER_XXXX for the modifiers that can be returned.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:2E5AFB433EFD04A5-FAFE2F07-4FF64078-AF1392DD-47C01FD1B6E8159C59F16659_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:2E5AFB433EFD04A5-FAFE2F07-4FF64078-AF1392DD-47C01FD1B6E8159C59F16659_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:2E5AFB433EFD04A5-FAFE2F07-4FF64078-AF1392DD-47C01FD1B6E8159C59F16659_ret|text=|trigger=button}{sub-section}{sub-section:2E5AFB433EFD04A5-FAFE2F07-4FF64078-AF1392DD-47C01FD1B6E8159C59F16659_ret|trigger=none|class=sIndent}[Number] -- an int which holds the modifiers as a bitset.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:2E5AFB433EFD04A5-FAFE2F07-4FF64078-AF1392DD-47C01FD1B6E8159C59F16659_see|text=|trigger=button}{sub-section}{sub-section:2E5AFB433EFD04A5-FAFE2F07-4FF64078-AF1392DD-47C01FD1B6E8159C59F16659_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:2E5AFB433EFD04A5-FAFE2F07-4FF64078-AF1392DD-47C01FD1B6E8159C59F16659_see|text=|trigger=button}{sub-section}{sub-section:2E5AFB433EFD04A5-FAFE2F07-4FF64078-AF1392DD-47C01FD1B6E8159C59F16659_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:2E5AFB433EFD04A5-FAFE2F07-4FF64078-AF1392DD-47C01FD1B6E8159C59F16659_sam|text=|trigger=button}{sub-section}{sub-section:2E5AFB433EFD04A5-FAFE2F07-4FF64078-AF1392DD-47C01FD1B6E8159C59F16659_sam|class=sIndent|trigger=none}{code:language=javascript}
//test if the SHIFT modifier is used.
if (event.getModifiers() & JSEvent.MODIFIER_SHIFT)
{
	//do shift action
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=410A5466CF2824F0-CA154FAA-467E4722-A8998570-C250E1D89FB807B6D7FA16F9}{tr:id=name}{td}h6.getSource{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}Object{span}{span:id=iets|style=float: left; font-weight: bold;}getSource{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:410A5466CF2824F0-CA154FAA-467E4722-A8998570-C250E1D89FB807B6D7FA16F9_des|text=|trigger=button}{sub-section}{sub-section:410A5466CF2824F0-CA154FAA-467E4722-A8998570-C250E1D89FB807B6D7FA16F9_des|trigger=none|class=sIndent}returns the source component/element of the event.
If it has a name the getElementName() is the name of this component.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:410A5466CF2824F0-CA154FAA-467E4722-A8998570-C250E1D89FB807B6D7FA16F9_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:410A5466CF2824F0-CA154FAA-467E4722-A8998570-C250E1D89FB807B6D7FA16F9_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:410A5466CF2824F0-CA154FAA-467E4722-A8998570-C250E1D89FB807B6D7FA16F9_ret|text=|trigger=button}{sub-section}{sub-section:410A5466CF2824F0-CA154FAA-467E4722-A8998570-C250E1D89FB807B6D7FA16F9_ret|trigger=none|class=sIndent}Object -- an Object representing the source of this event.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:410A5466CF2824F0-CA154FAA-467E4722-A8998570-C250E1D89FB807B6D7FA16F9_see|text=|trigger=button}{sub-section}{sub-section:410A5466CF2824F0-CA154FAA-467E4722-A8998570-C250E1D89FB807B6D7FA16F9_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:410A5466CF2824F0-CA154FAA-467E4722-A8998570-C250E1D89FB807B6D7FA16F9_see|text=|trigger=button}{sub-section}{sub-section:410A5466CF2824F0-CA154FAA-467E4722-A8998570-C250E1D89FB807B6D7FA16F9_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:410A5466CF2824F0-CA154FAA-467E4722-A8998570-C250E1D89FB807B6D7FA16F9_sam|text=|trigger=button}{sub-section}{sub-section:410A5466CF2824F0-CA154FAA-467E4722-A8998570-C250E1D89FB807B6D7FA16F9_sam|class=sIndent|trigger=none}{code:language=javascript}
var sourceDataProvider = event.getSource().getDataProviderID();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=52DAF81FAF2284E7-F392917F-4B374946-9EBD9D3B-80224D9E28773A9517F8FAEB}{tr:id=name}{td}h6.getTimestamp{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Date]{span}{span:id=iets|style=float: left; font-weight: bold;}getTimestamp{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:52DAF81FAF2284E7-F392917F-4B374946-9EBD9D3B-80224D9E28773A9517F8FAEB_des|text=|trigger=button}{sub-section}{sub-section:52DAF81FAF2284E7-F392917F-4B374946-9EBD9D3B-80224D9E28773A9517F8FAEB_des|trigger=none|class=sIndent}Returns the time the event occurred.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:52DAF81FAF2284E7-F392917F-4B374946-9EBD9D3B-80224D9E28773A9517F8FAEB_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:52DAF81FAF2284E7-F392917F-4B374946-9EBD9D3B-80224D9E28773A9517F8FAEB_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:52DAF81FAF2284E7-F392917F-4B374946-9EBD9D3B-80224D9E28773A9517F8FAEB_ret|text=|trigger=button}{sub-section}{sub-section:52DAF81FAF2284E7-F392917F-4B374946-9EBD9D3B-80224D9E28773A9517F8FAEB_ret|trigger=none|class=sIndent}[Date] -- a Date when this event happened.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:52DAF81FAF2284E7-F392917F-4B374946-9EBD9D3B-80224D9E28773A9517F8FAEB_see|text=|trigger=button}{sub-section}{sub-section:52DAF81FAF2284E7-F392917F-4B374946-9EBD9D3B-80224D9E28773A9517F8FAEB_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:52DAF81FAF2284E7-F392917F-4B374946-9EBD9D3B-80224D9E28773A9517F8FAEB_see|text=|trigger=button}{sub-section}{sub-section:52DAF81FAF2284E7-F392917F-4B374946-9EBD9D3B-80224D9E28773A9517F8FAEB_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:52DAF81FAF2284E7-F392917F-4B374946-9EBD9D3B-80224D9E28773A9517F8FAEB_sam|text=|trigger=button}{sub-section}{sub-section:52DAF81FAF2284E7-F392917F-4B374946-9EBD9D3B-80224D9E28773A9517F8FAEB_sam|class=sIndent|trigger=none}{code:language=javascript}
event.getTimestamp();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=763E658782745C8B-26186980-402A4BED-9A89A17F-A8471A11F4C8499EB3D15529}{tr:id=name}{td}h6.getType{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getType{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:763E658782745C8B-26186980-402A4BED-9A89A17F-A8471A11F4C8499EB3D15529_des|text=|trigger=button}{sub-section}{sub-section:763E658782745C8B-26186980-402A4BED-9A89A17F-A8471A11F4C8499EB3D15529_des|trigger=none|class=sIndent}returns the event type see the JSEvents constants what it can return.
Plugins can create events with there own types.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:763E658782745C8B-26186980-402A4BED-9A89A17F-A8471A11F4C8499EB3D15529_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:763E658782745C8B-26186980-402A4BED-9A89A17F-A8471A11F4C8499EB3D15529_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:763E658782745C8B-26186980-402A4BED-9A89A17F-A8471A11F4C8499EB3D15529_ret|text=|trigger=button}{sub-section}{sub-section:763E658782745C8B-26186980-402A4BED-9A89A17F-A8471A11F4C8499EB3D15529_ret|trigger=none|class=sIndent}[String] -- a String representing the type of this event.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:763E658782745C8B-26186980-402A4BED-9A89A17F-A8471A11F4C8499EB3D15529_see|text=|trigger=button}{sub-section}{sub-section:763E658782745C8B-26186980-402A4BED-9A89A17F-A8471A11F4C8499EB3D15529_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:763E658782745C8B-26186980-402A4BED-9A89A17F-A8471A11F4C8499EB3D15529_see|text=|trigger=button}{sub-section}{sub-section:763E658782745C8B-26186980-402A4BED-9A89A17F-A8471A11F4C8499EB3D15529_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:763E658782745C8B-26186980-402A4BED-9A89A17F-A8471A11F4C8499EB3D15529_sam|text=|trigger=button}{sub-section}{sub-section:763E658782745C8B-26186980-402A4BED-9A89A17F-A8471A11F4C8499EB3D15529_sam|class=sIndent|trigger=none}{code:language=javascript}
if (event.getType() == JSEvent.ACTION) 
{
   // its an action event.
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=BAF0F6E1B928F4EE-1FFA1F81-4EC745F3-AE1BB048-44C34E5D6FD5B49F8560D28F}{tr:id=name}{td}h6.getX{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getX{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:BAF0F6E1B928F4EE-1FFA1F81-4EC745F3-AE1BB048-44C34E5D6FD5B49F8560D28F_des|text=|trigger=button}{sub-section}{sub-section:BAF0F6E1B928F4EE-1FFA1F81-4EC745F3-AE1BB048-44C34E5D6FD5B49F8560D28F_des|trigger=none|class=sIndent}Returns the x position of the event if applicable.
For example drag'n'drop events will set the x,y positions.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:BAF0F6E1B928F4EE-1FFA1F81-4EC745F3-AE1BB048-44C34E5D6FD5B49F8560D28F_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:BAF0F6E1B928F4EE-1FFA1F81-4EC745F3-AE1BB048-44C34E5D6FD5B49F8560D28F_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:BAF0F6E1B928F4EE-1FFA1F81-4EC745F3-AE1BB048-44C34E5D6FD5B49F8560D28F_ret|text=|trigger=button}{sub-section}{sub-section:BAF0F6E1B928F4EE-1FFA1F81-4EC745F3-AE1BB048-44C34E5D6FD5B49F8560D28F_ret|trigger=none|class=sIndent}[Number] -- an int representing the X position.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:BAF0F6E1B928F4EE-1FFA1F81-4EC745F3-AE1BB048-44C34E5D6FD5B49F8560D28F_see|text=|trigger=button}{sub-section}{sub-section:BAF0F6E1B928F4EE-1FFA1F81-4EC745F3-AE1BB048-44C34E5D6FD5B49F8560D28F_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:BAF0F6E1B928F4EE-1FFA1F81-4EC745F3-AE1BB048-44C34E5D6FD5B49F8560D28F_see|text=|trigger=button}{sub-section}{sub-section:BAF0F6E1B928F4EE-1FFA1F81-4EC745F3-AE1BB048-44C34E5D6FD5B49F8560D28F_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:BAF0F6E1B928F4EE-1FFA1F81-4EC745F3-AE1BB048-44C34E5D6FD5B49F8560D28F_sam|text=|trigger=button}{sub-section}{sub-section:BAF0F6E1B928F4EE-1FFA1F81-4EC745F3-AE1BB048-44C34E5D6FD5B49F8560D28F_sam|class=sIndent|trigger=none}{code:language=javascript}
var x = event.getX();
var xPrevious = previousEvent.getX();
var movedXPixels = x -xPrevious;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DFD48FD78944B552-CFEA529F-42764E5A-A01CB4A6-C5CD12E9DDE37808AC71A3D4}{tr:id=name}{td}h6.getY{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getY{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:DFD48FD78944B552-CFEA529F-42764E5A-A01CB4A6-C5CD12E9DDE37808AC71A3D4_des|text=|trigger=button}{sub-section}{sub-section:DFD48FD78944B552-CFEA529F-42764E5A-A01CB4A6-C5CD12E9DDE37808AC71A3D4_des|trigger=none|class=sIndent}Returns the x position of the event if applicable.
For example drag'n'drop events will set the x,y positions.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:DFD48FD78944B552-CFEA529F-42764E5A-A01CB4A6-C5CD12E9DDE37808AC71A3D4_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DFD48FD78944B552-CFEA529F-42764E5A-A01CB4A6-C5CD12E9DDE37808AC71A3D4_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:DFD48FD78944B552-CFEA529F-42764E5A-A01CB4A6-C5CD12E9DDE37808AC71A3D4_ret|text=|trigger=button}{sub-section}{sub-section:DFD48FD78944B552-CFEA529F-42764E5A-A01CB4A6-C5CD12E9DDE37808AC71A3D4_ret|trigger=none|class=sIndent}[Number] -- an int representing the Y position.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:DFD48FD78944B552-CFEA529F-42764E5A-A01CB4A6-C5CD12E9DDE37808AC71A3D4_see|text=|trigger=button}{sub-section}{sub-section:DFD48FD78944B552-CFEA529F-42764E5A-A01CB4A6-C5CD12E9DDE37808AC71A3D4_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:DFD48FD78944B552-CFEA529F-42764E5A-A01CB4A6-C5CD12E9DDE37808AC71A3D4_see|text=|trigger=button}{sub-section}{sub-section:DFD48FD78944B552-CFEA529F-42764E5A-A01CB4A6-C5CD12E9DDE37808AC71A3D4_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:DFD48FD78944B552-CFEA529F-42764E5A-A01CB4A6-C5CD12E9DDE37808AC71A3D4_sam|text=|trigger=button}{sub-section}{sub-section:DFD48FD78944B552-CFEA529F-42764E5A-A01CB4A6-C5CD12E9DDE37808AC71A3D4_sam|class=sIndent|trigger=none}{code:language=javascript}
var y = event.getY();
var yPrevious = previousEvent.getY();
var movedYPixels = y -yPrevious;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}