public abstract class ImgLyUIView extends View implements UIOverlayDrawer
Modifier and Type | Field and Description |
---|---|
protected boolean |
isAttached |
protected EditorShowState |
showState |
protected float |
uiDensity |
protected boolean |
willDrawUi |
Constructor and Description |
---|
ImgLyUIView(Context context) |
ImgLyUIView(Context context,
AttributeSet attrs) |
ImgLyUIView(Context context,
AttributeSet attrs,
int defStyleAttr) |
Modifier and Type | Method and Description |
---|---|
protected StateHandler |
getStateHandler() |
protected void |
onAttachedToUI(StateHandler stateHandler) |
protected void |
onAttachedToWindow() |
protected void |
onDetachedFromUI(StateHandler stateHandler) |
protected void |
onDetachedFromWindow() |
void |
onDrawUI(Canvas canvas) |
void |
postInvalidateUi() |
void |
setWillDrawUi(boolean willDrawUi) |
protected boolean isAttached
protected EditorShowState showState
protected float uiDensity
protected boolean willDrawUi
public ImgLyUIView(Context context)
public ImgLyUIView(Context context, AttributeSet attrs)
public ImgLyUIView(Context context, AttributeSet attrs, int defStyleAttr)
@AnyThread protected final StateHandler getStateHandler()
@CallSuper protected void onAttachedToUI(StateHandler stateHandler)
@CallSuper protected void onAttachedToWindow()
@CallSuper protected void onDetachedFromUI(StateHandler stateHandler)
@CallSuper protected void onDetachedFromWindow()
@CallSuper public void onDrawUI(Canvas canvas)
onDrawUI
in interface UIOverlayDrawer
@AnyThread public void postInvalidateUi()
public void setWillDrawUi(boolean willDrawUi)