Class SimpleView

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
Direct Known Subclasses:
ScrollableView, TabbedView

public class SimpleView extends WindowView
  • Field Details

    • alignment

      protected SimpleView.Alignment alignment
    • topPadding

      protected double topPadding
    • leftPadding

      protected double leftPadding
    • contentPadding

      protected double contentPadding
  • Constructor Details

  • Method Details

    • renderViewContent

      public void renderViewContent(double mouseX, double mouseY)
      Specified by:
      renderViewContent in class WindowView
    • getViewWidth

      public double getViewWidth()
      Overrides:
      getViewWidth in class WindowView
    • getViewHeight

      public double getViewHeight()
      Overrides:
      getViewHeight in class WindowView
    • getTopOffset

      protected double getTopOffset()
    • getLeftOffset

      protected double getLeftOffset()
    • setTopPadding

      public void setTopPadding(double topPadding)
    • setLeftPadding

      public void setLeftPadding(double leftPadding)
    • setContentPadding

      public void setContentPadding(double contentPadding)
    • setViewWidthModifier

      public void setViewWidthModifier(double viewWidthModifier)
    • setAlignment

      public void setAlignment(SimpleView.Alignment alignment)