mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-14 17:54:44 +00:00
34 lines
556 B
Java
34 lines
556 B
Java
package noppes.npcs.api.gui;
|
|
|
|
public interface IButton extends ICustomGuiComponent {
|
|
int getWidth();
|
|
|
|
int getHeight();
|
|
|
|
IButton setSize(int width, int height);
|
|
|
|
String getLabel();
|
|
|
|
IButton setLabel(String text);
|
|
|
|
String getTexture();
|
|
|
|
boolean hasTexture();
|
|
|
|
IButton setTexture(String texture);
|
|
|
|
int getTextureX();
|
|
|
|
int getTextureY();
|
|
|
|
IButton setTextureOffset(int textureX, int textureY);
|
|
|
|
void setScale(float scale);
|
|
|
|
float getScale();
|
|
|
|
void setEnabled(boolean enabled);
|
|
|
|
boolean isEnabled();
|
|
}
|