public class FocusEditorTool extends AbstractEditorTool
Modifier and Type | Class and Description |
---|---|
static class |
FocusEditorTool.MODE |
AbstractConfig.BindData
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<FocusEditorTool> |
CREATOR |
historySettings, panelClass, toolHistoryLevel
id, isDirty, ORIGINAL_THUMBNAIL_SIZE
Modifier | Constructor and Description |
---|---|
|
FocusEditorTool(int name,
int drawableId) |
|
FocusEditorTool(int name,
int drawableId,
java.lang.Class<? extends AbstractToolPanel> panelClass) |
protected |
FocusEditorTool(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
android.view.View |
attachPanel(android.view.ViewGroup parentView,
StateHandler stateHandler) |
int |
describeContents() |
void |
detachPanel(boolean revertChanges) |
ly.img.android.Feature |
feature() |
FocusEditorTool.MODE |
getFocusMode() |
protected int |
getHistoryLevel() |
protected java.lang.Class<? extends Settings>[] |
getHistorySettings() |
float |
getIntensity()
Get blur intensity.
|
void |
setFocusMode(FocusEditorTool.MODE type) |
void |
setIntensity(float intensity)
Set blur intensity.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
equals, getConfig, getHistoryState, getLayout, getPanelView, getStateHandler, getVerticalLayout, isAcceptable, isAttached, isCancelable, isReady, isRevertible, isSelectable, redoLocalState, refreshPanel, revertChanges, revertToInitialState, saveEndState, saveInitialState, saveLocalState, setupHistory, undoLocalState
createViewHolder, generateBindData, generateBindDataAsync, getId, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getThumbnailSource, getTitle, hasStaticThumbnail, isClickable, isDirty, setDirtyFlag
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTitle
createViewHolder, generateBindData, generateBindDataAsync, getId, getName, isDirty, setDirtyFlag
public static final android.os.Parcelable.Creator<FocusEditorTool> CREATOR
public FocusEditorTool(@StringRes int name, @DrawableRes int drawableId)
public FocusEditorTool(@StringRes int name, @DrawableRes int drawableId, @NonNull java.lang.Class<? extends AbstractToolPanel> panelClass)
protected FocusEditorTool(android.os.Parcel in)
public android.view.View attachPanel(@NonNull android.view.ViewGroup parentView, @NonNull StateHandler stateHandler)
attachPanel
in class AbstractEditorTool
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class AbstractEditorTool
public void detachPanel(boolean revertChanges)
detachPanel
in interface ToolConfigInterface
detachPanel
in class AbstractEditorTool
public final ly.img.android.Feature feature()
feature
in class AbstractEditorTool
@NonNull public FocusEditorTool.MODE getFocusMode()
protected int getHistoryLevel()
getHistoryLevel
in class AbstractEditorTool
@NonNull protected java.lang.Class<? extends Settings>[] getHistorySettings()
getHistorySettings
in class AbstractEditorTool
public float getIntensity()
public void setFocusMode(FocusEditorTool.MODE type)
public void setIntensity(float intensity)
intensity
- intensity from 0.0 - 1.0.public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class AbstractEditorTool