public static class TextTool.ColorSelection extends AbstractTool
| Modifier and Type | Class and Description |
|---|---|
static interface |
TextTool.ColorSelection.OnColorSelected |
class |
TextTool.ColorSelection.SaveState |
static class |
TextTool.ColorSelection.TYPE |
AbstractConfig.AspectConfigInterface, AbstractConfig.BindData, AbstractConfig.ColorConfigInterface, AbstractConfig.ConfigViewHolder, AbstractConfig.FontConfigInterface<T>, AbstractConfig.ImageFilterInterface, AbstractConfig.StickerConfigInterface, AbstractConfig.ToolConfigInterface| Modifier and Type | Field and Description |
|---|---|
TextTool.ColorSelection.SaveState |
saveState |
panelClassNO_THUMBNAIL_ID, ORIGINAL_THUMBNAIL_SIZE| Constructor and Description |
|---|
ColorSelection(TextTool.ColorSelection.TYPE type,
int color,
TextTool.ColorSelection.OnColorSelected listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
detachPanel(boolean revertChanges) |
int |
getColor() |
AbstractOperation |
getOperation() |
boolean |
isRevertible() |
protected void |
revertState() |
protected void |
saveState() |
void |
setColor(int color) |
attachPanel, convertFromRange, convertToRange, getEditorPreview, getLayout, getOperator, getVerticalLayout, isAttached, isSelectable, refreshPanel, revertChangescreateViewHolder, generateBindData, generateBindDataAsync, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getTitle, hasStaticThumbnail, isClickableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTitlecreateViewHolder, generateBindData, generateBindDataAsync, getNamepublic final TextTool.ColorSelection.SaveState saveState
public ColorSelection(TextTool.ColorSelection.TYPE type, int color, TextTool.ColorSelection.OnColorSelected listener)
protected void saveState()
saveState in class AbstractToolprotected void revertState()
revertState in class AbstractToolpublic void setColor(int color)
public int getColor()
public void detachPanel(boolean revertChanges)
detachPanel in interface AbstractConfig.ToolConfigInterfacedetachPanel in class AbstractTool@Nullable public AbstractOperation getOperation()
getOperation in interface AbstractConfig.ToolConfigInterfacegetOperation in class AbstractToolpublic boolean isRevertible()
isRevertible in interface AbstractConfig.ToolConfigInterfaceisRevertible in class AbstractTool