| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.editor.EditorView
com.plumtree.uiinfrastructure.expandablelist.ExpListView
com.plumtree.portaluiinfrastructure.ptmulticolumnlist.PTMultiColumnListView
public class PTMultiColumnListView
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.
| Field Summary | |
|---|---|
static java.lang.String | 
HTMLHIDDEN_EDITROW
Hidden element for the edit row  | 
static java.lang.String | 
HTMLINPUT_ITEM
HTML element names  | 
static java.lang.String | 
HTMLINPUT_TREEASID
HTML input for the tree space id  | 
static java.lang.String | 
JAVASCRIPT_SETEDITROW
Javascript funtion name  | 
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 | |
|---|---|
PTMultiColumnListView()
 | 
|
| Method Summary | |
|---|---|
protected  void | 
AddHTMLToActionBar(HTMLTableRow _myRow)
Empty method that sub classes can averride to add actions to the action bar (like a create object action).  | 
 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 Section.  | 
 HTMLScript | 
DisplayJavascript()
This method returns the HTMLScript that encompasses the Javascript on the page.  | 
protected  HTMLAnchor | 
GetAnchorForAddAction()
Helper method to return the add action link.  | 
protected  HTMLTableCell | 
GetHTMLForAddAction()
Returns the HTML for the add cell in the action bar.  | 
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  HTMLTableRow | 
GetHTMLForSubHeader()
Returns the HTML for the sub header.  | 
protected  HTMLImg | 
GetIcon(PTImageType _imgRowIcon)
Helper method to get the HTML for the icon.  | 
 java.lang.String | 
GetName()
Returns the Class name.  | 
| Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView | 
|---|
CheckRowIsVisible, GetHiddenInputsForPagination, GetHTMLBelowActionBar, GetHTMLBelowMainTable, GetHTMLForActionBar, 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 | 
|---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String HTMLINPUT_ITEM
public static final java.lang.String HTMLHIDDEN_EDITROW
public static final java.lang.String HTMLINPUT_TREEASID
public static final java.lang.String JAVASCRIPT_SETEDITROW
| Constructor Detail | 
|---|
public PTMultiColumnListView()
| Method Detail | 
|---|
public java.lang.Object Create()
EditorView
Create in interface IManagedObjectCreate in class EditorViewIManagedObject.Create()public HTMLElement Display()
Display in interface IViewDisplay in class ExpListViewpublic HTMLScript DisplayJavascript()
DisplayJavascript in interface IViewDisplayJavascript in class ExpListViewIView.DisplayJavascript()
public HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData,
                                 int _nRowIndex)
GetHTMLForRow in class ExpListView_saData - _nRowIndex - 
java.lang.Exceptionpublic java.lang.String GetName()
GetName in interface IMVCObjectGetName in class EditorViewprotected void AddHTMLToActionBar(HTMLTableRow _myRow)
AddHTMLToActionBar in class ExpListView_myRow - Action bar row object.
java.lang.Exceptionprotected HTMLAnchor GetAnchorForAddAction()
java.lang.Exceptionprotected HTMLTableCell GetHTMLForAddAction()
GetHTMLForAddAction in class ExpListViewjava.lang.Exception
protected HTMLTableCell GetHTMLForNameColumn(IPTGrowableSortedArrayWrapperRO _saData,
                                             int _nRowIndex)
_saData - _nRowIndex - 
java.lang.Exceptionprotected HTMLTableRow GetHTMLForSubHeader()
GetHTMLForSubHeader in class ExpListViewjava.lang.Exceptionprotected HTMLImg GetIcon(PTImageType _imgRowIcon)
java.lang.Exception
  | 
 | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||