public class FocusEditorTool extends AbstractEditorTool
Modifier and Type | Class and Description |
---|---|
static class |
FocusEditorTool.MODE |
AbstractConfig.BindData
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
panelClass
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(Parcel in) |
Modifier and Type | Method and Description |
---|---|
View |
attachPanel(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(Parcel dest,
int flags) |
equals, getConfig, getLayout, getPanelView, getStateHandler, getVerticalLayout, isAttached, isReady, isSelectable, refreshPanel, revertChanges
createViewHolder, generateBindData, generateBindDataAsync, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getThumbnailSource, getTitle, hasStaticThumbnail, isClickable, isDirty, setDirtyFlag
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTitle
createViewHolder, generateBindData, generateBindDataAsync, getName, isDirty, setDirtyFlag
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(Parcel in)
public View attachPanel(@NonNull ViewGroup parentView, @NonNull StateHandler stateHandler)
attachPanel
in class AbstractEditorTool
public int describeContents()
describeContents
in class AbstractEditorTool
public void detachPanel(boolean revertChanges)
detachPanel
in interface ToolConfigInterface
detachPanel
in class AbstractEditorTool
@Nullable public FocusEditorTool.MODE getFocusMode()
public float getIntensity()
public boolean isRevertible()
isRevertible
in interface ToolConfigInterface
isRevertible
in class AbstractEditorTool
protected void revertState()
revertState
in class AbstractEditorTool
protected void saveState()
saveState
in class AbstractEditorTool
public void setFocusMode(FocusEditorTool.MODE type)
public void setIntensity(float intensity)
intensity
- intensity from 0.0 - 1.0.public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class AbstractEditorTool