wt.clients.prodmgmt
Class CompareLineNumbers

java.lang.Object
  extended bysymantec.itools.awt.CompareCells
      extended bywt.clients.prodmgmt.CompareLineNumbers
All Implemented Interfaces:
symantec.itools.awt.CompareFunc, symantec.itools.awt.CompareFuncCB

public class CompareLineNumbers
extends symantec.itools.awt.CompareCells

This is a helper class to the MultiList class. It is used to compare Cells of the MultiList.


Field Summary
 
Fields inherited from class symantec.itools.awt.CompareCells
bs, lessOrBig, selRow
 
Constructor Summary
CompareLineNumbers()
          Constructs a CompareTextAndImageCells object.
 
Method Summary
 int compareObjects(Object o1, Object o2)
          Compares the value of two objects.
 
Methods inherited from class symantec.itools.awt.CompareCells
callBackSwap, getSelectedRow, lessThan, reverse, setCurrentBitSet, setSelectedRow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompareLineNumbers

public CompareLineNumbers()
Constructs a CompareTextAndImageCells object.

Method Detail

compareObjects

public int compareObjects(Object o1,
                          Object o2)
Compares the value of two objects.

Parameters:
o1 - the first object
o2 - the second object
Returns:
0 if the object's values are equal, less than 0 if the first object's value is less than the second object's value, and greater than 0 if the first object's value is greater than the second object's value