protected static class StickerOptionToolPanel.StickerOption extends AbstractConfig implements DataSourceInterface<AbstractConfig.BindData>
AbstractConfig.BindData
Modifier and Type | Field and Description |
---|---|
protected StickerOptionToolPanel.OPTION |
option |
id, isDirty, ORIGINAL_THUMBNAIL_SIZE
Constructor and Description |
---|
StickerOption(StickerOptionToolPanel.OPTION option) |
Modifier and Type | Method and Description |
---|---|
int |
getLayout()
Get the layout res id of the list item view.
|
static int |
getNameRes(StickerOptionToolPanel.OPTION option) |
int |
getThumbnailResId()
Get the static thumbnail drawable resource id if exist.
|
boolean |
hasStaticThumbnail()
Check if it has a static thumbnail drawable.
|
boolean |
isSelectable() |
createViewHolder, describeContents, generateBindData, generateBindDataAsync, getId, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailSource, getTitle, getVerticalLayout, isClickable, isDirty, setDirtyFlag, writeToParcel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createViewHolder, generateBindData, generateBindDataAsync, getId, getName, getVerticalLayout, isDirty, setDirtyFlag
@NonNull protected final StickerOptionToolPanel.OPTION option
public StickerOption(@NonNull StickerOptionToolPanel.OPTION option)
public int getLayout()
DataSourceInterface
getLayout
in interface DataSourceInterface<AbstractConfig.BindData>
public static int getNameRes(@NonNull StickerOptionToolPanel.OPTION option)
public int getThumbnailResId()
AbstractConfig
getThumbnailResId
in class AbstractConfig
AbstractConfig.hasStaticThumbnail()
public boolean hasStaticThumbnail()
AbstractConfig
hasStaticThumbnail
in class AbstractConfig
AbstractConfig.getThumbnailBitmap()
public boolean isSelectable()
isSelectable
in interface DataSourceInterface<AbstractConfig.BindData>