public class FilterEditorTool extends AbstractEditorTool
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<FilterEditorTool> |
CREATOR |
panelClassisDirty, NO_STATIC_THUMBNAIL_ID, ORIGINAL_THUMBNAIL_SIZE, thumbnailUri| Modifier | Constructor and Description |
|---|---|
|
FilterEditorTool(int name,
int drawableId) |
|
FilterEditorTool(int name,
int drawableId,
java.lang.Class<? extends AbstractToolPanel> panelClass) |
protected |
FilterEditorTool(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
android.view.View |
attachPanel(android.view.ViewGroup parentView,
StateHandler stateHandler) |
int |
describeContents() |
AbstractConfig.ImageFilterInterface |
getFilter() |
float |
getIntensity() |
boolean |
isRevertible() |
protected void |
revertState() |
protected void |
saveState() |
void |
setFilter(AbstractConfig.ImageFilterInterface filter) |
void |
setIntensity(float intensity) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
detachPanel, 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<FilterEditorTool> CREATOR
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(android.os.Parcel in)
public boolean isRevertible()
isRevertible in interface AbstractConfig.ToolConfigInterfaceisRevertible in class AbstractEditorToolprotected void saveState()
saveState in class AbstractEditorToolprotected void revertState()
revertState in class AbstractEditorToolpublic android.view.View attachPanel(@NonNull
android.view.ViewGroup parentView,
@NonNull
StateHandler stateHandler)
attachPanel in class AbstractEditorToolpublic void setFilter(AbstractConfig.ImageFilterInterface filter)
public AbstractConfig.ImageFilterInterface getFilter()
public void setIntensity(float intensity)
public float getIntensity()
public 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