Class ZOrderComparator
java.lang.Object
com.inductiveautomation.ignition.designer.designable.tools.ZOrderComparator
- All Implemented Interfaces:
Comparator<JComponent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(JComponent o1, JComponent o2) static int
getZOrder
(DesignableDelegate delegate, JComponent item) Returns the ZOrder in reverse.static int
getZOrderReverse
(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, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ZOrderComparator
-
-
Method Details
-
compare
- Specified by:
compare
in 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 )
-