private static class Utils.ZKey extends java.lang.Object implements java.lang.Comparable<Utils.ZKey>
Modifier and Type | Field and Description |
---|---|
private ZOrderClass |
cls
Z-order class of the widget
|
private int |
idx
initial position of the widget
|
Constructor and Description |
---|
ZKey(ZOrderClass cls,
int idx)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Utils.ZKey other)
The implementation of the
Comparable.compareTo(T) method |
private final ZOrderClass cls
private final int idx
public ZKey(ZOrderClass cls, int idx)
cls
- Z-order class of the widgetidx
- initial position of the widgetpublic int compareTo(Utils.ZKey other)
Comparable.compareTo(T)
methodcompareTo
in interface java.lang.Comparable<Utils.ZKey>