returns the preferred size of the specified widget , in an array of the form width , height . it is assumed that : w has no parent w has not been configured to be invisible concode_field_sep PlaceHolder placeHolder concode_field_sep String[] clearSizeStyle concode_elem_sep String getHexString concode_elem_sep void restoreSizeStyle concode_elem_sep int getPreferredWidth concode_elem_sep Color getColor concode_elem_sep void setWidgetFontTypeface concode_elem_sep void setWidgetBackgroundColor concode_elem_sep void setWidgetFontItalic concode_elem_sep void setEnabled concode_elem_sep void setWidgetBackgroundImage concode_elem_sep void setWidgetBackgroundImage concode_elem_sep boolean isNoneColor concode_elem_sep void setWidgetTextColor concode_elem_sep void setWidgetFontSize concode_elem_sep void setWidgetTextAlign concode_elem_sep int getPreferredHeight concode_elem_sep void setWidgetFontBold concode_elem_sep boolean isDefaultColor
int [ ] function ( Widget arg0 ) { RootPanel . get ( ) . add ( arg0 ) ; String [ ] loc0 = clearSizeStyle ( arg0 ) ; int loc1 = arg0 . getOffsetWidth ( ) + 4 ; int loc2 = arg0 . getOffsetHeight ( ) ; restoreSizeStyle ( arg0 , loc0 ) ; RootPanel . get ( ) . remove ( arg0 ) ; return new int [ ] { loc1 , loc2 } ; }