App
|
Výchozí třída pro pop-up fragmenty nástrojů s náhledem. More...
Public Member Functions | |
void | onClick (View v) |
void | onCheckedChanged (CompoundButton buttonView, boolean isChecked) |
void | onAttach (Activity activity) |
View | onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) |
void | onResume () |
void | onPause () |
Protected Member Functions | |
View | initView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) |
Provede inicializaci view. | |
abstract Tool | getTool () |
Odvozená třída musí vrátit nástroj, který představuje. | |
abstract CancelableToolActionData | getUpdateToolData () |
Odvozená třída musí vrátit data, pro aktualizaci náhledu nástroje. | |
abstract int | getLayoutId () |
Odvozená třída musí vrátit id svého layoutu pro inicializaci UI. | |
abstract void | onInitView () |
Voláno po načtení layoutu, odvozená třída zde nastavuje posluchače událostí atd. | |
abstract void | onCancel () |
Voláno, pokud je nástroj zrušen, odvozená třída provede potřebné operaci. | |
Protected Attributes | |
View | root |
AppMainActivity | activity |
boolean | firstCreated = true |
Button | applyBtn |
Button | previewBtn |
Button | cancelBtn |
ToggleButton | livePreviewTBtn |
boolean | livePreviewOn = false |
Výchozí třída pro pop-up fragmenty nástrojů s náhledem.
Definition at line 26 of file CancellableToolPopUpFragment.java.
|
protectedpure virtual |
Odvozená třída musí vrátit id svého layoutu pro inicializaci UI.
Implemented in mhr.app.fragments.toolbox.transforms.ProjectiveTransformPopUpFragment, mhr.app.fragments.toolbox.pointops.CurvesPopUpFragment, mhr.app.fragments.toolbox.filters.LaplacianOfGaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.filters.DifferenceOfGaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.filters.GaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.pointops.GammaPopUpFragment, mhr.app.fragments.toolbox.filters.GaussianBlurPopUpFragment, mhr.app.fragments.toolbox.pointops.BrightnessPopUpFragment, mhr.app.fragments.toolbox.pointops.ContrastPopUpFragment, and mhr.app.fragments.toolbox.filters.LaplaceSharpenPopUpFragment.
|
protectedpure virtual |
Odvozená třída musí vrátit nástroj, který představuje.
Implemented in mhr.app.fragments.toolbox.pointops.CurvesPopUpFragment, mhr.app.fragments.toolbox.filters.LaplacianOfGaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.filters.DifferenceOfGaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.transforms.ProjectiveTransformPopUpFragment, mhr.app.fragments.toolbox.filters.GaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.pointops.GammaPopUpFragment, mhr.app.fragments.toolbox.filters.GaussianBlurPopUpFragment, mhr.app.fragments.toolbox.pointops.BrightnessPopUpFragment, mhr.app.fragments.toolbox.pointops.ContrastPopUpFragment, and mhr.app.fragments.toolbox.filters.LaplaceSharpenPopUpFragment.
|
protectedpure virtual |
Odvozená třída musí vrátit data, pro aktualizaci náhledu nástroje.
Implemented in mhr.app.fragments.toolbox.pointops.CurvesPopUpFragment, mhr.app.fragments.toolbox.filters.LaplacianOfGaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.filters.DifferenceOfGaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.transforms.ProjectiveTransformPopUpFragment, mhr.app.fragments.toolbox.filters.GaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.pointops.GammaPopUpFragment, mhr.app.fragments.toolbox.filters.GaussianBlurPopUpFragment, mhr.app.fragments.toolbox.pointops.BrightnessPopUpFragment, mhr.app.fragments.toolbox.pointops.ContrastPopUpFragment, and mhr.app.fragments.toolbox.filters.LaplaceSharpenPopUpFragment.
|
inlineprotected |
Provede inicializaci view.
inflater | |
container | |
savedInstanceState |
Definition at line 56 of file CancellableToolPopUpFragment.java.
|
inline |
Definition at line 145 of file CancellableToolPopUpFragment.java.
|
protectedpure virtual |
Voláno, pokud je nástroj zrušen, odvozená třída provede potřebné operaci.
Implemented in mhr.app.fragments.toolbox.transforms.ProjectiveTransformPopUpFragment, mhr.app.fragments.toolbox.pointops.CurvesPopUpFragment, mhr.app.fragments.toolbox.filters.LaplacianOfGaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.filters.DifferenceOfGaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.filters.GaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.pointops.GammaPopUpFragment, mhr.app.fragments.toolbox.filters.GaussianBlurPopUpFragment, mhr.app.fragments.toolbox.pointops.BrightnessPopUpFragment, mhr.app.fragments.toolbox.pointops.ContrastPopUpFragment, and mhr.app.fragments.toolbox.filters.LaplaceSharpenPopUpFragment.
|
inline |
Definition at line 133 of file CancellableToolPopUpFragment.java.
|
inline |
Definition at line 112 of file CancellableToolPopUpFragment.java.
|
inline |
Definition at line 165 of file CancellableToolPopUpFragment.java.
|
protectedpure virtual |
Voláno po načtení layoutu, odvozená třída zde nastavuje posluchače událostí atd.
Implemented in mhr.app.fragments.toolbox.pointops.CurvesPopUpFragment, mhr.app.fragments.toolbox.transforms.ProjectiveTransformPopUpFragment, mhr.app.fragments.toolbox.filters.LaplacianOfGaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.filters.DifferenceOfGaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.filters.GaussianSharpenPopUpFragment, mhr.app.fragments.toolbox.pointops.GammaPopUpFragment, mhr.app.fragments.toolbox.pointops.BrightnessPopUpFragment, mhr.app.fragments.toolbox.pointops.ContrastPopUpFragment, mhr.app.fragments.toolbox.filters.LaplaceSharpenPopUpFragment, and mhr.app.fragments.toolbox.filters.GaussianBlurPopUpFragment.
|
inline |
Definition at line 216 of file CancellableToolPopUpFragment.java.
|
inline |
Definition at line 207 of file CancellableToolPopUpFragment.java.
|
protected |
Definition at line 35 of file CancellableToolPopUpFragment.java.
|
protected |
Definition at line 38 of file CancellableToolPopUpFragment.java.
|
protected |
Definition at line 40 of file CancellableToolPopUpFragment.java.
|
protected |
Definition at line 36 of file CancellableToolPopUpFragment.java.
|
protected |
Definition at line 43 of file CancellableToolPopUpFragment.java.
|
protected |
Definition at line 41 of file CancellableToolPopUpFragment.java.
|
protected |
Definition at line 39 of file CancellableToolPopUpFragment.java.
|
protected |
Definition at line 34 of file CancellableToolPopUpFragment.java.