protected class LineTabsLayoutBlock.ZOrder extends Object
z-order
of various
components requiring only a subset of all comparisonsConstructor and Description |
---|
ZOrder(Tab[] tabs)
Creates a new
LineTabsLayoutBlock.ZOrder |
Modifier and Type | Method and Description |
---|---|
Tab[] |
getOrderedByZ()
Returns the tabs ordered by their z-order.
|
int[] |
getZOrders()
Calculates the z-orders for the tabs known to this
LineTabsLayoutBlock.ZOrder . |
void |
putOrder(Tab front,
Tab back)
Sets
front in front of back . |
public ZOrder(Tab[] tabs)
LineTabsLayoutBlock.ZOrder
tabs
- the tabs whose z-order needs to be calculated.public void putOrder(Tab front, Tab back)
front
in front of back
. The behavior
is undefined if previous calls already established that
back
must be in front of front
.front
- the front tabback
- the back tabpublic int[] getZOrders()
LineTabsLayoutBlock.ZOrder
.public Tab[] getOrderedByZ()