org.gatein.mop.core.api.workspace
Class UIContainerImpl

java.lang.Object
  extended by org.gatein.mop.core.api.workspace.WorkspaceObjectImpl
      extended by org.gatein.mop.core.api.workspace.UIComponentImpl
          extended by org.gatein.mop.core.api.workspace.UIContainerImpl
All Implemented Interfaces:
UIComponent, UIContainer, WorkspaceObject

public abstract class UIContainerImpl
extends UIComponentImpl
implements UIContainer

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
UIContainerImpl()
           
 
Method Summary
<T extends UIComponent>
T
addChild(ObjectType<T> componentType, String name)
           
abstract  UIContainerImpl createContainer()
           
abstract  UIBodyImpl createInsertion()
           
abstract  UIWindowImpl createWindow()
           
 UIComponent getChild(String componentName)
           
 Collection<? extends UIComponent> getChildren()
           
abstract  Map<String,UIComponentImpl> getComponents()
           
 ObjectType<? extends UIContainer> getObjectType()
           
 
Methods inherited from class org.gatein.mop.core.api.workspace.UIComponentImpl
getPage, getParent, getParentContainer, getParentPage
 
Methods inherited from class org.gatein.mop.core.api.workspace.WorkspaceObjectImpl
getAttributes, getName, getObjectId, getProperties, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.gatein.mop.api.workspace.ui.UIContainer
getChild
 
Methods inherited from interface org.gatein.mop.api.workspace.ui.UIComponent
getName, getPage, getParent
 
Methods inherited from interface org.gatein.mop.api.workspace.WorkspaceObject
getAttributes, getObjectId
 

Constructor Detail

UIContainerImpl

public UIContainerImpl()
Method Detail

createContainer

public abstract UIContainerImpl createContainer()

createInsertion

public abstract UIBodyImpl createInsertion()

createWindow

public abstract UIWindowImpl createWindow()

getComponents

public abstract Map<String,UIComponentImpl> getComponents()

getObjectType

public ObjectType<? extends UIContainer> getObjectType()
Specified by:
getObjectType in interface UIComponent
Specified by:
getObjectType in interface WorkspaceObject
Specified by:
getObjectType in class UIComponentImpl

getChild

public UIComponent getChild(String componentName)
Specified by:
getChild in interface UIContainer

addChild

public <T extends UIComponent> T addChild(ObjectType<T> componentType,
                                          String name)
Specified by:
addChild in interface UIContainer

getChildren

public Collection<? extends UIComponent> getChildren()
Specified by:
getChildren in interface UIContainer


Copyright © 2009 eXo Platform SAS. All Rights Reserved.