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
ConstructorsConstructorDescriptionPinnableWindow(String title, double width, double height) PinnableWindow(String title, double x, double y, double width, double height) -
Method Summary
Modifier and TypeMethodDescriptionbooleandeserialize(com.google.gson.JsonElement jsonElement) booleanisPinned()com.google.gson.JsonElementvoidsetPinned(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, 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
-
PinnableWindow
-
PinnableWindow
-
-
Method Details
-
isPinned
public boolean isPinned()- Specified by:
isPinnedin interfaceorg.rusherhack.core.interfaces.IPinnable
-
setPinned
public void setPinned(boolean pinned) - Specified by:
setPinnedin interfaceorg.rusherhack.core.interfaces.IPinnable
-
serialize
public com.google.gson.JsonElement serialize() -
deserialize
public boolean deserialize(com.google.gson.JsonElement jsonElement) - Specified by:
deserializein interfaceorg.rusherhack.core.serialize.ISerializable<com.google.gson.JsonElement>- Overrides:
deserializein classWindow
-