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 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,
FilterEditorTool tool)
Called on attached the View.
|
protected void |
onDetached()
Called after View would detached.
|
void |
onItemClick(ImageFilterInterface entity) |
void |
onOnSeekBarThumbLeaved(SeekSlider bar,
float value) |
void |
onOnSeekBarValueChange(SeekSlider bar,
float value) |
protected void |
setSeekBarVisibility(boolean barVisible,
boolean delay) |
attach, callAttached, detach, init, isAttached, isInited, onBeforeDetach, refresh, updateStageOverlapping
@NonNull protected android.animation.Animator createExitAnimator(@NonNull android.view.View panelView)
createExitAnimator
in class AbstractToolPanel<FilterEditorTool>
@NonNull protected android.animation.Animator createShowAnimator(@NonNull android.view.View panelView)
createShowAnimator
in class AbstractToolPanel<FilterEditorTool>
protected int getLayoutResource()
getLayoutResource
in class AbstractToolPanel<FilterEditorTool>
protected void onAttached(android.content.Context context, @NonNull android.view.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 onOnSeekBarThumbLeaved(SeekSlider bar, float value)
onOnSeekBarThumbLeaved
in interface SeekSlider.OnSeekBarChangeListener
public void onOnSeekBarValueChange(SeekSlider bar, float value)
onOnSeekBarValueChange
in interface SeekSlider.OnSeekBarChangeListener
protected void setSeekBarVisibility(boolean barVisible, boolean delay)