Class PinnableWindow
java.lang.Object
org.rusherhack.client.api.ui.ElementBase
org.rusherhack.client.api.feature.window.Window
org.rusherhack.client.api.feature.window.PinnableWindow
- 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
- Direct Known Subclasses:
ResizeableWindow
public abstract class PinnableWindow
extends Window
implements org.rusherhack.core.interfaces.IPinnable
A window that can be pinned to the screen
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPinnableWindow
(String title, double width, double height) PinnableWindow
(String title, double x, double y, double width, double height) -
Method Summary
Modifier and TypeMethodDescriptionboolean
deserialize
(com.google.gson.JsonElement jsonElement) boolean
isPinned()
com.google.gson.JsonElement
void
setPinned
(boolean pinned) 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, mouseClicked, mouseMoved, mouseReleased, 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
-
PinnableWindow
-
PinnableWindow
-
-
Method Details
-
isPinned
public boolean isPinned()- Specified by:
isPinned
in interfaceorg.rusherhack.core.interfaces.IPinnable
-
setPinned
public void setPinned(boolean pinned) - Specified by:
setPinned
in interfaceorg.rusherhack.core.interfaces.IPinnable
-
serialize
public com.google.gson.JsonElement serialize() -
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 classWindow
-