public class FilterEditorTool extends AbstractEditorTool
AbstractConfig.BindData
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
panelClass
isDirty, ORIGINAL_THUMBNAIL_SIZE
Modifier | Constructor and Description |
---|---|
|
FilterEditorTool(int name,
int drawableId) |
|
FilterEditorTool(int name,
int drawableId,
java.lang.Class<? extends AbstractToolPanel> panelClass) |
protected |
FilterEditorTool(Parcel in) |
Modifier and Type | Method and Description |
---|---|
View |
attachPanel(ViewGroup parentView,
StateHandler stateHandler) |
int |
describeContents() |
ImageFilterInterface |
getFilter() |
float |
getIntensity() |
boolean |
isRevertible() |
protected void |
revertState() |
protected void |
saveState() |
void |
setFilter(ImageFilterInterface filter) |
void |
setIntensity(float intensity) |
void |
writeToParcel(Parcel dest,
int flags) |
detachPanel, equals, getConfig, getLayout, 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 FilterEditorTool(@StringRes int name, @DrawableRes int drawableId)
public FilterEditorTool(@StringRes int name, @DrawableRes int drawableId, @NonNull java.lang.Class<? extends AbstractToolPanel> panelClass)
protected FilterEditorTool(Parcel in)
public View attachPanel(@NonNull ViewGroup parentView, @NonNull StateHandler stateHandler)
attachPanel
in class AbstractEditorTool
public int describeContents()
describeContents
in class AbstractEditorTool
public ImageFilterInterface getFilter()
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 setFilter(@NonNull ImageFilterInterface filter)
public void setIntensity(float intensity)
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class AbstractEditorTool