org.grinvin.gui.dnd

Class GraphListElementDropHandler

Implemented Interfaces:
DropHandler

public class GraphListElementDropHandler
extends AbstractDropHandler

Allows (multiple) graph elements to be dropped onto a component. A component which uses this handler should be of type HasGraphList.

Method Summary

boolean
acceptDrop(JComponent target, Object object, int seqNr)
static GraphListElementDropHandler
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 GraphListElementDropHandler getInstance()