com.plumtree.portalpages.admin.serversettings.objectpropertymap.plugin
Class ObjPropMapPluginView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.uiinfrastructure.expandablelist.ExpListView
          extended by com.plumtree.portalpages.admin.serversettings.objectpropertymap.plugin.ObjPropMapPluginView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class ObjPropMapPluginView
extends ExpListView

This is the implementation of the Expandable List for object properties map.

Author:
josephc

Field Summary
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
ObjPropMapPluginView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLScript DisplayJavascript()
          Returns Java Script for goToPage function.
protected  HTMLTableCell GetHTMLForEdit(int _nRowIndex)
          Return cell that contains anchor for editing mappings.
protected  HTMLTableCell GetHTMLForIcon(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns cell for icon
protected  HTMLTableCell GetHTMLForMappedProperties(int _nRowIndex)
          Returns cell for mapped properties
protected  HTMLTableCell GetHTMLForName(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns cell for name
 HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Will be called for each row.
protected  HTMLImg GetImageForEditIcon()
          Returns image for edit icon
 java.lang.String GetName()
          Returns the Class name.
 
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView
AddHTMLToActionBar, CheckRowIsVisible, Display, GetHiddenInputsForPagination, GetHTMLBelowActionBar, GetHTMLBelowMainTable, GetHTMLForActionBar, GetHTMLForAddAction, GetHTMLForAllRowsAdded, GetHTMLForBottomRow, GetHTMLForCheckBox, 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, 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
Constructor Detail

ObjPropMapPluginView

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

DisplayJavascript

public HTMLScript DisplayJavascript()
Description copied from class: ExpListView
Returns Java Script for goToPage function.

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

GetHTMLForRow

public HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData,
                                 int _nRowIndex)
Description copied from class: ExpListView
Will be called for each row. Should return the HTML for row _nRowIndex.

Specified by:
GetHTMLForRow in class ExpListView
Returns:
HTMLElement
See Also:
ExpListView.GetHTMLForRow(IPTGrowableSortedArrayWrapperRO, int)

GetName

public java.lang.String GetName()
Description copied from class: EditorView
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorView
Returns:
String
See Also:
IMVCObject.GetName()

GetHTMLForEdit

protected HTMLTableCell GetHTMLForEdit(int _nRowIndex)
Return cell that contains anchor for editing mappings.

Parameters:
_nRowIndex - Row index
Returns:
HTMLTableCell
Throws:
java.lang.Exception

GetHTMLForMappedProperties

protected HTMLTableCell GetHTMLForMappedProperties(int _nRowIndex)
Returns cell for mapped properties

Parameters:
_nRowIndex - Row index
Returns:
HTMLTableCell
Throws:
HTMLException

GetHTMLForIcon

protected HTMLTableCell GetHTMLForIcon(IPTGrowableSortedArrayWrapperRO _saData,
                                       int _nRowIndex)
Returns cell for icon

Parameters:
_saData - Data
_nRowIndex - Row index
Returns:
HTMLTableCell
Throws:
HTMLException

GetHTMLForName

protected HTMLTableCell GetHTMLForName(IPTGrowableSortedArrayWrapperRO _saData,
                                       int _nRowIndex)
Returns cell for name

Parameters:
_saData - Data
_nRowIndex - Row index
Returns:
HTMLTableCell
Throws:
HTMLException

GetImageForEditIcon

protected HTMLImg GetImageForEditIcon()
Returns image for edit icon

Returns:
Image for edit icon
Throws:
java.lang.Exception



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