public class BrushOption extends OptionItem
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<BrushOption> |
CREATOR |
id
FLAVOR_OPTION_LIST, FLAVOR_OPTION_LIST_FOLDER_SUBITEM, FLAVOR_QUICK_OPTION_LIST, FLAVOR_QUICK_OPTION_LIST_FOLDER_SUBITEM, isDirty, ORIGINAL_THUMBNAIL_SIZE
Constructor and Description |
---|
BrushOption(int id) |
BrushOption(int id,
int name) |
BrushOption(int id,
int name,
ImageSource thumbnailSource) |
BrushOption(int id,
java.lang.String name) |
BrushOption(int id,
java.lang.String name,
ImageSource thumbnailSource) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
int |
getLayout()
Get the default layout res id of the list item view.
|
boolean |
hasStaticThumbnail()
Check if it has a static thumbnail drawable.
|
boolean |
isSelectable() |
equals, getId, getViewHolderClass, writeToParcel
getLayout, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getThumbnailSource, isClickable, isDirty, setDirtyFlag, setName
public static final android.os.Parcelable.Creator<BrushOption> CREATOR
public BrushOption(int id)
public BrushOption(int id, @Nullable java.lang.String name)
public BrushOption(int id, @Nullable java.lang.String name, @Nullable ImageSource thumbnailSource)
public BrushOption(int id, int name)
public BrushOption(int id, int name, @Nullable ImageSource thumbnailSource)
public boolean hasStaticThumbnail()
AbstractItem
hasStaticThumbnail
in class AbstractItem
AbstractItem.getThumbnailBitmap()
public int getLayout()
DataSourceInterface
getLayout
in interface DataSourceInterface
getLayout
in class OptionItem
public boolean isSelectable()
isSelectable
in interface DataSourceInterface
isSelectable
in class OptionItem
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class OptionItem