public abstract class RecipeGuiTab extends java.lang.Object implements IMouseHandler
Modifier and Type | Field and Description |
---|---|
static int |
TAB_HEIGHT |
static int |
TAB_WIDTH |
protected int |
x |
protected int |
y |
Constructor and Description |
---|
RecipeGuiTab(int x,
int y) |
Modifier and Type | Method and Description |
---|---|
void |
draw(boolean selected,
int mouseX,
int mouseY) |
abstract java.util.List<java.lang.String> |
getTooltip() |
boolean |
handleMouseScrolled(double mouseX,
double mouseY,
double scrollDelta) |
boolean |
isMouseOver(double mouseX,
double mouseY) |
abstract boolean |
isSelected(mezz.jei.api.recipe.category.IRecipeCategory selectedCategory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleMouseClicked
public static final int TAB_HEIGHT
public static final int TAB_WIDTH
protected final int x
protected final int y
public boolean isMouseOver(double mouseX, double mouseY)
isMouseOver
in interface IMouseHandler
public boolean handleMouseScrolled(double mouseX, double mouseY, double scrollDelta)
handleMouseScrolled
in interface IMouseHandler
public abstract boolean isSelected(mezz.jei.api.recipe.category.IRecipeCategory selectedCategory)
public void draw(boolean selected, int mouseX, int mouseY)
public abstract java.util.List<java.lang.String> getTooltip()