Class ZOrderComparator
java.lang.Object
com.inductiveautomation.ignition.designer.designable.tools.ZOrderComparator
- All Implemented Interfaces:
- Comparator<JComponent>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintcompare(JComponent o1, JComponent o2) static intgetZOrder(DesignableDelegate delegate, JComponent item) Returns the ZOrder in reverse.static intgetZOrderReverse(DesignableDelegate delegate, JComponent item) Returns the ZOrder in reverse.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparatorequals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
- 
Constructor Details- 
ZOrderComparator
 
- 
- 
Method Details- 
compare- Specified by:
- comparein interface- Comparator<JComponent>
 
- 
getZOrderReverseReturns the ZOrder in reverse. This makes it go from visually the bottom to the top. (Naturally, position 0 == the top )
- 
getZOrderReturns the ZOrder in reverse. This makes it go from visually the bottom to the top. (Naturally, position 0 == the top )
 
-