public class AdapterFactory
extends java.lang.Object
Components into a class that contains
information about the component that is necessary for treating the component
as a Dockable.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ADAPTER_RESOURCE_KEY
A property key for determining whichi docking adapter to use.
|
static java.lang.String |
DEFAULT_ADAPTER_RESOURCE
Deprecated.
Scope is likely to become more restrictive (protected or
private).
|
| Constructor and Description |
|---|
AdapterFactory() |
| Modifier and Type | Method and Description |
|---|---|
static DockingAdapter |
getAdapter(java.awt.Component comp)
Creates the
DockingAdapter for the given Component. |
static void |
prime()
Loads the mappings for this factory.
|
public static final java.lang.String ADAPTER_RESOURCE_KEY
public static final java.lang.String DEFAULT_ADAPTER_RESOURCE
public static void prime()
public static DockingAdapter getAdapter(java.awt.Component comp)
DockingAdapter for the given Component.comp - the component to create an adapter for.null if comp is null.