org.grinvin.gui.dnd

Class AbstractDropHandler

Implemented Interfaces:
DropHandler
Known Direct Subclasses:
FactoryDropHandler, FilterDropHandler, GeneratorDropHandler, GeneratorInstanceDropHandler, GraphListElementDropHandler, InvariantDropHandler, InvariantFactoryDropHandler

public abstract class AbstractDropHandler
extends java.lang.Object
implements DropHandler

Abstract implementation of DropHandler.

Constructor Summary

AbstractDropHandler(Class type, boolean allowsMultipleDrops)

Method Summary

boolean
allowsMultipleDrops(JComponent target)
Class
getDropClass(JComponent target)

Constructor Details

AbstractDropHandler

public AbstractDropHandler(Class type,
                           boolean allowsMultipleDrops)

Method Details

allowsMultipleDrops

public boolean allowsMultipleDrops(JComponent target)

getDropClass

public Class getDropClass(JComponent target)