class: ContainerPanelUI

public class: ContainerPanelUI
Author: : Thomas Diebäcker, created 29.08.2007
Project: Phase: 1.0; Status: Proposed; Version: : $Revision: 1850 $ $LastChangedDate: 2008-12-17 1; Complexity: 1
Dates: Created: 16.07.2009 15:33:34; Modified: 16.07.2009 15:33:34;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {ADB5BBB8-841B-4704-A7C3-1074D3998812}
Panel that works as a container for other contents (e.g. item lists, search criteria).
 

Goto: Custom Properties, Fields, Methods

Implements: Internationalized

See also: ViewReleasePanelUI, CollapsiblePanelUI, HTMLElementUI, InternationalizationHelper, Internationalized, ListUI, ViewItemShortUI

Appears in: ui

Connections
 
Custom Properties
 
ContainerPanelUI Attributes
Attribute Details
protected Application
  application
Initial: FacesContext.getCurrentInstance().getApplication()
Notes: For handling the resource bundles (i18n)
private HTMLElementUI
  htmlElementUI
Initial: new HTMLElementUI()
Notes: UI elements
protected InternationalizationHelper
  i18nHelper
Initial: (InternationalizationHelper)application .getVariableResolver().resolveVariable(FacesContext.getCurrentInstance(), InternationalizationHelper.BEAN_NAME)
Notes: get the selected language...
private HtmlOutputText
  lblDummy
Initial: new HtmlOutputText()
private static const Logger
  logger
Initial: Logger.getLogger(ContainerPanelUI.class)
annotations=@SuppressWarnings("unused")
protected HtmlPanelGroup
  panContainer
Initial: new HtmlPanelGroup()
protected HtmlPanelGroup
  panControls
Initial: new HtmlPanelGroup()
protected HtmlPanelGroup
  panFooter
Initial: new HtmlPanelGroup()
private HtmlPanelGroup
  panTitelComponent
Initial: new HtmlPanelGroup()
protected HtmlPanelGroup
  panTitleBar
Initial: new HtmlPanelGroup()
private HtmlOutputLabel
  titelComponent
Initial: new HtmlOutputLabel()
 
ContainerPanelUI Methods
Operation Details
protected
addToContainer(
   UIComponent newComponent):void
Sequential
Notes: Adds a new UIComponent to the container panel vertically.
protected
addToControls(
   UIComponent newComponent):void
Sequential
Notes: Adds a new UIComponent to the controls section in the title bar horizontally.
protected
addToFooter(
   UIComponent newComponent):void
Sequential
Notes: Adds a new UIComponent to footer horizontally.
protected
addToTitleBar(
   UIComponent newComponent):void
Sequential
Notes: Adds a new UIComponent to the title bar horizontally.
public
bindComponentLabel(
   UIComponent component,
   String placeholder):void
Sequential
Notes: (non-Javadoc)
@see de.mpg.escidoc.pubman.appbase.Internationalized#bindComponentLabel(javax.faces.component.UIComponent, java.lang.String)
public
bindComponentValue(
   UIComponent component,
   String value):void
Sequential
Notes: Bind a localized string to a JSF component value.
protected
clearContainer():void
Sequential
Notes: Removes all elements from the container.
public
ContainerPanelUI():
Sequential
Notes: Public constructor.
public
getLabel(
   String placeholder):String
Sequential
Notes: (non-Javadoc)
@see de.mpg.escidoc.pubman.appbase.Internationalized#getLabel(java.lang.String)
public
getMessage(
   String placeholder):String
Sequential
Notes: (non-Javadoc)
@see de.mpg.escidoc.pubman.appbase.Internationalized#getMessage(java.lang.String)
protected
getMethodExpression(
   String el):MethodExpression
Sequential
Notes: Create an el method expression from a given string.
@return The according el method expression.
public static
getSessionBean(
   Class cls):Object
Sequential
Notes: Return any bean stored in session scope under the specified name.
@return the actual or new bean instance
public
processRestoreState(
   FacesContext context,
   Object state):void
Sequential
public
processSaveState(
   FacesContext context):Object
Sequential
public
setTitelComponent(
   UIComponentBase titelComponent):void
Sequential
Notes: Sets a new title component. This can be any UIComponent (e.g. a HTMLCommandLink). The title component will be shown in the titlebar of this container.
public
setTitle(
   String title):void
Sequential
Notes: Sets the title in the title bar as label component.
public
setTitle(
   String actionMethod,
   String parameter,
   String title):void
Sequential
Notes: Sets the title in the title bar as link component.
@param link the new link