|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorView com.plumtree.uiinfrastructure.expandablelist.ExpListView com.plumtree.portaluiinfrastructure.expandablelist.properties.ExpListPropBrowseView com.plumtree.portaluiinfrastructure.expandablelist.properties.ExpListPropEditView com.plumtree.portaluiinfrastructure.editor.commonpages.objectproperties.ObjPropEditView
public class ObjPropEditView
This is the implementation of the Expandable List for object properties
Field Summary | |
---|---|
static java.lang.String |
HTMLHIDDEN_CLEARVALUE
HTML Object name: clear value (set to true to clear the property value) |
static java.lang.String |
HTMLINPUT_SELECT_PICKLIST_PREFIX
Prefix for picklist input |
static java.lang.String |
HTMLINPUT_SELECT_PICKLIST_TAGID
TagID for picklist |
protected java.lang.String |
m_strRowHeight
Height of rows in list |
static java.lang.String |
STR_MVC_CLASS_NAME
Class name for the ObjPropEditView |
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 | |
---|---|
ObjPropEditView()
|
Method Summary | |
---|---|
protected boolean |
CheckRowIsRemovable(int _nRowIndex)
Checks to see if the row can be removed. |
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 HTMLAnchor |
GetAddAnchor(int _nRowIndex)
Returns anchor for add button |
protected HTMLAnchor |
GetDeleteAnchor(int _nRowIndex)
Returns anchor for delete 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 |
GetHTMLBelowMainTable()
Displays HTML below action bar. |
protected HTMLTableCell |
GetHTMLForEditMappings()
Returns the HTML for the editing mappings |
protected HTMLTableCell |
GetHTMLForName(int _nRowIndex)
Returns HTML for name of property. |
protected HTMLElementCollection |
GetHTMLForPickList(int _nRowIndex,
java.lang.String _strValue)
Returns HTML for pick list |
protected HTMLElement |
GetHTMLForPickTree(int _nRowIndex,
java.lang.String _strValue)
Returns HTML for pick tree |
protected HTMLTableCell |
GetHTMLForPropertyValue(int _nRowIndex)
Returns table cell for property value |
protected HTMLElement |
GetHTMLForReferenceTree(int _nRowIndex,
java.lang.String _strValue)
Returns HTML for reference tree |
HTMLElement |
GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData,
int _nRowIndex)
Returns the HTML for the row _nRowIndex. |
protected HTMLTableCell |
GetHTMLForRowAction(int _nRowIndex)
Returns table cell for adding a value or deleting a value. |
java.lang.String |
GetName()
Returns the Class name. |
Methods inherited from class com.plumtree.portaluiinfrastructure.expandablelist.properties.ExpListPropEditView |
---|
GetHTMLElementForRow, GetHTMLEncryptedInput, GetHTMLForDate, GetHTMLTextInput |
Methods inherited from class com.plumtree.portaluiinfrastructure.expandablelist.properties.ExpListPropBrowseView |
---|
CheckRowIsFirstForProperty, SetRowStyle |
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView |
---|
AddHTMLToActionBar, GetHiddenInputsForPagination, GetHTMLForActionBar, GetHTMLForAddAction, GetHTMLForAllRowsAdded, GetHTMLForBottomRow, GetHTMLForCheckBox, GetHTMLForDeleteAction, GetHTMLForEmptyCellInActionBar, GetHTMLForEmptyList, GetHTMLForMoveRowActions, GetHTMLForPaginationLinks, GetHTMLForSubHeader, 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 |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String HTMLINPUT_SELECT_PICKLIST_PREFIX
public static final java.lang.String HTMLINPUT_SELECT_PICKLIST_TAGID
public static final java.lang.String HTMLHIDDEN_CLEARVALUE
protected java.lang.String m_strRowHeight
Constructor Detail |
---|
public ObjPropEditView()
Method Detail |
---|
protected boolean CheckRowIsVisible(int _nRowIndex)
CheckRowIsVisible
in class ExpListView
_nRowIndex
-
ExpListView.CheckRowIsVisible(int)
public java.lang.Object Create()
EditorView
Create
in interface IManagedObject
Create
in class EditorView
IManagedObject.Create()
public HTMLElement Display()
Display
in interface IView
Display
in class ExpListView
public HTMLScript DisplayJavascript()
DisplayJavascript
in interface IView
DisplayJavascript
in class ExpListView
IView.DisplayJavascript()
public HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
GetHTMLForRow
in class ExpListView
_saData
- _nRowIndex
- Row index
java.lang.Exception
public java.lang.String GetName()
EditorView
GetName
in interface IMVCObject
GetName
in class EditorView
IMVCObject.GetName()
protected HTMLTable GetHTMLBelowMainTable()
GetHTMLBelowMainTable
in class ExpListView
java.lang.Exception
ExpListView.GetHTMLBelowMainTable()
protected HTMLElementCollection GetHTMLForPickList(int _nRowIndex, java.lang.String _strValue)
_nRowIndex
- Row index_strValue
- Property value as string
HTMLException
protected HTMLElement GetHTMLForPickTree(int _nRowIndex, java.lang.String _strValue)
_nRowIndex
- Row index_strValue
- Property value as string
java.lang.Exception
protected HTMLElement GetHTMLForReferenceTree(int _nRowIndex, java.lang.String _strValue)
GetHTMLForReferenceTree
in class ExpListPropEditView
_nRowIndex
- Row index_strValue
- Reference value as string
java.lang.Exception
protected boolean CheckRowIsRemovable(int _nRowIndex)
_nRowIndex
- Current row index
com.plumtree.portaluiinfrastructure.editor.commonpages.objectproperties.IObjPropModelRO#CheckRowIsRemovable(int,
boolean)
protected HTMLAnchor GetAddAnchor(int _nRowIndex)
_nRowIndex
- Current row index
java.lang.Exception
protected HTMLAnchor GetDeleteAnchor(int _nRowIndex)
_nRowIndex
- Current row index
java.lang.Exception
protected HTMLTableCell GetHTMLForName(int _nRowIndex)
_nRowIndex
- Row index
HTMLException
protected HTMLTableCell GetHTMLForPropertyValue(int _nRowIndex)
_nRowIndex
- Current row index
java.lang.Exception
protected HTMLTableCell GetHTMLForRowAction(int _nRowIndex)
_nRowIndex
- Current row index
java.lang.Exception
protected HTMLTableCell GetHTMLForEditMappings()
java.lang.Exception
protected HTMLTable GetHTMLBelowActionBar()
GetHTMLBelowActionBar
in class ExpListView
java.lang.Exception
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |