com.plumtree.portalpages.browsing.editors.userprofile
Class GeneralInfoView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.uiinfrastructure.expandablelist.ExpListView
          extended by com.plumtree.portaluiinfrastructure.expandablelist.properties.ExpListPropBrowseView
              extended by com.plumtree.portaluiinfrastructure.expandablelist.properties.ExpListPropEditView
                  extended by com.plumtree.portaluiinfrastructure.editor.commonpages.objectproperties.ObjPropEditView
                      extended by com.plumtree.portalpages.browsing.editors.userprofile.GeneralInfoView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class GeneralInfoView
extends ObjPropEditView

Author:
jennifersu This is the General Info Section display that dynamically draws all Profile Sections

Field Summary
static java.lang.String HTMLHIDDEN_PROPERTYINDEX
           
static java.lang.String STR_MVC_CLASS_NAME
          Class name for the activity space
 
Fields inherited from class com.plumtree.portaluiinfrastructure.editor.commonpages.objectproperties.ObjPropEditView
HTMLHIDDEN_CLEARVALUE, HTMLINPUT_SELECT_PICKLIST_PREFIX, HTMLINPUT_SELECT_PICKLIST_TAGID, m_strRowHeight
 
Fields inherited from class com.plumtree.portaluiinfrastructure.expandablelist.properties.ExpListPropEditView
HTMLINPUT_ITEM, HTMLINPUT_PASSWORD, INPUT_MAXLENGTH_STRING, INPUT_MAXSIZE_DOUBLE, INPUT_MAXSIZE_LONG, INPUT_MAXSIZE_STRING
 
Fields inherited from class com.plumtree.portaluiinfrastructure.expandablelist.properties.ExpListPropBrowseView
m_rowStyleClass
 
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
GeneralInfoView()
           
 
Method Summary
protected  boolean CheckRowIsVisible(int _nRowIndex)
          Helper method to determine whether or not row is visible.
 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()
          JavaScript for opening tree selectors and retrieving values on return from tree.
protected  HTMLElementCollection Get508AddSubmit(int _nRowIndex)
           
protected  HTMLElementCollection Get508RemoveSubmit(int _nRowIndex)
           
protected  HTMLAnchor GetAddAnchor(int _nRowIndex)
          Returns anchor for add button
protected  HTMLTable GetHTMLBelowActionBar()
          We don't have an action bar in our edit mode, but we will display a button to link to the global object properties map below where the action bar would have been.
protected  HTMLTable GetHTMLForActionBar()
          GetHTMLForActionBar
protected  HTMLElement GetHTMLForDate(int _nRowIndex)
          Returns HTML for display date/time value
protected  HTMLTableCell GetHTMLForRowAction(int _nRowIndex)
          Returns table cell for adding a value or deleting a value.
protected  HTMLTableRow GetHTMLForSubHeader()
          Returns the HTML for the sub header.
 java.lang.String GetName()
          Returns the Class name.
 
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.commonpages.objectproperties.ObjPropEditView
CheckRowIsRemovable, GetDeleteAnchor, GetHTMLBelowMainTable, GetHTMLForEditMappings, GetHTMLForName, GetHTMLForPickList, GetHTMLForPickTree, GetHTMLForPropertyValue, GetHTMLForReferenceTree, GetHTMLForRow
 
Methods inherited from class com.plumtree.portaluiinfrastructure.expandablelist.properties.ExpListPropEditView
GetHTMLElementForRow, GetHTMLEncryptedInput, GetHTMLTextInput
 
Methods inherited from class com.plumtree.portaluiinfrastructure.expandablelist.properties.ExpListPropBrowseView
CheckRowIsFirstForProperty, SetRowStyle
 
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView
AddHTMLToActionBar, GetHiddenInputsForPagination, GetHTMLForAddAction, GetHTMLForAllRowsAdded, GetHTMLForBottomRow, GetHTMLForCheckBox, GetHTMLForDeleteAction, GetHTMLForEmptyCellInActionBar, GetHTMLForEmptyList, GetHTMLForMoveRowActions, GetHTMLForPaginationLinks, GetJavaScriptsForPagination
 
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

HTMLHIDDEN_PROPERTYINDEX

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

GeneralInfoView

public GeneralInfoView()
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
Overrides:
Create in class ObjPropEditView
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
Overrides:
GetName in class ObjPropEditView
Returns:
String
See Also:
IMVCObject.GetName()

GetHTMLForActionBar

protected HTMLTable GetHTMLForActionBar()
GetHTMLForActionBar

Overrides:
GetHTMLForActionBar in class ExpListView
Returns:
HTMLTable

GetHTMLBelowActionBar

protected HTMLTable GetHTMLBelowActionBar()
Description copied from class: ObjPropEditView
We don't have an action bar in our edit mode, but we will display a button to link to the global object properties map below where the action bar would have been.

Overrides:
GetHTMLBelowActionBar in class ObjPropEditView
Returns:

GetHTMLForSubHeader

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

Overrides:
GetHTMLForSubHeader in class ExpListView
Returns:

CheckRowIsVisible

protected boolean CheckRowIsVisible(int _nRowIndex)
Helper method to determine whether or not row is visible. This method is used by Display(). This method overrides the default behavior of the ExpListView, where all rows are visible. The name and description rows are NOT hidden as it is in the parent class's ObjPropEditView::CheckRowIsVisible().

Overrides:
CheckRowIsVisible in class ObjPropEditView
Parameters:
_nRowIndex -
Returns:
True if row should be displayed, otherwise false.
See Also:
ExpListView.CheckRowIsVisible(int)

GetHTMLForDate

protected HTMLElement GetHTMLForDate(int _nRowIndex)
Returns HTML for display date/time value

Overrides:
GetHTMLForDate in class ExpListPropEditView
Parameters:
_nRowIndex -
Returns:
HTML for date value public JSDateTimePicker(String _strFormName, XPDateTime _dtDefaultDateTime, ComponentMgr _ptComponentMgr, String _strUniqueInstanceID)
Throws:
HTMLException

GetHTMLForRowAction

protected HTMLTableCell GetHTMLForRowAction(int _nRowIndex)
Returns table cell for adding a value or deleting a value.

Overrides:
GetHTMLForRowAction in class ObjPropEditView
Parameters:
_nRowIndex - Current row index
Returns:
Table cell for action
Throws:
java.lang.Exception

Get508AddSubmit

protected HTMLElementCollection Get508AddSubmit(int _nRowIndex)

Get508RemoveSubmit

protected HTMLElementCollection Get508RemoveSubmit(int _nRowIndex)

GetAddAnchor

protected HTMLAnchor GetAddAnchor(int _nRowIndex)
Returns anchor for add button

Overrides:
GetAddAnchor in class ObjPropEditView
Parameters:
_nRowIndex - Current row index
Returns:
Anchor for add button
Throws:
java.lang.Exception

DisplayJavascript

public HTMLScript DisplayJavascript()
JavaScript for opening tree selectors and retrieving values on return from tree.

Specified by:
DisplayJavascript in interface IView
Overrides:
DisplayJavascript in class ObjPropEditView
Returns:
JavaScript
See Also:
IView.DisplayJavascript()

Display

public HTMLElement Display()
Returns the HTML for the View.

Specified by:
Display in interface IView
Overrides:
Display in class ObjPropEditView
Returns:
HTMLElement



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