com.plumtree.portalnavigation.views
Class NavigationTabGroupsTabsView

java.lang.Object
  extended by com.plumtree.portalnavigation.views.NavigationCommonVerticalView
      extended by com.plumtree.portalnavigation.views.NavigationTabGroupsTabsView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class NavigationTabGroupsTabsView
extends NavigationCommonVerticalView
implements IView

Horizontal tabs for selecting links sections in NavigationTabGroupsLeftVerticalView This navigation view displays tabs for My Pages, My Communities, Directory and Administration. Clicking on the My Communities tab goes to the first community in a user's community list. This view is used by NavTypeTabGroupsLeftVertical in the Below banner section. It works together with NavigationTabGroupsLeftVerticalView, which provides navigation inside each feature area.

Author:
robertz

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
          MVC Name
static int TABGROUPS_TAB_TRUNCATION_WIDTH
          Truncation width of the strings in the tabs
 
Fields inherited from class com.plumtree.portalnavigation.views.NavigationCommonVerticalView
MENU_TEXT_MAX_LENGTH
 
Constructor Summary
NavigationTabGroupsTabsView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLTableCell CreateTab(HTMLElement element, boolean bOn)
          Helper function that returns an HTMLTableCell with a clickable navigation tab
 HTMLElement Display()
          This method returns the HTMLElement that encompasses the output of the View.
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
 java.lang.String GetName()
          Return the name of the MVC object.
 void Init(IModelRO model, AActivitySpace parent)
          This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS).
 
Methods inherited from class com.plumtree.portalnavigation.views.NavigationCommonVerticalView
AddActionListRow, AddAdminListRow, AddCurCommSubSectionHeaderRow, AddSectionHeaderRow, AddSectionHeaderRow, AddStandardListBoldRow, AddStandardListRow, AddStandardListRow, AddSubSectionHeaderRow, AddSubSectionHeaderRow, AddSubSectionListRow, AddSUBSUBSectionListRow, AddVerticalSpacerRow, CreateActionBarDivider, CreateHeaderTable, CreateListStartTable, Get508PortletAccessAnchors, GetActionCollapseExpandURL, GetCollapseExpandURL, GetSectionCollapseExpandURL, Write508JumpLink, Write508ShortcutsSection, WriteAdminLink, WriteCommPages, WriteCurCommunitySection, WriteDocumentsSection, WriteMandatoryCommunitiesSection, WriteMandatoryLinksSection, WriteMinimizedSubSectionBar, WriteMyCommunitiesSection, WriteMyPagesSection, WriteRelatedCommunitiesSubSection, WriteSubCommsSubSection, WriteTextRow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABGROUPS_TAB_TRUNCATION_WIDTH

public static final int TABGROUPS_TAB_TRUNCATION_WIDTH
Truncation width of the strings in the tabs

See Also:
Constant Field Values

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
MVC Name

See Also:
Constant Field Values
Constructor Detail

NavigationTabGroupsTabsView

public NavigationTabGroupsTabsView()
Method Detail

Create

public java.lang.Object Create()
Description copied from interface: IManagedObject
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

DisplayJavascript

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

Specified by:
DisplayJavascript in interface IView
Returns:
HTMLScript
See Also:
IView.DisplayJavascript()

GetName

public java.lang.String GetName()
Description copied from interface: IMVCObject
Return the name of the MVC object.

Specified by:
GetName in interface IMVCObject
Returns:
the name of the object.
See Also:
IMVCObject.GetName()

Init

public void Init(IModelRO model,
                 AActivitySpace parent)
Description copied from interface: IView
This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS).

Specified by:
Init in interface IView
See Also:
IView.Init(IModelRO, AActivitySpace)

Display

public HTMLElement Display()
Description copied from interface: IView
This method returns the HTMLElement that encompasses the output of the View.

Specified by:
Display in interface IView
See Also:
IView.Display()

CreateTab

public HTMLTableCell CreateTab(HTMLElement element,
                               boolean bOn)
                        throws java.lang.Exception
Helper function that returns an HTMLTableCell with a clickable navigation tab

Parameters:
element - Either a link from an ASURL or just an image with label
bOn - True if the current tab is the selected one
Returns:
HTMLTableCell HTMLTableCell with
Throws:
java.lang.Exception



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