public class SimpleWidget extends SimpleWrapper<simple.bot.internal.IWidget> implements SimpleInteractable, SimpleText, SimpleIdentifiable
ctx| Constructor and Description |
|---|
SimpleWidget(ClientContext ctx,
simple.bot.internal.IWidget reflectedObject) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Rectangle |
getBounds() |
int[] |
getChildrenIds() |
int |
getHeight() |
int |
getId()
Returns id of the object
|
int[] |
getItemAmounts() |
int |
getItemId() |
int[] |
getItemIds() |
int |
getItemQuantity() |
int |
getModelId() |
java.lang.String |
getName()
The name of said object
|
int |
getPaddingX() |
int |
getPaddingY() |
int |
getParentId() |
int |
getScrollY() |
int |
getSpriteId() |
java.lang.String |
getText()
The text of an item
|
int |
getTextColor() |
int |
getWidth() |
boolean |
interact(java.lang.String option) |
boolean |
isHidden() |
getReflectedObjectpublic SimpleWidget(ClientContext ctx, simple.bot.internal.IWidget reflectedObject)
public int[] getItemIds()
public int[] getItemAmounts()
public java.lang.String getText()
SimpleTextgetText in interface SimpleTextpublic int getId()
SimpleIdentifiablegetId in interface SimpleIdentifiablepublic int[] getChildrenIds()
public boolean isHidden()
public int getItemId()
public int getItemQuantity()
public int getTextColor()
public int getSpriteId()
public int getModelId()
public int getScrollY()
public java.awt.Rectangle getBounds()
public int getParentId()
public int getPaddingX()
public int getPaddingY()
public int getWidth()
public int getHeight()
public boolean interact(java.lang.String option)
interact in interface SimpleInteractablepublic java.lang.String getName()
SimpleNamablegetName in interface SimpleNamable