|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.flexdock.docking.adapter.AdapterFactory
public class AdapterFactory
A factory for transforming Components into a class that contains
information about the component that is necessary for treating the component
as a Dockable.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
AdapterFactory()
|
|
| Method Summary | |
|---|---|
static DockingAdapter |
getAdapter(Component comp)
Creates the DockingAdapter for the given Component. |
static void |
prime()
Loads the mappings for this factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ADAPTER_RESOURCE_KEY
public static final String DEFAULT_ADAPTER_RESOURCE
| Constructor Detail |
|---|
public AdapterFactory()
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||