public class TextOptionToolPanel extends AbstractToolPanel<TextEditorTool.Options> implements TextEditorTool.FontSelection.OnFontSelected, DataSourceListAdapter.OnItemClickListener<ly.img.android.ui.panels.TextOptionToolPanel.TextStickerOption>, AbstractColorEditorTool.OnColorSelected<TextEditorTool.COLOR_TYPE>
AbstractToolPanel.ToolViewANIMATION_DURATION, parentView, toolView| Constructor and Description |
|---|
TextOptionToolPanel() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getLayoutResource() |
protected void |
onAttached(android.content.Context context,
android.view.View panelView,
TextEditorTool.Options tool)
Called on atteched the View.
|
protected void |
onDetached()
Called after View would detached.
|
void |
onItemClick(ly.img.android.ui.panels.TextOptionToolPanel.TextStickerOption entity) |
void |
refresh() |
void |
setColor(int color,
TextEditorTool.COLOR_TYPE type) |
void |
setFontConfig(AbstractConfig.FontConfigInterface fontConfig) |
attach, callAttached, detach, init, isAttached, onBeforeDetachprotected int getLayoutResource()
getLayoutResource in class AbstractToolPanel<TextEditorTool.Options>protected void onAttached(android.content.Context context,
@NonNull
android.view.View panelView,
TextEditorTool.Options tool)
AbstractToolPanelonAttached in class AbstractToolPanel<TextEditorTool.Options>context - the view contextpanelView - the tool paneltool - the toolpublic void refresh()
refresh in class AbstractToolPanel<TextEditorTool.Options>protected void onDetached()
AbstractToolPanelonDetached in class AbstractToolPanel<TextEditorTool.Options>public void setFontConfig(AbstractConfig.FontConfigInterface fontConfig)
setFontConfig in interface TextEditorTool.FontSelection.OnFontSelectedpublic void setColor(int color,
@NonNull
TextEditorTool.COLOR_TYPE type)
setColor in interface AbstractColorEditorTool.OnColorSelected<TextEditorTool.COLOR_TYPE>public void onItemClick(@NonNull
ly.img.android.ui.panels.TextOptionToolPanel.TextStickerOption entity)
onItemClick in interface DataSourceListAdapter.OnItemClickListener<ly.img.android.ui.panels.TextOptionToolPanel.TextStickerOption>