org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui
Class UIPublicationContainer

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationContainer
All Implemented Interfaces:
org.exoplatform.webui.core.UIPopupComponent

public class UIPublicationContainer
extends org.exoplatform.webui.form.UIForm
implements org.exoplatform.webui.core.UIPopupComponent

Created by The eXo Platform SAS Author : eXoPlatform chuong_phan@exoplatform.com Mar 4, 2009


Nested Class Summary
 
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.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIPublicationContainer()
          Instantiates a new uI publication container.
 
Method Summary
 void activate()
           
 void deActivate()
           
 java.text.DateFormat getDateTimeFormater()
          Gets the date time formater.
 java.lang.String getSelectedTabId()
          Gets the selected tab id.
 void initContainer(javax.jcr.Node node)
          Inits the container.
 void setActiveTab(org.exoplatform.webui.core.UIComponent component, org.exoplatform.webui.application.WebuiRequestContext context)
          Sets the active tab.
 void setSelectedTab(int index)
          Sets the selected tab.
 void setSelectedTab(java.lang.String renderTabId)
          Sets the selected tab.
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIPublicationContainer

public UIPublicationContainer()
Instantiates a new uI publication container.

Method Detail

initContainer

public void initContainer(javax.jcr.Node node)
                   throws java.lang.Exception
Inits the container.

Parameters:
node - the node
Throws:
java.lang.Exception - the exception

getDateTimeFormater

public java.text.DateFormat getDateTimeFormater()
Gets the date time formater.

Returns:
the date time formater

activate

public void activate()
              throws java.lang.Exception
Specified by:
activate in interface org.exoplatform.webui.core.UIPopupComponent
Throws:
java.lang.Exception

deActivate

public void deActivate()
                throws java.lang.Exception
Specified by:
deActivate in interface org.exoplatform.webui.core.UIPopupComponent
Throws:
java.lang.Exception

getSelectedTabId

public java.lang.String getSelectedTabId()
Gets the selected tab id.

Returns:
the selected tab id

setSelectedTab

public void setSelectedTab(java.lang.String renderTabId)
Sets the selected tab.

Parameters:
renderTabId - the new selected tab

setSelectedTab

public void setSelectedTab(int index)
Sets the selected tab.

Parameters:
index - the new selected tab

setActiveTab

public void setActiveTab(org.exoplatform.webui.core.UIComponent component,
                         org.exoplatform.webui.application.WebuiRequestContext context)
Sets the active tab.

Parameters:
component - the component
context - the context


Copyright © 2011 eXo Platform SAS. All Rights Reserved.