App
|
Výchozí třída pro fragmenty nastavení jednotlivých druhů vrstev. More...
Public Member Functions | |
void | setParent (LayersPaneFragment parent) |
Nastaví rodiče, odkud se bere prezentace obrazu. | |
void | setAssociatedLayerId (int id) |
Nastaví id vrstvy, se kterým je fragment asociován, pokud je vytvořeno view, aktualizuje view dle vrstvy. | |
void | onClick (View v) |
void | onAttach (Activity activity) |
View | onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) |
void | onResume () |
Protected Member Functions | |
abstract View | initView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) |
Zde odvozená třída provede inicializaci svého obsahu. | |
abstract void | updateFromPresentation (LayerSpecificPresentation pres) |
Nastaví obsah fragmentu, aby odpovídal prezentaci. | |
abstract void | updatePresentation (LayerSpecificPresentation pres) |
Upraví prezentaci dle UI elementů. | |
void | onSelectBtnClicked () |
Slouží k potvrzení výběru parametrů | |
Protected Attributes | |
View | root |
LayoutInflater | inflater |
AppMainActivity | activity |
LayersPaneFragment | parent |
int | associatedLayerId = -1 |
Id vrstvy, kterou reprezentuje. | |
boolean | firstCreated = true |
Pro cachování, aby se znovu nevytvářelo. | |
boolean | initialized = false |
Udává informaci, jestli už je inicializováno view. | |
boolean | updatePending = false |
Udává, že update nemohl být proveden, protože fragment ještě nebyl inicializován. | |
Button | selectBtn |
Výchozí třída pro fragmenty nastavení jednotlivých druhů vrstev.
Definition at line 22 of file LayerSettingsFragment.java.
|
protectedpure virtual |
Zde odvozená třída provede inicializaci svého obsahu.
inflater | |
container | |
savedInstanceState |
Implemented in mhr.app.fragments.layers.lut.ContrastLayerSettingsFragment, mhr.app.fragments.layers.lut.GammaLayerSettingsFragment, mhr.app.fragments.layers.lut.BrightnessLayerSettingsFragment, mhr.app.fragments.layers.lut.CurvesLayerSettingsFragment, mhr.app.fragments.layers.ColorLayerSettingsFragment, mhr.app.fragments.layers.filter.LaplacianOfGaussianSharpenLayerSettingsFragment, mhr.app.fragments.layers.filter.DifferenceOfGaussianSharpenLayerSettingsFragment, mhr.app.fragments.layers.filter.LaplaceSharpenLayerSettingsFragment, mhr.app.fragments.layers.filter.GaussianSharpenLayerSettingsFragment, mhr.app.fragments.layers.RasterLayerSettingsFragment, and mhr.app.fragments.layers.filter.GaussianBlurLayerSettingsFragment.
|
inline |
Definition at line 120 of file LayerSettingsFragment.java.
|
inline |
Definition at line 108 of file LayerSettingsFragment.java.
|
inline |
Definition at line 140 of file LayerSettingsFragment.java.
|
inline |
Definition at line 185 of file LayerSettingsFragment.java.
|
inlineprotected |
Slouží k potvrzení výběru parametrů
Definition at line 70 of file LayerSettingsFragment.java.
|
inline |
Nastaví id vrstvy, se kterým je fragment asociován, pokud je vytvořeno view, aktualizuje view dle vrstvy.
id |
Definition at line 92 of file LayerSettingsFragment.java.
|
inline |
Nastaví rodiče, odkud se bere prezentace obrazu.
parent |
Definition at line 84 of file LayerSettingsFragment.java.
|
protectedpure virtual |
Nastaví obsah fragmentu, aby odpovídal prezentaci.
pres |
Implemented in mhr.app.fragments.layers.lut.CurvesLayerSettingsFragment, mhr.app.fragments.layers.ColorLayerSettingsFragment, mhr.app.fragments.layers.lut.ContrastLayerSettingsFragment, mhr.app.fragments.layers.lut.GammaLayerSettingsFragment, mhr.app.fragments.layers.lut.BrightnessLayerSettingsFragment, mhr.app.fragments.layers.filter.DifferenceOfGaussianSharpenLayerSettingsFragment, mhr.app.fragments.layers.filter.LaplacianOfGaussianSharpenLayerSettingsFragment, mhr.app.fragments.layers.filter.GaussianSharpenLayerSettingsFragment, mhr.app.fragments.layers.filter.LaplaceSharpenLayerSettingsFragment, mhr.app.fragments.layers.RasterLayerSettingsFragment, and mhr.app.fragments.layers.filter.GaussianBlurLayerSettingsFragment.
|
protectedpure virtual |
Upraví prezentaci dle UI elementů.
pres |
Implemented in mhr.app.fragments.layers.lut.CurvesLayerSettingsFragment, mhr.app.fragments.layers.ColorLayerSettingsFragment, mhr.app.fragments.layers.lut.ContrastLayerSettingsFragment, mhr.app.fragments.layers.lut.GammaLayerSettingsFragment, mhr.app.fragments.layers.filter.DifferenceOfGaussianSharpenLayerSettingsFragment, mhr.app.fragments.layers.filter.LaplacianOfGaussianSharpenLayerSettingsFragment, mhr.app.fragments.layers.lut.BrightnessLayerSettingsFragment, mhr.app.fragments.layers.filter.GaussianSharpenLayerSettingsFragment, mhr.app.fragments.layers.filter.LaplaceSharpenLayerSettingsFragment, mhr.app.fragments.layers.RasterLayerSettingsFragment, and mhr.app.fragments.layers.filter.GaussianBlurLayerSettingsFragment.
|
protected |
Definition at line 32 of file LayerSettingsFragment.java.
|
protected |
Id vrstvy, kterou reprezentuje.
Definition at line 34 of file LayerSettingsFragment.java.
|
protected |
Pro cachování, aby se znovu nevytvářelo.
Definition at line 35 of file LayerSettingsFragment.java.
|
protected |
Definition at line 31 of file LayerSettingsFragment.java.
|
protected |
Udává informaci, jestli už je inicializováno view.
Definition at line 36 of file LayerSettingsFragment.java.
|
protected |
Definition at line 33 of file LayerSettingsFragment.java.
|
protected |
Definition at line 30 of file LayerSettingsFragment.java.
|
protected |
Definition at line 38 of file LayerSettingsFragment.java.
|
protected |
Udává, že update nemohl být proveden, protože fragment ještě nebyl inicializován.
Definition at line 37 of file LayerSettingsFragment.java.