com.tensegrity.gui.swing.control.attributetable
Class SwingAttributeTable.CustomMappedComparator

java.lang.Object
  extended bycom.tensegrity.gui.swing.control.attributetable.SwingAttributeTable.CustomMappedComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
SwingAttributeTable

public static class SwingAttributeTable.CustomMappedComparator
extends java.lang.Object
implements java.util.Comparator

Custom attribute comparator. This comparator asks a hashmap for the actual sorting order.


Constructor Summary
SwingAttributeTable.CustomMappedComparator(java.util.Map custom)
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.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

SwingAttributeTable.CustomMappedComparator

public SwingAttributeTable.CustomMappedComparator(java.util.Map custom)
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.