org.grinvin.gui.dnd

Class InvariantDropHandler

Implemented Interfaces:
DropHandler

public class InvariantDropHandler
extends AbstractDropHandler

Common DropHandler to drop invariants on objects that support AcceptsInvariant.

Method Summary

boolean
acceptDrop(JComponent target, Object object, int seqNr)
static InvariantDropHandler
getInstance()

Methods inherited from class org.grinvin.gui.dnd.AbstractDropHandler

allowsMultipleDrops, getDropClass

Method Details

acceptDrop

public boolean acceptDrop(JComponent target,
                          Object object,
                          int seqNr)

getInstance

public static InvariantDropHandler getInstance()