gate.swing
Class XJTable.DefaultComparator

java.lang.Object
  extended bygate.swing.XJTable.DefaultComparator
All Implemented Interfaces:
Comparator
Enclosing class:
XJTable

protected class XJTable.DefaultComparator
extends Object
implements Comparator

This is used as the default comparator for a column when a custom was not provided.


Constructor Summary
protected XJTable.DefaultComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 
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

XJTable.DefaultComparator

protected XJTable.DefaultComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator