Class ZOrderComparator
- java.lang.Object
- 
- com.inductiveautomation.ignition.designer.designable.tools.ZOrderComparator
 
- 
- All Implemented Interfaces:
- java.util.Comparator<javax.swing.JComponent>
 
 public class ZOrderComparator extends java.lang.Object implements java.util.Comparator<javax.swing.JComponent>
- 
- 
Constructor SummaryConstructors Constructor Description ZOrderComparator(DesignableDelegate delegate, boolean reverseOrder)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(javax.swing.JComponent o1, javax.swing.JComponent o2)static intgetZOrder(DesignableDelegate delegate, javax.swing.JComponent item)Returns the ZOrder in reverse.static intgetZOrderReverse(DesignableDelegate delegate, javax.swing.JComponent item)Returns the ZOrder in reverse.
 
- 
- 
- 
Constructor Detail- 
ZOrderComparatorpublic ZOrderComparator(DesignableDelegate delegate, boolean reverseOrder) 
 
- 
 - 
Method Detail- 
comparepublic int compare(javax.swing.JComponent o1, javax.swing.JComponent o2)- Specified by:
- comparein interface- java.util.Comparator<javax.swing.JComponent>
 
 - 
getZOrderReversepublic static int getZOrderReverse(DesignableDelegate delegate, javax.swing.JComponent item) Returns the ZOrder in reverse. This makes it go from visually the bottom to the top. (Naturally, position 0 == the top )
 - 
getZOrderpublic static int getZOrder(DesignableDelegate delegate, javax.swing.JComponent item) Returns the ZOrder in reverse. This makes it go from visually the bottom to the top. (Naturally, position 0 == the top )
 
- 
 
-