public void moveToBack ( Object parent , String name ) { Element parentElement = getGroup ( parent ) ; if ( parentElement == null ) { throw new IllegalArgumentException ( "moveToBack failed: could not find parent group." ) ; } Element element = getElement ( parent , name ) ; if ( element == null ) { throw new IllegalArgumentException ( "moveToBack failed: could not find element within group." ) ; } if ( parentElement . getFirstChildElement ( ) != element ) { parentElement . insertFirst ( element ) ; } }
Within a certain group move an element to the back . All siblings will be rendered after this one .