publish
plugins.it2be_calendar.ICDNDEvent info


Servoy Properties Summary
Object data
String dataMimeType


Servoy Methods Summary
Number getDragResult( )
Array<Object> getDropCategories( )
Date getDropDate( )
String getElementName( )
String getFormName( )
Number getModifiers( )
Record getRecord( )
Object getSource( )
Date getTimestamp( )
String getType( )
Number getX( )
Number getY( )


Servoy Properties Details


data
Object  data
A data object that specific events can set, a user can set data back to the system for events that support this.
Returns
Object  data Object

Supported Clients
SmartClient, WebClient, NGClient


dataMimeType
String  dataMimeType
The event data mime type.
Returns
String  dataMimeType String

Supported Clients
SmartClient, WebClient, NGClient

Servoy Methods Details


getDragResult
Number  getDragResult( )
Returns the result of the drag action.
Returns
Number  dragResult int

Supported Clients
SmartClient, WebClient, NGClient


getDropCategories
Array<Object>  getDropCategories( )
The categories of the dropped event.
Returns
Array<Object>  dropCategories Object[]

Supported Clients
SmartClient, WebClient, NGClient


getDropDate
Date  getDropDate( )
The start time of the dropped event.
Returns
Date  dropDate Date

Supported Clients
SmartClient, WebClient, NGClient


getElementName
String  getElementName( )
Returns the name of the element, can be null if the form was the source of the event.
Returns
String  elementName String

Supported Clients
SmartClient, WebClient, NGClient


getFormName
String  getFormName( )
Returns the name of the form the element was placed on.
Returns
String  data String

Supported Clients
SmartClient, WebClient, NGClient


getModifiers
Number  getModifiers( )
Returns the modifiers of the event, see JSDNDEvent.MODIFIER_XXX for the modifiers that can be returned.
Returns
Number  modifiers int

Supported Clients
SmartClient, WebClient, NGClient


getRecord
Record  getRecord( )
Returns the records of the event.
Returns
Record  record Record

Supported Clients
SmartClient, WebClient, NGClient


getSource
Object  getSource( )
Returns the source component/element of the event. If it has a nem the getElementName() is the name of the component.
Returns
Object  source Object

Supported Clients
SmartClient, WebClient, NGClient


getTimestamp
Date  getTimestamp( )
Returns the time the event occurred.
Returns
Date  timestamp Date

Supported Clients
SmartClient, WebClient, NGClient


getType
String  getType( )
Returns the dnd event type. See the DRAGNDROP constants for what it can return.
Returns
String  type String

Supported Clients
SmartClient, WebClient, NGClient


getX
Number  getX( )
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 position.
Returns
Number  x int

Supported Clients
SmartClient, WebClient, NGClient


getY
Number  getY( )
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 position.
Returns
Number  y int

Supported Clients
SmartClient, WebClient, NGClient