public interface WidgetChild extends Actionable, Clickable, Interactable, Item, Validatable, java.lang.Comparable<WidgetChild>
WidgetGroup
.Modifier and Type | Method and Description |
---|---|
WidgetChild |
find(java.util.function.Predicate<WidgetChild> filter)
Finds a matching child.
|
java.util.List<WidgetChild> |
findAll(java.util.function.Predicate<WidgetChild> filter)
Finds a matching child.
|
java.awt.Point |
getAbsoluteLocation()
Gets the absolute location on screen.
|
int |
getAbsoluteX()
Gets the absolute x-coordinate on screen.
|
int |
getAbsoluteY()
Gets the absolute y-coordinate on screen.
|
int |
getAlpha()
Gets the alpha/transparency.
|
int |
getBorderThickness()
Gets the border thickness.
|
java.awt.Rectangle |
getBounds()
Gets the bounding rectangle of this interface.
|
WidgetChild |
getChild(int index)
Gets the child at the given index.
|
int |
getChildId()
Gets the interface id of this child.
|
java.util.List<WidgetChild> |
getChildren()
Gets the children.
|
int |
getEnabledMaterialId()
Gets the enabled material id.
|
int |
getFontId()
Gets the font id.
|
WidgetGroup |
getGroup()
Gets the widget group.
|
int |
getHeight()
Gets the height.
|
int |
getIndex()
Gets the index.
|
WidgetChildItem |
getItem(int index)
Gets the item at the given index.
|
int[] |
getItemIds()
Gets the item ids.
|
java.util.List<WidgetChildItem> |
getItems()
Gets the items.
|
int[] |
getItemStackSizes()
Gets the item stack sizes.
|
int |
getMarginX()
Gets the margin on the x-axis.
|
int |
getMarginY()
Gets the margin on the y-axis.
|
int |
getMaterialId()
Gets the material id.
|
int |
getModelId()
Gets the model id.
|
int |
getModelOffsetX()
Gets the x-axis offset of the model.
|
int |
getModelOffsetY()
Gets the y-axis offset of the model.
|
int |
getModelType()
Gets the model type.
|
int |
getModelZoom()
Gets the model zoom.
|
WidgetChild |
getParent()
Gets the parent.
|
int |
getParentId()
Gets the id of the parent.
|
java.awt.Point |
getRelativeLocation()
Gets the location relative to its parent.
|
int |
getRelativeX()
Gets the x-coordinate relative to its parent.
|
int |
getRelativeY()
Gets the y-coordinate relative to its parent.
|
int |
getRotationX()
Gets the rotation on the x-axis.
|
int |
getRotationY()
Gets the rotation on the y-axis.
|
int |
getRotationZ()
Gets the rotation on the z-axis.
|
int |
getScrollHeight()
Gets the height of the scroll bar.
|
int |
getScrollWidth()
Gets the width of the scroll bar.
|
int |
getScrollX()
Gets the x-coordinate of the scroll bar.
|
int |
getScrollY()
Gets the y-coordinate of the scroll bar.
|
java.awt.Color |
getShadowColor()
Gets the shadow color.
|
int |
getSpriteId()
Gets the sprite id.
|
java.lang.String |
getText()
Gets the text.
|
java.awt.Color |
getTextColor()
Gets the text color.
|
int |
getTextMarginX()
Gets the text margin on the x-axis.
|
int |
getTextMarginY()
Gets the text margin on the y-axis.
|
int |
getTextSpacing()
Gets the text spacing.
|
int |
getWidth()
Gets the width.
|
boolean |
hasChildren()
Gets whether or not this interface has children.
|
boolean |
isFlippedHorizontally()
Gets whether or not this interface is flipped horizontally.
|
boolean |
isFlippedVertically()
Gets whether or not this interface is flipped vertically.
|
boolean |
isTextShadowed()
Gets whether or not the text is shadowed.
|
interact, interact, interact, interact, interact, interactMatch
click, click, hover
contains, draw, getCentralPoint, getRandomPoint, getRealCentralPoint, isVisible
getGroundActions, getHighAlchemyPrice, getLowAlchemyPrice, getNotedId, getStackSize, getStorePrice, getUnNotedId, hasGroundAction, isMembers, isNoted, isStackable
getActions, hasAction, hasActionMatch
getId
isValid
int getIndex()
int getChildId()
int getParentId()
WidgetGroup getGroup()
WidgetGroup
WidgetChild getParent()
int getRelativeX()
int getRelativeY()
java.awt.Point getRelativeLocation()
int getAbsoluteX()
int getAbsoluteY()
java.awt.Point getAbsoluteLocation()
int getWidth()
int getHeight()
java.awt.Rectangle getBounds()
int getScrollX()
int getScrollY()
int getScrollWidth()
int getScrollHeight()
int getBorderThickness()
int getRotationX()
int getRotationY()
int getRotationZ()
int getMarginX()
int getMarginY()
int getTextMarginX()
int getTextMarginY()
boolean isFlippedVertically()
boolean isFlippedHorizontally()
int getAlpha()
int getMaterialId()
int getEnabledMaterialId()
int getSpriteId()
int getFontId()
int getModelType()
int getModelZoom()
int getModelId()
int getModelOffsetX()
int getModelOffsetY()
java.lang.String getText()
java.awt.Color getTextColor()
Color
int getTextSpacing()
boolean isTextShadowed()
java.awt.Color getShadowColor()
Color
int[] getItemStackSizes()
int[] getItemIds()
boolean hasChildren()
java.util.List<WidgetChild> getChildren()
WidgetChild getChild(int index)
index
- the indexWidgetChild find(java.util.function.Predicate<WidgetChild> filter)
filter
- the matching filterWidgetChild
or nulljava.util.List<WidgetChild> findAll(java.util.function.Predicate<WidgetChild> filter)
filter
- the matching filterWidgetChild
java.util.List<WidgetChildItem> getItems()
WidgetChildItem getItem(int index)
index
- the index