|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.containers.SimpleContainer
jfun.yan.containers.TransformingContainer
public class TransformingContainer
A Container that transforms a Component using a ComponentTransformer object before the component is registered into the container.
Codehaus.org.
| Constructor Summary | |
|---|---|
TransformingContainer(Registrar target,
ComponentTransformer ct)
Create a TransformingContainer object. |
|
| Method Summary | |
|---|---|
void |
registerComponent(Component cc)
Register a Component object in the container. |
void |
registerComponent(java.lang.Object key,
Component cc)
Register a Component identified by a key. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TransformingContainer(Registrar target,
ComponentTransformer ct)
target - the registrar that stores the components.ct - the transformer.| Method Detail |
|---|
public void registerComponent(java.lang.Object key,
Component cc)
Registrar
registerComponent in interface RegistrarregisterComponent in class SimpleContainerkey - the component key.cc - the component.public void registerComponent(Component cc)
Container
registerComponent in interface ContainerregisterComponent in class SimpleContainercc - the component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||