Package noppes.npcs.api.gui
Interface ITexturedButton
- All Superinterfaces:
IButton
,ICustomGuiComponent
public interface ITexturedButton extends IButton
-
Method Summary
Modifier and Type Method Description java.lang.String
getTexture()
int
getTextureX()
int
getTextureY()
ITexturedButton
setTexture(java.lang.String texture)
ITexturedButton
setTextureOffset(int textureX, int textureY)
Methods inherited from interface noppes.npcs.api.gui.IButton
getHeight, getLabel, getWidth, hasTexture, setLabel, setSize
Methods inherited from interface noppes.npcs.api.gui.ICustomGuiComponent
getHoverText, getID, getPosX, getPosY, hasHoverText, setHoverText, setHoverText, setID, setPos
-
Method Details
-
getTexture
java.lang.String getTexture()- Specified by:
getTexture
in interfaceIButton
-
setTexture
- Specified by:
setTexture
in interfaceIButton
-
getTextureX
int getTextureX()- Specified by:
getTextureX
in interfaceIButton
-
getTextureY
int getTextureY()- Specified by:
getTextureY
in interfaceIButton
-
setTextureOffset
- Specified by:
setTextureOffset
in interfaceIButton
-