JSDNDEvent
Last updated
Last updated
JSDNDEvent, used as argument to drag and drop callbacks.
Type | Name | Summary |
---|---|---|
Constant returned by JSEvent.getType() in a method that is attached to an onAction event.
Type String
Sample
Constant returned by JSEvent.getType() in a method that is attached to an onDataChange event.
Type String
Sample
Constant returned by JSEvent.getType() in a method that is attached to an onDoubleClick event.
Type String
Sample
Constant returned by JSEvent.getType() in a method that is attached to an onFocusGained or the forms onElementFocusGained event.
Type String
Sample
Constant returned by JSEvent.getType() in a method that is attached to an onFocusLost or the forms onElementFocusLost event.
Type String
Sample
Constant returned by JSEvent.getType() in a method that is attached to a form event (like onShow) or command (like onDeleteRecord)
Type String
Sample
Constant for the ALT modifier that can be returned by JSDNDEvent.getModifiers();
Type Number
Sample
Constant for the CTRL modifier that can be returned by JSDNDEvent.getModifiers();
Type Number
Sample
Constant for the META modifier that can be returned by JSDNDEvent.getModifiers();
Type Number
Sample
Constant for the SHIFT modifier that can be returned by JSDNDEvent.getModifiers();
Type Number
Sample
Constant returned by JSEvent.getType() if the event is not used in a known event or command.
Type String
Sample
Constant returned by JSDNDEvent.getType() in a method that is attached to an onDrag event.
Type String
Sample
Constant returned by JSDNDEvent.getType() in a method that is attached to an onDragEnd event.
Type String
Sample
Constant returned by JSDNDEvent.getType() in a method that is attached to an onDragOver event.
Type String
Sample
Constant returned by JSDNDEvent.getType() in a method that is attached to an onDrop event.
Type String
Sample
Constant returned by JSEvent.getType() in a method that is attached to an onRightClick event.
Type String
Sample
A data object that specific events can set, a user can set data back to the system for events that supports this.
Type Object
Sample
The event data mime type.
Type String
Sample
Returns the result of the drag action.
Returns: Number a DRAGNDROP constant, representing the result of the drag action
Sample
returns the name of the element, can be null if the form was the source of the event.
Returns: String a String representing the element name.
Sample
returns the name of the form the element was placed on.
Returns: String a String representing the form name.
Sample
Returns the modifiers of the event, see JSDNDEvent.MODIFIER_XXXX for the modifiers that can be returned.
Returns: Number an int which holds the modifiers as a bitset.
Sample
Returns the name of the event which was triggered
Returns: String name of event as string
Sample
Returns the record of the event.
Returns: JSRecord Record of the event
Sample
returns the source component/element of the event. If it has a name the getElementName() is the name of this component.
Returns: Object an Object representing the source of this event.
Sample
Returns the time the event occurred.
Returns: Date a Date when this event happened.
Sample
returns the dnd event type see the JSDNDEvents constants what it can return.
Returns: String a String representing the type of this event.
Sample
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.
Returns: Number an int representing the X position.
Sample
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.
Returns: Number an int representing the Y position.
Sample
Type | Name | Summary |
---|---|---|
Type | Name | Summary |
---|---|---|
Constant 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.
A 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.
Returns 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 triggered
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.