com.plumtree.portalpages.admin.ptutilities.condition
Class RulesListView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.uiinfrastructure.expandablelist.ExpListView
          extended by com.plumtree.portaluiinfrastructure.expandablelist.selectptobject.SelectPTObjectView
              extended by com.plumtree.portalpages.admin.ptutilities.condition.RulesListView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class RulesListView
extends SelectPTObjectView

Author:
DustinA

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
          Object Name
 
Fields inherited from class com.plumtree.portaluiinfrastructure.expandablelist.selectptobject.SelectPTObjectView
HTMLINPUT_TREEASID
 
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
RulesListView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
protected  HTMLTableCell GetHTMLForActionColumn(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns the HTML for the row _nRowIndex.
protected  HTMLTableCell GetHTMLForCheckBox(int _nRowIndex)
          Returns the HTML for the checkbox on row _nRowIndex.
protected  HTMLTableCell GetHTMLForNameColumn(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns the HTML for the row _nRowIndex.
protected  HTMLTableCell GetHTMLForRankColumn(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns the HTML for the row _nRowIndex.
 HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns the HTML for the row _nRowIndex.
 java.lang.String GetName()
          Returns the Class name.
 
Methods inherited from class com.plumtree.portaluiinfrastructure.expandablelist.selectptobject.SelectPTObjectView
AddHTMLToActionBar, DisplayJavascript, GetAnchorForAddAction, GetHTMLForAddAction, GetIcon
 
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView
CheckRowIsVisible, Display, GetHiddenInputsForPagination, GetHTMLBelowActionBar, GetHTMLBelowMainTable, GetHTMLForActionBar, GetHTMLForAllRowsAdded, GetHTMLForBottomRow, 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

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
Object Name

See Also:
Constant Field Values
Constructor Detail

RulesListView

public RulesListView()
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 SelectPTObjectView
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 SelectPTObjectView
Returns:
String

GetHTMLForRow

public HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData,
                                 int _nRowIndex)
Returns the HTML for the row _nRowIndex. Each row contains just an icon and input text.

Overrides:
GetHTMLForRow in class SelectPTObjectView
Parameters:
_saData -
_nRowIndex -
Returns:
HTMLElement

GetHTMLForRankColumn

protected HTMLTableCell GetHTMLForRankColumn(IPTGrowableSortedArrayWrapperRO _saData,
                                             int _nRowIndex)
Returns the HTML for the row _nRowIndex.

Parameters:
_saData -
_nRowIndex -
Returns:
HTMLTableCell
Throws:
java.lang.Exception

GetHTMLForNameColumn

protected HTMLTableCell GetHTMLForNameColumn(IPTGrowableSortedArrayWrapperRO _saData,
                                             int _nRowIndex)
Returns the HTML for the row _nRowIndex.

Overrides:
GetHTMLForNameColumn in class SelectPTObjectView
Parameters:
_saData -
_nRowIndex -
Returns:
HTMLTableCell
Throws:
java.lang.Exception

GetHTMLForActionColumn

protected HTMLTableCell GetHTMLForActionColumn(IPTGrowableSortedArrayWrapperRO _saData,
                                               int _nRowIndex)
Returns the HTML for the row _nRowIndex.

Parameters:
_saData -
_nRowIndex -
Returns:
HTMLTableCell
Throws:
java.lang.Exception

GetHTMLForCheckBox

protected HTMLTableCell GetHTMLForCheckBox(int _nRowIndex)
Returns the HTML for the checkbox on row _nRowIndex.

Overrides:
GetHTMLForCheckBox in class SelectPTObjectView
Parameters:
_nRowIndex -
Returns:
HTMLTableCell
Throws:
HTMLException



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