|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.test.composite.CompositeComponent
public class CompositeComponent
This component declares an inner Parts interface through which it accesses a map of the context infomation of a subsidiary component named 'child'. The subsidiary component is defined and established within the component types definition (see build file for details).
Nested Class Summary | |
---|---|
static interface |
CompositeComponent.Context
The construction criteria. |
static interface |
CompositeComponent.Parts
Internal part managmeent interface. |
Constructor Summary | |
---|---|
CompositeComponent(Logger logger,
CompositeComponent.Context context,
CompositeComponent.Parts parts)
Creation of a new composite component instance. |
Method Summary | |
---|---|
ChildComponent |
getChild()
Return the child component for evaluation by the testcase. |
Color |
getColor()
Return the color value assigned to the component context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeComponent(Logger logger, CompositeComponent.Context context, CompositeComponent.Parts parts)
logger
- the assingned logging channelcontext
- a context implementationparts
- the parts managerMethod Detail |
---|
public Color getColor()
getColor
in interface ColorManager
public ChildComponent getChild()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |