Class DragPanelScreenAddon

java.lang.Object
com.hrznstudio.titanium.client.screen.addon.BasicScreenAddon
com.hrznstudio.titanium.client.screen.addon.DragPanelScreenAddon
All Implemented Interfaces:
IScreenAddon, ICanMouseDrag

public abstract class DragPanelScreenAddon extends BasicScreenAddon implements ICanMouseDrag
  • Constructor Details

    • DragPanelScreenAddon

      protected DragPanelScreenAddon​(int posX, int posY, int sizeX, int sizeY, int panelSizeX, int panelSizeY)
  • Method Details

    • getXSize

      public int getXSize()
      Specified by:
      getXSize in class BasicScreenAddon
    • getYSize

      public int getYSize()
      Specified by:
      getYSize in class BasicScreenAddon
    • drag

      public void drag​(int x, int y)
      Specified by:
      drag in interface ICanMouseDrag
    • getScrollX

      public int getScrollX()
    • getScrollY

      public int getScrollY()
    • getMinX

      public int getMinX()
    • getMinY

      public int getMinY()
    • getMaxX

      public int getMaxX()
    • getMaxY

      public int getMaxY()