public class OrientationEditorTool extends AbstractEditorTool
| Modifier and Type | Class and Description |
|---|---|
static class |
OrientationEditorTool.Rotation |
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<OrientationEditorTool> |
CREATOR |
panelClassisDirty, NO_THUMBNAIL_ID, ORIGINAL_THUMBNAIL_SIZE| Modifier | Constructor and Description |
|---|---|
|
OrientationEditorTool(int name,
int drawableId) |
|
OrientationEditorTool(int name,
int drawableId,
java.lang.Class<? extends AbstractToolPanel> panelClass) |
protected |
OrientationEditorTool(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
android.view.View |
attachPanel(android.view.ViewGroup parentView,
StateHandler stateHandler) |
int |
describeContents() |
OrientationEditorTool.Rotation |
getRotation() |
boolean |
isFlipedHorizontal() |
boolean |
isFlipedVertical() |
boolean |
isRevertible() |
protected void |
revertState() |
void |
rotateCCW() |
void |
rotateCW() |
protected void |
saveState() |
void |
setFlipHorizontal(boolean isFlipped) |
void |
setFlipVertical(boolean isFlipped) |
void |
setRotation(OrientationEditorTool.Rotation rotation) |
void |
toogleFlipHorizontal() |
void |
toogleFlipVertical() |
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<OrientationEditorTool> CREATOR
public OrientationEditorTool(@StringRes
int name,
@DrawableRes
int drawableId)
public OrientationEditorTool(@StringRes
int name,
@DrawableRes
int drawableId,
@NonNull
java.lang.Class<? extends AbstractToolPanel> panelClass)
protected OrientationEditorTool(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 rotateCW()
public void rotateCCW()
public void setRotation(@NonNull
OrientationEditorTool.Rotation rotation)
public OrientationEditorTool.Rotation getRotation()
public void toogleFlipHorizontal()
public void toogleFlipVertical()
public void setFlipHorizontal(boolean isFlipped)
public void setFlipVertical(boolean isFlipped)
public boolean isFlipedHorizontal()
public boolean isFlipedVertical()
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