public class FocusEditorTool extends AbstractEditorTool
| Modifier and Type | Class and Description |
|---|---|
static class |
FocusEditorTool.MODE |
AbstractConfig.AspectConfigInterface, AbstractConfig.BindData, AbstractConfig.ColorConfigInterface, AbstractConfig.ConfigViewHolder, AbstractConfig.FontConfigInterface<T>, AbstractConfig.FrameConfigInterface, AbstractConfig.ImageFilterInterface, AbstractConfig.StickerConfigInterface, AbstractConfig.ToolConfigInterface| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<FocusEditorTool> |
CREATOR |
panelClassisDirty, NO_THUMBNAIL_ID, 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) |
FocusEditorTool.MODE |
getFocusMode() |
float |
getIntensity()
Get blur intensity.
|
boolean |
isRevertible() |
protected void |
revertState() |
protected void |
saveState() |
void |
setFocusMode(FocusEditorTool.MODE type) |
void |
setIntensity(float intensity)
Set blur intensity.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getConfig, getLayout, getStateHandler, getVerticalLayout, isAttached, isSelectable, refreshPanel, revertChangescreateViewHolder, generateBindData, generateBindDataAsync, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getTitle, hasStaticThumbnail, isClickable, isDirty, setDirtyFlagclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTitlecreateViewHolder, generateBindData, generateBindDataAsync, getName, isDirty, setDirtyFlagpublic 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 boolean isRevertible()
isRevertible in interface AbstractConfig.ToolConfigInterfaceisRevertible in class AbstractEditorToolpublic void setIntensity(float intensity)
intensity - intensity from 0.0 - 1.0.public float getIntensity()
protected void saveState()
saveState in class AbstractEditorToolprotected void revertState()
revertState in class AbstractEditorTool@Nullable public FocusEditorTool.MODE getFocusMode()
public void setFocusMode(FocusEditorTool.MODE type)
public android.view.View attachPanel(@NonNull
android.view.ViewGroup parentView,
@NonNull
StateHandler stateHandler)
attachPanel in class AbstractEditorToolpublic void detachPanel(boolean revertChanges)
detachPanel in interface AbstractConfig.ToolConfigInterfacedetachPanel in class AbstractEditorToolpublic int describeContents()
describeContents in interface android.os.ParcelabledescribeContents in class AbstractEditorToolpublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class AbstractEditorTool