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