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
ConstructorDescriptionResizeableWindow
(String title, double width, double height) ResizeableWindow
(String title, double x, double y, double width, double height) -
Method Summary
Modifier and TypeMethodDescriptionboolean
deserialize
(com.google.gson.JsonElement jsonElement) boolean
boolean
mouseClicked
(double mouseX, double mouseY, int button) void
mouseMoved
(double mouseX, double mouseY) void
mouseReleased
(double mouseX, double mouseY, int button) com.google.gson.JsonElement
void
setMaxHeight
(double maxHeight) void
setMaxWidth
(double maxWidth) void
setMinHeight
(double minHeight) void
setMinWidth
(double minWidth) void
setResizing
(boolean resizing, double resizeDeltaX, double resizeDeltaY) Methods inherited from class org.rusherhack.client.api.feature.window.PinnableWindow
isPinned, setPinned
Methods 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, tick
Methods inherited from class org.rusherhack.client.api.ui.ElementBase
getX, getY, setX, setY
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.rusherhack.core.feature.IFeatureConfigurable
getSetting, registerSettings
Methods inherited from interface org.rusherhack.core.interfaces.INamed
getAliases, getDisplayName
Methods 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:
mouseClicked
in interfaceorg.rusherhack.core.interfaces.IClickable
- Overrides:
mouseClicked
in classWindow
-
mouseReleased
public void mouseReleased(double mouseX, double mouseY, int button) - Specified by:
mouseReleased
in interfaceorg.rusherhack.core.interfaces.IClickable
- Overrides:
mouseReleased
in classWindow
-
mouseMoved
public void mouseMoved(double mouseX, double mouseY) - Specified by:
mouseMoved
in interfaceorg.rusherhack.core.interfaces.IDraggable
- Overrides:
mouseMoved
in 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:
serialize
in interfaceorg.rusherhack.core.serialize.ISerializable<com.google.gson.JsonElement>
- Overrides:
serialize
in classPinnableWindow
-
deserialize
public boolean deserialize(com.google.gson.JsonElement jsonElement) - Specified by:
deserialize
in interfaceorg.rusherhack.core.serialize.ISerializable<com.google.gson.JsonElement>
- Overrides:
deserialize
in classPinnableWindow
-