public class FrameToolPanel extends AbstractToolPanel<FrameEditorTool> implements DataSourceListAdapter.OnItemClickListener<FrameConfigInterface>, ImgLyFloatSlider.OnSeekBarChangeListener
Modifier and Type | Class and Description |
---|---|
protected static class |
FrameToolPanel.FrameQuickOption |
AbstractToolPanel.ToolView
ANIMATION_DURATION, parentView, toolView, uiDensity
Constructor and Description |
---|
FrameToolPanel() |
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,
FrameEditorTool tool)
Called on atteched the View.
|
protected void |
onDetached()
Called after View would detached.
|
void |
onItemClick(FrameConfigInterface 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, isInited, onBeforeDetach, refresh
@NonNull protected Animator createExitAnimator(@NonNull View panelView)
createExitAnimator
in class AbstractToolPanel<FrameEditorTool>
@NonNull protected Animator createShowAnimator(@NonNull View panelView)
createShowAnimator
in class AbstractToolPanel<FrameEditorTool>
protected int getLayoutResource()
getLayoutResource
in class AbstractToolPanel<FrameEditorTool>
protected void onAttached(Context context, @NonNull View panelView, FrameEditorTool tool)
AbstractToolPanel
onAttached
in class AbstractToolPanel<FrameEditorTool>
context
- the view contextpanelView
- the tool paneltool
- the toolprotected void onDetached()
AbstractToolPanel
onDetached
in class AbstractToolPanel<FrameEditorTool>
public void onItemClick(FrameConfigInterface entity)
onItemClick
in interface DataSourceListAdapter.OnItemClickListener<FrameConfigInterface>
public void onProgressChanged(ImgLyFloatSlider seekBar, float value, boolean fromUser)
ImgLyFloatSlider.OnSeekBarChangeListener
onProgressChanged
in interface ImgLyFloatSlider.OnSeekBarChangeListener
seekBar
- 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.OnSeekBarChangeListener
onStartTrackingTouch
in interface ImgLyFloatSlider.OnSeekBarChangeListener
seekBar
- The SeekBar in which the touch gesture beganpublic void onStopTrackingTouch(ImgLyFloatSlider seekBar)
ImgLyFloatSlider.OnSeekBarChangeListener
onStopTrackingTouch
in interface ImgLyFloatSlider.OnSeekBarChangeListener
seekBar
- The SeekBar in which the touch gesture began