public class AdjustToolPanel extends AbstractToolPanel implements ImgLyFloatSlider.OnSeekBarChangeListener, DataSourceListAdapter.OnItemClickListener<AdjustToolPanel.AdjustOption>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AdjustToolPanel.AdjustOption |
AbstractToolPanel.ToolViewANIMATION_DURATION, parentView, toolView| Constructor and Description |
|---|
AdjustToolPanel() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getLayoutResource() |
protected void |
onAttached(android.content.Context context,
android.view.View panelView,
AbstractTool tool)
Called on atteched the View.
|
protected void |
onDetached()
Called after View would detached.
|
void |
onItemClick(AdjustToolPanel.AdjustOption 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, detach, init, isAttached, onBeforeDetach, refreshprotected int getLayoutResource()
getLayoutResource in class AbstractToolPanelprotected void onAttached(android.content.Context context,
android.view.View panelView,
AbstractTool tool)
AbstractToolPanelonAttached in class AbstractToolPanelcontext - the view contextpanelView - the tool paneltool - the toolprotected void onDetached()
AbstractToolPanelonDetached in class AbstractToolPanelpublic void onItemClick(AdjustToolPanel.AdjustOption entity)
onItemClick in interface DataSourceListAdapter.OnItemClickListener<AdjustToolPanel.AdjustOption>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