Class InterfaceComponent

java.lang.Object
org.rspeer.game.adapter.Adapter<RSInterfaceComponent>
org.rspeer.game.adapter.component.InterfaceComponent
All Implemented Interfaces:
Actionable, Interactable, Nameable

public class InterfaceComponent extends Adapter<RSInterfaceComponent> implements Interactable, Nameable
  • Constructor Details

  • Method Details

    • getX

      public int getX()
    • getY

      public int getY()
    • isVisible

      public boolean isVisible()
    • getUid

      public int getUid()
    • getParent

      public InterfaceComponent getParent()
    • getParentUid

      public int getParentUid()
    • getMaterialId

      public int getMaterialId()
    • getBorderThickness

      public int getBorderThickness()
    • getSpriteId

      public int getSpriteId()
    • getType

      public InterfaceComponent.Type getType()
    • getContentType

      public int getContentType()
    • getButtonType

      public int getButtonType()
    • getForeground

      public int getForeground()
    • getShadowColor

      public int getShadowColor()
    • getModelId

      public int getModelId()
    • getModelType

      public int getModelType()
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • getConfig

      public int getConfig()
    • transmits

      public boolean transmits(Object o)
    • getText

      public String getText()
    • getName

      public String getName()
      Specified by:
      getName in interface Nameable
    • getNext

      public InterfaceComponent getNext()
    • getPrevious

      public InterfaceComponent getPrevious()
    • getActions

      public List<String> getActions()
      Specified by:
      getActions in interface Actionable
    • getRawActions

      public String[] getRawActions()
      Specified by:
      getRawActions in interface Actionable
    • actionOf

      public ComponentAction actionOf(String action, int itemId)
    • actionOf

      public ComponentAction actionOf(String action)
      Specified by:
      actionOf in interface Interactable
    • isSubComponent

      public boolean isSubComponent()
    • getGroupIndex

      public int getGroupIndex()
    • getIndex

      public int getIndex()
    • getSubComponentIndex

      public int getSubComponentIndex()
    • getParentIndex

      public int getParentIndex()
    • toAddress

      public InterfaceAddress toAddress()
    • getFontId

      public int getFontId()
    • getBounds

      public Rectangle getBounds()
    • getSubComponent

      public InterfaceComponent getSubComponent(int index)
    • getSubComponents

      public List<InterfaceComponent> getSubComponents(InterfaceComponent.TraversalOption option)
    • getSubComponents

      public List<InterfaceComponent> getSubComponents()
    • querySubComponents

      public ComponentQuery querySubComponents()
    • getSelectedAction

      public String getSelectedAction()
    • getSpellName

      public String getSpellName()
    • getToolTip

      public String getToolTip()
    • getItem

      public Item getItem()
    • isExplicitlyHidden

      public boolean isExplicitlyHidden()
    • getItemId

      public int getItemId()
    • getItemStackSize

      public int getItemStackSize()
    • getSprite

      public Sprite getSprite(boolean enabled)