Class ResizeableWindow

All Implemented Interfaces:
Globals, org.rusherhack.core.bind.IBindable, org.rusherhack.core.feature.IFeature, org.rusherhack.core.feature.IFeatureConfigurable, org.rusherhack.core.interfaces.IClickable, org.rusherhack.core.interfaces.IDraggable, org.rusherhack.core.interfaces.IHideable, org.rusherhack.core.interfaces.IHoverable, org.rusherhack.core.interfaces.INamed, org.rusherhack.core.interfaces.IPinnable, org.rusherhack.core.interfaces.IScrollable, org.rusherhack.core.interfaces.ITickable, org.rusherhack.core.interfaces.ITypeable, org.rusherhack.core.serialize.ISerializable<com.google.gson.JsonElement>, org.rusherhack.core.serialize.JsonSerializable

public abstract class ResizeableWindow extends PinnableWindow
A resizeable window
  • Constructor Details

    • ResizeableWindow

      public ResizeableWindow(String title, double width, double height)
    • ResizeableWindow

      public ResizeableWindow(String title, double x, double y, double width, double height)
  • Method Details

    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int button)
      Specified by:
      mouseClicked in interface org.rusherhack.core.interfaces.IClickable
      Overrides:
      mouseClicked in class Window
    • mouseReleased

      public void mouseReleased(double mouseX, double mouseY, int button)
      Specified by:
      mouseReleased in interface org.rusherhack.core.interfaces.IClickable
      Overrides:
      mouseReleased in class Window
    • mouseMoved

      public void mouseMoved(double mouseX, double mouseY)
      Specified by:
      mouseMoved in interface org.rusherhack.core.interfaces.IDraggable
      Overrides:
      mouseMoved in class Window
    • setResizing

      public void setResizing(boolean resizing, double resizeDeltaX, double resizeDeltaY)
    • setMaxWidth

      public void setMaxWidth(double maxWidth)
    • setMaxHeight

      public void setMaxHeight(double maxHeight)
    • setMinWidth

      public void setMinWidth(double minWidth)
    • setMinHeight

      public void setMinHeight(double minHeight)
    • isResizing

      public boolean isResizing()
    • serialize

      public com.google.gson.JsonElement serialize()
      Specified by:
      serialize in interface org.rusherhack.core.serialize.ISerializable<com.google.gson.JsonElement>
      Overrides:
      serialize in class PinnableWindow
    • deserialize

      public boolean deserialize(com.google.gson.JsonElement jsonElement)
      Specified by:
      deserialize in interface org.rusherhack.core.serialize.ISerializable<com.google.gson.JsonElement>
      Overrides:
      deserialize in class PinnableWindow