|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface that all creators of components must implement.
Field Summary | |
static int |
LEAF
Indicator of a leaf. |
static int |
NODE
Indicator of a node. |
Method Summary | |
Component |
createComponent(UIHConfig uihConfig,
Container parentContainer,
Object component,
int level)
Create a component from an object representation. |
Field Detail |
public static final int NODE
public static final int LEAF
Method Detail |
public Component createComponent(UIHConfig uihConfig, Container parentContainer, Object component, int level)
uihConfig
- The configuration in use.parentContainer
- The container that will be the parent of the
component to create. The addition of the component to the parent will be
automatic so this method should not affect this behaviour. The parent can
be null when the node is a sub node.component
- The component's representation from which to create the
component.level
- The indication of the level of the component. It is either
NODE
or LEAF
. Root nodes are differentiated from
nodes by the fact that the parent container is null.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |