Enum Class SettingsStyle
java.lang.Object
java.lang.Enum<SettingsStyle>
dev.miyomiyo.agentbridge.client.settings.SettingsStyle
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SettingsStyle>,java.lang.constant.Constable
HUD palette and square geometry; operation kind, never the providing product, chooses style.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(ClientGraphics g, int x, int y, int w, int h, net.minecraft.network.chat.Component message, boolean active, boolean hoveredOrFocused) Same visual for native controls and passive HUD previews; availability changes color only.voiddraw(net.minecraft.client.gui.components.Button b, ClientGraphics g) static SettingsStylevalueOf(java.lang.String name) Returns the enum constant of this class with the specified name.static SettingsStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
LINK
-
ACTION
-
CHOICE
-
SELECTED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum class has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
draw
-
draw
public void draw(ClientGraphics g, int x, int y, int w, int h, net.minecraft.network.chat.Component message, boolean active, boolean hoveredOrFocused) Same visual for native controls and passive HUD previews; availability changes color only.
-