public class StaticRenderSession
extends com.android.ide.common.rendering.api.RenderSession
RenderSession returning a given Result, ViewInfo and
BufferedImage.
All other methods are untouched from the base implementation provided by the API.
This is meant to be used as a wrapper around the static results. No further operations are possible.
| Constructor and Description |
|---|
StaticRenderSession(com.android.ide.common.rendering.api.Result result,
com.android.ide.common.rendering.api.ViewInfo rootViewInfo,
java.awt.image.BufferedImage image) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.BufferedImage |
getImage() |
com.android.ide.common.rendering.api.Result |
getResult() |
java.util.List<com.android.ide.common.rendering.api.ViewInfo> |
getRootViews() |
animate, dispose, getDefaultProperties, getDefaultProperties, getProperty, getSystemRootViews, insertChild, isAlphaChannelImage, moveChild, removeChild, render, render, render, setElapsedFrameTimeNanos, setProperty, setSystemBootTimeNanos, setSystemTimeNanospublic StaticRenderSession(com.android.ide.common.rendering.api.Result result,
com.android.ide.common.rendering.api.ViewInfo rootViewInfo,
java.awt.image.BufferedImage image)
public com.android.ide.common.rendering.api.Result getResult()
getResult in class com.android.ide.common.rendering.api.RenderSessionpublic java.util.List<com.android.ide.common.rendering.api.ViewInfo> getRootViews()
getRootViews in class com.android.ide.common.rendering.api.RenderSessionpublic java.awt.image.BufferedImage getImage()
getImage in class com.android.ide.common.rendering.api.RenderSession