public class FocusToolPanel extends AbstractToolPanel<FocusEditorTool> implements SeekSlider.OnSeekBarChangeListener, DataSourceListAdapter.OnItemClickListener<FocusToolPanel.FocusOption>
Modifier and Type | Class and Description |
---|---|
protected static class |
FocusToolPanel.FocusOption |
static class |
FocusToolPanel.OPTION |
AbstractToolPanel.ToolView
ANIMATION_DURATION, parentView, toolView, uiDensity
Constructor and Description |
---|
FocusToolPanel() |
Modifier and Type | Method and Description |
---|---|
protected android.animation.Animator |
createExitAnimator(android.view.View panelView) |
protected java.util.ArrayList<FocusToolPanel.FocusOption> |
createOptionList() |
protected android.animation.Animator |
createShowAnimator(android.view.View panelView) |
protected int |
getLayoutResource() |
protected void |
onAttached(android.content.Context context,
android.view.View panelView,
FocusEditorTool tool)
Called on attached the View.
|
protected void |
onDetached()
Called after View would detached.
|
void |
onItemClick(FocusToolPanel.FocusOption 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<FocusEditorTool>
protected java.util.ArrayList<FocusToolPanel.FocusOption> createOptionList()
@NonNull protected android.animation.Animator createShowAnimator(@NonNull android.view.View panelView)
createShowAnimator
in class AbstractToolPanel<FocusEditorTool>
protected int getLayoutResource()
getLayoutResource
in class AbstractToolPanel<FocusEditorTool>
protected void onAttached(android.content.Context context, @NonNull android.view.View panelView, FocusEditorTool tool)
AbstractToolPanel
onAttached
in class AbstractToolPanel<FocusEditorTool>
context
- the view contextpanelView
- the tool paneltool
- the toolprotected void onDetached()
AbstractToolPanel
onDetached
in class AbstractToolPanel<FocusEditorTool>
public void onItemClick(@NonNull FocusToolPanel.FocusOption entity)
onItemClick
in interface DataSourceListAdapter.OnItemClickListener<FocusToolPanel.FocusOption>
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)