com.plumtree.portalpages.browsing.unsubscribe.communities
Class MyCommunitiesListView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.uiinfrastructure.expandablelist.ExpListView
          extended by com.plumtree.portalpages.browsing.unsubscribe.communities.MyCommunitiesListView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class MyCommunitiesListView
extends ExpListView

Author:
dustina To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Field Summary
static java.lang.String HTMLBUTTON_CANCEL
           
static java.lang.String HTMLBUTTON_DONE
           
static java.lang.String STR_MVC_CLASS_NAME
          Object Name
 
Fields inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView
HTMLBUTTON_DELETE, HTMLCHECKBOX_CHECKALL, HTMLCHECKBOX_DELROW, HTMLHIDDEN_COLUMNID, HTMLHIDDEN_MOVEACTION, HTMLHIDDEN_ROWINDEX, HTMLID_EXPLIST, m_nLastVisibleRow
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView
m_model, SPACE
 
Constructor Summary
MyCommunitiesListView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLElement Display()
          Returns the HTML for the View.
 HTMLScript DisplayJavascript()
          Returns Java Script for goToPage function.
protected  HTMLTable GetHTMLForActionBar()
          Returns the HTML for the Action bar.
protected  HTMLTableCell GetHTMLForCheckBox(int _nRowIndex)
          Returns the HTML for the checkbox on row _nRowIndex.
protected  HTMLTableCell GetHTMLForNameColumn(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns the HTML for the row _nRowIndex.
 HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns the HTML for the row _nRowIndex.
protected  HTMLTableCell GetHTMLForUnsubscribeAction()
          Returns the HTML for the unsubscribe cell in the action bar.
 java.lang.String GetName()
          Returns the Class name.
 void Init(IModelRO _model, AActivitySpace parent)
          Inits the Model with the IPTSession.
 
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView
AddHTMLToActionBar, CheckRowIsVisible, GetHiddenInputsForPagination, GetHTMLBelowActionBar, GetHTMLBelowMainTable, GetHTMLForAddAction, GetHTMLForAllRowsAdded, GetHTMLForBottomRow, GetHTMLForDeleteAction, GetHTMLForEmptyCellInActionBar, GetHTMLForEmptyList, GetHTMLForMoveRowActions, GetHTMLForPaginationLinks, GetHTMLForSubHeader, GetJavaScriptsForPagination, SetRowStyle
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorView
AddEmptyCellToRow, AddEmptyCellToRow, AddEmptyRowToTable, AddEmptyRowToTable, GetHeaderView, GetHeaderViewHelper, GetShortSpacerTable, GetSpacerTable
 
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
Object Name

See Also:
Constant Field Values

HTMLBUTTON_DONE

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

HTMLBUTTON_CANCEL

public static final java.lang.String HTMLBUTTON_CANCEL
See Also:
Constant Field Values
Constructor Detail

MyCommunitiesListView

public MyCommunitiesListView()
Method Detail

Create

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

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

GetName

public java.lang.String GetName()
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorView
Returns:
String

Init

public void Init(IModelRO _model,
                 AActivitySpace parent)
Inits the Model with the IPTSession.

Specified by:
Init in interface IView
Overrides:
Init in class EditorView
Parameters:
parent -

GetHTMLForActionBar

protected HTMLTable GetHTMLForActionBar()
Returns the HTML for the Action bar. (The one with the add icons). copied from JulieF's ExpListView but got rid of the delete Action cause invitation instances can't be deleted.

Overrides:
GetHTMLForActionBar in class ExpListView
Returns:
HTMLTable
Throws:
java.lang.Exception

GetHTMLForUnsubscribeAction

protected HTMLTableCell GetHTMLForUnsubscribeAction()
Returns the HTML for the unsubscribe cell in the action bar.

Returns:
HTMLTableCell
Throws:
java.lang.Exception

GetHTMLForNameColumn

protected HTMLTableCell GetHTMLForNameColumn(IPTGrowableSortedArrayWrapperRO _saData,
                                             int _nRowIndex)
Returns the HTML for the row _nRowIndex.

Parameters:
_saData -
_nRowIndex -
Returns:
HTMLTableCell
Throws:
java.lang.Exception

GetHTMLForCheckBox

protected HTMLTableCell GetHTMLForCheckBox(int _nRowIndex)
Description copied from class: ExpListView
Returns the HTML for the checkbox on row _nRowIndex.

Overrides:
GetHTMLForCheckBox in class ExpListView
Returns:
HTMLTableCell
See Also:
ExpListView.GetHTMLForCheckBox(int)

GetHTMLForRow

public HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData,
                                 int _nRowIndex)
Returns the HTML for the row _nRowIndex. Each row contains just an icon and input text.

Specified by:
GetHTMLForRow in class ExpListView
Parameters:
_saData -
_nRowIndex -
Returns:
HTMLElement
Throws:
java.lang.Exception

Display

public HTMLElement Display()
Description copied from class: ExpListView
Returns the HTML for the View.

Specified by:
Display in interface IView
Overrides:
Display in class ExpListView
Returns:

DisplayJavascript

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

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



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