com.plumtree.uiinfrastructure.expandablelist.multicolumnlist
Class MultiColumnListView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.uiinfrastructure.expandablelist.ExpListView
          extended by com.plumtree.uiinfrastructure.expandablelist.multicolumnlist.MultiColumnListView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView
Direct Known Subclasses:
FormLoginFieldsPluginView, GatewayPrefixPluginView, ServerStatusListView, TagLibListView

public class MultiColumnListView
extends ExpListView

This is an implementation of the Expandable List framework for the Multi Column Array. Is constains the HTML to display the Array. It gets the data to display from MultiColumnListModel.

Author:
JohnH

Field Summary
static java.lang.String HTMLINPUT_ITEM
          Class name for the activity space
static java.lang.String STR_MVC_CLASS_NAME
          Class name for the activity space
 
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_asOwner, m_model, SPACE
 
Constructor Summary
MultiColumnListView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
protected  HTMLImg GetHTMLForIcon(PTImageType _imgRowIcon)
          Helper method to get the HTML for the icon.
 HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns the HTML for the row _nRowIndex.
protected  HTMLTableRow GetHTMLForSubHeader()
          Returns the HTML for the sub header.
 java.lang.String GetName()
          Returns the Class name.
 
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView
AddHTMLToActionBar, CheckRowIsVisible, Display, DisplayJavascript, GetHiddenInputsForPagination, GetHTMLBelowActionBar, GetHTMLBelowMainTable, GetHTMLForActionBar, GetHTMLForAddAction, GetHTMLForAllRowsAdded, GetHTMLForBottomRow, GetHTMLForCheckBox, GetHTMLForDeleteAction, GetHTMLForEmptyCellInActionBar, GetHTMLForEmptyList, GetHTMLForMoveRowActions, GetHTMLForPaginationLinks, GetJavaScriptsForPagination, SetRowStyle
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorView
AddEmptyCellToRow, AddEmptyCellToRow, AddEmptyRowToTable, AddEmptyRowToTable, GetHeaderView, GetHeaderViewHelper, GetShortSpacerTable, GetSpacerTable, Init
 
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
Class name for the activity space

See Also:
Constant Field Values

HTMLINPUT_ITEM

public static final java.lang.String HTMLINPUT_ITEM
Class name for the activity space

See Also:
Constant Field Values
Constructor Detail

MultiColumnListView

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

GetHTMLForRow

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

Specified by:
GetHTMLForRow in class ExpListView
Parameters:
_saData -
_nRowIndex -
Returns:
HTMLElement

GetName

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

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

GetHTMLForIcon

protected HTMLImg GetHTMLForIcon(PTImageType _imgRowIcon)
Helper method to get the HTML for the icon. (Each row has an icon before the input text.)

Parameters:
_imgRowIcon -
Returns:
HTMLImg

GetHTMLForSubHeader

protected HTMLTableRow GetHTMLForSubHeader()
Description copied from class: ExpListView
Returns the HTML for the sub header.

Overrides:
GetHTMLForSubHeader in class ExpListView
Returns:



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