> Is there a simple way to get and set the z position of elements inside a 
> stack pane outside of the order in which they are painted?

I'm not sure I understand the question. By definition, the z-index *is* the 
order in which components are painted.

> For example, if I were to loop through an array of items to draw 
> (specifically Rectangles in this case) that may or may not be ordered in the 
> array, and I want element 2 to end up on top of element 3…is there a way to 
> do this outside of repainting element 2 after all the objects have been 
> created?

How are you planning to draw the rectangles? Are you talking about instances of 
org.apache.pivot.wtk.media.drawing.Rectangle, or something else?

Reply via email to