Package net.infonode.docking.drop
Class RejectAllDropFilter
- java.lang.Object
-
- net.infonode.docking.drop.RejectAllDropFilter
-
- All Implemented Interfaces:
DropFilter
public class RejectAllDropFilter extends java.lang.Object implements DropFilter
ADropFilter
that will reject drop of any window.- Since:
- IDW 1.4.0
-
-
Field Summary
Fields Modifier and Type Field Description static RejectAllDropFilter
INSTANCE
The only instance of this class
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptDrop(DropInfo dropInfo)
Return true if the drop should be accepted, otherwise false.
-
-
-
Field Detail
-
INSTANCE
public static RejectAllDropFilter INSTANCE
The only instance of this class
-
-
Method Detail
-
acceptDrop
public boolean acceptDrop(DropInfo dropInfo)
Description copied from interface:DropFilter
Return true if the drop should be accepted, otherwise false.- Specified by:
acceptDrop
in interfaceDropFilter
- Parameters:
dropInfo
- information about the current drop- Returns:
- true if drop is to be accepted, otherwise false
-
-