Class symantec.itools.util.ZOrderUtils
All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.util.ZOrderUtils
Object
|
+----symantec.itools.util.ZOrderUtils
- public final class ZOrderUtils
- extends Object
Determines the order components are drawn: first-to-last or last-to-first.
-
assumeZOrder(Container, boolean)
- Reverses the order of all components in a container if the current environment
doesn't draw them as assumed.
-
isFirstDrawnOverSecond()
- Determines if the first component is drawn over the second componnet.
-
isSecondDrawnOverFirst()
- Determines if the second component is drawn over the first componnet.
-
reverseContainersZOrder(Container)
- Reverses the order of all components in a container.
assumeZOrder
public static boolean assumeZOrder(Container container,
boolean assumedFirstDrawnOverSecond)
- Reverses the order of all components in a container if the current environment
doesn't draw them as assumed.
- Parameters:
- container - the container with the components to reverse, as needed
- assumedFirstDrawnOverSecond - the assumed drawing order. If the actual
drawing order matches this, then no component reversal is needed
isFirstDrawnOverSecond
public static boolean isFirstDrawnOverSecond()
- Determines if the first component is drawn over the second componnet.
isSecondDrawnOverFirst
public static boolean isSecondDrawnOverFirst()
- Determines if the second component is drawn over the first componnet.
reverseContainersZOrder
public static void reverseContainersZOrder(Container container)
- Reverses the order of all components in a container.
- Parameters:
- container - the container with the components to reverse
All Packages Class Hierarchy This Package Previous Next Index