App
LaplaceSharpenPopUpFragment.java
Go to the documentation of this file.
1 package mhr.app.fragments.toolbox.filters;
2 
3 import mhr.app.R;
4 import mhr.app.fragments.toolbox.CancellableToolPopUpFragment;
5 import mhr.appandroid.views.LabelledSeekBar;
6 import mhr.appandroid.views.LabelledSeekBar.LabelledSBChangeListener;
7 import mhr.appcore.commands.toolcommands.CancelableToolUpdateCommand;
8 import mhr.appcore.tools.Tool;
9 import mhr.appcore.tools.actiondata.CancelableToolActionData;
10 import mhr.appcore.tools.actiondata.CancelableToolActionData.Action;
11 import mhr.appcore.tools.actiondata.GaussianBlurFilterCancelableToolActionData;
12 import mhr.appcore.tools.actiondata.LaplaceSharpenFilterCancelableToolActionData;
13 import mhr.appcore.tools.cancelable.filter.GaussianBlurFilterCancelableTool;
14 import mhr.appcore.tools.cancelable.filter.LaplaceSharpenFilterCancelableTool;
15 
20 
21 
22  //===== INTERFACES, CLASSES, ENUMS ==========================================================================================================//
23  //----- NON-PUBLIC --------------------------------------------------------------------------------------------------------------------------//
24  //----- PUBLIC ------------------------------------------------------------------------------------------------------------------------------//
25 
26  //===== FIELDS ==============================================================================================================================//
27  //----- NON-PUBLIC --------------------------------------------------------------------------------------------------------------------------//
28  protected LabelledSeekBar forceValueLSB = null;
29 
30  //----- PUBLIC ------------------------------------------------------------------------------------------------------------------------------//
31 
32  //===== CONSTRUCTORS, DESTRUCTORS, RELATED METHODS ==========================================================================================//
33  //----- NON-PUBLIC --------------------------------------------------------------------------------------------------------------------------//
34  @Override
35  protected void onInitView() {
36  forceValueLSB = (LabelledSeekBar) root.findViewById(R.id.ForceValueLSB);
38  }
39  //----- PUBLIC ------------------------------------------------------------------------------------------------------------------------------//
41 
42  }
43 
44  //===== METHODS =============================================================================================================================//
45  //----- NON-PUBLIC --------------------------------------------------------------------------------------------------------------------------//
46  @Override
47  protected Tool getTool() {
48 
50  }
51 
52  @Override
55  }
56 
57 
58  @Override
59  protected int getLayoutId() {
60  return R.layout.fragment_filter_tool_laplace_sharpen_settings;
61  }
62 
63  @Override
64  protected void onCancel() {
66  }
67  //----- PUBLIC ------------------------------------------------------------------------------------------------------------------------------//
68 
69  //===== CALLBACKS ===========================================================================================================================//
70 
71  @Override
72  public void onValueChanged(LabelledSeekBar sb, float value, boolean fromUser) {
73  if (livePreviewOn) {
75  }
76  }
77  @Override
79  }
80  @Override
82  }
83 
84 
85 
86 }