org.ultrawork.wtk.mc
Interface Container

All Superinterfaces:
Component
All Known Implementing Classes:
ContainerImpl

public interface Container
extends Component

Represents a composite component that can hold and control the rendering of multiple components using a layout implemented as either a Jsp or a Servlet.

Version:
0.2
Author:
Nicolas Bonvin

Fields inherited from interface org.ultrawork.wtk.mc.Component
LOCALE_KEY
 
Method Summary
 void add(Component component)
           
 void add(java.lang.String position, Component component)
           
 boolean contains(java.lang.String position, boolean lookupMasterHierarchy)
           
 Component find(java.lang.String position)
           
 Component find(java.lang.String position, boolean recursive)
           
 Container findContainer(java.lang.String position)
           
 java.util.Map getComponents()
           
 java.util.List getComponentsAsList()
           
 java.lang.String getLayout()
           
 Container getMaster()
           
 void setLayout(java.lang.String layoutPath)
           
 void setMaster(Container masterContainer)
           
 
Methods inherited from interface org.ultrawork.wtk.mc.Component
write, write
 

Method Detail

find

public Component find(java.lang.String position)

find

public Component find(java.lang.String position,
                      boolean recursive)

findContainer

public Container findContainer(java.lang.String position)

add

public void add(Component component)

add

public void add(java.lang.String position,
                Component component)

setMaster

public void setMaster(Container masterContainer)

getComponents

public java.util.Map getComponents()

getComponentsAsList

public java.util.List getComponentsAsList()

getMaster

public Container getMaster()

getLayout

public java.lang.String getLayout()

setLayout

public void setLayout(java.lang.String layoutPath)

contains

public boolean contains(java.lang.String position,
                        boolean lookupMasterHierarchy)


Copyright 2002 - ultrawork