Class ZOrderComparator
java.lang.Object
com.inductiveautomation.ignition.designer.designable.tools.ZOrderComparator
- All Implemented Interfaces:
Comparator<JComponent>
-
Constructor Summary
Constructors -
Method Summary
Modifier 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ZOrderComparator
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<JComponent>
-
getZOrderReverse
Returns the ZOrder in reverse. This makes it go from visually the bottom to the top. (Naturally, position 0 == the top ) -
getZOrder
Returns the ZOrder in reverse. This makes it go from visually the bottom to the top. (Naturally, position 0 == the top )
-