Class SearchResult
- java.lang.Object
-
- net.openosrs.api.service.dialogue.SearchResult
-
public final class SearchResult extends java.lang.ObjectOne entry in the list the chatbox item search shows under the prompt, as used by the Grand Exchange and by "choose an item" dialogues.The game draws every entry as three widgets in a row: the button that selects it, the item name and the item icon. Only the button carries the Select action.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WidgetRefgetButton()The widget that selects this entry.intgetItemId()java.lang.StringgetName()The name as listed, without colour tags.java.lang.StringtoString()
-
-
-
Method Detail
-
getItemId
public int getItemId()
-
getName
public java.lang.String getName()
The name as listed, without colour tags.
-
getButton
public WidgetRef getButton()
The widget that selects this entry.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-