public class TransformToolPanel extends AbstractToolPanel<TransformEditorTool> implements DataSourceListAdapter.OnItemClickListener<AspectConfigInterface>, AdjustSlider.AdjustBarChangeListener
AbstractToolPanel.ToolView
ANIMATION_DURATION, parentView, toolView, uiDensity
Constructor and Description |
---|
TransformToolPanel() |
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,
TransformEditorTool tool)
Called on atteched the View.
|
void |
onClick(View v) |
protected void |
onDetached()
Called after View would detached.
|
void |
onItemClick(AspectConfigInterface entity) |
void |
onProgressChanged(AdjustSlider seekBar,
float value,
boolean fromUser)
Notification that the progress level has changed.
|
attach, callAttached, detach, init, isAttached, isInited, onBeforeDetach, refresh
@NonNull protected Animator createExitAnimator(@NonNull View panelView)
createExitAnimator
in class AbstractToolPanel<TransformEditorTool>
@NonNull protected Animator createShowAnimator(@NonNull View panelView)
createShowAnimator
in class AbstractToolPanel<TransformEditorTool>
protected int getLayoutResource()
getLayoutResource
in class AbstractToolPanel<TransformEditorTool>
protected void onAttached(Context context, @NonNull View panelView, TransformEditorTool tool)
AbstractToolPanel
onAttached
in class AbstractToolPanel<TransformEditorTool>
context
- the view contextpanelView
- the tool paneltool
- the toolpublic void onClick(View v)
protected void onDetached()
AbstractToolPanel
onDetached
in class AbstractToolPanel<TransformEditorTool>
public void onItemClick(AspectConfigInterface entity)
onItemClick
in interface DataSourceListAdapter.OnItemClickListener<AspectConfigInterface>
public void onProgressChanged(AdjustSlider seekBar, float value, boolean fromUser)
AdjustSlider.AdjustBarChangeListener
onProgressChanged
in interface AdjustSlider.AdjustBarChangeListener
seekBar
- The SeekBar whose progress has changedvalue
- The current progress level. This will be in the range min..max where max
was set by AdjustSlider.setMax(float)
and min was set by AdjustSlider.setMin(float)
. (The default value for max is 1.)fromUser
- True if the progress change was initiated by the user.