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