public abstract class DragPanelScreenAddon extends BasicScreenAddon implements ICanMouseDrag
| Modifier | Constructor and Description |
|---|---|
protected |
DragPanelScreenAddon(int posX,
int posY,
int sizeX,
int sizeY,
int panelSizeX,
int panelSizeY) |
| Modifier and Type | Method and Description |
|---|---|
void |
drag(int x,
int y) |
int |
getMaxX() |
int |
getMaxY() |
int |
getMinX() |
int |
getMinY() |
int |
getScrollX() |
int |
getScrollY() |
int |
getXSize() |
int |
getYSize() |
getPosX, getPosY, isInside, setPosX, setPosYclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdrawBackgroundLayer, drawForegroundLayer, getTooltipLines, init, isBackground, keyPressedprotected DragPanelScreenAddon(int posX,
int posY,
int sizeX,
int sizeY,
int panelSizeX,
int panelSizeY)
public int getXSize()
getXSize in class BasicScreenAddonpublic int getYSize()
getYSize in class BasicScreenAddonpublic void drag(int x,
int y)
drag in interface ICanMouseDragpublic int getScrollX()
public int getScrollY()
public int getMinX()
public int getMinY()
public int getMaxX()
public int getMaxY()