public class TransformEditorTool extends AbstractEditorTool
AbstractConfig.BindData
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
panelClass
isDirty, ORIGINAL_THUMBNAIL_SIZE
Modifier | Constructor and Description |
---|---|
|
TransformEditorTool(int name,
int drawableId) |
|
TransformEditorTool(int name,
int drawableId,
java.lang.Class<? extends AbstractToolPanel> panelClass) |
protected |
TransformEditorTool(Parcel in) |
Modifier and Type | Method and Description |
---|---|
View |
attachPanel(ViewGroup parentView,
StateHandler stateHandler) |
void |
changeOrientationCCW() |
void |
changeOrientationCW() |
int |
describeContents() |
void |
detachPanel(boolean revertChanges) |
void |
flipHorizontal() |
AspectConfigInterface |
getAspectConfig() |
protected MultiRect |
getCropRect() |
float |
getOrientationOffsetRotation() |
int |
getOrientationRotation() |
float |
getRotation() |
boolean |
isHorizontalFlipped() |
boolean |
isRevertible() |
protected void |
revertState() |
protected void |
saveState() |
void |
setAspectConfig(AspectConfigInterface aspect) |
void |
setHorizontalFlipped(boolean horizontalFlipped) |
void |
setOrientationOffsetRotation(float rotation) |
void |
setRotation(float rotation) |
void |
writeToParcel(Parcel dest,
int flags) |
equals, getConfig, getLayout, getPanelView, 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 TransformEditorTool(@StringRes int name, @DrawableRes int drawableId)
public TransformEditorTool(@StringRes int name, @DrawableRes int drawableId, @NonNull java.lang.Class<? extends AbstractToolPanel> panelClass)
protected TransformEditorTool(Parcel in)
public View attachPanel(@NonNull ViewGroup parentView, @NonNull StateHandler stateHandler)
attachPanel
in class AbstractEditorTool
public void changeOrientationCCW()
public void changeOrientationCW()
public int describeContents()
describeContents
in class AbstractEditorTool
public void detachPanel(boolean revertChanges)
detachPanel
in interface ToolConfigInterface
detachPanel
in class AbstractEditorTool
public void flipHorizontal()
public AspectConfigInterface getAspectConfig()
protected MultiRect getCropRect()
public float getOrientationOffsetRotation()
public int getOrientationRotation()
public float getRotation()
public boolean isHorizontalFlipped()
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 setAspectConfig(AspectConfigInterface aspect)
public void setHorizontalFlipped(boolean horizontalFlipped)
public void setOrientationOffsetRotation(float rotation)
public void setRotation(float rotation)
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class AbstractEditorTool