public class FocusToolPanel extends AbstractToolPanel<FocusEditorTool> implements SeekSlider.OnSeekBarChangeListener, DataSourceListAdapter.OnItemClickListener<ly.img.android.ui.panels.FocusToolPanel.FocusOption>
AbstractToolPanel.ToolView
ANIMATION_DURATION, parentView, toolView, uiDensity
Constructor and Description |
---|
FocusToolPanel() |
Modifier and Type | Method and Description |
---|---|
protected Animator |
createExitAnimator(View panelView) |
protected Animator |
createShowAnimator(View panelView) |
protected int |
getLayoutResource() |
protected void |
onAttached(Context context,
View panelView,
FocusEditorTool tool)
Called on atteched the View.
|
protected void |
onDetached()
Called after View would detached.
|
void |
onItemClick(ly.img.android.ui.panels.FocusToolPanel.FocusOption entity) |
void |
onOnSeekBarValueChange(SeekSlider bar,
float value) |
attach, callAttached, detach, init, isAttached, isInited, onBeforeDetach, refresh
@NonNull protected Animator createExitAnimator(@NonNull View panelView)
createExitAnimator
in class AbstractToolPanel<FocusEditorTool>
@NonNull protected Animator createShowAnimator(@NonNull View panelView)
createShowAnimator
in class AbstractToolPanel<FocusEditorTool>
protected int getLayoutResource()
getLayoutResource
in class AbstractToolPanel<FocusEditorTool>
protected void onAttached(Context context, @NonNull View panelView, FocusEditorTool tool)
AbstractToolPanel
onAttached
in class AbstractToolPanel<FocusEditorTool>
context
- the view contextpanelView
- the tool paneltool
- the toolprotected void onDetached()
AbstractToolPanel
onDetached
in class AbstractToolPanel<FocusEditorTool>
public void onItemClick(@NonNull ly.img.android.ui.panels.FocusToolPanel.FocusOption entity)
onItemClick
in interface DataSourceListAdapter.OnItemClickListener<ly.img.android.ui.panels.FocusToolPanel.FocusOption>
public void onOnSeekBarValueChange(SeekSlider bar, float value)
onOnSeekBarValueChange
in interface SeekSlider.OnSeekBarChangeListener