com.sapportals.admin.wizardframework.components.tableview

Class TableViewRowComparator

java.lang.Object
  extended by com.sapportals.admin.wizardframework.components.tableview.TableViewRowComparator
All Implemented Interfaces:
Comparator

Deprecated. Use Admin Studio Wizard Framework, as described in Creating Administration Interfaces (Web Dynpro) on the Help Portal documentation (help.sap.com).

public class TableViewRowComparator
extends Object
implements Comparator

The comparator class used to sort a table according to its data.


Constructor Summary
TableViewRowComparator(int iColumnIndex, com.sapportals.htmlb.enums.TableSortState iMode, IWizardContext context)
          Deprecated. A constructor that sets an index of the column to be compared, and a sorting mode.
 
Method Summary
 int compare(List iList1, List iList2)
          Deprecated. Compares two lists.
 int compare(Object object1, Object object2)
          Deprecated. Compares two objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

TableViewRowComparator

public TableViewRowComparator(int iColumnIndex,
                              com.sapportals.htmlb.enums.TableSortState iMode,
                              IWizardContext context)
Deprecated. 
A constructor that sets an index of the column to be compared, and a sorting mode.

Parameters:
iColumnIndex - an index of the column to be compared
iMode - a sorting mode
context - the current wizard context
See Also:
TableSortState
Method Detail

compare

public int compare(Object object1,
                   Object object2)
Deprecated. 
Compares two objects.

Specified by:
compare in interface Comparator
Parameters:
object1 - the first object
object2 - the second object
Returns:
1 if they are the same, -1 if they are not the same, and 0 if they are both null

compare

public int compare(List iList1,
                   List iList2)
Deprecated. 
Compares two lists.

Parameters:
iList1 - the first list
iList2 - the second list
Returns:
1 if they are the same, -1 if they are not the same, and 0 if they are both null
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] com.sap.portal.admin.wizardframeworkdeprecated - EP-PIN-APF
[sap.com] EP-RUNTIME [sap.com] com.sap.portal.admin.wizardframeworkdeprecated api EP-PIN-APF
[sap.com] EP-RUNTIME [sap.com] tc/ep/admin/api api EP-PIN


Copyright 2015 SAP AG Complete Copyright Notice