Defines items on the page where dragged items can be dropped off. This component works together with dropSource component which items can be dragged. Use the addFlavour method to add additional flavours.
· flavours
Flavours are used to define which dragSources are allowed for this dropTarget. Drag-and-Drop is only possible if the dragSource contains at least one flavour of the dropTarget.
· id
Identification name of the drapTarget.
· onDrop
Specifies then event handling method that is called when the user drops of the dragged object. If this method is not specified and not defined an exception is raised when the object is dropped.
· value
Sets the value of the dropTarget. The value can be recovered with the DropEvent object.
· width
Sets the width of the dragSource container.
Attributes |
M |
Values |
Usage |
flavours |
|
String |
Taglib Classlib |
id |
* |
String (cs) |
Taglib Classlib |
value |
|
String |
Taglib Classlib |
width |
|
Unit |
Taglib Classlib |
Events |
M |
Values |
Usage |
onDrop |
|
String (cs)
|
Taglib Classlib |
using the taglib
<hbj:dropTarget |