|
|||||||||
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
public abstract class ExpListView
This View contains the HTML for the Expandable List Framework.
Field Summary | |
---|---|
static java.lang.String |
HTMLBUTTON_DELETE
JF- HTML Object name: Delete button |
static java.lang.String |
HTMLCHECKBOX_CHECKALL
JF- HTML Object name: Check all checkbox |
static java.lang.String |
HTMLCHECKBOX_DELROW
JF- HTML Object name: Delete row checkbox |
static java.lang.String |
HTMLHIDDEN_COLUMNID
JF- HTML Object name: Column index |
static java.lang.String |
HTMLHIDDEN_MOVEACTION
JF- HTML Object name: Move row action |
static java.lang.String |
HTMLHIDDEN_ROWINDEX
JF- HTML Object name: Row index |
static java.lang.String |
HTMLID_EXPLIST
RWW - HTML ID: Entire Expandable List. |
protected int |
m_nLastVisibleRow
Variable is updated when iterating through rows in Display(). |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView |
---|
m_asOwner, m_model, SPACE |
Constructor Summary | |
---|---|
ExpListView()
|
Method Summary | |
---|---|
protected void |
AddHTMLToActionBar(HTMLTableRow _myRow)
Empty method that sub classes can override to add actions to the action bar (like a create object action). |
protected boolean |
CheckRowIsVisible(int _nRowIndex)
Helper method to determine whether or not row is visible. |
HTMLElement |
Display()
Returns the HTML for the View. |
HTMLScript |
DisplayJavascript()
Returns Java Script for goToPage function. |
static HTMLElement |
GetHiddenInputsForPagination()
Returns the HTML to display the hidden inputs needed for the pagination. |
protected HTMLTable |
GetHTMLBelowActionBar()
Returns the HTML for the space below the Action bar. |
protected HTMLTable |
GetHTMLBelowMainTable()
Returns the HTML for the space below the main table, after all rows have been displayed. |
protected HTMLTable |
GetHTMLForActionBar()
Returns the HTML for the Action bar. |
protected HTMLTableCell |
GetHTMLForAddAction()
Returns the HTML for the add cell in the action bar. |
protected HTMLTableRow |
GetHTMLForAllRowsAdded()
The HTML returned by this method will be printed out when all the rows in the list are already added and there are no more rows to add. |
protected HTMLTableRow |
GetHTMLForBottomRow()
Returns the HTML for the last row of the main table. |
protected HTMLTableCell |
GetHTMLForCheckBox(int _nRowIndex)
Returns the HTML for the checkbox on row _nRowIndex. |
protected HTMLTableCell |
GetHTMLForDeleteAction()
Returns the HTML for the delete cell in the action bar. |
protected HTMLTableCell |
GetHTMLForEmptyCellInActionBar()
Helper method for empty cell between actions in the action bar. |
protected HTMLTableRow |
GetHTMLForEmptyList()
The HTML returned by this method will be printed out when the list is empty. |
protected HTMLTableCell |
GetHTMLForMoveRowActions(int _nRowIndex)
Helper method for empty cell between actions in the action bar. |
protected HTMLTable |
GetHTMLForPaginationLinks(IExpListModelRO _model)
Returns the HTML to display the pagination links. |
abstract HTMLElement |
GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData,
int _nRowIndex)
Will be called for each row. |
protected HTMLTableRow |
GetHTMLForSubHeader()
Returns the HTML for the sub header. |
static HTMLScript |
GetJavaScriptsForPagination(AActivitySpace _asOwner)
Returns the JavaScripts needed for the pagination. |
protected void |
SetRowStyle(HTMLTableRow _myRow,
int _nRowIndex)
Helper method to set the style of a row. |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorView |
---|
AddEmptyCellToRow, AddEmptyCellToRow, AddEmptyRowToTable, AddEmptyRowToTable, Create, GetHeaderView, GetHeaderViewHelper, GetName, 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 HTMLBUTTON_DELETE
public static final java.lang.String HTMLCHECKBOX_CHECKALL
public static final java.lang.String HTMLCHECKBOX_DELROW
public static final java.lang.String HTMLHIDDEN_COLUMNID
public static final java.lang.String HTMLHIDDEN_ROWINDEX
public static final java.lang.String HTMLHIDDEN_MOVEACTION
public static final java.lang.String HTMLID_EXPLIST
protected int m_nLastVisibleRow
Constructor Detail |
---|
public ExpListView()
Method Detail |
---|
public HTMLElement Display()
Display
in interface IView
Display
in class EditorView
public HTMLScript DisplayJavascript()
DisplayJavascript
in interface IView
DisplayJavascript
in class EditorView
IView.DisplayJavascript()
public abstract HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
_saData
- _nRowIndex
-
protected void AddHTMLToActionBar(HTMLTableRow _myRow)
_myRow
- Action bar row object.protected boolean CheckRowIsVisible(int _nRowIndex)
_nRowIndex
-
protected HTMLTable GetHTMLBelowActionBar()
protected HTMLTableRow GetHTMLForBottomRow()
protected HTMLTable GetHTMLBelowMainTable()
protected HTMLTable GetHTMLForActionBar()
protected HTMLTableCell GetHTMLForAddAction()
protected HTMLTableCell GetHTMLForCheckBox(int _nRowIndex)
_nRowIndex
-
protected HTMLTableCell GetHTMLForDeleteAction()
protected HTMLTableCell GetHTMLForEmptyCellInActionBar()
protected HTMLTableRow GetHTMLForEmptyList()
protected HTMLTableRow GetHTMLForAllRowsAdded()
protected HTMLTable GetHTMLForPaginationLinks(IExpListModelRO _model)
protected HTMLTableCell GetHTMLForMoveRowActions(int _nRowIndex)
protected HTMLTableRow GetHTMLForSubHeader()
protected void SetRowStyle(HTMLTableRow _myRow, int _nRowIndex)
_myRow
- _nRowIndex
- public static HTMLElement GetHiddenInputsForPagination()
public static HTMLScript GetJavaScriptsForPagination(AActivitySpace _asOwner)
_asOwner
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |