public class FilterToolPanel extends AbstractToolPanel<FilterEditorTool> implements DataSourceListAdapter.OnItemClickListener<ImageFilterInterface>, SeekSlider.OnSeekBarChangeListener
AbstractToolPanel.ToolView
ANIMATION_DURATION, parentView, toolView, uiDensity
Constructor and Description |
---|
FilterToolPanel() |
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,
FilterEditorTool tool)
Called on atteched the View.
|
protected void |
onDetached()
Called after View would detached.
|
void |
onItemClick(ImageFilterInterface entity) |
void |
onOnSeekBarValueChange(SeekSlider bar,
float value) |
attach, callAttached, detach, init, isAttached, isInited, onBeforeDetach, refresh, updateStageOverlapping
@NonNull protected Animator createExitAnimator(@NonNull View panelView)
createExitAnimator
in class AbstractToolPanel<FilterEditorTool>
@NonNull protected Animator createShowAnimator(@NonNull View panelView)
createShowAnimator
in class AbstractToolPanel<FilterEditorTool>
protected int getLayoutResource()
getLayoutResource
in class AbstractToolPanel<FilterEditorTool>
protected void onAttached(Context context, @NonNull View panelView, FilterEditorTool tool)
AbstractToolPanel
onAttached
in class AbstractToolPanel<FilterEditorTool>
context
- the view contextpanelView
- the tool paneltool
- the toolprotected void onDetached()
AbstractToolPanel
onDetached
in class AbstractToolPanel<FilterEditorTool>
public void onItemClick(@Nullable ImageFilterInterface entity)
onItemClick
in interface DataSourceListAdapter.OnItemClickListener<ImageFilterInterface>
public void onOnSeekBarValueChange(SeekSlider bar, float value)
onOnSeekBarValueChange
in interface SeekSlider.OnSeekBarChangeListener