Package com.vaadin.shared.ui.dnd
Class DropTargetState
- java.lang.Object
-
- com.vaadin.shared.communication.SharedState
-
- com.vaadin.shared.ui.dnd.DropTargetState
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FileDropTargetState,GridDropTargetState
public class DropTargetState extends SharedState
State class containing parameters for DropTargetExtension.- Since:
- 8.1
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description List<Criterion>criteriaList of criteria to compare against the payload.Criterion.MatchcriteriaMatchDeclares whether any or all of the given criteria should match the payload.StringcriteriaScriptCriteria script to allow drop event on the element.DropEffectdropEffectDataTransfer.dropEffectparameter for the drag event.-
Fields inherited from class com.vaadin.shared.communication.SharedState
enabled, registeredEventListeners, resources
-
-
Constructor Summary
Constructors Constructor Description DropTargetState()
-
-
-
Field Detail
-
dropEffect
public DropEffect dropEffect
DataTransfer.dropEffectparameter for the drag event.
-
criteriaScript
public String criteriaScript
Criteria script to allow drop event on the element.
-
criteriaMatch
public Criterion.Match criteriaMatch
Declares whether any or all of the given criteria should match the payload.
-
-