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