org.exoplatform.social.webui
Class UIApplicationListSelector

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.social.webui.UIApplicationListSelector

public class UIApplicationListSelector
extends org.exoplatform.webui.core.UIContainer

This ui component is used to display a list of applications and broadcasts the install application listener to parent ui.

Since:
1.2.8, Jan 17, 2012
Author:
hoatle (hoatlevan at gmail dot com)

Nested Class Summary
static class UIApplicationListSelector.InstallApplicationActionListener
          Broadcasts this event listener so that parent ui component could handle.
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIApplicationListSelector()
           
 
Method Summary
 List<org.exoplatform.application.registry.Application> getApplicationList()
          Gets the list of applications.
 org.exoplatform.application.registry.Application getSelectedApplication()
          Gets the selected application.
 void setApplicationList(List<org.exoplatform.application.registry.Application> newApplicationList)
          Sets the list of applications.
 void setSelectedApplication(org.exoplatform.application.registry.Application newSelectedApplication)
          Sets the selected application.
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIApplicationListSelector

public UIApplicationListSelector()
Method Detail

setApplicationList

public void setApplicationList(List<org.exoplatform.application.registry.Application> newApplicationList)
Sets the list of applications.

Parameters:
newApplicationList - the list of applications.

getApplicationList

public List<org.exoplatform.application.registry.Application> getApplicationList()
Gets the list of applications.

Returns:
the list of applications.

setSelectedApplication

public void setSelectedApplication(org.exoplatform.application.registry.Application newSelectedApplication)
Sets the selected application.

Parameters:
newSelectedApplication - the selected application.

getSelectedApplication

public org.exoplatform.application.registry.Application getSelectedApplication()
Gets the selected application.

Returns:
the selected application.


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.