org.exoplatform.social.webui
Class UIApplicationCategorySelector

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

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

The ui component is used to display a list of application category and broadcasts the select event listener to parent ui.

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

Nested Class Summary
static class UIApplicationCategorySelector.SelectActionListener
          The event listener for "Select" action.
 
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
UIApplicationCategorySelector()
           
 
Method Summary
 List<org.exoplatform.application.registry.ApplicationCategory> getApplicationCategoryList()
          Gets the application category list.
 org.exoplatform.application.registry.ApplicationCategory getSelectedApplicationCategory()
          Gets the selected application category.
 void setApplicationCategoryList(List<org.exoplatform.application.registry.ApplicationCategory> newApplicationCategoryList)
          Sets the application category list to be displayed.
 void setSelectedApplicationCategory(org.exoplatform.application.registry.ApplicationCategory newApplicationCategory)
          Sets the selected application category.
 
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

UIApplicationCategorySelector

public UIApplicationCategorySelector()
Method Detail

setApplicationCategoryList

public final void setApplicationCategoryList(List<org.exoplatform.application.registry.ApplicationCategory> newApplicationCategoryList)
Sets the application category list to be displayed.

Parameters:
newApplicationCategoryList - the application category list.

getApplicationCategoryList

public final List<org.exoplatform.application.registry.ApplicationCategory> getApplicationCategoryList()
Gets the application category list.

Returns:
the application category list.

setSelectedApplicationCategory

public final void setSelectedApplicationCategory(org.exoplatform.application.registry.ApplicationCategory newApplicationCategory)
Sets the selected application category.

Parameters:
newApplicationCategory - the selected application category.

getSelectedApplicationCategory

public final org.exoplatform.application.registry.ApplicationCategory getSelectedApplicationCategory()
Gets the selected application category.

Returns:
the selected application category.


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.