|
|||||||||
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.editor.commonpages.localizednames.LocNamesView
public class LocNamesView
This is the implementation of the Expandable List framework for the Growable Array. Is constains the HTML to display the Growable Array. It gets the data to display from GrowableListModel.
Field Summary | |
---|---|
static int |
EDIT_ROW_NEWROW
MES- EDIT_ROW_NEWROW indicates that the Name and Description editor should make a NEW item |
static java.lang.String |
HTML_INPUT_NEW_DESCRIPTION
|
static java.lang.String |
HTML_INPUT_NEW_LANG
|
static java.lang.String |
HTML_INPUT_NEW_NAME
MES- Hidden elements for posting from the Name and Description popup |
static java.lang.String |
POPUP_CONTROL_ARG_ROWTOEDIT
MES- POPUP_CONTROL_ARG_ROWTOEDIT is a querystring argument we pass to the popup so that it knows what row it's editing |
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 | |
---|---|
LocNamesView()
|
Method Summary | |
---|---|
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()
This method returns the HTMLScript that encompasses the Javascript on the page. |
protected HTMLTableCell |
GetHTMLForAddAction()
MES- GetHTMLForAddAction returns the HTML for the "Add" button |
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. |
static HTMLSelect |
GetLangChoicesControl(java.lang.String sUserLang,
java.lang.String sControlName,
java.lang.String sCurrentChoice,
XPResourceManager rm)
|
static HTMLSelect |
GetLangChoicesControl(java.lang.String sUserLang,
java.lang.String sControlName,
java.lang.String sCurrentChoice,
XPResourceManager rm,
XPHashtable htDisallowedLangs)
|
java.lang.String |
GetName()
Returns the Class name. |
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView |
---|
AddHTMLToActionBar, CheckRowIsVisible, GetHiddenInputsForPagination, GetHTMLBelowActionBar, GetHTMLBelowMainTable, GetHTMLForActionBar, 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 |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String HTML_INPUT_NEW_NAME
public static final java.lang.String HTML_INPUT_NEW_DESCRIPTION
public static final java.lang.String HTML_INPUT_NEW_LANG
public static final int EDIT_ROW_NEWROW
public static final java.lang.String POPUP_CONTROL_ARG_ROWTOEDIT
Constructor Detail |
---|
public LocNamesView()
Method Detail |
---|
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
-
java.lang.Exception
public static HTMLSelect GetLangChoicesControl(java.lang.String sUserLang, java.lang.String sControlName, java.lang.String sCurrentChoice, XPResourceManager rm, XPHashtable htDisallowedLangs)
public static HTMLSelect GetLangChoicesControl(java.lang.String sUserLang, java.lang.String sControlName, java.lang.String sCurrentChoice, XPResourceManager rm)
sUserLang
- sControlName
- sCurrentChoice
- rm
-
HTMLException
public java.lang.Object Create()
EditorView
Create
in interface IManagedObject
Create
in class EditorView
IManagedObject.Create()
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorView
protected HTMLTableCell GetHTMLForAddAction()
GetHTMLForAddAction
in class ExpListView
java.lang.Exception
- on errorprotected HTMLImg GetHTMLForIcon(PTImageType _imgRowIcon)
_imgRowIcon
- is the image to display
java.lang.Exception
public HTMLElement Display()
Display
in interface IView
Display
in class ExpListView
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |