Class ResizeableWindow
java.lang.Object
org.rusherhack.client.api.ui.ElementBase
org.rusherhack.client.api.feature.window.Window
org.rusherhack.client.api.feature.window.PinnableWindow
org.rusherhack.client.api.feature.window.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
A resizeable window
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionResizeableWindow(String title, double width, double height) ResizeableWindow(String title, double x, double y, double width, double height) -
Method Summary
Modifier and TypeMethodDescriptionbooleandeserialize(com.google.gson.JsonElement jsonElement) booleanbooleanmouseClicked(double mouseX, double mouseY, int button) voidmouseMoved(double mouseX, double mouseY) voidmouseReleased(double mouseX, double mouseY, int button) com.google.gson.JsonElementvoidsetMaxHeight(double maxHeight) voidsetMaxWidth(double maxWidth) voidsetMinHeight(double minHeight) voidsetMinWidth(double minWidth) voidsetResizing(boolean resizing, double resizeDeltaX, double resizeDeltaY) Methods inherited from class org.rusherhack.client.api.feature.window.PinnableWindow
isPinned, setPinnedMethods inherited from class org.rusherhack.client.api.feature.window.Window
charTyped, getBindReference, getDescription, getFontRenderer, getHeight, getIcon, getName, getRenderer, getRootView, getSettings, getWidth, isDragging, isFocused, isHidden, isHovered, keyTyped, mouseScrolled, onClose, onKeybindEvent, renderIcon, reset, setDescription, setDragging, setFocused, setHidden, setIcon, tickMethods inherited from class org.rusherhack.client.api.ui.ElementBase
getX, getY, setX, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.rusherhack.core.feature.IFeatureConfigurable
getSetting, registerSettingsMethods inherited from interface org.rusherhack.core.interfaces.INamed
getAliases, getDisplayNameMethods inherited from interface org.rusherhack.core.serialize.ISerializable
shouldAutoSave, shouldSerialize
-
Constructor Details
-
ResizeableWindow
-
ResizeableWindow
-
-
Method Details
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button) - Specified by:
mouseClickedin interfaceorg.rusherhack.core.interfaces.IClickable- Overrides:
mouseClickedin classWindow
-
mouseReleased
public void mouseReleased(double mouseX, double mouseY, int button) - Specified by:
mouseReleasedin interfaceorg.rusherhack.core.interfaces.IClickable- Overrides:
mouseReleasedin classWindow
-
mouseMoved
public void mouseMoved(double mouseX, double mouseY) - Specified by:
mouseMovedin interfaceorg.rusherhack.core.interfaces.IDraggable- Overrides:
mouseMovedin classWindow
-
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:
serializein interfaceorg.rusherhack.core.serialize.ISerializable<com.google.gson.JsonElement>- Overrides:
serializein classPinnableWindow
-
deserialize
public boolean deserialize(com.google.gson.JsonElement jsonElement) - Specified by:
deserializein interfaceorg.rusherhack.core.serialize.ISerializable<com.google.gson.JsonElement>- Overrides:
deserializein classPinnableWindow
-