public class BaseDropConstraint extends AlwaysTrueDropConstraint implements DropConstraint
Constructor and Description |
---|
BaseDropConstraint(String nodeType) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowedAfter(com.vaadin.data.Item sourceItem,
com.vaadin.data.Item targetItem) |
boolean |
allowedAsChild(com.vaadin.data.Item sourceItem,
com.vaadin.data.Item targetItem) |
boolean |
allowedBefore(com.vaadin.data.Item sourceItem,
com.vaadin.data.Item targetItem) |
boolean |
allowedToMove(com.vaadin.data.Item sourceItem) |
isAllowedAt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAllowedAt
public BaseDropConstraint(String nodeType)
public boolean allowedAsChild(com.vaadin.data.Item sourceItem, com.vaadin.data.Item targetItem)
allowedAsChild
in interface DropConstraint
allowedAsChild
in class AlwaysTrueDropConstraint
sourceItem
- Moved Item.targetItem
- Target Item .public boolean allowedBefore(com.vaadin.data.Item sourceItem, com.vaadin.data.Item targetItem)
allowedBefore
in interface DropConstraint
allowedBefore
in class AlwaysTrueDropConstraint
sourceItem
- Moved Item.targetItem
- Target Item .public boolean allowedAfter(com.vaadin.data.Item sourceItem, com.vaadin.data.Item targetItem)
allowedAfter
in interface DropConstraint
allowedAfter
in class AlwaysTrueDropConstraint
sourceItem
- Moved Item.targetItem
- Target Item .public boolean allowedToMove(com.vaadin.data.Item sourceItem)
allowedToMove
in interface DropConstraint
allowedToMove
in class AlwaysTrueDropConstraint
Copyright © 2016 Magnolia International Ltd.. All rights reserved.