public static final void setPosition ( UIObject o , Rect pos ) { Style style = o . getElement ( ) . getStyle ( ) ; style . setPropertyPx ( "left" , pos . x ) ; style . setPropertyPx ( "top" , pos . y ) ; }
Sets the position of a UIObject