Class RSWidget


  • public class RSWidget
    extends java.lang.Object
    • Constructor Detail

      • RSWidget

        public RSWidget​(@NotNull
                        @NotNull net.runelite.api.widgets.Widget composition)
    • Method Detail

      • highlight

        public void highlight()
      • doAction

        public void doAction​(@Nonnull
                             java.lang.String option)
      • interact

        public boolean interact()
      • interact

        public boolean interact​(@Nonnull
                                java.lang.String option)
      • getClickbox

        @Nonnull
        public java.awt.Rectangle getClickbox()
      • getName

        @Nonnull
        public java.lang.String getName()
      • getText

        @Nonnull
        public java.lang.String getText()
      • getActions

        @Nullable
        public java.lang.String[] getActions()
      • isHidden

        public boolean isHidden()
      • getParentId

        public int getParentId()
      • getId

        public int getId()
      • getType

        public int getType()
      • getIndex

        public int getIndex()
      • hover

        public boolean hover()
      • getContentType

        public int getContentType()
      • getRelativeX

        public int getRelativeX()
      • getRelativeY

        public int getRelativeY()
      • getTextColor

        public int getTextColor()
      • getOpacity

        public int getOpacity()
      • getModelId

        public int getModelId()
      • getModelType

        public int getModelType()
      • getAnimationId

        public int getAnimationId()
      • getRotationX

        public int getRotationX()
      • getRotationY

        public int getRotationY()
      • getRotationZ

        public int getRotationZ()
      • getModelZoom

        public int getModelZoom()
      • getSpriteId

        public int getSpriteId()
      • getSpriteTiling

        public boolean getSpriteTiling()
      • getCanvasLocation

        public net.runelite.api.Point getCanvasLocation()
      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • getBounds

        public java.awt.Rectangle getBounds()
      • getItemId

        public int getItemId()
      • getItemQuantity

        public int getItemQuantity()
      • contains

        public boolean contains​(@Nonnull
                                net.runelite.api.Point point)
      • getScrollX

        public int getScrollX()
      • getScrollY

        public int getScrollY()
      • getScrollWidth

        public int getScrollWidth()
      • getScrollHeight

        public int getScrollHeight()
      • getOriginalX

        public int getOriginalX()
      • getOriginalY

        public int getOriginalY()
      • getOriginalHeight

        public int getOriginalHeight()
      • getOriginalWidth

        public int getOriginalWidth()
      • hasListener

        public boolean hasListener()
      • isIf3

        public boolean isIf3()
      • getOnOpListener

        public java.lang.Object[] getOnOpListener()
      • getOnKeyListener

        public java.lang.Object[] getOnKeyListener()
      • getOnLoadListener

        public java.lang.Object[] getOnLoadListener()
      • getOnInvTransmitListener

        public java.lang.Object[] getOnInvTransmitListener()
      • getFontId

        public int getFontId()
      • getBorderType

        public int getBorderType()
      • getTextShadowed

        public boolean getTextShadowed()
      • getDragDeadZone

        public int getDragDeadZone()
      • getDragDeadTime

        public int getDragDeadTime()
      • getItemQuantityMode

        public int getItemQuantityMode()
      • getXPositionMode

        public int getXPositionMode()
      • getYPositionMode

        public int getYPositionMode()
      • getLineHeight

        public int getLineHeight()
      • getXTextAlignment

        public int getXTextAlignment()
      • getYTextAlignment

        public int getYTextAlignment()
      • getWidthMode

        public int getWidthMode()
      • getHeightMode

        public int getHeightMode()
      • getFont

        public net.runelite.api.FontTypeFace getFont()
      • isFilled

        public boolean isFilled()
      • getTargetVerb

        public java.lang.String getTargetVerb()
      • getNoClickThrough

        public boolean getNoClickThrough()
      • getNoScrollThrough

        public boolean getNoScrollThrough()
      • getDragParent

        public net.runelite.api.widgets.Widget getDragParent()
      • getChild

        @Nullable
        public net.runelite.api.widgets.Widget getChild​(int index)
      • getChildren

        @Nullable
        public net.runelite.api.widgets.Widget[] getChildren()
      • getDynamicChildren

        public net.runelite.api.widgets.Widget[] getDynamicChildren()
      • getStaticChildren

        public net.runelite.api.widgets.Widget[] getStaticChildren()
      • getNestedChildren

        public net.runelite.api.widgets.Widget[] getNestedChildren()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object