FileDocCategorySizeDatePackage
ILayoutResult.javaAPI DocAndroid 1.5 API2494Wed May 06 22:42:02 BST 2009com.android.layoutlib.api

ILayoutResult

public interface ILayoutResult
The result of a layout computation through {@link ILayoutLibBridge#computeLayout(IXmlPullParser, int, int, String, java.util.Map, java.util.Map, java.util.Map, IFontLoader, ILayoutLibLog, ICustomViewLoader)}

Fields Summary
static final int
SUCCESS
Sucess return code
static final int
ERROR
Error return code.

See {@link #getErrorMessage()}

Constructors Summary
Methods Summary
public java.lang.StringgetErrorMessage()
Returns the error message.

Only valid when {@link #getSuccess()} returns {@link #ERROR}

public java.awt.image.BufferedImagegetImage()
Returns the rendering of the full layout.

public com.android.layoutlib.api.ILayoutResult$ILayoutViewInfogetRootView()
Returns the {@link ILayoutViewInfo} object for the top level view.

public intgetSuccess()
Returns the result code.

see
#SUCCESS
see
#ERROR