package joshie.progression.api.criteria; import joshie.progression.api.gui.IDrawHelper; import java.util.List; public interface IFilterType { /** Return an unlocalized name for this selector **/ public String getName(); /** Whether this object is acceptable **/ public boolean isAcceptable(Object object); /** Returns a list of all valid objects in this filter **/ public List getAllItems(); /** Whether the search feature matches this object **/ public boolean searchMatches(Object object, String lowerCase); /** Draw the filter objects **/ public void draw(IDrawHelper helper, Object stack, int offsetX, int j, int yOffset, int k, int mouseX, int mouseY); /** Mouse clicked on filter objects **/ public boolean mouseClicked(int mouseX, int mouseY, int j, int k); /** Width of screen **/ public double getScale(); /** Gap between items **/ public int getChange(); }