org.grinvin.graphbrowser

Class InvariantDropHandler

Implemented Interfaces:
DropHandler

public class InvariantDropHandler
extends java.lang.Object
implements DropHandler

Common DropHandler to drop invariants on objects that support HasInvariantList.

Field Summary

static InvariantDropHandler
DROP_HANDLER
The unique shared object of this type.

Method Summary

boolean
acceptDrop(JComponent target, Object object, int seqNr)
boolean
allowsMultipleDrops(JComponent target)
Class
getDropClass(JComponent target)

Field Details

DROP_HANDLER

public static final InvariantDropHandler DROP_HANDLER
The unique shared object of this type.

Method Details

acceptDrop

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

allowsMultipleDrops

public boolean allowsMultipleDrops(JComponent target)

getDropClass

public Class getDropClass(JComponent target)