org.flexdock.docking.adapter
public class AdapterFactory extends 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 String |
ADAPTER_RESOURCE_KEY
A property key for determining whichi docking adapter to use.
|
static 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(Component comp)
Creates the
DockingAdapter for the given Component. |
static void |
prime()
Loads the mappings for this factory.
|
public static final String ADAPTER_RESOURCE_KEY
public static final String DEFAULT_ADAPTER_RESOURCE
public static void prime()
public static DockingAdapter getAdapter(Component comp)
DockingAdapter for the given Component.comp - the component to create an adapter for.null if comp is null.