|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalnavigation.views.NavigationJSPortalMenuDropDownView
public class NavigationJSPortalMenuDropDownView
Horizontal navigaton scheme with dropdown menus using the JSPortalMenu framework. This navigation view displays "My Pages", "My Communities", "Directory" and mandatory links dropdown menus using the JSPortalMenu framework. Mandatory communities and link to Administration are displayed using same tabs as the menu tabs. The tabs will wrap to multiple rows if there are too many tabs to fit on one row. This view is used by the NavTypeJSPortalMenuDropDown in the above banner view. The menu framework is defined in navjsportalmenufuncs.js and functions in navjsportalmenucommon.js is used for the mandatory community tabs. Now supports browser detection internally, so this view can be used as a nested view by other navigation views. This view supports auto-browser handling so it can be used by external custom navigations. Custom navs that use this view MUST also use the JavaScriptIncludes() method on NavTypeJSPortalMenuDropDown to return proper javascript to support this view.
Field Summary | |
---|---|
protected int |
m_nDirectoryMenuEntries
|
protected int |
m_nMandatoryLinksEntries
|
protected int |
m_nMyCommsMenuEntries
|
protected int |
m_nMyPageMenuEntries
|
static java.lang.String |
STR_MVC_CLASS_NAME
Drop down view class name |
Constructor Summary | |
---|---|
NavigationJSPortalMenuDropDownView()
|
Method Summary | |
---|---|
java.lang.Object |
Create()
|
protected void |
CreateCommMembershipMenu(HTMLScriptCollection col)
Creates the dropdown menu with the Communities the current user is a member of. |
protected HTMLScript |
CreateDDTabsArray()
This function populates an array of Tabs with the navigation menus to show Element 0: Display name Element 1: ID of the menu Element 2: Tooltip (if needed); |
protected void |
CreateDocMenu(HTMLScriptCollection col)
Creates the dropdown menu with the Directory links. |
protected void |
CreateMandatoryLinksMenu(HTMLScriptCollection col)
Creates the dropdown menu with the current user's Mandatory Links Defines javascript variables in HTMLScript blocks that are added to the HTMLScriptCollection |
protected void |
CreateMyPageMenu(HTMLScriptCollection col)
Creates the dropdown menu with the current user's My pages Defines javascript variables in HTMLScript blocks that are added to the HTMLScriptCollection |
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int m_nMyPageMenuEntries
protected int m_nMyCommsMenuEntries
protected int m_nDirectoryMenuEntries
protected int m_nMandatoryLinksEntries
public static final java.lang.String STR_MVC_CLASS_NAME
Constructor Detail |
---|
public NavigationJSPortalMenuDropDownView()
Method Detail |
---|
public java.lang.Object Create()
com.plumtree.uiinfrastructure.activityspace.IManagedObject#Create()
public HTMLElement Display()
com.plumtree.uiinfrastructure.activityspace.IView#Display()
public HTMLScript DisplayJavascript()
com.plumtree.uiinfrastructure.activityspace.IView#DisplayJavascript()
public java.lang.String GetName()
com.plumtree.uiinfrastructure.activityspace.IMVCObject#GetName()
public void Init(IModelRO model, AActivitySpace parent)
com.plumtree.uiinfrastructure.activityspace.IView#Init(IModelRO, AActivitySpace)
protected void CreateCommMembershipMenu(HTMLScriptCollection col) throws HTMLException
col
- The HTMLScriptCollection to add the javascript too
HTMLException
protected HTMLScript CreateDDTabsArray() throws HTMLException
script
- HTMLScript block with the array
HTMLException
protected void CreateDocMenu(HTMLScriptCollection col) throws HTMLException
col
- The HTMLScriptCollection to add the javascript too
HTMLException
protected void CreateMandatoryLinksMenu(HTMLScriptCollection col) throws HTMLException
col
- The HTMLScriptCollection to add the javascript too
HTMLException
protected void CreateMyPageMenu(HTMLScriptCollection col) throws HTMLException
col
- The HTMLScriptCollection to add the javascript too
HTMLException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |