org.nakedobjects.plugins.dnd.viewer.content
Class FieldComparator

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.content.FieldComparator
All Implemented Interfaces:
Comparator

public class FieldComparator
extends java.lang.Object
implements Comparator


Constructor Summary
FieldComparator(NakedObjectAssociation field)
           
 
Method Summary
 int compare(NakedObject sortedElement)
           
 NakedObjectAssociation getField()
           
 void init(NakedObject element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldComparator

public FieldComparator(NakedObjectAssociation field)
Method Detail

init

public void init(NakedObject element)
Specified by:
init in interface Comparator

compare

public int compare(NakedObject sortedElement)
Specified by:
compare in interface Comparator

getField

public NakedObjectAssociation getField()


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.