public class IngredientLookupState
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static IngredientLookupState |
createWithCategories(IRecipeManager recipeManager,
java.util.List<IRecipeCategory<?>> recipeCategories) |
static IngredientLookupState |
createWithFocus(IRecipeManager recipeManager,
Focus<?> focus) |
Focus<?> |
getFocus() |
FocusedRecipes<?> |
getFocusedRecipes() |
com.google.common.collect.ImmutableList<IRecipeCategory<?>> |
getRecipeCategories() |
int |
getRecipeCategoryIndex() |
int |
getRecipeIndex() |
int |
getRecipesPerPage() |
void |
nextRecipeCategory() |
void |
previousRecipeCategory() |
boolean |
setRecipeCategory(IRecipeCategory<?> recipeCategory) |
void |
setRecipeCategoryIndex(int recipeCategoryIndex) |
void |
setRecipeIndex(int recipeIndex) |
void |
setRecipesPerPage(int recipesPerPage) |
public static IngredientLookupState createWithFocus(IRecipeManager recipeManager, @Nullable Focus<?> focus)
public static IngredientLookupState createWithCategories(IRecipeManager recipeManager, java.util.List<IRecipeCategory<?>> recipeCategories)
@Nullable public Focus<?> getFocus()
public com.google.common.collect.ImmutableList<IRecipeCategory<?>> getRecipeCategories()
public int getRecipeCategoryIndex()
public boolean setRecipeCategory(IRecipeCategory<?> recipeCategory)
public void setRecipeCategoryIndex(int recipeCategoryIndex)
public void nextRecipeCategory()
public void previousRecipeCategory()
public int getRecipeIndex()
public void setRecipeIndex(int recipeIndex)
public int getRecipesPerPage()
public void setRecipesPerPage(int recipesPerPage)
public FocusedRecipes<?> getFocusedRecipes()