public abstract class AbstractColorEditorTool<T extends java.lang.Enum> extends AbstractEditorTool
| Modifier and Type | Class and Description |
|---|---|
static interface |
AbstractColorEditorTool.OnColorSelected<T extends java.lang.Enum> |
AbstractConfig.AspectConfigInterface, AbstractConfig.BindData, AbstractConfig.ColorConfigInterface, AbstractConfig.ConfigViewHolder, AbstractConfig.FontConfigInterface<T>, AbstractConfig.FrameConfigInterface, AbstractConfig.ImageFilterInterface, AbstractConfig.StickerConfigInterface, AbstractConfig.ToolConfigInterfacepanelClassisDirty, NO_THUMBNAIL_ID, ORIGINAL_THUMBNAIL_SIZE| Modifier | Constructor and Description |
|---|---|
|
AbstractColorEditorTool(int name,
T type,
int color,
AbstractColorEditorTool.OnColorSelected<T> listener) |
protected |
AbstractColorEditorTool(android.os.Parcel in,
AbstractColorEditorTool.OnColorSelected listener) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
void |
detachPanel(boolean revertChanges) |
int |
getColor() |
java.util.List<? extends AbstractConfig.ColorConfigInterface> |
getColorList() |
abstract java.util.List<? extends AbstractConfig.ColorConfigInterface> |
getColorList(ImgLyConfig config) |
boolean |
isRevertible() |
protected void |
revertState() |
protected void |
saveState() |
void |
setColor(int color) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
attachPanel, 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 AbstractColorEditorTool(@StringRes
int name,
T type,
int color,
AbstractColorEditorTool.OnColorSelected<T> listener)
protected AbstractColorEditorTool(android.os.Parcel in,
AbstractColorEditorTool.OnColorSelected listener)
protected void saveState()
saveState in class AbstractEditorToolprotected void revertState()
revertState in class AbstractEditorToolpublic void setColor(int color)
public int getColor()
@NonNull public java.util.List<? extends AbstractConfig.ColorConfigInterface> getColorList()
@NonNull public abstract java.util.List<? extends AbstractConfig.ColorConfigInterface> getColorList(ImgLyConfig config)
public void detachPanel(boolean revertChanges)
detachPanel in interface AbstractConfig.ToolConfigInterfacedetachPanel in class AbstractEditorToolpublic boolean isRevertible()
isRevertible in interface AbstractConfig.ToolConfigInterfaceisRevertible 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