public class CropTool extends AbstractTool
| Modifier and Type | Class and Description |
|---|---|
class |
CropTool.SaveState |
AbstractConfig.AspectConfigInterface, AbstractConfig.BindData, AbstractConfig.ColorConfigInterface, AbstractConfig.ConfigViewHolder, AbstractConfig.FontConfigInterface<T>, AbstractConfig.ImageFilterInterface, AbstractConfig.StickerConfigInterface, AbstractConfig.ToolConfigInterface| Modifier and Type | Field and Description |
|---|---|
CropTool.SaveState |
saveState |
panelClassisDirty, NO_THUMBNAIL_ID, ORIGINAL_THUMBNAIL_SIZE| Constructor and Description |
|---|
CropTool(int name,
int drawableId) |
CropTool(int name,
int drawableId,
java.lang.Class<? extends AbstractToolPanel> panelClass) |
| Modifier and Type | Method and Description |
|---|---|
android.view.View |
attachPanel(android.view.ViewGroup parentView,
EditorPreview preview) |
void |
detachPanel(boolean revertChanges) |
AbstractConfig.AspectConfigInterface |
getAspectConfig() |
AbstractOperation |
getOperation() |
boolean |
isRevertible() |
protected void |
revertState() |
protected void |
saveState() |
void |
setAspectConfig(AbstractConfig.AspectConfigInterface aspect) |
convertFromRange, convertToRange, getEditorPreview, getLayout, getOperator, 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 final CropTool.SaveState saveState
public CropTool(@StringRes
int name,
@DrawableRes
int drawableId)
public CropTool(@StringRes
int name,
@DrawableRes
int drawableId,
@NonNull
java.lang.Class<? extends AbstractToolPanel> panelClass)
public AbstractOperation getOperation()
getOperation in interface AbstractConfig.ToolConfigInterfacegetOperation in class AbstractToolpublic boolean isRevertible()
isRevertible in interface AbstractConfig.ToolConfigInterfaceisRevertible in class AbstractToolprotected void saveState()
saveState in class AbstractToolprotected void revertState()
revertState in class AbstractToolpublic AbstractConfig.AspectConfigInterface getAspectConfig()
public void setAspectConfig(AbstractConfig.AspectConfigInterface aspect)
public android.view.View attachPanel(@NonNull
android.view.ViewGroup parentView,
@NonNull
EditorPreview preview)
attachPanel in class AbstractToolpublic void detachPanel(boolean revertChanges)
detachPanel in interface AbstractConfig.ToolConfigInterfacedetachPanel in class AbstractTool