public class CropEditorTool 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<CropEditorTool> |
CREATOR |
panelClassisDirty, NO_STATIC_THUMBNAIL_ID, ORIGINAL_THUMBNAIL_SIZE, thumbnailUri| Modifier | Constructor and Description |
|---|---|
|
CropEditorTool(int name,
int drawableId) |
|
CropEditorTool(int name,
int drawableId,
java.lang.Class<? extends AbstractToolPanel> panelClass) |
protected |
CropEditorTool(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) |
AbstractConfig.AspectConfigInterface |
getAspectConfig() |
boolean |
isRevertible() |
protected void |
revertState() |
protected void |
saveState() |
void |
setAspectConfig(AbstractConfig.AspectConfigInterface aspect) |
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<CropEditorTool> CREATOR
public CropEditorTool(@StringRes
int name,
@DrawableRes
int drawableId)
public CropEditorTool(@StringRes
int name,
@DrawableRes
int drawableId,
@NonNull
java.lang.Class<? extends AbstractToolPanel> panelClass)
protected CropEditorTool(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 AbstractConfig.AspectConfigInterface getAspectConfig()
public void setAspectConfig(AbstractConfig.AspectConfigInterface aspect)
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