Class ListItemContent

java.lang.Object
org.rusherhack.client.api.ui.window.content.WindowContent
org.rusherhack.client.api.ui.window.content.ListItemContent
All Implemented Interfaces:
org.rusherhack.core.interfaces.IClickable, org.rusherhack.core.interfaces.IHoverable, org.rusherhack.core.interfaces.IScrollable, org.rusherhack.core.interfaces.ITickable, org.rusherhack.core.interfaces.ITypeable

public abstract class ListItemContent extends WindowContent
  • Constructor Details

    • ListItemContent

      public ListItemContent(Window window, ListView<?> listView)
  • Method Details

    • getAsString

      public abstract String getAsString(ListView<?>.Column column)
    • isSelected

      public boolean isSelected()
    • renderContent

      public void renderContent(double mouseX, double mouseY, WindowView parent)
      Specified by:
      renderContent in class WindowContent
    • getWidth

      public double getWidth()
      Specified by:
      getWidth in class WindowContent
    • getHeight

      public double getHeight()
      Specified by:
      getHeight in class WindowContent
    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int button)
    • mouseScrolled

      public boolean mouseScrolled(double mouseX, double mouseY, double delta)
    • charTyped

      public boolean charTyped(char character)
    • keyTyped

      public boolean keyTyped(int key, int scanCode, int modifiers)
    • onDoubleClick

      protected void onDoubleClick()
    • getListView

      public ListView<?> getListView()