public class FilterToolPanel extends AbstractToolPanel<FilterEditorTool> implements DataSourceListAdapter.OnItemClickListener<AbstractConfig.ImageFilterInterface>, ImgLyFloatSlider.OnSeekBarChangeListener
AbstractToolPanel.ToolViewANIMATION_DURATION, parentView, toolView| Constructor and Description |
|---|
FilterToolPanel() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getLayoutResource() |
protected void |
onAttached(android.content.Context context,
android.view.View panelView,
FilterEditorTool tool)
Called on atteched the View.
|
protected void |
onDetached()
Called after View would detached.
|
void |
onItemClick(AbstractConfig.ImageFilterInterface entity) |
void |
onProgressChanged(ImgLyFloatSlider seekBar,
float value,
boolean fromUser)
Notification that the progress level has changed.
|
void |
onStartTrackingTouch(ImgLyFloatSlider seekBar)
Notification that the user has started a touch gesture.
|
void |
onStopTrackingTouch(ImgLyFloatSlider seekBar)
Notification that the user has finished a touch gesture.
|
attach, callAttached, detach, init, isAttached, onBeforeDetach, refreshprotected int getLayoutResource()
getLayoutResource in class AbstractToolPanel<FilterEditorTool>protected void onAttached(android.content.Context context,
@NonNull
android.view.View panelView,
FilterEditorTool tool)
AbstractToolPanelonAttached in class AbstractToolPanel<FilterEditorTool>context - the view contextpanelView - the tool paneltool - the toolprotected void onDetached()
AbstractToolPanelonDetached in class AbstractToolPanel<FilterEditorTool>public void onItemClick(@Nullable
AbstractConfig.ImageFilterInterface entity)
onItemClick in interface DataSourceListAdapter.OnItemClickListener<AbstractConfig.ImageFilterInterface>public void onProgressChanged(ImgLyFloatSlider seekBar, float value, boolean fromUser)
ImgLyFloatSlider.OnSeekBarChangeListeneronProgressChanged in interface ImgLyFloatSlider.OnSeekBarChangeListenerseekBar - The SeekBar whose progress has changedvalue - The current progress level. This will be in the range min..max where max
was set by ImgLyFloatSlider.setMax(float) and min was set by ImgLyFloatSlider.setMin(float). (The default value for max is 1.)fromUser - True if the progress change was initiated by the user.public void onStartTrackingTouch(ImgLyFloatSlider seekBar)
ImgLyFloatSlider.OnSeekBarChangeListeneronStartTrackingTouch in interface ImgLyFloatSlider.OnSeekBarChangeListenerseekBar - The SeekBar in which the touch gesture beganpublic void onStopTrackingTouch(ImgLyFloatSlider seekBar)
ImgLyFloatSlider.OnSeekBarChangeListeneronStopTrackingTouch in interface ImgLyFloatSlider.OnSeekBarChangeListenerseekBar - The SeekBar in which the touch gesture began