|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalnavigation.views.NavigationCommonVerticalView com.plumtree.portalnavigation.views.NavigationAccessibleLeftVerticalView
public class NavigationAccessibleLeftVerticalView
Accessible navigation view (used for 508, and low bandwidth). This view displays My Pages, My Communities, Directory and mandatory links in vertical sections. Mandatory Communities with tab are not displayed separately from the My Communities section. This view is used by NavTypeAccessible in the Above Body section. It uses helper functions in NavigationCommonVerticalView. No javascript is used.
Field Summary | |
---|---|
static int |
ACCESSIBLE_MENU_TEXT_MAX_LENGTH
The maximum length of strings before truncation for accessible menu: Needs to be long enough for Community Members and Knowledge Directory |
static java.lang.String |
STR_MVC_CLASS_NAME
MVC object name |
Fields inherited from class com.plumtree.portalnavigation.views.NavigationCommonVerticalView |
---|
m_asOwner, m_model, MENU_TEXT_MAX_LENGTH |
Constructor Summary | |
---|---|
NavigationAccessibleLeftVerticalView()
|
Method Summary | |
---|---|
protected void |
AddCurCommSubSectionHeaderRow(HTMLElementCollection col,
CommunityNavPage commP)
Adds an HTMLTable to the HTMLElementCollection with the Subcommunity section |
protected void |
AddSectionHeaderRow(HTMLTable table,
java.lang.String headerString)
Adds an HTMLTableCell inside an HTMLTableRow with a header bar |
protected static void |
AddStandardListRow(HTMLTable table,
HTMLElement element)
Adds an HTMLTableCell inside an HTMLTableRow with an HTMLAnchor link |
protected static void |
AddSUBSUBSectionListRow(HTMLTable table,
HTMLElement element,
boolean bIndent)
Adds an HTMLTableCell inside an HTMLTableRow with a subsubsection link, used for related and subcommunities section.= |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
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). |
protected void |
Write508MyCommunitiesSection(HTMLElementCollection col)
Adds an HTMLTable to the HTMLElementCollection with the current Community section |
protected void |
Write508Section(HTMLElementCollection col,
java.lang.String strTitle,
ICPListEntryIterator iterator,
java.lang.String strIfIteratorEmpty,
boolean bShowImages)
Adds an HTMLTable to the HTMLElementCollection with the directory section |
protected void |
WriteCommPages(HTMLElementCollection col,
CommunityNavPage commP)
Adds an HTMLTable to the HTMLElementCollection with the Community pages section |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int ACCESSIBLE_MENU_TEXT_MAX_LENGTH
Constructor Detail |
---|
public NavigationAccessibleLeftVerticalView()
Method Detail |
---|
public HTMLElement Display()
IView
Display
in interface IView
IView.Display()
public HTMLScript DisplayJavascript()
DisplayJavascript
in interface IView
IView.DisplayJavascript()
public java.lang.String GetName()
IMVCObject
GetName
in interface IMVCObject
IMVCObject.GetName()
public void Init(IModelRO model, AActivitySpace parent)
IView
Init
in interface IView
IView.Init(IModelRO, AActivitySpace)
public java.lang.Object Create()
IManagedObject
Create
in interface IManagedObject
IManagedObject.Create()
protected void Write508MyCommunitiesSection(HTMLElementCollection col) throws HTMLException, java.lang.Exception
col
- The HTMLElementCollection to add the HTMLTable too
java.lang.Exception
HTMLException
protected void Write508Section(HTMLElementCollection col, java.lang.String strTitle, ICPListEntryIterator iterator, java.lang.String strIfIteratorEmpty, boolean bShowImages) throws HTMLException
col
- The HTMLElementCollection to add the HTMLTable too
HTMLException
protected void WriteCommPages(HTMLElementCollection col, CommunityNavPage commP) throws HTMLException
WriteCommPages
in class NavigationCommonVerticalView
col
- The HTMLElementCollection to add the HTMLTable toocommP
- The CommunityNavPage
HTMLException
protected static void AddSUBSUBSectionListRow(HTMLTable table, HTMLElement element, boolean bIndent) throws HTMLException
table
- The table to add the generated HTMLTableRow toelement
- The element link to addbIndent
- True to indent the string
HTMLException
protected void AddSectionHeaderRow(HTMLTable table, java.lang.String headerString) throws HTMLException
AddSectionHeaderRow
in class NavigationCommonVerticalView
table
- The table to add the generated HTMLTableRow toheaderString
- The header string
HTMLException
NavVisibility
protected static void AddStandardListRow(HTMLTable table, HTMLElement element) throws HTMLException
table
- The table to add the generated HTMLTableRow toanchor
- The anchor link to add
HTMLException
protected void AddCurCommSubSectionHeaderRow(HTMLElementCollection col, CommunityNavPage commP) throws HTMLException
AddCurCommSubSectionHeaderRow
in class NavigationCommonVerticalView
col
- The HTMLElementCollection to add the HTMLTable toocommP
- The CommunityNavPage
HTMLException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |