Class TabbedView

All Implemented Interfaces:
org.rusherhack.core.interfaces.IClickable, org.rusherhack.core.interfaces.IHoverable, org.rusherhack.core.interfaces.INamed, org.rusherhack.core.interfaces.IScrollable, org.rusherhack.core.interfaces.ITickable, org.rusherhack.core.interfaces.ITypeable

public class TabbedView extends SimpleView
A view with different tabs. WindowViews in the content list are rendered in tabs, while other content is rendered at the bottom below the tab view.
  • Constructor Details

  • Method Details

    • renderViewContent

      public void renderViewContent(double mouseX, double mouseY)
      Overrides:
      renderViewContent in class SimpleView
    • getContent

      public List<WindowContent> getContent()
      Overrides:
      getContent in class WindowView
      Returns:
      list of persistent content that should be rendered below the tab view
    • setActiveTabView

      public void setActiveTabView(WindowView activeTabView)
    • getActiveTabView

      public WindowView getActiveTabView()
    • getTabs

      public List<WindowView> getTabs()
    • getTabViewHeight

      public double getTabViewHeight()
    • getPersistentContentHeight

      public double getPersistentContentHeight()
    • getTopOffset

      protected double getTopOffset()
      Overrides:
      getTopOffset in class SimpleView
    • getLeftOffset

      protected double getLeftOffset()
      Overrides:
      getLeftOffset in class SimpleView