public class AdjustmentToolPanel extends AbstractToolPanel<ColorAdjustmentTool> implements SeekSlider.OnSeekBarChangeListener, DataSourceListAdapter.OnItemClickListener<AdjustmentToolPanel.AdjustOption>
Modifier and Type | Class and Description |
---|---|
protected static class |
AdjustmentToolPanel.AdjustOption |
AbstractToolPanel.ToolView
ANIMATION_DURATION, parentView, toolView, uiDensity
Constructor and Description |
---|
AdjustmentToolPanel() |
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,
ColorAdjustmentTool tool)
Called on atteched the View.
|
protected void |
onDetached()
Called after View would detached.
|
void |
onItemClick(AdjustmentToolPanel.AdjustOption 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<ColorAdjustmentTool>
@NonNull protected Animator createShowAnimator(@NonNull View panelView)
createShowAnimator
in class AbstractToolPanel<ColorAdjustmentTool>
protected int getLayoutResource()
getLayoutResource
in class AbstractToolPanel<ColorAdjustmentTool>
protected void onAttached(Context context, @NonNull View panelView, ColorAdjustmentTool tool)
AbstractToolPanel
onAttached
in class AbstractToolPanel<ColorAdjustmentTool>
context
- the view contextpanelView
- the tool paneltool
- the toolprotected void onDetached()
AbstractToolPanel
onDetached
in class AbstractToolPanel<ColorAdjustmentTool>
public void onItemClick(@NonNull AdjustmentToolPanel.AdjustOption entity)
onItemClick
in interface DataSourceListAdapter.OnItemClickListener<AdjustmentToolPanel.AdjustOption>
public void onOnSeekBarValueChange(SeekSlider bar, float value)
onOnSeekBarValueChange
in interface SeekSlider.OnSeekBarChangeListener