org.formaria.swing.dnd
Class TransferHandlerFactory
java.lang.Object
org.formaria.aria.registry.RegistrationFactory
org.formaria.swing.dnd.TransferHandlerFactory
public class TransferHandlerFactory
- extends RegistrationFactory
A factory for transfer handlers
Copyright (c) Formaria Ltd., 2008. See license.txt for more details
|
Method Summary |
java.lang.String |
getFactoryName()
Get the name of this factory |
static TransferHandlerFactory |
getInstance(Project project)
Get an instance of the factory, registering with the project if necessary |
javax.swing.TransferHandler |
getTransferHandler(java.lang.Object comp,
java.util.Hashtable instanceConfig)
Creates a new instance of TransferHandler for a particular type |
| Methods inherited from class org.formaria.aria.registry.RegistrationFactory |
addConfigFile, addRegistrationTypes, checkRegistration, doRead, doRead, doRead, getObject, read, read, read, updateConfig |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FACTORY_OBJECT_NAME
public static final java.lang.String FACTORY_OBJECT_NAME
- See Also:
- Constant Field Values
TransferHandlerFactory
protected TransferHandlerFactory(Project project)
getFactoryName
public java.lang.String getFactoryName()
- Get the name of this factory
- Specified by:
getFactoryName in class RegistrationFactory
- Returns:
- the factory name i.e. TransferHandlerFactory
getInstance
public static TransferHandlerFactory getInstance(Project project)
- Get an instance of the factory, registering with the project if necessary
- Parameters:
the - project
- Returns:
- the factory beonging to this project
getTransferHandler
public javax.swing.TransferHandler getTransferHandler(java.lang.Object comp,
java.util.Hashtable instanceConfig)
- Creates a new instance of TransferHandler for a particular type
- Parameters:
comp - the source componentinstanceConfig - the instance configuration attributes
- Returns:
- the new transfer handler