public class TextFontOptionToolPanel extends AbstractToolPanel<TextFontSelectionEditorTool> implements DataSourceListAdapter.OnItemClickListener<FontConfigInterface>
AbstractToolPanel.ToolView
ANIMATION_DURATION, parentView, toolView, uiDensity
Constructor and Description |
---|
TextFontOptionToolPanel() |
Modifier and Type | Method and Description |
---|---|
protected android.animation.Animator |
createExitAnimator(android.view.View panelView) |
protected android.animation.Animator |
createShowAnimator(android.view.View panelView) |
protected int |
getLayoutResource() |
protected void |
onAttached(android.content.Context context,
android.view.View panelView,
TextFontSelectionEditorTool tool)
Called on attached the View.
|
protected int |
onBeforeDetach(android.view.View panelView,
boolean revertChanges)
Called before the View will detached.
|
protected void |
onDetached()
Called after View would detached.
|
void |
onItemClick(FontConfigInterface entity) |
attach, callAttached, detach, init, isAttached, isInited, refresh, updateStageOverlapping
@NonNull protected android.animation.Animator createExitAnimator(@NonNull android.view.View panelView)
createExitAnimator
in class AbstractToolPanel<TextFontSelectionEditorTool>
@NonNull protected android.animation.Animator createShowAnimator(@NonNull android.view.View panelView)
createShowAnimator
in class AbstractToolPanel<TextFontSelectionEditorTool>
protected int getLayoutResource()
getLayoutResource
in class AbstractToolPanel<TextFontSelectionEditorTool>
protected void onAttached(android.content.Context context, @NonNull android.view.View panelView, TextFontSelectionEditorTool tool)
AbstractToolPanel
onAttached
in class AbstractToolPanel<TextFontSelectionEditorTool>
context
- the view contextpanelView
- the tool paneltool
- the toolprotected int onBeforeDetach(@NonNull android.view.View panelView, boolean revertChanges)
AbstractToolPanel
onBeforeDetach
in class AbstractToolPanel<TextFontSelectionEditorTool>
protected void onDetached()
AbstractToolPanel
onDetached
in class AbstractToolPanel<TextFontSelectionEditorTool>
public void onItemClick(FontConfigInterface entity)
onItemClick
in interface DataSourceListAdapter.OnItemClickListener<FontConfigInterface>