|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalnavigation.views.NavigationCommonVerticalView
public class NavigationCommonVerticalView
Common parent class for vertical navigation schemes. Contains variables and methods common for vertical schemes.
Field Summary | |
---|---|
protected AActivitySpace |
m_asOwner
|
protected IPluggableNavModelRO |
m_model
|
static int |
MENU_TEXT_MAX_LENGTH
The maximum length of strings before truncation |
Constructor Summary | |
---|---|
NavigationCommonVerticalView()
|
Method Summary | |
---|---|
protected void |
AddActionListRow(HTMLTable table,
HTMLAnchor anchor,
ASURL collapseLink)
Adds an HTMLTableCell inside an HTMLTableRow with an action link |
protected static void |
AddAdminListRow(HTMLTable table,
HTMLAnchor anchor)
DCA - Creating HTML for Administration Button Don't need this function |
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 void |
AddSectionHeaderRow(HTMLTable table,
java.lang.String headerString,
int nID,
boolean bCollapsed)
Adds an HTMLTableCell inside an HTMLTableRow with a collapsible/expandable header bar |
protected static void |
AddStandardListBoldRow(HTMLTable table,
java.lang.String strLabel)
Adds an HTMLTableCell inside an HTMLTableRow with a bolded string |
protected static void |
AddStandardListRow(HTMLTable table,
ASURL asURL)
Adds an HTMLTableCell inside an HTMLTableRow with an ASURL link |
protected static void |
AddStandardListRow(HTMLTable table,
HTMLAnchor anchor)
Adds an HTMLTableCell inside an HTMLTableRow with an HTMLAnchor link |
protected void |
AddSubSectionHeaderRow(HTMLTable table,
java.lang.String headerString)
Adds an HTMLTableCell inside an HTMLTableRow with a section header |
protected void |
AddSubSectionHeaderRow(HTMLTable table,
java.lang.String headerString,
int nID,
boolean bCollapsed)
Adds an HTMLTableCell inside an HTMLTableRow with a collapsible/expandable section header |
protected static void |
AddSubSectionListRow(HTMLTable table,
HTMLAnchor anchor)
Adds an HTMLTableCell inside an HTMLTableRow with a subsection link |
protected static void |
AddSUBSUBSectionListRow(HTMLTable table,
HTMLAnchor anchor,
boolean bIndent)
Adds an HTMLTableCell inside an HTMLTableRow with a subsubsection link, used for related and subcommunities section.= |
protected static void |
AddVerticalSpacerRow(HTMLTable table)
Adds an HTMLTableCell inside an HTMLTableRow with a spacer row |
protected HTMLTableCell |
CreateActionBarDivider()
Helper function that gets a table cell used as a thin divider. |
static HTMLTable |
CreateHeaderTable(boolean bSpacer)
Helper method that creates a header HTMLTable |
static HTMLTable |
CreateListStartTable()
Helper method that creates an HTMLTable to start a list |
protected HTMLElementCollection |
Get508PortletAccessAnchors()
Return a collection of access key anchors elements pointing to each portlet displayed. |
ASURL |
GetActionCollapseExpandURL(int nSectionID,
boolean bCollapse)
Gets the ASURL with image to collapse/expand vertical actions subsection |
protected ASURL |
GetCollapseExpandURL(int nSectionID,
boolean bCollapse)
Generates the ASURL with just the URL to the control for collapse/expanding vertical navigation sections. |
ASURL |
GetSectionCollapseExpandURL(int nSectionID,
boolean bCollapse)
Gets the ASURL with image to collapse/expand vertical navigation sections |
void |
Write508JumpLink(HTMLElementCollection result)
This method displays the hidden link after the navigation banner so that 508 users can skip the navigation. |
void |
Write508ShortcutsSection(HTMLElementCollection result)
This method displays the access key shortcuts for the 508 banner. |
protected void |
WriteAdminLink(HTMLElementCollection col)
Adds an HTMLTable with the Administration link to the specified HTMLElementCollection |
protected void |
WriteCommPages(HTMLElementCollection col,
CommunityNavPage commP)
Adds an HTMLTable to the HTMLElementCollection with the Community pages section |
protected void |
WriteCurCommunitySection(HTMLElementCollection col,
CommunityNavPage commP)
Adds an HTMLTable to the HTMLElementCollection with the current Community section, with the Community pages, Subcommunities and related communities |
protected void |
WriteDocumentsSection(HTMLElementCollection col)
Adds an HTMLTable to the HTMLElementCollection with the directory section |
protected void |
WriteMandatoryCommunitiesSection(HTMLElementCollection col)
Adds an HTMLTable to the HTMLElementCollection with the Mandatory Communities section. |
protected void |
WriteMandatoryLinksSection(HTMLElementCollection col)
Adds an HTMLTable to the HTMLElementCollection with the Mandatory links section |
protected void |
WriteMinimizedSubSectionBar(HTMLTable table,
java.lang.String strTitle,
int nID,
ICPListEntryIterator cpList)
Adds an HTMLTableRow to specified HTMLTable with a collapsed Subsection Bar. |
protected void |
WriteMyCommunitiesSection(HTMLElementCollection col)
Adds an HTMLTable to the HTMLElementCollection with the current Community section |
protected void |
WriteMyPagesSection(HTMLElementCollection col)
Adds an HTMLTable to the HTMLElementCollection with the Mypage links section |
protected void |
WriteRelatedCommunitiesSubSection(HTMLElementCollection col,
CommunityNavPage commP)
Adds an HTMLTable to the HTMLElementCollection with the Related communities section of the current community |
protected void |
WriteSubCommsSubSection(HTMLElementCollection col,
CommunityNavPage commP)
Adds an HTMLTable to the HTMLElementCollection with the Subcommunities section of the current community |
static void |
WriteTextRow(HTMLTable table,
java.lang.String text)
Adds an HTMLTableCell inside an HTMLTableRow with just a string and no anchor to the specified HTMLTable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MENU_TEXT_MAX_LENGTH
protected AActivitySpace m_asOwner
protected IPluggableNavModelRO m_model
Constructor Detail |
---|
public NavigationCommonVerticalView()
Method Detail |
---|
public void Write508JumpLink(HTMLElementCollection result) throws HTMLException
HTMLElementCollection
- the collection to add the shortcut section to.
HTMLException
public void Write508ShortcutsSection(HTMLElementCollection result) throws HTMLException
HTMLElementCollection
- the collection to add the shortcut section to.
HTMLException
protected HTMLElementCollection Get508PortletAccessAnchors()
public static HTMLTable CreateListStartTable()
public static HTMLTable CreateHeaderTable(boolean bSpacer)
bSpacer
- True to add a spacer row below the header
public static void WriteTextRow(HTMLTable table, java.lang.String text) throws HTMLException
table
- The table to add the generated HTMLTableRow totext
- Label to add
HTMLException
protected ASURL GetCollapseExpandURL(int nSectionID, boolean bCollapse)
nSectionID
- NavVisibility ID of the navigation sectionbCollapsed
- True if the entire section is collapsed
HTMLException
NavVisibility
public ASURL GetSectionCollapseExpandURL(int nSectionID, boolean bCollapse)
nSectionID
- NavVisibility ID of the navigation sectionbCollapsed
- True if the entire section is collapsed
NavVisibility
public ASURL GetActionCollapseExpandURL(int nSectionID, boolean bCollapse) throws HTMLException
nSectionID
- NavVisibility ID of the navigation sectionbCollapsed
- True if the entire section is collapsed
java.lang.Exception
HTMLException
NavVisibility
protected static void AddAdminListRow(HTMLTable table, HTMLAnchor anchor) throws HTMLException
table
- HTMLTable to add the generated row toasURL
- Administrator ASURL
HTMLException
protected void AddActionListRow(HTMLTable table, HTMLAnchor anchor, ASURL collapseLink) throws HTMLException
table
- The table to add the generated HTMLTableRow totext
- Label to addcollapseLink
- Display the link to collapse the current action subsection
HTMLException
protected static void AddVerticalSpacerRow(HTMLTable table)
table
- The table to add the generated HTMLTableRow to
HTMLException
protected void AddSectionHeaderRow(HTMLTable table, java.lang.String headerString) throws HTMLException
table
- The table to add the generated HTMLTableRow toheaderString
- The header string
HTMLException
protected void AddSectionHeaderRow(HTMLTable table, java.lang.String headerString, int nID, boolean bCollapsed) throws HTMLException
table
- The table to add the generated HTMLTableRow toheaderString
- The header stringnID
- NavVisibility ID of the navigation sectionbCollapsed
- True if the entire section is collapsed
HTMLException
NavVisibility
protected static void AddStandardListRow(HTMLTable table, ASURL asURL) throws HTMLException
table
- The table to add the generated HTMLTableRow toasURL
- The ASURL link to add
HTMLException
NavVisibility
protected static void AddStandardListRow(HTMLTable table, HTMLAnchor anchor) throws HTMLException
table
- The table to add the generated HTMLTableRow toanchor
- The anchor link to add
HTMLException
protected static void AddStandardListBoldRow(HTMLTable table, java.lang.String strLabel) throws HTMLException
table
- The table to add the generated HTMLTableRow tostrLabel
- The string to display
HTMLException
protected static void AddSUBSUBSectionListRow(HTMLTable table, HTMLAnchor anchor, boolean bIndent) throws HTMLException
table
- The table to add the generated HTMLTableRow toanchor
- The anchor link to addbIndent
- True to indent the string
HTMLException
protected static void AddSubSectionListRow(HTMLTable table, HTMLAnchor anchor) throws HTMLException
table
- The table to add the generated HTMLTableRow toanchor
- The anchor link to add
HTMLException
protected void AddSubSectionHeaderRow(HTMLTable table, java.lang.String headerString) throws HTMLException
table
- The table to add the generated HTMLTableRow toheaderString
- The header string to display
HTMLException
protected void AddSubSectionHeaderRow(HTMLTable table, java.lang.String headerString, int nID, boolean bCollapsed) throws HTMLException
table
- The table to add the generated HTMLTableRow toheaderString
- The header string to displaynID
- NavVisibility ID of the navigation sectionbCollapsed
- True if the entire section is collapsed
HTMLException
NavVisibility
protected void AddCurCommSubSectionHeaderRow(HTMLElementCollection col, CommunityNavPage commP) throws HTMLException
col
- The HTMLElementCollection to add the HTMLTable toocommP
- The CommunityNavPage
HTMLException
protected void WriteAdminLink(HTMLElementCollection col) throws HTMLException, java.lang.Exception
col
- HTMLCollection to add the Admin HTMLTable too
HTMLException
java.lang.Exception
protected void WriteCurCommunitySection(HTMLElementCollection col, CommunityNavPage commP) throws java.lang.Exception
col
- The HTMLElementCollection to add the HTMLTable toocommP
- The CommunityNavPage
java.lang.Exception
protected void WriteMyCommunitiesSection(HTMLElementCollection col) throws HTMLException, java.lang.Exception
col
- The HTMLElementCollection to add the HTMLTable toocommP
- The CommunityNavPage
java.lang.Exception
HTMLException
protected void WriteCommPages(HTMLElementCollection col, CommunityNavPage commP) throws HTMLException
col
- The HTMLElementCollection to add the HTMLTable toocommP
- The CommunityNavPage
HTMLException
protected void WriteSubCommsSubSection(HTMLElementCollection col, CommunityNavPage commP) throws HTMLException, java.lang.Exception
col
- The HTMLElementCollection to add the HTMLTable toocommP
- The CommunityNavPage
java.lang.Exception
HTMLException
java.lang.Exception
protected void WriteDocumentsSection(HTMLElementCollection col) throws HTMLException
col
- The HTMLElementCollection to add the HTMLTable too
HTMLException
protected void WriteMandatoryCommunitiesSection(HTMLElementCollection col) throws HTMLException, java.lang.Exception
col
- The HTMLElementCollection to add the HTMLTable too
java.lang.Exception
HTMLException
protected void WriteMandatoryLinksSection(HTMLElementCollection col) throws HTMLException
col
- The HTMLElementCollection to add the HTMLTable too
HTMLException
protected void WriteMinimizedSubSectionBar(HTMLTable table, java.lang.String strTitle, int nID, ICPListEntryIterator cpList) throws HTMLException, java.lang.Exception
table
- The HTMLTable to add the generated row too.strTitle
- Subsection header stringnID
- NavVisibility ID of the sectioncpList
- Actions as ICPListEntryIterator
HTMLException
java.lang.Exception
protected void WriteMyPagesSection(HTMLElementCollection col) throws HTMLException, java.lang.Exception
col
- The HTMLElementCollection to add the HTMLTable too
HTMLException
java.lang.Exception
protected void WriteRelatedCommunitiesSubSection(HTMLElementCollection col, CommunityNavPage commP) throws HTMLException
col
- The HTMLElementCollection to add the HTMLTable toocommP
- The CommunityNavPage
HTMLException
protected HTMLTableCell CreateActionBarDivider() throws HTMLException
HTMLException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |