Class OSRSInterfaceComponent
- java.lang.Object
-
- com.runemate.game.api.hybrid.local.hud.interfaces.InterfaceComponent
-
- com.runemate.game.api.osrs.local.hud.interfaces.OSRSInterfaceComponent
-
- All Implemented Interfaces:
Identifiable
,Interactable
,Onymous
,Renderable
,Validatable
public final class OSRSInterfaceComponent extends InterfaceComponent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.runemate.game.api.hybrid.local.hud.interfaces.InterfaceComponent
InterfaceComponent.Type
-
-
Field Summary
-
Fields inherited from class com.runemate.game.api.hybrid.local.hud.interfaces.InterfaceComponent
container
-
-
Constructor Summary
Constructors Constructor Description OSRSInterfaceComponent(InterfaceContainer container, long uid, int index)
OSRSInterfaceComponent(InterfaceContainer container, InterfaceComponent parent, long uid, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getActions()
InterfaceComponent
getChild(int index)
InterfaceComponent
getChild(java.util.function.Predicate<InterfaceComponent> predicate)
java.util.List<InterfaceComponent>
getChildren()
int
getContainedItemQuantity()
int
getProjectedEntityAnimationId()
Gets the animation being used to animate the projected entity-
Methods inherited from class com.runemate.game.api.hybrid.local.hud.interfaces.InterfaceComponent
click, contains, equals, getAttribute, getAttributes, getBorderThickness, getBounds, getChildQuantity, getChildren, getComponent, getComponentQuantity, getComponents, getComponents, getContainedItem, getContainedItemId, getContainer, getFontId, getHeight, getId, getIndex, getInteractionPoint, getLayer, getLayerDepth, getLayerId, getName, getParentComponent, getProjectedBufferId, getProjectedItem, getProjectedNpc, getProjectedPlayer, getRawActions, getRawText, getScrollShift, getSpecializationIndicator, getSpellActionName, getSpriteBorderInset, getSpriteFillColor, getSpriteId, getSpriteRotation, getText, getTextColor, getTextureId, getTooltip, getType, getVisibility, getWidth, hasDynamicBounds, hashCode, interact, interact, interact, isValid, isVisible, newQuery, render, render, toString
-
Methods inherited from interface com.runemate.game.api.hybrid.entities.details.Interactable
getInteractionPoint, hover, interact, interact, interact, isHovered
-
-
-
-
Constructor Detail
-
OSRSInterfaceComponent
public OSRSInterfaceComponent(InterfaceContainer container, long uid, int index)
-
OSRSInterfaceComponent
public OSRSInterfaceComponent(InterfaceContainer container, InterfaceComponent parent, long uid, int index)
-
-
Method Detail
-
getChild
public InterfaceComponent getChild(int index)
- Specified by:
getChild
in classInterfaceComponent
-
getChild
public InterfaceComponent getChild(java.util.function.Predicate<InterfaceComponent> predicate)
- Specified by:
getChild
in classInterfaceComponent
-
getChildren
public java.util.List<InterfaceComponent> getChildren()
- Specified by:
getChildren
in classInterfaceComponent
-
getContainedItemQuantity
public int getContainedItemQuantity()
- Specified by:
getContainedItemQuantity
in classInterfaceComponent
-
getProjectedEntityAnimationId
public int getProjectedEntityAnimationId()
Description copied from class:InterfaceComponent
Gets the animation being used to animate the projected entity- Specified by:
getProjectedEntityAnimationId
in classInterfaceComponent
-
getActions
public java.util.List<java.lang.String> getActions()
- Overrides:
getActions
in classInterfaceComponent
-
-