public class RejectAllDropFilter extends java.lang.Object implements DropFilter
DropFilter
that will reject drop of any
window.Modifier and Type | Field and Description |
---|---|
static RejectAllDropFilter |
INSTANCE
The only instance of this class
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptDrop(DropInfo dropInfo)
Return true if the drop should be accepted, otherwise false.
|
public static RejectAllDropFilter INSTANCE
public boolean acceptDrop(DropInfo dropInfo)
DropFilter
acceptDrop
in interface DropFilter
dropInfo
- information about the current drop