com.plumtree.portalnavigation.views
Class NavigationAccessibleBelowBodyView

java.lang.Object
  extended by com.plumtree.portalnavigation.views.NavigationAccessibleBelowBodyView

public class NavigationAccessibleBelowBodyView
extends java.lang.Object

Accessible navigation view (used for 508, and low bandwidth). This view displays actions for the My Pages, My Communities, Directory sections. This view is used by NavTypeAccessible in the below body section. No javascript is used.

Author:
MichaelD

Field Summary
static int ACTION_TEXT_MAX_LENGTH
          The maximum length of strings before truncation
protected  AActivitySpace m_asOwner
           
protected  IPluggableNavModelRO m_model
           
static java.lang.String STR_ACTION_DIVIDER
          Action Divider
static java.lang.String STR_MVC_CLASS_NAME
          MVC object name
 
Constructor Summary
NavigationAccessibleBelowBodyView()
           
 
Method Summary
protected  int AddCategoryActionsToCell(HTMLTableCell cell, NavCategoryType navCategoryType)
          Adds the actions for a category to the cell passed in.
protected  void AddParentCommLinkToCell(HTMLTableCell cell)
           
 java.lang.Object Create()
           
 HTMLElement Display()
           
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
 java.lang.String GetName()
           
 void Init(IModelRO model, AActivitySpace parent)
           
protected  HTMLElementCollection WritePageOptions()
          Adds an HTMLTable to the HTMLElementCollection with the Mypage links section
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
MVC object name

See Also:
Constant Field Values

ACTION_TEXT_MAX_LENGTH

public static final int ACTION_TEXT_MAX_LENGTH
The maximum length of strings before truncation

See Also:
Constant Field Values

STR_ACTION_DIVIDER

public static final java.lang.String STR_ACTION_DIVIDER
Action Divider


m_asOwner

protected AActivitySpace m_asOwner

m_model

protected IPluggableNavModelRO m_model
Constructor Detail

NavigationAccessibleBelowBodyView

public NavigationAccessibleBelowBodyView()
Method Detail

Display

public HTMLElement Display()
See Also:
com.plumtree.uiinfrastructure.activityspace.IView#Display()

DisplayJavascript

public HTMLScript DisplayJavascript()
This method returns the HTMLScript that encompasses the Javascript on the page.

Returns:
HTMLScript
See Also:
com.plumtree.uiinfrastructure.activityspace.IView#DisplayJavascript()

GetName

public java.lang.String GetName()
See Also:
com.plumtree.uiinfrastructure.activityspace.IMVCObject#GetName()

Init

public void Init(IModelRO model,
                 AActivitySpace parent)
See Also:
com.plumtree.uiinfrastructure.activityspace.IView#Init(IModelRO, AActivitySpace)

Create

public java.lang.Object Create()
See Also:
com.plumtree.uiinfrastructure.activityspace.IManagedObject#Create()

WritePageOptions

protected HTMLElementCollection WritePageOptions()
                                          throws HTMLException,
                                                 java.lang.Exception
Adds an HTMLTable to the HTMLElementCollection with the Mypage links section

Parameters:
col - The HTMLElementCollection to add the HTMLTable too
Throws:
HTMLException
java.lang.Exception

AddCategoryActionsToCell

protected int AddCategoryActionsToCell(HTMLTableCell cell,
                                       NavCategoryType navCategoryType)
Adds the actions for a category to the cell passed in.

Parameters:
cell - Cell that the actions will be added to.
navCategoryType - Category type of the actions to be added.
Returns:
number of Category Actions added

AddParentCommLinkToCell

protected void AddParentCommLinkToCell(HTMLTableCell cell)



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.