protected static class AdjustmentToolPanel.AdjustOption extends AbstractConfig implements DataSourceInterface<AbstractConfig.BindData>
AbstractConfig.BindData
isDirty, ORIGINAL_THUMBNAIL_SIZE
Constructor and Description |
---|
AdjustOption(ly.img.android.ui.panels.AdjustmentToolPanel.MODE mode) |
Modifier and Type | Method and Description |
---|---|
int |
getLayout()
Get the layout res id of the list item view.
|
static int |
getNameRes(ly.img.android.ui.panels.AdjustmentToolPanel.MODE mode) |
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, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailSource, getTitle, getVerticalLayout, isClickable, isDirty, setDirtyFlag, writeToParcel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createViewHolder, generateBindData, generateBindDataAsync, getName, getVerticalLayout, isDirty, setDirtyFlag
public AdjustOption(@NonNull ly.img.android.ui.panels.AdjustmentToolPanel.MODE mode)
public int getLayout()
DataSourceInterface
getLayout
in interface DataSourceInterface<AbstractConfig.BindData>
public static int getNameRes(@NonNull ly.img.android.ui.panels.AdjustmentToolPanel.MODE mode)
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>