com.filenet.wcm.apps.server.ui.bar
Class WcmLayoutTitleBar

java.lang.Object
  extended bycom.filenet.wcm.toolkit.server.base.WcmDpContainer
      extended bycom.filenet.wcm.toolkit.server.base.WcmModule
          extended bycom.filenet.wcm.toolkit.server.base.GlobalEventModule
              extended bycom.filenet.wcm.toolkit.server.base.WcmUiModule
                  extended bycom.filenet.wcm.toolkit.server.ui.WcmAnchorList
                      extended bycom.filenet.wcm.apps.server.presentation.ui.TabBar
                          extended bycom.filenet.wcm.apps.server.ui.bar.WcmLayoutTitleBar
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface

public class WcmLayoutTitleBar
extends com.filenet.wcm.apps.server.presentation.ui.TabBar


Field Summary
static int PRIMARY_TITLE
           
static int SECONDARY_TITLE
           
 
Fields inherited from class com.filenet.wcm.apps.server.presentation.ui.TabBar
selectedId, selectedLabel, voiceHeadingLabel
 
Fields inherited from class com.filenet.wcm.toolkit.server.ui.WcmAnchorList
anchorList
 
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
locale, NAME_DELIMITER
 
Constructor Summary
WcmLayoutTitleBar()
           
WcmLayoutTitleBar(int type)
           
 
Method Summary
 int addAnchor(java.lang.String title)
           
 int addAnchor(java.lang.String title, java.lang.String pathValue)
           
 int addAnchor(com.filenet.wcm.toolkit.server.util.ui.WcmAnchor a)
          Adds new WcmAnchor to the first item of the list.
 int addAnchor(com.filenet.wcm.toolkit.util.WcmString title)
          Adds new title WcmAnchor.
 int addAnchor(com.filenet.wcm.toolkit.util.WcmString title, java.lang.String pathValue)
          Adds new title WcmAnchor.
 java.lang.String getTitlePath()
           
protected  void renderAnchor(java.io.Writer w, int idx, int max, com.filenet.wcm.toolkit.server.util.ui.WcmAnchor a)
           
protected  void renderClosingHTML(java.io.Writer w)
           
protected  void renderOpeningHTML(java.io.Writer w)
           
 void setTitlePath(java.lang.String newTitlePath)
           
 void setTitlePath(java.lang.String newTitlePath, com.filenet.wcm.toolkit.util.WcmString title)
           
 void setType(int newType)
           
 
Methods inherited from class com.filenet.wcm.apps.server.presentation.ui.TabBar
isNextSelected, isSelected, renderSeparator, setSelection, setVoiceHeading
 
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmAnchorList
addAnchor, addAnchor, addAnchor, addAnchor, clear, getAnchor, getLength, initialize, insertAnchor, removeAnchor, render
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmUiModule
getActive, getBasePath, getBaseUrl, getBaseURLBuilder, getControllerEventUrl, getControllerEventUrl, getEventFormFields, getEventFormFields, getEventFormTag, getEventFormTag, getEventUrl, getEventUrl, getEventUrl, getEventUrl, getFormName, getFormSubmitUrl, getFormSubmitUrl, getGlobalEventUrl, getGlobalEventUrl, getPageUrl, getPageUrl, getPageUrl, getPageUrl, getUiParent, peekEvent, renderJSP, routeEvent, routeEvent, serverSideInclude, serverSideInclude, setActive, setJSP
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.GlobalEventModule
onStartPage, subscribeGlobalEvent
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
addChild, addChild, addChild, cleanup, debugTrace, getClassProperty, getClassProperty, getClassPropertyKeys, getConfiguration, getController, getDataStore, getModuleProperty, getModuleProperty, getModuleProperty, getModuleProperty, getModulePropertyKeys, getName, getParent, getWindowProperty, getWindowProperty, persist, queryDataProvider, setClassProperty, setClassProperty, setController, setModuleProperty, setModuleProperty, setName, setParent, setPortletParent, setWindowProperty
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmDpContainer
addDataProvider, addDataProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
onStartPage
 
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
addDataProvider, cleanup, getDataStore, getModuleProperty, getName, getParent, persist, queryDataProvider, setController, setModuleProperty, setName, setParent
 

Field Detail

PRIMARY_TITLE

public static final int PRIMARY_TITLE
See Also:
Constant Field Values

SECONDARY_TITLE

public static final int SECONDARY_TITLE
See Also:
Constant Field Values
Constructor Detail

WcmLayoutTitleBar

public WcmLayoutTitleBar()

WcmLayoutTitleBar

public WcmLayoutTitleBar(int type)
Method Detail

setType

public void setType(int newType)

addAnchor

public int addAnchor(com.filenet.wcm.toolkit.util.WcmString title,
                     java.lang.String pathValue)
Adds new title WcmAnchor.

Parameters:
title - Title to be displayed.
pathValue - Title to be used as part of the title path instead of the displayed title.

addAnchor

public int addAnchor(java.lang.String title,
                     java.lang.String pathValue)

addAnchor

public int addAnchor(com.filenet.wcm.toolkit.util.WcmString title)
Adds new title WcmAnchor.

Parameters:
title - Title to be displayed.

addAnchor

public int addAnchor(java.lang.String title)

addAnchor

public int addAnchor(com.filenet.wcm.toolkit.server.util.ui.WcmAnchor a)
Adds new WcmAnchor to the first item of the list.

Parameters:
a - new WcmAnchor to add to the list

renderOpeningHTML

protected void renderOpeningHTML(java.io.Writer w)
                          throws java.lang.Exception
Throws:
java.lang.Exception

renderClosingHTML

protected void renderClosingHTML(java.io.Writer w)
                          throws java.lang.Exception
Throws:
java.lang.Exception

renderAnchor

protected void renderAnchor(java.io.Writer w,
                            int idx,
                            int max,
                            com.filenet.wcm.toolkit.server.util.ui.WcmAnchor a)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getTitlePath

public java.lang.String getTitlePath()
                              throws java.lang.Exception
Throws:
java.lang.Exception

setTitlePath

public void setTitlePath(java.lang.String newTitlePath)
                  throws java.lang.Exception
Throws:
java.lang.Exception

setTitlePath

public void setTitlePath(java.lang.String newTitlePath,
                         com.filenet.wcm.toolkit.util.WcmString title)
                  throws java.lang.Exception
Throws:
java.lang.Exception


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.