net.sf.webmancer.widget
Class AbstractContainer
java.lang.Object
net.sf.webmancer.widget.AbstractWidget
net.sf.webmancer.widget.AbstractContainer
- All Implemented Interfaces:
- IModelable, IWidget, org.springframework.beans.factory.BeanNameAware
- Direct Known Subclasses:
- Page
public abstract class AbstractContainer
- extends AbstractWidget
- Author:
- Michal Burda
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractContainer
public AbstractContainer()
handleEvent
public void handleEvent(Event event)
- Description copied from interface:
IWidget
- Handle the given event.
- Specified by:
handleEvent
in interface IWidget
- Overrides:
handleEvent
in class AbstractWidget
- Parameters:
event
- an event to be handled.- See Also:
AbstractWidget.handleEvent(net.sf.webmancer.base.Event)
addChild
public void addChild(IWidget widget)
- Parameters:
widget
-
setChildren
public void setChildren(java.util.List<IWidget> children)
- Parameters:
children
-
build
public void build(IModelBuilder builder)
throws ModelingException
- Specified by:
build
in interface IModelable
- Specified by:
build
in class AbstractWidget
- Throws:
ModelingException
- See Also:
AbstractWidget.build(net.sf.webmancer.model.IModelBuilder)
buildChild
protected void buildChild(IWidget child,
IModelBuilder builder)
throws ModelingException
- Parameters:
child
- builder
-
- Throws:
ModelingException
Copyright © 2006-2007. All Rights Reserved.