public class TextEditorTool extends StickerEditorTool
| Modifier and Type | Class and Description |
|---|---|
static class |
TextEditorTool.COLOR_TYPE |
static class |
TextEditorTool.ColorSelection |
static class |
TextEditorTool.FontSelection |
static class |
TextEditorTool.Options |
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<TextEditorTool> |
CREATOR |
panelClassisDirty, NO_STATIC_THUMBNAIL_ID, ORIGINAL_THUMBNAIL_SIZE, thumbnailUri| Modifier | Constructor and Description |
|---|---|
|
TextEditorTool(int name,
int drawableId) |
protected |
TextEditorTool(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) |
TextStickerConfig |
getCurrentTextStickerConfig() |
protected EditorMenuState |
getMenuState() |
java.lang.String |
getTitle() |
boolean |
isRevertible() |
void |
openColorSelection(TextEditorTool.COLOR_TYPE type,
int currentColor,
AbstractColorEditorTool.OnColorSelected<TextEditorTool.COLOR_TYPE> listener) |
void |
openFontSelection(AbstractConfig.FontConfigInterface currentFontSelection,
TextEditorTool.FontSelection.OnFontSelected listener) |
void |
setColor(int color,
int backgroundColor) |
void |
setFontConfig(AbstractConfig.FontConfigInterface fontConfig) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
addSticker, addSticker, bringStickerToFront, deleteSticker, flipSticker, getCurrentStickerSettings, getLastConfig, getLayerListSettings, refreshConfig, revertState, saveState, setColorFiltergetConfig, getLayout, getStateHandler, getVerticalLayout, isAttached, isSelectable, refreshPanel, revertChangescreateViewHolder, generateBindData, generateBindDataAsync, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, hasStaticThumbnail, isClickable, isDirty, setDirtyFlagclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateViewHolder, generateBindData, generateBindDataAsync, getName, isDirty, setDirtyFlagpublic static final android.os.Parcelable.Creator<TextEditorTool> CREATOR
public TextEditorTool(@StringRes
int name,
@DrawableRes
int drawableId)
protected TextEditorTool(android.os.Parcel in)
@NonNull public java.lang.String getTitle()
getTitle in interface AbstractConfig.ToolConfigInterfacegetTitle in class AbstractConfigpublic boolean isRevertible()
isRevertible in interface AbstractConfig.ToolConfigInterfaceisRevertible in class StickerEditorToolpublic TextStickerConfig getCurrentTextStickerConfig()
public void setFontConfig(AbstractConfig.FontConfigInterface fontConfig)
public void setColor(int color,
int backgroundColor)
public android.view.View attachPanel(@NonNull
android.view.ViewGroup parentView,
@NonNull
StateHandler stateHandler)
attachPanel in class StickerEditorToolpublic void detachPanel(boolean revertChanges)
detachPanel in interface AbstractConfig.ToolConfigInterfacedetachPanel in class StickerEditorToolprotected EditorMenuState getMenuState()
public void openFontSelection(AbstractConfig.FontConfigInterface currentFontSelection, TextEditorTool.FontSelection.OnFontSelected listener)
public void openColorSelection(TextEditorTool.COLOR_TYPE type, int currentColor, AbstractColorEditorTool.OnColorSelected<TextEditorTool.COLOR_TYPE> listener)
public int describeContents()
describeContents in interface android.os.ParcelabledescribeContents in class StickerEditorToolpublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class StickerEditorTool