com.plumtree.portalpages.browsing.sitemap.sitemappage
Class DisplayInPortletView

java.lang.Object
  extended by com.plumtree.portalpages.browsing.sitemap.sitemappage.DisplayInPortletView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class DisplayInPortletView
extends java.lang.Object
implements IView

File: CreateSiteMapFolderView.java ----------------------------------

Author:
NaveenP

Field Summary
static java.lang.String HTMLCHECKBOX_CHECKALL
           
static java.lang.String HTMLCHECKBOX_SELECTION_PAGE
           
static java.lang.String HTMLHIDDEN_SORTINGPAGEINDEX
           
protected  ISiteMapModelRO m_asModel
           
protected  AActivitySpace m_asOwner
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
Constructor Summary
DisplayInPortletView()
           
 
Method Summary
 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()
          Returns Java Script for goToPage function.
protected  HTMLTable GetAfterPageNameSpacerTable()
           
protected  HTMLTable GetBeforePageNameSpacerTable()
           
protected  HTMLTableCell GetHTMLForCheckBox(int nPageID)
          Returns the HTML for the checkbox for a page
protected  HTMLTableCell GetHTMLForPageName(java.lang.String strPageName)
          Returns the HTML for the cell containing the page name
 java.lang.String GetName()
          Return the name of the MVC object.
protected  HTMLTable GetPageNameTable(java.lang.String strPageName)
           
protected  HTMLTableRow GetSpacerRow()
          Return a two-column spacer row.
protected  HTMLTableRow GetTitleRow(PTSortedArrayWrapper arrPages)
           
 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 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
See Also:
Constant Field Values

HTMLHIDDEN_SORTINGPAGEINDEX

public static final java.lang.String HTMLHIDDEN_SORTINGPAGEINDEX
See Also:
Constant Field Values

HTMLCHECKBOX_SELECTION_PAGE

public static final java.lang.String HTMLCHECKBOX_SELECTION_PAGE
See Also:
Constant Field Values

HTMLCHECKBOX_CHECKALL

public static final java.lang.String HTMLCHECKBOX_CHECKALL
See Also:
Constant Field Values

m_asOwner

protected AActivitySpace m_asOwner

m_asModel

protected ISiteMapModelRO m_asModel
Constructor Detail

DisplayInPortletView

public DisplayInPortletView()
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()

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
Returns:
HTMLElement
Throws:
XPException

DisplayJavascript

public HTMLScript DisplayJavascript()
Returns Java Script for goToPage function.

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:
com.plumtree.xpshared.activityspace.IView#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:
com.plumtree.xpshared.activityspace.IView#Init(IModel, AActivitySpace)

GetHTMLForCheckBox

protected HTMLTableCell GetHTMLForCheckBox(int nPageID)
Returns the HTML for the checkbox for a page

Parameters:
nPortletID -
Returns:
HTMLTableCell
Throws:
HTMLException

GetHTMLForPageName

protected HTMLTableCell GetHTMLForPageName(java.lang.String strPageName)
Returns the HTML for the cell containing the page name

Parameters:
strPortletName -
Returns:
HTMLTableCell
Throws:
HTMLException

GetAfterPageNameSpacerTable

protected HTMLTable GetAfterPageNameSpacerTable()
Returns:
Throws:
java.lang.Exception

GetBeforePageNameSpacerTable

protected HTMLTable GetBeforePageNameSpacerTable()
Returns:
Throws:
java.lang.Exception

GetPageNameTable

protected HTMLTable GetPageNameTable(java.lang.String strPageName)
Parameters:
strPageName -
Returns:
Throws:
java.lang.Exception

GetSpacerRow

protected HTMLTableRow GetSpacerRow()
Return a two-column spacer row.

Returns:
HTMLTableRow
Throws:
XPException

GetTitleRow

protected HTMLTableRow GetTitleRow(PTSortedArrayWrapper arrPages)
Parameters:
arrPages -
Returns:
Throws:
java.lang.Exception



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