org.xith3d.ui.hud.utils
Class LocalZIndexComparator

java.lang.Object
  extended by org.xith3d.ui.hud.utils.LocalZIndexComparator
All Implemented Interfaces:
java.util.Comparator<Widget>

public class LocalZIndexComparator
extends java.lang.Object
implements java.util.Comparator<Widget>

Simply compares Widgets by local z-index.


Constructor Summary
LocalZIndexComparator()
           
 
Method Summary
 int compare(Widget w1, Widget w2)
          
 
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

LocalZIndexComparator

public LocalZIndexComparator()
Method Detail

compare

public int compare(Widget w1,
                   Widget w2)

Specified by:
compare in interface java.util.Comparator<Widget>