public abstract class ToolkitProviders
extends java.lang.Object
Toolkit providers are indexed by the Toolkit
interface they implement,
so if a provider provides multiple toolkits, separate registrations must be
made, one for each interface that the provider should be called on.
Constructor and Description |
---|
ToolkitProviders() |
Modifier and Type | Method and Description |
---|---|
static ToolkitProviders |
getToolkitProviders() |
abstract void |
register(java.lang.String toolkitInterface,
ToolkitProvider provider)
Register a new Toolkit Provider.
|
abstract void |
unregister(java.lang.String toolkitInterface,
ToolkitProvider provider) |
abstract void |
unregister(ToolkitProvider provider) |
public static ToolkitProviders getToolkitProviders()
public abstract void register(java.lang.String toolkitInterface, ToolkitProvider provider)
toolkitInterface
- the interface for which the provider can supply an implementation.provider
- an implementation of AbstractToolkitProvider
public abstract void unregister(java.lang.String toolkitInterface, ToolkitProvider provider)
public abstract void unregister(ToolkitProvider provider)