public class RootHostDelegate extends java.lang.Object implements RenderState.HostListener, RootHost
Constructor and Description |
---|
RootHostDelegate(Host host) |
Modifier and Type | Method and Description |
---|---|
void |
attach() |
void |
detach() |
java.lang.Object |
findMountContentById(long id) |
void |
notifyVisibleBoundsChanged()
Notifies the host the its visible bounds may have potentially changed.
|
protected void |
onLayout(boolean changed,
int left,
int top,
int right,
int bottom) |
boolean |
onMeasure(int widthMeasureSpec,
int heightMeasureSpec,
int[] measureOutput)
Returns true if the delegate has defined a size and filled the measureOutput array, returns
false if not in which case the hosting view should call super.onMeasure.
|
void |
onUIRenderTreeUpdated(RenderTree newRenderTree) |
void |
setRenderState(RenderState renderState) |
public RootHostDelegate(Host host)
public void setRenderState(RenderState renderState)
setRenderState
in interface RootHost
public void onUIRenderTreeUpdated(RenderTree newRenderTree)
onUIRenderTreeUpdated
in interface RenderState.HostListener
public void notifyVisibleBoundsChanged()
RenderCoreExtensionHost
notifyVisibleBoundsChanged
in interface RenderCoreExtensionHost
public boolean onMeasure(int widthMeasureSpec, int heightMeasureSpec, int[] measureOutput)
protected void onLayout(boolean changed, int left, int top, int right, int bottom)
public java.lang.Object findMountContentById(long id)
public void detach()
public void attach()