org.yawlfoundation.yawl.resourcing.jsf.comparator
Class OptionComparator

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.jsf.comparator.OptionComparator
All Implemented Interfaces:
Comparator<com.sun.rave.web.ui.model.Option>

public class OptionComparator
extends Object
implements Comparator<com.sun.rave.web.ui.model.Option>

Allows Option objects (for jsf listboxes) to be sorted case-insensitively for display Author: Michael Adams Creation Date: 08/02/2008


Constructor Summary
OptionComparator()
           
 
Method Summary
 int compare(com.sun.rave.web.ui.model.Option opt1, com.sun.rave.web.ui.model.Option opt2)
           
 
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

OptionComparator

public OptionComparator()
Method Detail

compare

public int compare(com.sun.rave.web.ui.model.Option opt1,
                   com.sun.rave.web.ui.model.Option opt2)
Specified by:
compare in interface Comparator<com.sun.rave.web.ui.model.Option>


Copyright © 2004-2012 The YAWL Foundation.