protected static class TextOptionToolPanel.TextStickerOption extends OptionItem
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<OptionItem> |
CREATOR |
id
FLAVOR_OPTION_LIST, FLAVOR_OPTION_LIST_FOLDER_SUBITEM, FLAVOR_QUICK_OPTION_LIST, FLAVOR_QUICK_OPTION_LIST_FOLDER_SUBITEM, isDirty, ORIGINAL_THUMBNAIL_SIZE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
int |
getLayout()
Get the default layout res id of the list item view.
|
android.graphics.Bitmap |
getThumbnailBitmap(int maxWidth)
Return the Thumbnail, do not call in Main Thread and use #getThumbnailResId() if #hasStaticThumbnail
|
boolean |
hasStaticThumbnail()
Check if it has a static thumbnail drawable.
|
boolean |
isSelectable() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
equals, getId, getViewHolderClass
getLayout, getName, getThumbnailBitmap, getThumbnailResId, getThumbnailSource, isClickable, isDirty, setDirtyFlag, setName
public static final android.os.Parcelable.Creator<OptionItem> CREATOR
public boolean isSelectable()
isSelectable
in interface DataSourceInterface
isSelectable
in class OptionItem
public boolean hasStaticThumbnail()
AbstractItem
hasStaticThumbnail
in class AbstractItem
AbstractItem.getThumbnailBitmap()
public android.graphics.Bitmap getThumbnailBitmap(int maxWidth)
AbstractItem
getThumbnailBitmap
in class AbstractItem
maxWidth
- Size the drawable should be limited to.public int getLayout()
DataSourceInterface
getLayout
in interface DataSourceInterface
getLayout
in class OptionItem
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class OptionItem
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class OptionItem