|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.portalpages.browsing.objectselection.communities.CommSelGroupedResults508ViewHelper
public class CommSelGroupedResults508ViewHelper
| Field Summary | |
|---|---|
protected static java.lang.String |
CELL_HEIGHT
|
protected static java.lang.String |
LOW_CELL_HEIGHT
|
protected AActivitySpace |
m_asOwner
|
protected XPDateFormat |
m_dateFormat
|
protected ISearchResultModelRO |
m_model
|
protected GroupedResultsView |
m_view
|
| Constructor Summary | |
|---|---|
CommSelGroupedResults508ViewHelper()
|
|
| Method Summary | |
|---|---|
HTMLElement |
DisplayCollection()
Returns the element that all other elements will be added to, such as an HTMLTable. |
HTMLElement |
DisplayFooter()
Returns an element that will appear after all results regardless of whether the results are grouped. |
HTMLElement |
DisplayFooterIfUngrouped()
Returns an element that will appear after all results if the results are not grouped. |
HTMLElement |
DisplayGroupFooter(int groupNum)
Returns an element that will appear after all results in a single group. |
HTMLElement |
DisplayGroupHeader(int groupNum)
Returns the header element (e.g. |
HTMLElement |
DisplayHeader()
Returns an element that will appear before all results, whether or not the results are grouped. |
HTMLElement |
DisplayHeaderIfUngrouped()
Returns the header element (e.g. |
HTMLScript |
DisplayJavascript()
Returns javascript for the view. |
HTMLElement |
DisplaySingleResult(int _nResultIndex,
boolean oddRow,
int groupNum)
Returns the header element (e.g. |
java.lang.String |
formatPath(java.lang.String path)
Helper method to format path string in a friendly way |
java.lang.String |
formatSize(int sizeInBytes)
Helper method to format size string in a friendly way |
void |
Init(AActivitySpace _owner,
ISearchResultModelRO _model,
GroupedResultsView _view)
Called to set the activityspace, model, and view being used |
void |
InitDisplayResults()
Call this method before calling any of the other methods to do initialization. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AActivitySpace m_asOwner
protected ISearchResultModelRO m_model
protected GroupedResultsView m_view
protected static final java.lang.String CELL_HEIGHT
protected static final java.lang.String LOW_CELL_HEIGHT
protected XPDateFormat m_dateFormat
| Constructor Detail |
|---|
public CommSelGroupedResults508ViewHelper()
| Method Detail |
|---|
public void Init(AActivitySpace _owner,
ISearchResultModelRO _model,
GroupedResultsView _view)
IGroupedResultsViewHelper
Init in interface IGroupedResultsViewHelperpublic java.lang.String formatPath(java.lang.String path)
public java.lang.String formatSize(int sizeInBytes)
public HTMLScript DisplayJavascript()
DisplayJavascript in interface IGroupedResultsViewHelperpublic HTMLElement DisplayCollection()
DisplayCollection in interface IGroupedResultsViewHelperpublic HTMLElement DisplayHeader()
DisplayHeader in interface IGroupedResultsViewHelperpublic HTMLElement DisplayFooter()
DisplayFooter in interface IGroupedResultsViewHelperpublic HTMLElement DisplayHeaderIfUngrouped()
DisplayHeaderIfUngrouped in interface IGroupedResultsViewHelperpublic HTMLElement DisplayFooterIfUngrouped()
DisplayFooterIfUngrouped in interface IGroupedResultsViewHelperpublic HTMLElement DisplayGroupHeader(int groupNum)
DisplayGroupHeader in interface IGroupedResultsViewHelperpublic HTMLElement DisplayGroupFooter(int groupNum)
DisplayGroupFooter in interface IGroupedResultsViewHelper
public HTMLElement DisplaySingleResult(int _nResultIndex,
boolean oddRow,
int groupNum)
DisplaySingleResult in interface IGroupedResultsViewHelperpublic void InitDisplayResults()
IGroupedResultsViewHelper
InitDisplayResults in interface IGroupedResultsViewHelper
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||