public class IngredientLookupState
extends java.lang.Object
Constructor and Description |
---|
IngredientLookupState(IRecipeManager recipeManager,
Focus<?> focus) |
Modifier and Type | Method and Description |
---|---|
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 IngredientLookupState(IRecipeManager recipeManager, @Nullable Focus<?> focus)
@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()