Class ChatDialog.Option
- java.lang.Object
-
- com.runemate.game.api.hybrid.local.hud.interfaces.ChatDialog.Option
-
- All Implemented Interfaces:
ChatDialog.Selectable
,Validatable
- Enclosing class:
- ChatDialog
public static class ChatDialog.Option extends java.lang.Object implements ChatDialog.Selectable, Validatable
-
-
Constructor Summary
Constructors Constructor Description Option(InterfaceComponent component, int number)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
InterfaceComponent
getComponent()
int
getNumber()
java.lang.String
getText()
int
hashCode()
boolean
hasStrikethrough()
boolean
isValid()
Verifies whether this entity is valid and still exists, typically on the world-graphboolean
select()
boolean
select(boolean keybind)
java.lang.String
toString()
-
-
-
Constructor Detail
-
Option
public Option(InterfaceComponent component, int number)
-
-
Method Detail
-
getText
public java.lang.String getText()
-
getNumber
public int getNumber()
-
hasStrikethrough
public boolean hasStrikethrough()
-
getComponent
public InterfaceComponent getComponent()
-
select
public boolean select(boolean keybind)
- Specified by:
select
in interfaceChatDialog.Selectable
-
select
public boolean select()
- Specified by:
select
in interfaceChatDialog.Selectable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
isValid
public boolean isValid()
Description copied from interface:Validatable
Verifies whether this entity is valid and still exists, typically on the world-graph- Specified by:
isValid
in interfaceValidatable
- Returns:
- true if it's still available, otherwise false
-
-