net.infonode.docking.drop
Class RejectAllDropFilter

java.lang.Object
  extended bynet.infonode.docking.drop.RejectAllDropFilter
All Implemented Interfaces:
DropFilter

public class RejectAllDropFilter
extends Object
implements DropFilter

A DropFilter that will reject drop of any window.

Since:
IDW 1.4.0
Version:
$Revision: 1.4 $

Field Summary
static RejectAllDropFilter INSTANCE
          The only instance of this class
 
Method Summary
 boolean acceptDrop(DropInfo dropInfo)
          Return true if the drop should be accepted, otherwise false.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface DropFilter
Parameters:
dropInfo - information about the current drop
Returns:
true if drop is to be accepted, otherwise false


Copyright © 2007 NNL Technology AB. All Rights Reserved.