Enum Chatbox.Filter
- java.lang.Object
-
- java.lang.Enum<Chatbox.Filter>
-
- com.runemate.game.api.hybrid.local.hud.interfaces.Chatbox.Filter
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Chatbox.Filter>
- Enclosing class:
- Chatbox
public static enum Chatbox.Filter extends java.lang.Enum<Chatbox.Filter>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Chatbox.Filter.State
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
changeState(Chatbox.Filter.State desiredState)
static java.util.List<Chatbox.Filter>
getAvailableFilters()
static java.util.List<Chatbox.Filter>
getFiltersWithStates(Chatbox.Filter.State... states)
InterfaceComponent
getInteractionComponent()
InterfaceComponent
getInteractionComponent(boolean rs3)
java.lang.String
getName()
java.lang.String
getName(boolean rs3)
java.lang.String
getName(boolean rs3, boolean legacy)
InterfaceComponent
getNamedComponent()
InterfaceComponent
getNamedComponent(boolean rs3)
InterfaceComponent
getNamedComponent(boolean rs3, boolean legacy)
Chatbox.Filter.State
getState()
java.lang.String
toString()
static Chatbox.Filter
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Chatbox.Filter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GAME
public static final Chatbox.Filter GAME
-
PUBLIC
public static final Chatbox.Filter PUBLIC
-
PRIVATE
public static final Chatbox.Filter PRIVATE
-
FRIENDS_CHAT
public static final Chatbox.Filter FRIENDS_CHAT
-
CLAN
public static final Chatbox.Filter CLAN
-
GUEST_CLAN
public static final Chatbox.Filter GUEST_CLAN
-
GROUP
public static final Chatbox.Filter GROUP
-
TRADE
public static final Chatbox.Filter TRADE
-
ASSIST
public static final Chatbox.Filter ASSIST
-
PROFANITY
public static final Chatbox.Filter PROFANITY
-
BROADCAST
public static final Chatbox.Filter BROADCAST
-
-
Method Detail
-
values
public static Chatbox.Filter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Chatbox.Filter c : Chatbox.Filter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Chatbox.Filter valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getAvailableFilters
public static java.util.List<Chatbox.Filter> getAvailableFilters()
-
getFiltersWithStates
public static java.util.List<Chatbox.Filter> getFiltersWithStates(Chatbox.Filter.State... states)
-
changeState
public boolean changeState(Chatbox.Filter.State desiredState)
-
getInteractionComponent
@Nullable public InterfaceComponent getInteractionComponent()
-
getInteractionComponent
@Nullable public InterfaceComponent getInteractionComponent(boolean rs3)
-
getName
@Nullable public java.lang.String getName()
-
getName
@Nullable public java.lang.String getName(boolean rs3)
-
getName
@Nullable public java.lang.String getName(boolean rs3, boolean legacy)
-
getNamedComponent
@Nullable public InterfaceComponent getNamedComponent()
-
getNamedComponent
@Nullable public InterfaceComponent getNamedComponent(boolean rs3)
-
getNamedComponent
@Nullable public InterfaceComponent getNamedComponent(boolean rs3, boolean legacy)
-
getState
public Chatbox.Filter.State getState()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Chatbox.Filter>
-
-