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 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classInterfaceComponent.TraversalOptionstatic classInterfaceComponent.Type- 
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.ActionableActionable.Query<Q extends Actionable.Query<Q>>
 - 
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.NameableNameable.Query<Q extends Nameable.Query<Q>>
 
- 
 - 
Constructor SummaryConstructors Constructor Description InterfaceComponent(RSInterfaceComponent provider)
 - 
Method Summary- 
Methods inherited from class org.rspeer.game.adapter.AdaptergetProvider, validate
 - 
Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.rspeer.game.adapter.type.ActionablecontainsAction, containsAction
 
- 
 
- 
- 
- 
Constructor Detail- 
InterfaceComponentpublic InterfaceComponent(RSInterfaceComponent provider) 
 
- 
 - 
Method Detail- 
getXpublic int getX() 
 - 
getYpublic int getY() 
 - 
isVisiblepublic boolean isVisible() 
 - 
getUidpublic int getUid() 
 - 
getParentpublic InterfaceComponent getParent() 
 - 
getParentUidpublic int getParentUid() 
 - 
getMaterialIdpublic int getMaterialId() 
 - 
getBorderThicknesspublic int getBorderThickness() 
 - 
getSpriteIdpublic int getSpriteId() 
 - 
getTypepublic InterfaceComponent.Type getType() 
 - 
getContentTypepublic int getContentType() 
 - 
getButtonTypepublic int getButtonType() 
 - 
getForegroundpublic int getForeground() 
 - 
getShadowColorpublic int getShadowColor() 
 - 
getModelIdpublic int getModelId() 
 - 
getModelTypepublic int getModelType() 
 - 
getWidthpublic int getWidth() 
 - 
getHeightpublic int getHeight() 
 - 
getConfigpublic int getConfig() 
 - 
transmitspublic boolean transmits(Object o) 
 - 
getTextpublic String getText() 
 - 
getNextpublic InterfaceComponent getNext() 
 - 
getPreviouspublic InterfaceComponent getPrevious() 
 - 
getActionspublic List<String> getActions() - Specified by:
- getActionsin interface- Actionable
 
 - 
getRawActionspublic String[] getRawActions() - Specified by:
- getRawActionsin interface- Actionable
 
 - 
getSubMenuActionspublic String[] getSubMenuActions(int parentActionIndex) - Specified by:
- getSubMenuActionsin interface- Actionable
 
 - 
actionOfpublic ComponentAction actionOf(String action, int itemId) 
 - 
actionOfpublic ComponentAction actionOf(String action) - Specified by:
- actionOfin interface- Interactable
 
 - 
isSubComponentpublic boolean isSubComponent() 
 - 
getGroupIndexpublic int getGroupIndex() 
 - 
getIndexpublic int getIndex() 
 - 
getSubComponentIndexpublic int getSubComponentIndex() 
 - 
getParentIndexpublic int getParentIndex() 
 - 
toAddresspublic InterfaceAddress toAddress() 
 - 
getFontIdpublic int getFontId() 
 - 
getBoundspublic Rectangle getBounds() 
 - 
getSubComponentCountpublic int getSubComponentCount() 
 - 
getSubComponentpublic InterfaceComponent getSubComponent(int index) 
 - 
getSubComponentspublic List<InterfaceComponent> getSubComponents(InterfaceComponent.TraversalOption option) 
 - 
getSubComponentspublic List<InterfaceComponent> getSubComponents() 
 - 
querySubComponentspublic ComponentQuery querySubComponents() 
 - 
getSelectedActionpublic String getSelectedAction() 
 - 
getSpellNamepublic String getSpellName() 
 - 
getToolTippublic String getToolTip() 
 - 
getItempublic Item getItem() 
 - 
isExplicitlyHiddenpublic boolean isExplicitlyHidden() 
 - 
getItemIdpublic int getItemId() 
 - 
getItemStackSizepublic int getItemStackSize() 
 - 
getSpritepublic Sprite getSprite(boolean enabled) 
 - 
setTextpublic void setText(String text) 
 
- 
 
-