com.alee.utils.swing
Class ZOrderComparator

java.lang.Object
  extended by com.alee.utils.swing.ZOrderComparator
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<java.awt.Component>

public class ZOrderComparator
extends java.lang.Object
implements java.util.Comparator<java.awt.Component>, java.io.Serializable

Component Z-order comparator.

Author:
Mikle Garin
See Also:
Serialized Form

Constructor Summary
ZOrderComparator()
           
 
Method Summary
 int compare(java.awt.Component o1, java.awt.Component 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

ZOrderComparator

public ZOrderComparator()
Method Detail

compare

public int compare(java.awt.Component o1,
                   java.awt.Component o2)

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